Download Latest Version cppcheck-2.19.0.tar.gz (4.0 MB)
Email in envelope

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

Home / 1.85
Name Modified Size InfoDownloads / Week
Parent folder
cppcheck-1.85-x64-Setup.msi 2018-10-14 10.8 MB
cppcheck-1.85-x86-Setup.msi 2018-10-14 9.2 MB
Cppcheck-1.85.tar.gz 2018-10-14 2.2 MB
Cppcheck-1.85.zip 2018-10-14 2.4 MB
README.md 2018-10-14 1.3 kB
Totals: 5 Items   24.7 MB 0

General:

  • We are modernizing the Cppcheck code. Support for MSVC 2010 and GCC 4.4 is dropped. You now need a compiler that is at least as good as MSVC 2013 or GCC 4.6.
  • According to "daca@home" (http://cppcheck.osuosl.org:8000)
    • There are fewer crashes.
    • Cppcheck-1.85 is ~25% slower than Cppcheck-1.84

Checking improvements:

  • New check: Suggest STL algorithms instead of hard-coded for loops
  • New check: Warn about ineffective algorithms (same iterator passed)
  • New check: Mismatching iterators used together in operators
  • Container (STL/Qt/WxWidgets/etc) access out of bounds
  • Improved the checkers that warns about same/opposite expressions, track variable values better.
    • logical conjunctions
    • identical/opposite inner expressions
    • same expressions around operator
    • etc
  • Variable scope: warn about references also

Graphical user interface:

  • You can specify undefines in the project file dialog
  • Fixed configuration of suppressions
  • Windows: Fixed issue of wrong/no theme being applied to UI elements

Misra:

  • support per file excludes from cppcheck
  • support per file suppressions from cppcheck
  • summary will now summarize results for all files again
  • a few false positives were fixed
Source: README.md, updated 2018-10-14