http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49326
Ruben Van Boxem changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49326
--- Comment #3 from Jonathan Wakely 2011-06-08
17:05:06 UTC ---
No, that's not how it works, read the manual for -std and -pedantic.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49326
--- Comment #2 from Ruben Van Boxem
2011-06-08 16:54:34 UTC ---
I compiled with -std=c++0x, so GCC extensions should be turned off.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49326
--- Comment #1 from Jonathan Wakely 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