codeblocks的cppcheck设置

的cppcheck插件,需要另外下载,链接:http://sourceforge.net/projects/cppcheck/

下载完后需要配置一下cppcheck,否则在codeblocks中会出现下面错误:

<results>
    <error id="missingIncludeSystem" severity="style" msg="Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project&apos;s include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config."/>
</results>


找到你的cppcheck的安装目录,添加你的include文件,

cppcheck的配置选项:


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章