This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
bootstrap/3388: 3.0 failure, native sparc-sun...fixinc
- To: GCC-patches <gcc-patches at gcc dot gnu dot org>, Michael Chastain <devnull at autogen dot freeservers dot com>
- Subject: bootstrap/3388: 3.0 failure, native sparc-sun...fixinc
- From: Bruce Korb <bkorb at veritas dot com>
- Date: Mon, 25 Jun 2001 08:55:54 -0700
- CC: Bruce Korb <bkorb at pacbell dot net>
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
;