mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 22:27:45 +08:00
no preprocessing inside string literal
From-SVN: r43604
This commit is contained in:
parent
aaa2e8ef87
commit
84690a975d
@ -1,3 +1,8 @@
|
||||
2001-06-26 Bruce Korb <bkorb@gnu.org>
|
||||
|
||||
* gcc/fixinc/fixincl.c(initialize): In very strict ANSI, you cannot
|
||||
use preprocessing directives inside a string literal. Fixed.
|
||||
|
||||
2001-06-26 Jim Wilson <wilson@redhat.com>
|
||||
|
||||
* doc/tm.texi (MAX_LONG_DOUBLE_TYPE_SIZE, INTEL_EXTENDED_IEEE_FORMAT):
|
||||
|
@ -220,12 +220,14 @@ initialize ( argc, argv )
|
||||
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
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user