如何跳过C文件的所有lint错误

时间:2016-07-28 20:01:18

标签: c lint

如何跳过C文件的所有lint错误? 有没有办法用任何选项跳过特定文件的所有lint错误?

我可以使用以下选项跳过单个错误:

/*lint -save -e40 */
*lint -restore */

1 个答案:

答案 0 :(得分:0)

自从我上次使用Lint以来已经过了很长时间 我希望我没有误会......

根据:http://www.gimpel.com/Discussion.cfm?ThreadID=3410

语法为:

/*lint -save -e* */
...
/*lint -restore */
相关问题