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)
A string literal can't form a new preprocessing token by c
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 s
2 matches
Mail list logo