Add -Wconversion to GCC and Clang

clang-msvc spams warnings from the moc .cpp files that include Qt
headers.
This commit is contained in:
Vasily
2019-02-21 18:48:53 +01:00
committed by username223
parent 775d0e0e36
commit 29d41b4ed0
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ QMAKE_CXXFLAGS += -Werror
#All includes from the third-party directory will not warn.
QMAKE_CXXFLAGS += --system-header-prefix=third-party
QMAKE_CXXFLAGS += -Weffc++
QMAKE_CXXFLAGS += -Weffc++ -Wconversion