http://d.puremagic.com/issues/show_bug.cgi?id=7065
Summary: align() refused for struct defined inside functions Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-12-04 09:33:26 PST --- A problem found by GrahamC: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=30987 D2 code, DMD 2.057head: align(1) struct Foo {} // OK unittest { align(1) struct Bar {} // found 'align' instead of statement } void main() { align(1) struct Spam {} // found 'align' instead of statement } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------