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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2004 15:04:05 -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 pinskia at gcc dot gnu dot org 2004-07-04 15:04 -------
Since O_RSYNC is reserved by the UNIX standard that part is invalid. Yes there is such a thing, see
<http://www.opengroup.org/onlinepubs/007908799/xsh/open.html> for the standard definition.
If you do not know what the marcos you are being in by using the headers why are you bring in the
headers. Also it is always custumary to include system headers first and then do the defines/includes
of the user headers and you will never run into this.
Again this is invalid as the redefinition is the system header and the system header depends on the
macros being defined right.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16358