[Bug c++/98660] -Wold-style-cast should not warn on casts that look like (decltype(x))(x)
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 16 21:09:38 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98660
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
Just don't use -Wold-style-cast then. Or disable it selectively with #pragma
GCC diagnostic
More information about the Gcc-bugs
mailing list