Preprocessor bug

Neil Booth neilb@earthling.net
Tue Nov 21 04:04:00 GMT 2000


Neil Booth wrote:-

> This is a more complicated example of
> 
> #define foo(x) foo
> foo(foo)(x)
> 
> which I believe most would agree expands to "foo(x)" and not "foo".

Hmm, I meant that to read

#define foo(x) x
foo(foo)(x)

Which expands to "foo(x)" and not "x".

Neil.


More information about the Gcc-bugs mailing list