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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 16:51:00 GMT 2011


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



More information about the Gcc-bugs mailing list