You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really understand in what order this should expand, and why not otherwise, but: 'we have what we have'.
// The definition's and TokenSequence:
#define A(x) C(B, D
#define D A(1))
#define C(x,y) E(y)
#define E(y) #y
A(2))
Clang, gcc, tcc preprocess this text equally: "\"D\""
But cscout has another result: "A(1)")
(Intel compiler has similar result.)
Anyway, perhaps, this is an excellent example for the next test suite.
With respect and best regards.
The text was updated successfully, but these errors were encountered:
hashmap-kz
changed the title
Different result between cscout and (gcc/clang) after preprocessing.
Different result between (cscout/icc) and (gcc/clang) after preprocessing.
Jul 5, 2018
Hello.
I'm not really understand in what order this should expand, and why not otherwise, but: 'we have what we have'.
// The definition's and TokenSequence:
#define A(x) C(B, D
#define D A(1))
#define C(x,y) E(y)
#define E(y) #y
A(2))
Clang, gcc, tcc preprocess this text equally: "\"D\""
But cscout has another result: "A(1)")
(Intel compiler has similar result.)
Anyway, perhaps, this is an excellent example for the next test suite.
With respect and best regards.
The text was updated successfully, but these errors were encountered: