Release Notes for Cppcheck 2.15
New checks:
- suspiciousFloatingPointCast flags unnecessary floating point casts that cause loss of precision
GUI:
- Added misra/cert/autosar reports
- Fixed "Recheck"
- Add "inline suppressions" option in project file
- Make it possible to define extra defines when importing a project
Changed interface:
- Added command-line option
--cpp-header-probe
(and--no-cpp-header-probe
) to probe headers and extension-less files for Emacs marker (see https://trac.cppcheck.net/ticket/10692 for more details)
Deprecations:
- Support for Python 2.7 has been deprecated (it went EOL in January 2020) and will be removed in Cppcheck 2.16 - please use Python 3.x instead.
- The already deprecated support for qmake will be removed in Cppcheck 2.16 - please use CMake instead.
Other:
- Add support for 'CLICOLOR_FORCE'/'NO_COLOR' environment variables to force/disable ANSI color output for diagnostics.
- Add "remark comments" that can be used to generate reports with justifications for warnings
- The whole program analysis is now being executed when "--project" is being used.
- Improved import of Visual Studio projects, support shared items projects (*.vcxitems).