www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17822] New: [betterC] Do not emit reference to TypeInfo_Class

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 puremagic.com
          Reporter: bugzilla 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.

--
Sep 10 2017