[Bug c++/14172] g++ should not emit effc++ warnings in system headers
matthew at linuxfromscratch dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 23 10:18:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list