diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2015-05-08 19:35:33 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2015-05-08 19:35:33 +0000 |
commit | 02173bb766c0c021991a08e66b27dfa4ce3bc129 (patch) | |
tree | aa4fe9c6dfb4aa5f6ff06f80e73dec49a4942c48 /devel/cppcheck/Makefile | |
parent | afd5069c8df7d5860bf9c5aac8059c24446ed7bc (diff) | |
download | pkgsrc-02173bb766c0c021991a08e66b27dfa4ce3bc129.tar.gz |
Update cppcheck to 1.69. Patch from Jonathan Buschmann in PR pkg/49885.
General changes:
- Added flag --platform=native, when it is used type sizes and behaviour of
host system are used
- Backward compatibility for Libary files is now working. Future cppcheck
versions will be able to use libraries written for previous versions
- Windows 32 bit builds now set /LARGEADDRESSAWARE, so that they can use up to
4 GiB
New checks:
- Detect bad bitmask checks (usage of | where & should be used)
- Suggest usage of "explicit" for constructors with a single parameter
- Suggest usage of make_shared/make_unique
- Warn about usage of malloc with auto_ptr
- Detect redundant pointer operations like &*ptr
Improvements:
- Support std::array (C++11)
- Detect same expressions in both branches of a ternary operator
- New <container>-tags in libraries to configure STL (and similar) container
types
- Several improvements to ValueFlow analysis (for example support for default
function arguments)
- Improved buffer overrun and memory leak checking
- Removed a bunch of redundant checking code
- Removed several simplifications
- Stronger matching of library functions
- Lots of additions to std.cfg and posix.cfg
- New library for Microsoft SAL (microsoft_sal.cfg)
- Improved C++11 template parsing (">>" as closing brackets, variadic
templates)
- Added statistics to htmlreport
GUI:
- Fixed language selection
Additionally, lots of false positives and bugs have been fixed and several
existing checks have been improved.
Diffstat (limited to 'devel/cppcheck/Makefile')
-rw-r--r-- | devel/cppcheck/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile index 91737e96552..5e5175b2971 100644 --- a/devel/cppcheck/Makefile +++ b/devel/cppcheck/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.34 2015/04/25 14:20:33 tnn Exp $ +# $NetBSD: Makefile,v 1.35 2015/05/08 19:35:33 bsiegert Exp $ -DISTNAME= cppcheck-1.68 -PKGREVISION= 2 +DISTNAME= cppcheck-1.69 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/} EXTRACT_SUFX= .tar.bz2 |