[GCC-XML] Re: enum types in gccxml

Brad King brad.king at kitware.com
Thu Jul 29 08:13:12 EDT 2004


Ivan Kissiov wrote:
> 	I noticed most of the enumerated types come out in the the xml with the
> 'artificial' flag raised. Nothing in the source suggests that they
> should be. Even simple 'enum Type { ... }' causes it. Why is that?

This is a feature added in April 2004 to tell apart

   typedef enum { ... } Foo;

and

   enum Foo { ... };

I just noticed this feature was missing for struct types and have now 
added it.

-Brad



More information about the gccxml mailing list