[Bug c++/49326] Lambda arguments should not have a default value

2011-06-08 Thread vanboxem.ruben at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49326 Ruben Van Boxem changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49326] Lambda arguments should not have a default value

2011-06-08 Thread redi at gcc dot gnu.org
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.

[Bug c++/49326] Lambda arguments should not have a default value

2011-06-08 Thread vanboxem.ruben at gmail dot com
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.

[Bug c++/49326] Lambda arguments should not have a default value

2011-06-08 Thread redi at gcc dot gnu.org
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