[Issue 17822] New: [betterC] Do not emit reference to TypeInfo_Class for C++ or COM classes

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 10 21:34:04 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17822

          Issue ID: 17822
           Summary: [betterC] Do not emit reference to TypeInfo_Class for
                    C++ or COM classes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

The following code:

  extern (C++) class CC {
    int a;
  }

when compiled with -betterC emits a reference to TypeInfo_Class, which is in
druntime.

--


More information about the Digitalmars-d-bugs mailing list