Error: macro names must be identifiers using #ifdef 0

后端 未结 5 1385
悲哀的现实
悲哀的现实 2020-12-12 20:42

I have the source code of an application written in C++ and I just want to comment something using:

#ifdef 0
...
#endif

And I get this erro

5条回答
  •  臣服心动
    2020-12-12 21:11

    Note that you can also hit this error if you accidentally type:

    #define 
    

    ...instead of...

    #include 
    

提交回复
热议问题