Why extern variables and functions within template/struct/class have a D mangling

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed May 8 12:13:59 PDT 2013


On 5/8/13, Dicebot <m.strashun at gmail.com> wrote:
> Well, pardon me, I probably have exceeded my allowed daily rant
> limit :)

Don't worry, and I agree with you. But I think it's probably too late
to actually change what a linkage specifier does for nested symbols.
We might end up getting duplicate symbol definition errors (hello
Optlink..) in completely unrelated libraries if mangling changes for
these symbols.


More information about the Digitalmars-d mailing list