http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134
--- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-30 18:58:29 UTC --- (In reply to comment #15) > This bug results in real warnings being introduced unnoticed, see: > http://gcc.gnu.org/ml/gcc-patches/2012-05/msg02005.html I think somebody tried to add -Wmissing-declarations to CXXFLAGS recently, but the patch was rejected. Check the archive of gcc-patches for the details. I think that patch should be accepted for consistency with CFLAGS.