runtests: Add -Wno-deprecated-declarations to CXX flags (#3004)
This avoids warnings when checking syntax of qt.cpp.
This commit is contained in:
parent
d19454b935
commit
f816cc8d48
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue