Summary: Incorrect C++ mangling of multiple const char*
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD

--- Comment #0 from Jacob Carlborg <> 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:
------- You are receiving this mail because: -------

Reply via email to