On Sun, May 20, 2001 at 08:44:32PM +0200, Markus F.X.J. Oberhumer wrote: > $ gcc-3.0 -c -Werror bug02.c > bug02.c:13:23: pasting ""_"" and ""foo"" does not give a valid preprocessing > token ...
> #define ASM_NAME(x) __asm__("_" ## #x) This is not valid C. As it says, pasting together the string constants "_" and "foo" does not produce a valid single token. You can just remove the ## from your code. "_" "foo" is understood as meaning the same thing as "_foo" by all versions of GCC. -- zw Breeding replacement security officers on farms where giant robot combine harvesters operate would tend to increase the evolutionary selection pressure, which may be the desired effect. -- David G. Bell