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: nob...@puremagic.com
        ReportedBy: d...@me.com


--- Comment #0 from Jacob Carlborg <d...@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: -------

Reply via email to