The IPolicyConfig file is a third party file and since it describes a third party API we can't make changes to it. Adding it via the system includes disables warnings on most compilers.
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
#g++-7 is needed for C++17 features. travis does not supply this by default.
|
|
QMAKE_CXX = g++-7
|
|
|
|
QMAKE_CXXFLAGS += -Werror
|
|
|
|
QMAKE_CXXFLAGS += -Wshadow
|
|
|
|
QMAKE_CXXFLAGS += -Wold-style-cast
|
|
|
|
QMAKE_CXXFLAGS += -Wnon-virtual-dtor
|