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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't think this has anything to do with [expr.prim.lambda.capture].
Richard's analysis in the linked clang report is based on these errors from GCC
7:

:2:14: error: variable ā€˜e’ has function type
:2:14: error: variable ā€˜e’ has function type

But GCC 8 doesn't give those errors, so [expr.prim.lambda.capture] isn't the
problem.

I think this is another dup of PR 59655.

*** This bug has been marked as a duplicate of bug 59655 ***

Reply via email to