[Issue 7396] Indicate default alignment with 0.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 30 11:40:31 PST 2012


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



--- Comment #13 from Daniel Green <venix1 at gmail.com> 2012-01-30 11:40:30 PST ---
(In reply to comment #12)
> (In reply to comment #11)
> > Currently,
> >     `align:` becomes`align(8)`.  Ambiguous. default alignment or 8 byte? 
> 
> This is the misunderstanding.
> 
>    align:
> 
> means align to the C compiler default. IT DOES NOT MEAN align(8). How it is
> implemented under the hood is IRRELEVANT.

It is RELEVANT because that information is THROWN AWAY during parsing.  ONLY
the PARSER knows that C compiler default alignment is required and DOES NOT
convey that information in any form.

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