http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56585
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-10 10:33:45 UTC --- The standard says nothing about errors, it only requires a diagnostic, and a warning is a diagnostic. Maybe it could be an error with -pedantic-errors though.