的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的配置选项: