[Issue 7396] Indicate default alignment with 0.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 30 17:58:30 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7396
dawg at dawgfoto.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dawg at dawgfoto.de
--- Comment #17 from dawg at dawgfoto.de 2012-01-30 17:58:26 PST ---
https://github.com/D-Programming-Language/dmd/pull/657
The pull request additionally solves the broken header generation
for default align. Also note that adding this won't change the meaning of
align(0), as 0 is already an error.
PS:
We should definitely check at some point that alignment is a power of two.
There is already code relying on this (AggregateDeclaration::alignmember).
--
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