[Issue 4059] Incorrect C++ name mangling

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 4 02:04:23 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4059


Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com


--- Comment #7 from Jacob Carlborg <doob at me.com> 2010-11-04 02:02:34 PDT ---
(In reply to comment #6)
> In DMD complex types 'save-points' are created in wrong order. This patch
> should fix the issue.
> I believe also that there is much more work needed in c++ mangling. The is no
> easy way to call external C++ function from DMD when one of its arguments types
> is long. The equivalent of long from C/C++ in D is int, but it is being mangled
> differently, so cannot be linked after compilation faze.

The size of long in C/C++ depends on if the system is 64bit or not and what
data model is used. To make the explanation short: On Windows long is 32 bits
and on Unix-like systems long is 64 bits.

-- 
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