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的配置選項:


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