Add -Wconversion to GCC and Clang
clang-msvc spams warnings from the moc .cpp files that include Qt headers.
This commit is contained in:
@@ -14,5 +14,5 @@ QMAKE_CXXFLAGS += -Wmost
|
||||
|
||||
QMAKE_CXXFLAGS += -Weffc++
|
||||
|
||||
#QMAKE_CXXFLAGS += -Wconversion
|
||||
QMAKE_CXXFLAGS += -Wsign-conversion
|
||||
#clang-msvc spams warnings on -Wconversion and -Wsign-conversion
|
||||
# from the moc .cpp files including Qt stuff.
|
||||
|
||||
Reference in New Issue
Block a user