Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 98335A6552 for ; Fri, 8 May 2015 19:35:39 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 0837B14A302; Fri, 8 May 2015 19:35:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7729014A305 for ; Fri, 8 May 2015 19:35:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id AI_OHTQrjLvG for ; Fri, 8 May 2015 19:35:33 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5DCB214A302 for ; Fri, 8 May 2015 19:35:33 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 3A5C098; Fri, 8 May 2015 19:35:33 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 8 May 2015 19:35:33 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/devel/cppcheck To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20150508193533.3A5C098@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk 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 -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.