Top "Cppcheck" questions

Cppcheck is an open source tool for static C/C++ code analysis that tries to detect bugs that a C/C++ compiler doesn't see.

c++, usleep() is obsolete, workarounds for Windows/MingW?

I already found out with another question that Windows/MingW doesn't provide the nanosleep() and setitimer() alternatives to the obsolete …

c++ windows cppcheck usleep
How to use CMAKE_EXPORT_COMPILE_COMMANDS?

I've been trying to use clang-modernize with CMAKE_EXPORT_COMPILE_COMMANDS as recommended in the help of this tool. With …

c++ cmake clang cppcheck
cppcheck can't find include files

cppcheck can't find even standard headers such as iostream. Any ideas? I am using Ubuntu 11.04 and cppcheck from the repository.

c++ cppcheck
How to use cppcheck's inline suppression filter option for C++ code?

I would like to use Cppcheck for static code analysis of my C++ code. I learned that I can suppress …

c++ static-analysis error-suppression cppcheck
cppcheck std.cfg not found error when std.cfg file is available

If i launch my cppcheck i get following error: cppcheck ListLib.c (information) Failed to load std.cfg. Your Cppcheck …

cppcheck
Cppcheck support in CMake

I am not asking about the various available third-party modules that support Cppcheck in one way or the other. With …

cmake cppcheck
Cppcheck: how to skip a directory of third party header files?

I call cppcheck on our own files in our source base. However, some source files include header files from third …

cppcheck
CppCheck. The scope of the variable can be reduced (and loop)

CppCheck finds me some findings like: "The scope of the variable 'x' can be reduced". What if I have this …

c++ c performance coding-style cppcheck
How do I install Cppcheck using the tar file on Linux?

I'm trying to install Cppcheck via telnet on a Linux box. I have the cppcheck-1.67.tar file and I untar …

linux installation cppcheck
How to use CppCheck tool to review your c / cpp code in ubuntu?

I am trying to use the CppCheck tool in Ubuntu. I ran the following command cppcheck --enable=all --check-config --suppress=…

static-code-analysis cppcheck