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++/77914] Wrong lambda definition accepted


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).

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