From 88f8c2318d64135c26acc83d1c2bcc8a64d49cb1 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 21 Oct 2016 09:57:11 +1100 Subject: Avoid spurious cppcheck warnings for unit testing code. --- cppcheck.suppress | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cppcheck.suppress') diff --git a/cppcheck.suppress b/cppcheck.suppress index 095af77ba..699aaa61c 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -46,3 +46,7 @@ variableScope:scintilla/lexers/LexVHDL.cxx // Suppress everything in catch.hpp as won't be changing *:scintilla/test/unit/catch.hpp +// Spurious errors due to choice of variadic or two argument TEST_CASE macro +preprocessorErrorDirective:scintilla/test/unit/*.cxx +syntaxError:scintilla/test/unit/UnitTester.cxx +syntaxError:scintilla/test/unit/unitTest.cxx -- cgit v1.2.3