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

bootstrap/3388: 3.0 failure, native sparc-sun...fixinc



Since this could never have worked with the native compiler,
it is curious we would not see it before now.  The correct
patch is below.  If it has not been applied before tonight,
I'll do it when I get home.

2001-06-25  Bruce Korb  <bkorb@gnu.org>

	* gcc/fixinc/fixincl.c(initialize): completely separate the STDC and
	non-STDC string initializers.

--- fixincl.c.ori       Fri Mar 16 11:08:22 2001
+++ fixincl.c   Mon Jun 25 08:51:02 2001
@@ -220,12 +220,14 @@
   char** argv;
 {
   static const char var_not_found[] =
+#ifndef __STDC__
+    "fixincl ERROR:  %s environment variable not defined\n"
+#else
     "fixincl ERROR:  %s environment variable not defined\n"
-#ifdef __STDC__
     "each of these must be defined:\n"
-#define _ENV_(v,m,n,t) "\t" n "  - " t "\n"
-ENV_TABLE
-#undef _ENV_
+# define _ENV_(v,m,n,t) "\t" n "  - " t "\n"
+  ENV_TABLE
+# undef _ENV_
 #endif
     ;


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