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