[Bug c++/86361] Compilation failed while other compiler(clang) able to compile code in question

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 6 22:03:00 GMT 2018


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

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ville.voutilainen at gmail dot com
         Resolution|---                         |DUPLICATE

--- Comment #2 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
The lambda capturing k with a parameter named k is ill-formed as per Core DR
2211. Fix coming.

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


More information about the Gcc-bugs mailing list