How to make G++ preprocessor output a newline in a macro?
- by Michael Rybak
Hello,
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
X
Y