extern(C) names are being mangled; that's crazy, Walter says I'm crazy

Simen Kjærås simen.kjaras at gmail.com
Thu Jul 25 07:42:08 UTC 2019


On Wednesday, 24 July 2019 at 05:03:16 UTC, Manu wrote:
> https://issues.dlang.org/show_bug.cgi?id=20012
>
> I need to know who is the crazy one here?
> I can't believe the idea that extern(C) functions being mangled 
> to
> un-knowable generated names is what any sane user would ever 
> expect.
>
> Surely extern(C) means extern(C)?
>
> I'd like a poll here...

This has got to be one of the most duplicated issues in bugzilla. 
It's in there as 962 (12 years ago!), 4581, 6132, 7005, 12575, 
15712, 15843, 17748, and now as 20012. There may even be more.

As evinced by 4581 (which I filed in 2013), I'm on your side 
here. I also like Mike Franklin's idea of pragma(mangle, D) to 
handle the other cases.

--
   Simen


More information about the Digitalmars-d mailing list