This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed to fix bootstrap problems with cppinit.c
- To: egcs-patches at cygnus dot com
- Subject: Patch installed to fix bootstrap problems with cppinit.c
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 19 Feb 1999 15:53:04 -0500 (EST)
- Cc: law at cygnus dot com, zack at rabi dot columbia dot edu
I ran into a minor bootstrap problem on all platforms using cc
for stage1. Here is sample output from solaris 2.5:
> "cppinit.c", line 1653: warning: argument mismatch
> "cppinit.c", line 1625: newline in string literal
> "cppinit.c", line 1693: syntax error before or at: }
> cc: acomp failed for cppinit.c
> make[2]: *** [cppinit.o] Error 2
So I installed the following patch.
--Kaveh
Index: ChangeLog
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/ChangeLog,v
retrieving revision 1.3026
diff -u -p -r1.3026 ChangeLog
--- ChangeLog 1999/02/19 11:58:57 1.3026
+++ ChangeLog 1999/02/19 20:48:40
@@ -1,3 +1,7 @@
+Fri Feb 19 15:43:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * cppinit.c (print_help): Remove unescaped newline in string.
+
Fri Feb 19 19:55:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (strength_reduce): Check for intervening jumps when
Index: cppinit.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cppinit.c,v
retrieving revision 1.3
diff -u -p -r1.3 cppinit.c
--- cppinit.c 1999/02/18 15:35:47 1.3
+++ cppinit.c 1999/02/19 20:48:46
@@ -1649,7 +1649,6 @@ Switches:\n\
-std=<std name> Specify the conformance standard; one of:\n\
gnu89, gnu9x, c89, c9x, iso9899:1990,\n\
iso9899:199409, iso9899:199x\n\
-
-+ Allow parsing of C++ style features\n\
-w Inhibit warning messages\n\
-Wtrigraphs Warn if trigraphs are encountered\n\
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions