[Issue 2821] struct alignment inconsistent with C for { int, long }
https://issues.dlang.org/show_bug.cgi?id=2821 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Version|1.043 |D1 --
[Issue 2821] struct alignment inconsistent with C for { int, long }
http://d.puremagic.com/issues/show_bug.cgi?id=2821 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from Walter Bright bugzi...@digitalmars.com 2009-05-15 12:15:29 PDT --- Fixed dmd 1.045 and 2.030 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2821] struct alignment inconsistent with C for { int, long }
http://d.puremagic.com/issues/show_bug.cgi?id=2821 --- Comment #2 from to...@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 --