------- 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