http://d.puremagic.com/issues/show_bug.cgi?id=5439
Summary: 64bit struct alignment inconsistent with C ABI Product: D Version: D1 & D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: ibuc...@ubuntu.com --- Comment #0 from Iain Buclaw <ibuc...@ubuntu.com> 2011-01-09 11:03:22 PST --- This was caused by bug2821. On 64bit, doubles are 8-byte aligned, not 4, so struct { long, short } Should have a sizeof = 16, not 12. Btw, would be nice if you offered a -malign-double type flag to say "Yes, I want 8 byte aligned doubles on 32bit Linux" :) Regards -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------