http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764
--- Comment #26 from André Wöbbeking <Woebbeking at web dot de> 2013-03-15 13:45:50 UTC --- (In reply to comment #25) > (In reply to comment #24) > > 3) some other compiler don't compile this > > Which? Recent versions of EDG and clang both accept the testcase in comment > 22. MSVC 2010 In another duplicate ICC 6 was mentioned. > > couldn't you at least give us a warning (e. g. with -pedantic)? > > -pedantic means "strictly enforce the standard"; since the standard says that > the testcase in comment 22 is well-formed, -pedantic should not complain about > it. Someone could add another warning flag to warn about this, Yep, that is probably the better solution.