------- Comment #63 from rguenth at gcc dot gnu dot org 2008-11-20 10:01 ------- The patch looks reasonable. I understand that the warning is enabled by default but does not trigger from libstdc++ because that's system headers.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191