假设我们给出了这个输入C代码:
#define Y 20 #define A(x) (10+x+Y) A(A(40))
gcc -E这样的输出(10+(10+40 +20)+20).
gcc -E
(10+(10+40 +20)+20)
gcc -E -traditional-cpp这样的输出(10+(10+40+20)+20).
gcc -E -traditional-cpp
(10+(10+40+20)+20)
为什么默认的cpp会在之后插入空格40?
40
我在哪里可以找到涵盖该逻辑的最详细的cpp规范?
c c-preprocessor
c ×1
c-preprocessor ×1