From f816cc8d487dd1300030ad991beb4c60fa855365 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Sat, 2 Jan 2021 10:02:16 +0100 Subject: [PATCH] runtests: Add -Wno-deprecated-declarations to CXX flags (#3004) This avoids warnings when checking syntax of qt.cpp. --- test/cfg/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cfg/runtests.sh b/test/cfg/runtests.sh index 4dfa266ce..ecfe20732 100755 --- a/test/cfg/runtests.sh +++ b/test/cfg/runtests.sh @@ -17,7 +17,7 @@ CPPCHECK_OPT='--check-library --enable=information --enable=style --error-exitco # Compiler settings CXX=g++ -CXX_OPT='-fsyntax-only -std=c++0x -Wno-format -Wno-format-security' +CXX_OPT='-fsyntax-only -std=c++0x -Wno-format -Wno-format-security -Wno-deprecated-declarations' CC=gcc CC_OPT='-Wno-format -Wno-nonnull -Wno-implicit-function-declaration -Wno-deprecated-declarations -Wno-format-security -Wno-nonnull -fsyntax-only'