On Tue, Dec 03, 2002 at 03:00:27AM +0100, Joerg Mayer wrote:
> packet-prism.c:173:48: warning: pasting "." and "msgcode" does not give a valid preprocessing token
At least from the way I read the ANSI C standard:
1) the result of the "##" preprocessing operator must be a
"preprocessing token" ("3.8.3.3 The ## Operator");
2) "hdr.msgcode" is not a valid preprocessing token ("3.1
Lexical Elements"),
E.g., you can use "##" to glue "foo_" and "bar" together to make
"foo_bar", but you can't use it to glue "foo." and "bar" together to
make "foo.bar". (Perhaps it'll work in some compilers - perhaps even in
most compilers - but the ANSI C standard doesn't require it to work, at
least as I read it).
Powered by MHonArc 2.6.10