This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Preprocessor bug


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]