[Issue 5148] New: Incorrect C++ mangling of multiple const char* parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 1 07:36:20 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5148
Summary: Incorrect C++ mangling of multiple const char*
parameters
Product: D
Version: D2
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: doob at me.com
--- Comment #0 from Jacob Carlborg <doob at me.com> 2010-11-01 07:35:25 PDT ---
DMD incorrectly mangles the following function:
extern (C++) void error (const char*, const char*) {}
DMD mangling: __Z5errorPKcS_
GCC mangling: __Z5errorPKcS0_
It has to be at least two parameters, not the first parameter and any of the
other parameters have to be const char*.
I don't know if this is the same bug as 4059 but that one doesn't mention
const. This is also a blocker for DDMD on Posix.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list