mangling of extern(C) members

Daniel Murphy yebblies at nospamgmail.com
Fri Jan 11 07:00:24 PST 2013


"Adam D. Ruppe" <destructionator at gmail.com> wrote in message 
news:outrzhenaycnbogzwsfb at forum.dlang.org...
>
> A solution to this specific thing is to add C++ constructor mangling to 
> the extern(C++) support.
>

And this is the only complete way, unless you can guarantee the C++ calling 
conventions can be simulated with extern(C)

> But I think the general solution is pragma(mangle), that's been discussed 
> before.

https://github.com/D-Programming-Language/dmd/pull/1085 




More information about the Digitalmars-d mailing list