Posted
almost 14 years
ago
by
[email protected] (Daniel Marjamäki)
New checks: * actual initialization order of member variables is not the same as the written order. Use --inconclusive and --enable=style to enable this check. * when first comparison is true, the 2nd comparison is always true. Example: '(x>5
|
Posted
almost 14 years
ago
by
Daniel Marjamäki
New checks:
* actual initialization order of member variables is not the same as the written order. Use --inconclusive and --enable=style to enable this check.
* when first comparison is true, the 2nd comparison is always true. Example: '(x>5
|
Posted
almost 14 years
ago
by
[email protected] (Daniel Marjamäki)
There was many fixes of false positives and serious problems like crashes, hangs, etc.New checks: * Check for std::auto_ptr misuse (related to strict ownership) * Read array and then immediately check if the array index is within limits * assign
|
Posted
about 14 years
ago
by
[email protected] (Daniel Marjamäki)
Many bug fixes and improvements.2 more checks were added: * strcmp condition is always true * using sizeof with constant
|
Posted
over 14 years
ago
by
[email protected] (Daniel Marjamäki)
Release notes for 1.48There are no major new features in 1.48. There are more and better checks.New check: Wrong usage of ! operator in conditions.Example: if (!x == 0) {New check: Use "throw" without arguments to rethrow exceptions. New check:
|
Posted
over 14 years
ago
by
[email protected] (Daniel Marjamäki)
Release notes for 1.47It is now possible to exclude files and folders from the analysis. Use -i on the command line (i=ignore).Custom rules can now be created using regular expressions. To read more about creating custom rules, see
|
Posted
over 14 years
ago
by
[email protected] (Daniel Marjamäki)
Release notes for 1.46This release has improvements and bug fixes.We fixed 153 tickets, and that is a somewhat "usual" number for a Cppcheck release.The report has been improved. New severities were added to make the messages more informational. The
|
Posted
almost 15 years
ago
by
[email protected] (Daniel Marjamäki)
GUI: * project fileCommand line: * report: use system dependent path separator * --enable: the except* is not available anymore * --enable: the "unusedFunctions" was renamed to "unusedFunction"Improvements: * New check: Initialization of a variable
|
Posted
about 15 years
ago
by
[email protected] (Daniel Marjamäki)
I broke out the headers checking into a separate project. Its primary purpose is to detect unnecessary includes.The headers checking was among the first Cppcheck checks. It has been disabled for years because it doesn't work with the Cppcheck
|
Posted
about 15 years
ago
by
[email protected] (Daniel Marjamäki)
Interface: * command line: a -D command was added * GUI: minor updatesNew checks: * (style) Redundant assignment (missing break in a switch block) * (style) Empty catch blocks * (error) Usage of iterator pointing to invalid memory after reserve *
|