[Issue 2821] struct alignment inconsistent with C for { int, long }

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 9 03:33:27 PDT 2009


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





------- Comment #2 from tomas at famolsen.dk  2009-04-09 05:33 -------
DMD on Win32 should obviously match DMC, but DMD on other platforms should
match the companion C compiler there, which is GCC.

GCC on x86-32 aligns int64 to 4 bytes (at least on Linux). There was a similar
issue with double that was fixed in 1.042:
http://d.puremagic.com/issues/show_bug.cgi?id=2692


-- 



More information about the Digitalmars-d-bugs mailing list