[Issue 4059] Incorrect C++ name mangling

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 08:54:45 PST 2010


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



--- Comment #10 from Jacob Carlborg <doob at me.com> 2010-11-08 08:53:43 PST ---
(In reply to comment #8)
> AFAIK it is not so general. On my Linux 32bit system long is 32bit.

Maybe I was unclear but I was referring to 64bit systems. Lets try it once
more:

32bit:
Windows - "long" will be 32 bits long
Unix-like - "long" will be 32 bits long

64bit:
Windows - "long" will be 32 bits long
Unix-like - "long" will be 64 bits long

Again, this is simplified explanation as can be seen in the reference below. 

For reference: http://en.wikipedia.org/wiki/64-bit - The header is "Specific
C-language data models"

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