http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59005
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- To get diagnostics for GNU extensions you need to use -pedantic, NOT -std=c++11, see the manual.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59005
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- To get diagnostics for GNU extensions you need to use -pedantic, NOT -std=c++11, see the manual.