gcc process above codes, not error.
mcpp process above codes, report error:
Noname2.cpp:4: error: Can't use the operator "#"
macro "_cond_lint" defined as: #define _cond_lint #lint(on) /* Noname2.cpp:2 */
from Noname2.cpp:4: #if !_cond_lint
1 error in preprocess
I hope get gcc's behaviour, help me, please!
Thanks-
lt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
//Noname.cpp
#define _cond_lint #lint(on)
#if ! _cond_lint
#endif
gcc process above codes, not error.
mcpp process above codes, report error:
Noname2.cpp:4: error: Can't use the operator "#"
macro "_cond_lint" defined as: #define _cond_lint #lint(on) /* Noname2.cpp:2 */
from Noname2.cpp:4: #if !_cond_lint
1 error in preprocess
I hope get gcc's behaviour, help me, please!
Thanks-
lt