gcc解析代码#if 0 out

时间:2014-06-15 14:33:57

标签: c gcc

这是一段代码

#if 0
This is silly's comment
#endif
int main()
{
}

我收到错误

apos.c:2:14: warning: missing terminating ' character [enabled by default]
 This is silly's comment
              ^

我可以通过将评论放在/ * * /或不使用注释中的撇号来解决这个问题,但我想知道的是我如何阻止gcc解析已被#if 0出的东西

0 个答案:

没有答案