[Bug c++/37934] show a warning when a symbol is unused and completely removed from the output file
--- 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
[Bug c++/37934] show a warning when a symbol is unused and completely removed from the output file
--- Comment #1 from manu at gcc dot gnu dot org 2008-10-28 15:10 --- 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. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC||manu at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-10-28 15:10:32 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37934