cppinit.c : space in `CAT' argument list

Philippe De Muyter phdm@macqel.be
Fri Nov 26 02:49:00 GMT 1999


Problem :
"/share/src/gnu/egcs-19991122/gcc/cppinit.c", line 237: syntax error
"/share/src/gnu/egcs-19991122/gcc/cppinit.c", line 240: redeclaration of x
...
"/share/src/gnu/egcs-19991122/gcc/cppinit.c", line 244: redeclaration of x
"/share/src/gnu/egcs-19991122/gcc/cppinit.c", line 244: compiler error: too many
 errors
gnumake[2]: *** [cppinit.o] Error 1

Fix :

Fri Nov 26 10:54:50 1999  Philippe De Muyter  <phdm@macqel.be>

	* cppinit.c (CAT): The argument list of this macro may not contain
	spaces !

--- ./gcc/cppinit.c	Thu Nov 25 18:26:29 1999
+++ ./gcc/cppinit.c	Thu Nov 25 12:16:12 1999
@@ -223,7 +223,7 @@
 #define END };
 #else
 #define TABLE(id) unsigned char id[256] = { 0 }; \
-static void CAT(init_, id) PARAMS ((void)) { \
+static void CAT(init_,id) PARAMS ((void)) { \
 unsigned char *x = id;
 #define s(p, v) x[p] = v;
 #define END } 


More information about the Gcc-patches mailing list