[Bug c++/86359] Internal error when compiling lambda with constexpr and function with variadic arguments
vmario1986 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 29 08:21:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86359
Mariusz Chilmon <vmario1986 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmario1986 at gmail dot com
--- Comment #1 from Mariusz Chilmon <vmario1986 at gmail dot com> ---
In GCC 7.3.0 Marcin's code works, though it should not because `number` is not
captured. In GCC 9.0.0 compiler returns correct message: `error: 'number' is
not captured`.
More information about the Gcc-bugs
mailing list