This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14172] g++ should not emit effc++ warnings in system headers
- From: "matthew at linuxfromscratch dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2004 10:18:29 -0000
- Subject: [Bug c++/14172] g++ should not emit effc++ warnings in system headers
- References: <20040217095426.14172.tneumann@pi3.informatik.uni-mannheim.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From matthew at linuxfromscratch dot org 2004-11-23 10:18 -------
Would someone mind commenting on what needs to happen with this bug please? My
testing has shown that the behaviour of -Weffc++ is correct with regard to
system headers. The problem is that some of the headers in
/usr/include/c++/$gcc-version/bits aren't treated as system headers. This
doesn't just affect -Weffc++, it actually affects *all* warning options (e.g.
-Wunreachable-code is often triggered by such headers IIRC). Does the bug
summary need changing? What about the component? (I suspect this is now in the
realm of libstdc++). It seems closely related to bug 12854.
Thanks,
Matt
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14172