[Bug c++/96400] False positive on Wunused-but-set-variable for static constexpr var used in lambda
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 23 16:27:40 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96400
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Changing "[](auto v)" to "[](int *v)" removes the warning. So this is a dup of
bug 88804.
*** This bug has been marked as a duplicate of bug 88804 ***
More information about the Gcc-bugs
mailing list