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

Are we ready to turn on fast-fixincludes?


Hi,

Did you receive my patch to gcc/Makefile.in and gcc/configure.in?
I am attaching it again.  The diffs for configure.in still seem up to date,
but I am not sure the Makefile.in ones are still appliable.

Regards,
    Bruce

*** /usr/include/X11/Xalloca.h	Fri Nov  8 03:49:43 1996
--- include/X11/Xalloca.h	Fri Oct 16 09:02:52 1998
***************
*** 102,108 ****
   * from alloca.h which #defines alloca.
   */
  #    ifndef NCR
! #      if defined(vax) || defined(sun) || defined(apollo) || defined(stellar) || defined(USL) || defined(alloca)
  /*
   * Some System V boxes extract alloca.o from /lib/libPW.a; if you
   * decide that you don't want to use alloca, you might want to fix it here.
--- 102,108 ----
   * from alloca.h which #defines alloca.
   */
  #    ifndef NCR
! #      if defined(__vax__) || defined(__sun__) || defined(apollo) || defined(stellar) || defined(USL) || defined(alloca)
  /*
   * Some System V boxes extract alloca.o from /lib/libPW.a; if you
   * decide that you don't want to use alloca, you might want to fix it here.
*** /usr/include/X11/Xfuncs.h	Fri Nov  8 03:49:43 1996
--- include/X11/Xfuncs.h	Fri Oct 16 09:02:53 1998
***************
*** 40,46 ****
  void bzero();
  int bcmp();
  #else
! #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII) && !defined(apollo)) || defined(SVR4) || defined(hpux) || defined(_IBMR2) || defined(_SEQUENT_)
  #include <string.h>
  #define _XFUNCS_H_INCLUDED_STRING_H
  #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
--- 40,46 ----
  void bzero();
  int bcmp();
  #else
! #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(__sun__) && !defined(macII) && !defined(apollo)) || defined(SVR4) || defined(hpux) || defined(_IBMR2) || defined(_SEQUENT_)
  #include <string.h>
  #define _XFUNCS_H_INCLUDED_STRING_H
  #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
***************
*** 72,78 ****
  
  /* the new Xfuncs.h */
  
! #if !defined(X_NOT_STDC_ENV) && (!defined(sun) || defined(SVR4))
  /* the ANSI C way */
  #ifndef _XFUNCS_H_INCLUDED_STRING_H
  #include <string.h>
--- 72,78 ----
  
  /* the new Xfuncs.h */
  
! #if !defined(X_NOT_STDC_ENV) && (!defined(__sun__) || defined(SVR4))
  /* the ANSI C way */
  #ifndef _XFUNCS_H_INCLUDED_STRING_H
  #include <string.h>
***************
*** 80,86 ****
  #undef bzero
  #define bzero(b,len) memset(b,0,len)
  #else /* else X_NOT_STDC_ENV or SunOS 4 */
! #if defined(SYSV) || defined(luna) || defined(sun) || defined(__sxg__)
  #include <memory.h>
  #define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
  #if defined(SYSV) && defined(_XBCOPYFUNC)
--- 80,86 ----
  #undef bzero
  #define bzero(b,len) memset(b,0,len)
  #else /* else X_NOT_STDC_ENV or SunOS 4 */
! #if defined(SYSV) || defined(luna) || defined(__sun__) || defined(__sxg__)
  #include <memory.h>
  #define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
  #if defined(SYSV) && defined(_XBCOPYFUNC)
*** /usr/include/X11/Xos.h	Fri Nov  8 03:49:43 1996
--- include/X11/Xos.h	Fri Oct 16 09:02:54 1998
***************
*** 107,113 ****
  /*
   * strerror()
   */
! #if defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4)) || defined(macII)
  #ifndef strerror
  extern char *sys_errlist[];
  extern int sys_nerr;
--- 107,113 ----
  /*
   * strerror()
   */
! #if defined(X_NOT_STDC_ENV) || (defined(__sun__) && !defined(SVR4)) || defined(macII)
  #ifndef strerror
  extern char *sys_errlist[];
  extern int sys_nerr;
***************
*** 121,127 ****
   */
  #ifdef X_NOT_POSIX
  #include <fcntl.h>
! #if defined(USL) || defined(CRAY) || defined(MOTOROLA) || (defined(i386) && (defined(SYSV) || defined(SVR4))) || defined(__sxg__)
  #include <unistd.h>
  #endif
  #ifdef WIN32
--- 121,127 ----
   */
  #ifdef X_NOT_POSIX
  #include <fcntl.h>
! #if defined(USL) || defined(CRAY) || defined(MOTOROLA) || (defined(__i386__) && (defined(SYSV) || defined(SVR4))) || defined(__sxg__)
  #include <unistd.h>
  #endif
  #ifdef WIN32
*** /usr/include/X11/Xosdefs.h	Fri Nov  8 03:49:43 1996
--- include/X11/Xosdefs.h	Fri Oct 16 09:02:55 1998
***************
*** 46,52 ****
  #endif
  
  #ifdef sony
