Explore the new features in Cppcheck version 2.15!
The release introduces a new check, suspiciousFloatingPointCast
, for detecting unnecessary floating point casts that cause precision loss. The GUI now supports MISRA, CERT, and AUTOSAR reports, fixes the "Recheck" function, and adds options for "inline suppressions" and extra parameters when importing projects. A new command-line option, --cpp-header-probe,
is available for probing headers and extension-less files. Python 2.7 and qmake support are deprecated and will be removed in a future release. Other updates include improved Visual Studio project imports and support for controlling ANSI color output with environment variables.
New checks:
suspiciousFloatingPointCast
flags unnecessary floating point casts that cause loss of precisionGUI:
Changed interface:
--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:
Other: