Is there a way in gcc/g++ 4.* to write a macro that expands into several lines?
The following code:
#define A X Y
Expands into
X Y
I need a macro expanding into
Got it!
#define anlb /* */ A /* */ B anlb anlb
gcc -E -CC nl.c
/* */ A /* */ B /* */ A /* */ B
2.1m questions
2.1m answers
60 comments
57.0k users