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: "vanboxem.ruben at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 17:49:31 +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
Ruben Van Boxem <vanboxem.ruben at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #4 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> 2011-06-08 17:48:53 UTC ---
Ok, my mistake, I compiled with -std=c++0x -pedantic, which (as I'm reading in
the manual now) turns off GCC extensions and makes program adhere to strict
standards... But emits warnings only. I should use -pedantic-errors then. OK.
That works as it should in this case. Thanks.