bug or feature ? :) regardless of value passed to -std, this error crops up ... yet if i dont use -std, it works just peachy $ cat foo.S #define FOO(sym,type) __##sym,##type FOO(myfunc,@function) $ gcc -S foo.S # 1 "foo.S" # 1 "<built-in>" # 1 "<command line>" # 1 "foo.S" __myfunc,@function $ gcc -S foo.S -std=gnu99 # 1 "foo.S" # 1 "<built-in>" # 1 "<command line>" # 1 "foo.S" foo.S:2:1: error: pasting "," and "@" does not give a valid preprocessing token __myfunc,@function -mike
Attachment:
pgpXo0MfAfzwn.pgp
Description: PGP signature