digitalmars.D.bugs - [Issue 18905] New: [Reg 2.079] C++ classes can no longer be used
- d-bugmail puremagic.com (22/22) May 24 2018 https://issues.dlang.org/show_bug.cgi?id=18905
https://issues.dlang.org/show_bug.cgi?id=18905 Issue ID: 18905 Summary: [Reg 2.079] C++ classes can no longer be used with -betterC Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com Consider: extern (C++) class C { } // Error: TypeInfo cannot be used with -betterC This worked with 2.074. TypeInfo with 2.074 was not generated for this class, it just generated the vtbl[] which is fine. Looks like https://github.com/dlang/dmd/pull/7799 is the culprit. --
May 24 2018