predefines issue

Wed Feb 3 21:55:00 GMT 2010

Have code

#define sym_a sym_b
#define macro_over(x) x ## m
#define macro_over2(x) #x
int main()
  printf("%s\n", macro_over2(macro_over(sym_a)));

I see "macro_over(sym_a)" in output but expect to see sym_bm. 
Is it bug or i just smth missed?
View this message in context:
Sent from the gcc - Help mailing list archive at

More information about the Gcc-help mailing list