------- Comment #2 from bero at arklinux dot org 2006-12-03 19:05 ------- True, but the warning bit (test.cpp:2: warning: declaration of enum value 'foo' shadows class 'foo') should be doable (and would make the rest much easier to spot).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30060