On Jun 23, 2005, at 10:04 PM, geoffk at gcc dot gnu dot org wrote:

GCC quietly accepts the following:

#define A a
#define B a
#if #A == #B
#endif

In fact if we look at the output for the following code:
#define A b
#define B c
#if #A == #B
void g(void);
#endif

We find that "void g(void);" is always outputted so in fact
it does not do what David wanted it to do.

Thanks,
Andrew Pinski

Reply via email to