! #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
  #define X_NOT_POSIX
  #endif
  #endif
--- 46,52 ----
  #endif
  
  #ifdef sony
! #if !defined(__SYSTYPE_SYSV__) && !defined(__SYSTYPE_SYSV__)
  #define X_NOT_POSIX
  #endif
  #endif
***************
*** 56,62 ****
  #define X_NOT_STDC_ENV
  #endif
  
! #ifdef vax
  #ifndef ultrix			/* assume vanilla BSD */
  #define X_NOT_POSIX
  #define X_NOT_STDC_ENV
--- 56,62 ----
  #define X_NOT_STDC_ENV
  #endif
  
! #ifdef __vax__
  #ifndef ultrix			/* assume vanilla BSD */
  #define X_NOT_POSIX
  #define X_NOT_STDC_ENV
***************
*** 80,86 ****
  #endif
  #endif
  
! #ifdef i386
  #ifdef SYSV
  #if !(defined(ISC) && defined(_POSIX_SOURCE))
  #ifndef SCO
--- 80,86 ----
  #endif
  #endif
  
! #ifdef __i386__
  #ifdef SYSV
  #if !(defined(ISC) && defined(_POSIX_SOURCE))
  #ifndef SCO
***************
*** 99,105 ****
  #endif
  #endif
  
! #ifdef sun
  #ifdef SVR4
  /* define this to whatever it needs to be */
  #define X_POSIX_C_SOURCE 199300L
--- 99,105 ----
  #endif
  #endif
  
! #ifdef __sun__
  #ifdef SVR4
  /* define this to whatever it needs to be */
  #define X_POSIX_C_SOURCE 199300L
*** /usr/include/X11/Xthreads.h	Fri Nov  8 03:49:43 1996
--- include/X11/Xthreads.h	Fri Oct 16 09:02:56 1998
***************
*** 78,84 ****
  #define xthread_yield() thr_yield()
  #define xthread_exit(v) thr_exit(v)
  #define xthread_key_create(kp,d) thr_keycreate(kp,d)
! #ifdef sun
  #define xthread_key_delete(k) 0
  #else
  #define xthread_key_delete(k) thr_keydelete(k)
--- 78,84 ----
  #define xthread_yield() thr_yield()
  #define xthread_exit(v) thr_exit(v)
  #define xthread_key_create(kp,d) thr_keycreate(kp,d)
! #ifdef __sun__
  #define xthread_key_delete(k) 0
  #else
  #define xthread_key_delete(k) thr_keydelete(k)
*** /usr/X11R6/include/X11/Xalloca.h	Fri Nov  8 03:49:43 1996
--- include/root/usr/X11R6/include/X11/Xalloca.h	Fri Oct 16 09:02:52 1998
***************
*** 102,108 ****
   * from alloca.h which #defines alloca.
   */
  #    ifndef NCR
! #      if defined(vax) || defined(sun) || defined(apollo) || defined(stellar) || defined(USL) || defined(alloca)
  /*
   * Some System V boxes extract alloca.o from /lib/libPW.a; if you
   * decide that you don't want to use alloca, you might want to fix it here.
--- 102,108 ----
   * from alloca.h which #defines alloca.
   */
  #    ifndef NCR
! #      if defined(__vax__) || defined(__sun__) || defined(apollo) || defined(stellar) || defined(USL) || defined(alloca)
  /*
   * Some System V boxes extract alloca.o from /lib/libPW.a; if you
   * decide that you don't want to use alloca, you might want to fix it here.
*** /usr/X11R6/include/X11/Xfuncs.h	Fri Nov  8 03:49:43 1996
--- include/root/usr/X11R6/include/X11/Xfuncs.h	Fri Oct 16 09:02:53 1998
***************
*** 40,46 ****
  void bzero();
  int bcmp();
  #else
! #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII) && !defined(apollo)) || defined(SVR4) || defined(hpux) || defined(_IBMR2) || defined(_SEQUENT_)
  #include <string.h>
  #define _XFUNCS_H_INCLUDED_STRING_H
  #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
--- 40,46 ----
  void bzero();
  int bcmp();
  #else
! #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(__sun__) && !defined(macII) && !defined(apollo)) || defined(SVR4) || defined(hpux) || defined(_IBMR2) || defined(_SEQUENT_)
  #include <string.h>
  #define _XFUNCS_H_INCLUDED_STRING_H
  #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
***************
*** 72,78 ****
  
  /* the new Xfuncs.h */
  
! #if !defined(X_NOT_STDC_ENV) && (!defined(sun) || defined(SVR4))
  /* the ANSI C way */
  #ifndef _XFUNCS_H_INCLUDED_STRING_H
  #include <string.h>
--- 72,78 ----
  
  /* the new Xfuncs.h */
  
! #if !defined(X_NOT_STDC_ENV) && (!defined(__sun__) || defined(SVR4))
  /* the ANSI C way */
  #ifndef _XFUNCS_H_INCLUDED_STRING_H
  #include <string.h>
