Skip to content

Commit

Permalink
Updated release notes [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Apr 20, 2024
1 parent eeefe9f commit d455b69
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions releasenotes.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
Release Notes for Cppcheck 2.14

New checks:
eraseIteratorOutOfBounds: warns when erase() is called on an iterator that is out of bounds
returnByReference: warns when a large class member is returned by value from a getter function
Summary:
- Fixed 23 "crash" tickets
- Fixed 69 "false positive" tickets
- Fixed 36 "improve check" tickets

Improved checking:
initializerList: warn if a member is used before it is initialized
New checks:
- eraseIteratorOutOfBounds: warns when erase() is called on an iterator that is out of bounds
- returnByReference: warns when a large class member is returned by value from a getter function

GUI:
-
-Make it possible to suppress warnings in all files in a folder

Changed interface:
-

Deprecations:
-
- Fixed crash with '--rule-file=' if some data was missing.
- '--rule-file' will now bail out if a rule could not be added or a file contains unexpected data.
- Add option '--check-version', you can use it to pin the cppcheck version in a script.
- Added '--template=simple'. It is expands to '{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]' without any additional location details.
- Removed deprecated platform type 'Unspecified'. Please use 'unspecified' instead.
- Add --file-filter=- option that reads file filters from stdin. Added for a plugin.

Other:
- Added CMake option 'EXTERNALS_AS_SYSTEM' to treat external includes as 'SYSTEM' ones.
- The minimum required compiler versions have been bumped to GCC 5.1 / Clang 3.5 / Visual Studio 2015
- The minimum required CMake version has been bumped to 3.5
- 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.
- Added '--template=simple'. It is expands to '{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]' without any additional location details.
- Removed deprecated platform type 'Unspecified'. Please use 'unspecified' instead.
- Removed deprecated 'Makefile' option 'SRCDIR'.
- Added CMake option 'DISALLOW_THREAD_EXECUTOR' to control the inclusion of the executor which performs the analysis within a thread of the main process.
- Removed CMake option 'USE_THREADS' in favor of 'DISALLOW_THREAD_EXECUTOR'.
- Fixed crash with '--rule-file=' if some data was missing.
- '--rule-file' will now bail out if a rule could not be added or a file contains unexpected data.
- Add option '--check-version', you can use it to pin the cppcheck version in a script.
- misra-config will not be treated as a critical error anymore

Safety critical:
- #12440 : Misra violations found but cppcheck exited with 0 even after specifying exit code

0 comments on commit d455b69

Please sign in to comment.