This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]