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" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id E6AA0A65BA for ; Wed, 14 Jan 2015 21:48:17 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9351614A31F; Wed, 14 Jan 2015 21:48:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1926C14A323 for ; Wed, 14 Jan 2015 21:48:12 +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 jgX1KeDuUcIg for ; Wed, 14 Jan 2015 21:48:11 +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 0529A14A31C for ; Wed, 14 Jan 2015 21:48:11 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E5E4898; Wed, 14 Jan 2015 21:48:10 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 14 Jan 2015 21:48:10 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/cppcheck To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20150114214810.E5E4898@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wiz Date: Wed Jan 14 21:48:10 UTC 2015 Modified Files: pkgsrc/devel/cppcheck: Makefile distinfo Removed Files: pkgsrc/devel/cppcheck/patches: patch-Makefile Log Message: Update to 1.68 from Jonathan Buschmann in PR 49570. == Cppcheck-1.68 == General changes: New checks: - Multifile checking for buffer overruns and uninitialized variables Improvements: - Libraries are now able to contain platform specific types - Improved handling of function overloads - Improved handling of integer literal suffixes - Improved stability of template parsing - Improved accuracy of ValueFlow analysis - Improved checking of pointer overflow - Support noexcept(false) - Support attribute((noreturn)) - A bunch of additions to several Libraries, especially posix.cfg and qt.cfg Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved. == Cppcheck-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 To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/cppcheck/Makefile cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/cppcheck/distinfo cvs rdiff -u -r1.2 -r0 pkgsrc/devel/cppcheck/patches/patch-Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.