[Bug c++/37934] show a warning when a symbol is unused and completely removed from the output file
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 24 05:39:00 GMT 2008
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-24 05:34 -------
(In reply to comment #1)
> I think this is just some bit missing in our Wunused. We currently do this for
> explicit static, so it shouldn't be hard to do it for the implicit one.
Actually these are not implicitly static, they are vague linkage. Anyways
since it is a const, the warning is not supposed to be emitted as there are
many const variables in headers that don't need to be emitted at all.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37934
More information about the Gcc-bugs
mailing list