[Issue 7396] Indicate default alignment with 0.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 31 00:05:37 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7396
--- Comment #18 from Iain Buclaw <ibuclaw at ubuntu.com> 2012-01-31 00:05:34 PST ---
(In reply to comment #17)
> PS:
> We should definitely check at some point that alignment is a power of two.
> There is already code relying on this (AggregateDeclaration::alignmember).
I think it would also make sense to disallow any align(n) value greater than
align(16) for 32bit, and possibly align(32) for 64bit platforms.
--
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