[Issue 21416] betterC mode program with C++ interface fails to link

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 10 16:13:23 UTC 2021


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

Richard Cattermole <alphaglosined at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alphaglosined at gmail.com

--- Comment #1 from Richard Cattermole <alphaglosined at gmail.com> ---
Minified further:

extern(C) void main() {}

extern(C++) interface IEntry {
}

extern(C++) class MyEntryInfo : IEntry {
}

This is known to work for ldc 1.26.0.

The __ClassZ error was introduced between dmd 2.094.0 and 2.097.2.

--


More information about the Digitalmars-d-bugs mailing list