This is the mail archive of the 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]

[RFA] Use "-idirafter /usr/include/w32api" in cygwin specs

174 warnings in stage 3 of a bootstrap on cygwin come from header files in
/usr/include/w32api.  This patch eliminates them by make the files system
headers (using -dirafter in place of -I).  It also reverts the include
directory search path order to that of gcc-2.95, with /usr/include/w32api

Bootstrapped on cygwin.  Please consider for mainline and 3.0 branch.

2001-03-10	David Billinghurst (

	* config/i386/cygwin.h: Use -idirafter for /usr/include/w32api  

Index: gcc/config/i386/cygwin.h
RCS file: /cvs/gcc/egcs/gcc/config/i386/cygwin.h,v
retrieving revision 1.33
diff -u -r1.33 cygwin.h
--- cygwin.h    2001/02/05 19:31:06     1.33
+++ cygwin.h    2001/03/10 12:14:15
@@ -83,13 +83,13 @@

 #define CYGWIN_INCLUDES "-idirafter " CYGWIN_CROSS_DIR "/include"
-#define CYGWIN_W32API "-I" CYGWIN_CROSS_DIR "/include/w32api"
+#define CYGWIN_W32API "-idirafter " CYGWIN_CROSS_DIR "/include/w32api"
 #define MINGW_LIBS "-L" CYGWIN_CROSS_DIR "/lib/mingw"
-#define MINGW_INCLUDES "-I" CYGWIN_CROSS_DIR "/include/mingw"
+#define MINGW_INCLUDES "-idirafter " CYGWIN_CROSS_DIR "/include/mingw"
 #define CYGWIN_INCLUDES "-isystem /usr/local/include -idirafter
-#define CYGWIN_W32API "-I/usr/include/w32api"
+#define CYGWIN_W32API "-idirafter /usr/include/w32api"
 #define CYGWIN_LIB "/usr/lib"
 #define MINGW_LIBS "-L/usr/local/lib/mingw -L/usr/lib/mingw"
 #define MINGW_INCLUDES "-isystem /usr/local/include/mingw -idirafter

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