Download Latest Version cppcheck-2.17.0.tar.bz2 (3.1 MB)
Email in envelope

Get an email when there's a new version of cppcheck

Home / cppcheck / 1.58
Name Modified Size InfoDownloads / Week
Parent folder
readme.txt 2013-01-12 1.3 kB
cppcheck-1.58-x86-Setup.msi 2013-01-12 5.9 MB
cppcheck-1.58.zip 2013-01-12 1.8 MB
cppcheck-1.58.tar.gz 2013-01-12 1.6 MB
cppcheck-1.58.tar.bz2 2013-01-12 1.2 MB
Totals: 5 Items   10.5 MB 0
Commandline/Settings changes:
 * Added --include to the cppcheck command line client. This forces inclusion of the given file. This can for instance be used instead of --append and will then allow you to use #define etc also.
 * The threads handling has been improved. Using -jN now works in windows also.


Improvements:
 * NULL pointers: Improved checking of default function argument values. 
 * Support for Compiled Token::Match patterns - Increases speed by up to 50% when enabled
 * Much improved support for wide-char strings (wchar_t,  std::wstring and related functions)
 * Improved C++11 support: override/final, constexpr
 * Ternary operator (? and :) handling improved
 * Support {{{__FILE__}}} macro

New checks:
 * Check for suspicious calculations with sizeof()
 * Check for nullpointer dereferences when nullpointer is given as default Argument
 * Find suspicious case labels like {{{case A||B:}}}

GUI:
 * Use default File Selection Dialog

For those who compile Cppcheck: you can improve the speed by using compiled patterns.
When compiling with the Makefile, use "SRCDIR=build".
When compiling with VS you have to manually call the python script tools/matchcompiler.py to generate the code.
Please ask in the chat if you have questions.

Additionally, lots of false positives have been fixed.
Source: readme.txt, updated 2013-01-12