How to make G++ preprocessor output a newline in a macro?

Got it!

#define anlb /*
*/ A /*
*/ B

anlb anlb

Down arrow

gcc -E -CC nl.c

Down arrow

/*
*/ A /*
*/ B /*
*/ A /*
*/ B

Leave a Comment