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
1.4m articles
1.4m replys
5 comments
57.0k users