***************
*** 80,86 ****
  #undef bzero
  #define bzero(b,len) memset(b,0,len)
  #else /* else X_NOT_STDC_ENV or SunOS 4 */
! #if defined(SYSV) || defined(luna) || defined(sun) || defined(__sxg__)
  #include <memory.h>
  #define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
  #if defined(SYSV) && defined(_XBCOPYFUNC)
--- 80,86 ----
  #undef bzero
  #define bzero(b,len) memset(b,0,len)
  #else /* else X_NOT_STDC_ENV or SunOS 4 */
! #if defined(SYSV) || defined(luna) || defined(__sun__) || defined(__sxg__)
  #include <memory.h>
  #define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
  #if defined(SYSV) && defined(_XBCOPYFUNC)
*** /usr/X11R6/include/X11/Xos.h	Fri Nov  8 03:49:43 1996
--- include/root/usr/X11R6/include/X11/Xos.h	Fri Oct 16 09:02:54 1998
***************
*** 107,113 ****
  /*
   * strerror()
   */
! #if defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4)) || defined(macII)
  #ifndef strerror
  extern char *sys_errlist[];
  extern int sys_nerr;
--- 107,113 ----
  /*
   * strerror()
   */
! #if defined(X_NOT_STDC_ENV) || (defined(__sun__) && !defined(SVR4)) || defined(macII)
  #ifndef strerror
  extern char *sys_errlist[];
  extern int sys_nerr;
***************
*** 121,127 ****
   */
  #ifdef X_NOT_POSIX
  #include <fcntl.h>
! #if defined(USL) || defined(CRAY) || defined(MOTOROLA) || (defined(i386) && (defined(SYSV) || defined(SVR4))) || defined(__sxg__)
  #include <unistd.h>
  #endif
  #ifdef WIN32
--- 121,127 ----
   */
  #ifdef X_NOT_POSIX
  #include <fcntl.h>
! #if defined(USL) || defined(CRAY) || defined(MOTOROLA) || (defined(__i386__) && (defined(SYSV) || defined(SVR4))) || defined(__sxg__)
  #include <unistd.h>
  #endif
  #ifdef WIN32
*** /usr/X11R6/include/X11/Xosdefs.h	Fri Nov  8 03:49:43 1996
--- include/root/usr/X11R6/include/X11/Xosdefs.h	Fri Oct 16 09:02:55 1998
***************
*** 46,52 ****
  #endif
  
  #ifdef sony
! #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
  #define X_NOT_POSIX
  #endif
  #endif
--- 46,52 ----
  #endif
  
  #ifdef sony
! #if !defined(__SYSTYPE_SYSV__) && !defined(__SYSTYPE_SYSV__)
  #define X_NOT_POSIX
  #endif
  #endif
***************
*** 56,62 ****
  #define X_NOT_STDC_ENV
  #endif
  
! #ifdef vax
  #ifndef ultrix			/* assume vanilla BSD */
  #define X_NOT_POSIX
  #define X_NOT_STDC_ENV
--- 56,62 ----
  #define X_NOT_STDC_ENV
  #endif
  
! #ifdef __vax__
  #ifndef ultrix			/* assume vanilla BSD */
  #define X_NOT_POSIX
  #define X_NOT_STDC_ENV
***************
*** 80,86 ****
  #endif
  #endif
  
! #ifdef i386
  #ifdef SYSV
  #if !(defined(ISC) && defined(_POSIX_SOURCE))
  #ifndef SCO
--- 80,86 ----
  #endif
  #endif
  
! #ifdef __i386__
  #ifdef SYSV
  #if !(defined(ISC) && defined(_POSIX_SOURCE))
  #ifndef SCO
***************
*** 99,105 ****
  #endif
  #endif
  
! #ifdef sun
  #ifdef SVR4
  /* define this to whatever it needs to be */
  #define X_POSIX_C_SOURCE 199300L
--- 99,105 ----
  #endif
  #endif
  
! #ifdef __sun__
  #ifdef SVR4
  /* define this to whatever it needs to be */
  #define X_POSIX_C_SOURCE 199300L
*** /usr/X11R6/include/X11/Xthreads.h	Fri Nov  8 03:49:43 1996
--- include/root/usr/X11R6/include/X11/Xthreads.h	Fri Oct 16 09:02:56 1998
***************
*** 78,84 ****
  #define xthread_yield() thr_yield()
  #define xthread_exit(v) thr_exit(v)
  #define xthread_key_create(kp,d) thr_keycreate(kp,d)
! #ifdef sun
  #define xthread_key_delete(k) 0
  #else
  #define xthread_key_delete(k) thr_keydelete(k)
--- 78,84 ----
  #define xthread_yield() thr_yield()
  #define xthread_exit(v) thr_exit(v)
  #define xthread_key_create(kp,d) thr_keycreate(kp,d)
! #ifdef __sun__
  #define xthread_key_delete(k) 0
  #else
  #define xthread_key_delete(k) thr_keydelete(k)

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