------- Comment #9 from pcarlini at suse dot de 2007-09-04 17:53 ------- Humm, no, anonymous enums are clearly legal, sorry about the stupid mistake. Still, it's not completely clear to me the discussion in 7.2/5 of empty enumerator-lists, evidently, we must assume those are illegal *only* when the enum is simultaneously anonymous (and the patch in Comment #2 is therefore incomplete, not completely wrong, sorry about the misunderstanding).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29018