From a51577503b8417c95b23762a2c982ad6803aa8dfe63f5d4291aa72efbec08431 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 22 Oct 2014 14:41:14 +0000 Subject: [PATCH] Accepting request 257962 from home:dalgaaf:branches:devel:tools Update cppcheck to 1.67 OBS-URL: https://build.opensuse.org/request/show/257962 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=40 --- cppcheck-1.66.tar.bz2 | 3 --- cppcheck-1.67.tar.bz2 | 3 +++ cppcheck.changes | 45 +++++++++++++++++++++++++++++++++++++++++++ cppcheck.spec | 2 +- 4 files changed, 49 insertions(+), 4 deletions(-) delete mode 100644 cppcheck-1.66.tar.bz2 create mode 100644 cppcheck-1.67.tar.bz2 diff --git a/cppcheck-1.66.tar.bz2 b/cppcheck-1.66.tar.bz2 deleted file mode 100644 index a4118e5..0000000 --- a/cppcheck-1.66.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9469c23d39df5f03301fb0f9c29d75e9d63ed80d486cc6633145e3c95293c1b7 -size 1064369 diff --git a/cppcheck-1.67.tar.bz2 b/cppcheck-1.67.tar.bz2 new file mode 100644 index 0000000..19c867f --- /dev/null +++ b/cppcheck-1.67.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6214c0cf0c11c83ecfae35f8cc8db4fa47389a77360919653d635612cefe2ab9 +size 1084926 diff --git a/cppcheck.changes b/cppcheck.changes index 06c5355..c5809cb 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Wed Oct 22 05:00:02 UTC 2014 - danny.al-gaaf@bisect.de + +- update to 1.67: + * General changes: + - Library files have now a 'format' attribute. Format version + 1 is assumed by default + - Cppcheck does no longer abort checking if unhandled + characters (Non-ASCII) are found + * New checks: + - Check for unused return values + - Detect shift by too many bits, signed integer overflow and + dangerous sign conversion + - Recommend usage of expm1(), log1p(), erfc() + - Division by sizeof() as parameter to memset/memcpy/ + memmove/etc. as they expect a size in bytes + - Several new va_arg related checks: + -- Wrong parameter passed to va_start() + -- Reference passed to va_start() + -- Missing va_end() + -- Using va_list before it is opened + -- Subsequent calls to va_start/va_copy() + - Initialization by itself in initializer list + - Dead pointer usage when pointer alias local variable that + has gone out of scope + * Improvements: + - Support uniform initialization syntax (C++11) + - Much improvements to value flow analysis + - Improved AST creation (support placement new, C++-style + casts, templates, operator new[], ...) + - Improved lambda support + - Support GCC extension __attriute__((used)) and MSVC + extension __declspec(property) + - Better support for static member variables, inherited + variables and namespaces + - Improved typedef support where multiple variables are + declared at once + - Avoid checking code multiple times by calculating a checksum. + Duplicate preprocessor configurations are eliminated by this. + - Support C++03/C 'auto' keyword + - HTML report: display 'verbose' message using clickable + expandable divs + * Additionally, lots of false positives and bugs have been fixed + and several existing checks have been improved. + ------------------------------------------------------------------- Mon Sep 1 21:03:35 UTC 2014 - danny.al-gaaf@bisect.de diff --git a/cppcheck.spec b/cppcheck.spec index 4f91ed6..f80f767 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -16,7 +16,7 @@ # Name: cppcheck -Version: 1.66 +Version: 1.67 Release: 0 License: GPL-3.0+ Summary: A tool for static C/C++ code analysis