17 lines
1.5 KiB
Plaintext
17 lines
1.5 KiB
Plaintext
release notes for cppcheck-2.11
|
|
|
|
- The platform type 'Unspecified' within .cppcheck projects has been deprecated and will be removed in Cppcheck 2.14. Please use 'unspecified' instead.
|
|
- It is no longer necessary to run "--check-config" to get detailed "missingInclude" and "missingIncludeSystem" messages. They will always be issued in the regular analysis if "missingInclude" is enabled.
|
|
- "missingInclude" and "missingIncludeSystem" are reported with "-j" is > 1 and processes are used in the backend (default in non-Windows binaries)
|
|
- "missingInclude" and "missingIncludeSystem" will now cause the "--error-exitcode" to be applied
|
|
- "--enable=information" will no longer implicitly enable "missingInclude" starting with 2.16. Please enable it explicitly if you require it.
|
|
- The `constParameter` and `constVariable` checks have been split into 3 different IDs based on if the variable is a pointer, a reference, or local. The different IDs will allow users to suppress different const warning based on variable type.
|
|
- `constParameter`
|
|
- `constParameterReference`
|
|
- `constParameterPointer`
|
|
- `constVariable`
|
|
- `constVariableReference`
|
|
- `constVariablePointer`
|
|
- Limit valueflow analysis in function if the "if" count is high. By default max limit is 100. Limit can be tweaked with --performance-valueflow-max-if-count
|
|
- More command-line parameters will now check if the given integer argument is actually valid. Several other internal string-to-integer conversions will not be error checked.
|