[Bug c++/77914] Wrong lambda definition accepted

michele.caini at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 10 08:19:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77914

--- Comment #3 from Michele Caini <michele.caini at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> Shall we remove that altogether, or just pedwarn on it?

I suspect it should be rejected, unless it is an intended extension of the
compiler (for which I've not been able to find the docs - in this case, a
pedwarn should be emitted at least).


More information about the Gcc-bugs mailing list