This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50134] -Wmissing-prototypes doesn't work for C++
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 May 2012 18:58:29 +0000
- Subject: [Bug c++/50134] -Wmissing-prototypes doesn't work for C++
- Auto-submitted: auto-generated
- References: <bug-50134-4@http.gcc.gnu.org/bugzilla/>
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.