pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/49885 CVS commit: pkgsrc/devel/cppcheck



The following reply was made to PR pkg/49885; it has been noted by GNATS.

From: "Benny Siegert" <bsiegert%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/49885 CVS commit: pkgsrc/devel/cppcheck
Date: Fri, 8 May 2015 19:35:33 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Fri May  8 19:35:33 UTC 2015
 
 Modified Files:
 	pkgsrc/devel/cppcheck: Makefile PLIST distinfo
 
 Log Message:
 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.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/cppcheck/Makefile
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/cppcheck/PLIST
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/cppcheck/distinfo
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index