Cppcheck News

Cppcheck Premium 24.6.0 released

Written by Daniel Marjamäki | Jun 22, 2024 8:13:00 AM

Discover the latest updates in Cppcheck Premium version 24.6.0!

The Cppcheck Premium 24.6.0 update includes several key improvements and fixes. It introduces a warning for unlicensed LOC paths and corrects header warning reporting. MISRA C checking for rules 5.x, 7.4, 8.15, 10.3, and 10.6 is enhanced, and MISRA C++ 2008 and 2023 now have fewer false positives. CERT C false positives are fixed, and rule EXP15 is added. Autosar coverage is improved by reusing MISRA C++ 2023 checkers. Based on Cppcheck 2.14.2, this update also adds support for justification comments and fixes alignas issues.

Release notes:

  • LOC license: display warning if path is not licensed
  • LOC license: fix reporting of warnings in headers
  • MISRA c: improved checking for 5.x, 7.4, 8.15, 10.3, 10.6
  • MISRA C++ 2008: fixed false positive, 8-5-3, redundant comma
  • MISRA C++ 2023: fix false positive 6.7.1 constexpr
  • MISRA C++ 2023: fix false positive 19.1.3 when -D is used
  • MISRA C++ 2023: fix false positive 19.3.3 for include guard
  • CERT c: Fix false positive for err33
  • CERT c: add recommended rule exp15
  • Autosar: improve coverage by reusing misra c++ 2023 checkers
 Based on Cppcheck-2.14.2:
  • Added support for justification comments
  • Alignas fixes