http://d.puremagic.com/issues/show_bug.cgi?id=3906
Summary: Undefined struct and union declarations are not documented Product: D Version: 2.041 Platform: All URL: http://digitalmars.com/d/2.0/struct.html OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jlqu...@optonline.net --- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2010-03-08 21:54:59 PST --- It seems the grammar was updated to permit the following code: struct Z; However, there is no documentation on what this does. Trying dmd 2.041, this compiles. However, trying the following (as expected from C/C++): struct Z; struct Z {} gives this error: junk.d(2): Error: struct junk.Z conflicts with struct junk.Z at junk.d(1) Something is amiss here. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------