[Bug c++/79585] spurious -Wunused-variable on a pointer with attribute unused in function template
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 17 21:27:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79585
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Known to fail| |4.1.3, 4.2.2, 4.3.2, 4.6.0,
| |5.3.0, 6.3.0, 7.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The same spurious warning goes at least as far back as GCC 4. Clang doesn't
have the problem.
More information about the Gcc-bugs
mailing list