http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49326
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-08 16:50:42 UTC --- If you get a warning with -pedantic that usually means it's a G++ extension. If you don't want the extension use -pedantic-errors so it is rejected