From ec416c8028bc9eacba1f5d86b8ec3b1e5aef7cf3 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Tue, 10 Nov 2015 12:55:35 +0100 Subject: [PATCH] Ignore cppcheck warnings cppcheck 1.70 introduced a couple of new false positives which need to be ignored. refs #505 --- cppcheck_suppressions.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cppcheck_suppressions.conf b/cppcheck_suppressions.conf index 877e0612e..95d8a65db 100644 --- a/cppcheck_suppressions.conf +++ b/cppcheck_suppressions.conf @@ -14,6 +14,8 @@ uninitMemberVar:src/blackmisc/optional.h // False positive caused by missing support for C++11 feature unusedPrivateFunction:src/blackmisc/tuple_private.h +unusedPrivateFunction:src/blackmisc/blackmiscfreefunctions.h +unusedPrivateFunction:src/blackmisc/compare.h // cppcheck shouldn’t assume operator* is commutative duplicateExpression:tests/blackmisc/testvectormatrix.cpp @@ -21,3 +23,6 @@ duplicateExpression:tests/blackmisc/testphysicalquantities.cpp // Ignore any preprocessor directives. preprocessorErrorDirective + +// Ignore noExplicitConstructor for now. +noExplicitConstructor