[Issue 7396] Indicate default alignment with 0.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 29 16:40:05 PST 2012


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



--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2012-01-29 16:40:01 PST ---
The default alignment of 8 does not align byte values to 8 byte boundaries, as
your message suggests. I think this is where the issue is - I think it is just
a misunderstanding.

The default alignment should match what the C compiler does as the default. I
believe this does behave this way currently - dmd for Windows matches the dmc
compiler, and dmd for Linux matchs gcc.

If this is not what gdc is doing, then there's an issue with gdc.

In any case,

   align:

is *required* to match what the C compiler does, whatever that may be.

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