Struct members align in DMD 2.060

Maxim Fomin maxim at maxim-fomin.ru
Sat Oct 6 23:01:42 PDT 2012


http://dlang.org/changelog.html

Since 2.060 behavior of align outside aggregate was changed. This 
explains the first example. Regarding the second one: "alignment 
for the fields of an aggregate doesn't affect the alignment of 
the aggregate itself" - from spec 
http://dlang.org/attribute.html#align.


More information about the Digitalmars-d-learn mailing list