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



--- Comment #7 from Dan G. <ven...@gmail.com> 2012-01-29 22:46:18 PST ---
(In reply to comment #6)
> I would suggest the problem is with the way gdc is doing alignment.
gdc is attempting to treat field alignment in the same manner as gcc's aligned
attribute does.  From the wording of the specification this seems reasonable.


>     align:
> 
> means the default alignment that matches the C compiler. 
`align:` is translated into `align(8)` by the parser @
https://github.com/D-Programming-Language/dmd/blob/master/src/parse.c#L503 

> dmd and gdc need to do whatever it takes to make that happen. 
After the align attribute is parsed, neither dmd nor gdc can determine default
alignment is wanted.

> Adding another align directive just confuses things.
I'm not proposing another align directive.  I'm suggesting a modification to
the way `align:` is handled by the parser so that dmd or gdc can determine if
default alignment is needed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to