egcs-970922, powerpc-ibm-aix4.1.4.0 xm-rs6000.h:45: unterminated `#if'

Jeffrey A Law law@cygnus.com
Mon Sep 22 23:32:00 GMT 1997


  In message < 199709230137.VAA04511@caip.rutgers.edu >you write:
  > 	I tried building egcs-970922 on powerpc-ibm-aix4.1.4.0 using
  > gcc-2.7.2.1 for stage1.  I got:
Thanks.  My goof (seem to have made several in the last few days :(
This patch should fix the problem:

        * rs6000/xm-rs6000.h: Fix thinko in last change.
        * rs6000/xm-sysv4.h: Likewise.


Index: gcc/config/rs6000/xm-rs6000.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/rs6000/xm-rs6000.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 xm-rs6000.h
*** xm-rs6000.h	1997/09/19 03:12:54	1.3
--- xm-rs6000.h	1997/09/23 06:29:53
*************** Boston, MA 02111-1307, USA.  */
*** 48,53 ****
--- 48,54 ----
  extern void *alloca ();
  #else
  extern char *alloca ();
+ #endif
  #define	ONLY_INT_FIELDS
  #endif
  
Index: gcc/config/rs6000/xm-sysv4.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/rs6000/xm-sysv4.h,v
retrieving revision 1.4
diff -c -3 -p -r1.4 xm-sysv4.h
*** xm-sysv4.h	1997/09/19 03:12:55	1.4
--- xm-sysv4.h	1997/09/23 06:29:53
*************** Boston, MA 02111-1307, USA.  */
*** 55,60 ****
--- 55,61 ----
  extern void *alloca ();
  #else
  extern char *alloca ();
+ #endif
  #undef ONLY_INT_FIELDS
  #define ONLY_INT_FIELDS
  #endif



More information about the Gcc mailing list