[Issue 18905] New: [Reg 2.079] C++ classes can no longer be used with -betterC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 24 21:17:07 UTC 2018
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 at puremagic.com
Reporter: bugzilla at 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.
--
More information about the Digitalmars-d-bugs
mailing list