Add -Wconversion to GCC and Clang
clang-msvc spams warnings from the moc .cpp files that include Qt headers.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user