Trying to compile the following code in GCC yields an error:
#define __dbgprintf /##/
The error reads error: pasting "/" and "/" does not give a valid preprocessing token
. As far as C99 is concerned, this should be perfectly valid code, because the intention is clearly to receive a single-line comment in place of the name of the define. Why does it even bother to check … 🙄
// Oliver