This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77914] Wrong lambda definition accepted
- From: "michele.caini at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Oct 2016 08:11:53 +0000
- Subject: [Bug c++/77914] Wrong lambda definition accepted
- Auto-submitted: auto-generated
- References: <bug-77914-4@http.gcc.gnu.org/bugzilla/>
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).