Menu

cppcheck-1.57

Cppcheck-1.57 has been released

Commandline/Settings changes:

* Support for Java and C# code has been removed.
* New option --language= (alias: -x=) to enforce treating code as a specific language

Improvements:

* Support GCC binary number syntax (0b...)
* Fixed search order for include paths
* Several error messages have been improved to be more understandable and consistent
* Rewrote enum parsing
* Simplification of well-known math.h functions
* Check for variable being assigned a value never used handles now also reassignments
* Fixed several false negatives in buffer overrun check
* Detect more inadequate comparisons of boolean variables
* Better detection of mismatching and assignments and comparisons with bitwise operations

New checks:

* Check for variables being reassigned a value before the old one has been used
* Detect missing copy constructors when class allocates memory
* Check for pointer copying when class allocates memory
* Detect freeing invalid address

GUI:

* Added Scratchpad feature
* Message Ids can be copied to clipboard (context menu)
* Message Ids can optionally be displayed in detailed view and as additional column
* Fixed detection of Applications

Installer (Windows only) and build environment:

* Allow selecting features to install
* Cppcheck core is built into .dll and shared between GUI, CLI and testrunner
* Increased compression of installer
* Switched back to VS10 (from MinGW)
* Updated to TinyXML 2.6.2, PCRE 8.31 and Qt 4.8.3

Posted by Daniel Marjamäki 2012-11-04

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.