GNOME Bugzilla – Bug 548284
enums not output before being referenced
Last modified: 2008-09-27 12:11:12 UTC
This code: public struct Test.Struct { Enum a; } public enum Test.Enum { A, B, C } Leads to: In file included from test.c:2: test.h:15: error: expected specifier-qualifier-list before 'Enum' error: cc exited with status 256 Compilation failed: 1 error(s), 0 warning(s) Because test.h declares Enum after defining Struct.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 471244 ***