[Issue 13396] Non-instance and final methods on extern(C++) interfaces shouldn't be mangled as C++ names
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 30 06:39:43 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13396
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yebblies at gmail.com
Resolution|--- |INVALID
--- Comment #1 from yebblies <yebblies at gmail.com> ---
That would make it impossible to match C++ methods that were inside the class
the interface is matching. I think it would be worse to be inconsistent here.
The workaround is quite simple - mark those methods with extern(D).
I'm marking as invalid as the change was intentional, and the previous
acceptance of those methods in a C++ interface was a bug, as far as I know.
--
More information about the Digitalmars-d-bugs
mailing list