This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/16358] -Wno-system-headers hides warning caused by user header vs system header conflict


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]