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

Andrea Agostini <andrea.agostini.sax at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrea.agostini.sax at gmail 
dot c
                   |                            |om

--- Comment #9 from Andrea Agostini <andrea.agostini.sax at gmail dot com> ---
While trying to work around this, I massaged the code enough for the compiler
to produce a more interesting message: see https://godbolt.org/z/Gsbv8fG7M

Adding a return statement to the lambda makes the compiler confess that it
thinks the lambda should return int, rather than void. Maybe this can help
pinpoint the bug?

Reply via email to