[Bug c++/68669] [5 regression] -Wunused-variable in anonymous namespace is not correctly supressed by #pragmas

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 3 14:10:00 GMT 2015


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Perhaps you need to try with -Wunused-const-variable ? There may be some
problem with TREE_READONLY (decl).


More information about the Gcc-bugs mailing list