Skip to content

Commit f816cc8

Browse files
runtests: Add -Wno-deprecated-declarations to CXX flags (#3004)
This avoids warnings when checking syntax of qt.cpp.
1 parent d19454b commit f816cc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cfg/runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ CPPCHECK_OPT='--check-library --enable=information --enable=style --error-exitco
1717

1818
# Compiler settings
1919
CXX=g++
20-
CXX_OPT='-fsyntax-only -std=c++0x -Wno-format -Wno-format-security'
20+
CXX_OPT='-fsyntax-only -std=c++0x -Wno-format -Wno-format-security -Wno-deprecated-declarations'
2121
CC=gcc
2222
CC_OPT='-Wno-format -Wno-nonnull -Wno-implicit-function-declaration -Wno-deprecated-declarations -Wno-format-security -Wno-nonnull -fsyntax-only'
2323

0 commit comments

Comments
 (0)