------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:36 ------- I don't think this is a good warning really as static is used all over the place. In system headers and really in almost all C++ code in general.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37047