------- Comment #8 from pinskia at gcc dot gnu dot org 2008-07-06 22:26 ------- >Not sure what the exact error message was.
Easy, the decls were not defined :). Basically the enums get the scope of the struct they are defined in for C++ but in C, they get the global scope. A warning for this is not that useful really if we are going to move to C++ where we want them in the scope of the struct rather than the global scope. -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21759