|
1 | 1 | Release Notes for Cppcheck 2.14 |
2 | 2 |
|
3 | | -New checks: |
4 | | -eraseIteratorOutOfBounds: warns when erase() is called on an iterator that is out of bounds |
5 | | -returnByReference: warns when a large class member is returned by value from a getter function |
| 3 | +Summary: |
| 4 | +- Fixed 23 "crash" tickets |
| 5 | +- Fixed 69 "false positive" tickets |
| 6 | +- Fixed 36 "improve check" tickets |
6 | 7 |
|
7 | | -Improved checking: |
8 | | -initializerList: warn if a member is used before it is initialized |
| 8 | +New checks: |
| 9 | +- eraseIteratorOutOfBounds: warns when erase() is called on an iterator that is out of bounds |
| 10 | +- returnByReference: warns when a large class member is returned by value from a getter function |
9 | 11 |
|
10 | 12 | GUI: |
11 | | -- |
| 13 | +-Make it possible to suppress warnings in all files in a folder |
12 | 14 |
|
13 | 15 | Changed interface: |
14 | | -- |
15 | | - |
16 | | -Deprecations: |
17 | | -- |
| 16 | +- Fixed crash with '--rule-file=' if some data was missing. |
| 17 | +- '--rule-file' will now bail out if a rule could not be added or a file contains unexpected data. |
| 18 | +- Add option '--check-version', you can use it to pin the cppcheck version in a script. |
| 19 | +- Added '--template=simple'. It is expands to '{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]' without any additional location details. |
| 20 | +- Removed deprecated platform type 'Unspecified'. Please use 'unspecified' instead. |
| 21 | +- Add --file-filter=- option that reads file filters from stdin. Added for a plugin. |
18 | 22 |
|
19 | 23 | Other: |
20 | 24 | - Added CMake option 'EXTERNALS_AS_SYSTEM' to treat external includes as 'SYSTEM' ones. |
21 | 25 | - The minimum required compiler versions have been bumped to GCC 5.1 / Clang 3.5 / Visual Studio 2015 |
22 | 26 | - The minimum required CMake version has been bumped to 3.5 |
23 | 27 | - Using Visual Studio with CMake now checks if the CMake version is at least 3.13. This was always required but was not checked explicitly. |
24 | | -- Added '--template=simple'. It is expands to '{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]' without any additional location details. |
25 | | -- Removed deprecated platform type 'Unspecified'. Please use 'unspecified' instead. |
26 | 28 | - Removed deprecated 'Makefile' option 'SRCDIR'. |
27 | 29 | - Added CMake option 'DISALLOW_THREAD_EXECUTOR' to control the inclusion of the executor which performs the analysis within a thread of the main process. |
28 | 30 | - Removed CMake option 'USE_THREADS' in favor of 'DISALLOW_THREAD_EXECUTOR'. |
29 | | -- Fixed crash with '--rule-file=' if some data was missing. |
30 | | -- '--rule-file' will now bail out if a rule could not be added or a file contains unexpected data. |
31 | | -- Add option '--check-version', you can use it to pin the cppcheck version in a script. |
| 31 | +- misra-config will not be treated as a critical error anymore |
| 32 | + |
| 33 | +Safety critical: |
| 34 | +- #12440 : Misra violations found but cppcheck exited with 0 even after specifying exit code |
0 commit comments