This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/16358] -Wno-system-headers hides warning caused by user header vs system header conflict
- From: "avi at exanet dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2004 08:11:28 -0000
- Subject: [Bug preprocessor/16358] -Wno-system-headers hides warning caused by user header vs system header conflict
- References: <20040704080514.16358.avi@exanet.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From avi at exanet dot com 2004-07-04 08:11 -------
An obvious workaround is to perform all system #includes before everything else.
But there are valid reasons to #include system headers later, and a problem may
still remain with #include guard symbols.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16358