This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49326] Lambda arguments should not have a default value
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 16:51:00 +0000
- Subject: [Bug c++/49326] Lambda arguments should not have a default value
- Auto-submitted: auto-generated
- References: <bug-49326-4@http.gcc.gnu.org/bugzilla/>
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