http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52085
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 06:14:55 UTC --- http://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc/Incomplete-Enums.html#Incomplete-Enums >From the sound of it, the declaration using the incomplete enum should have been rejected.