Add -Wconversion to GCC and Clang
clang-msvc spams warnings from the moc .cpp files that include Qt headers.
This commit is contained in:
@@ -9,3 +9,5 @@ QMAKE_CXXFLAGS += -Werror
|
||||
|
||||
# GCC only switches
|
||||
QMAKE_CXXFLAGS += -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference
|
||||
|
||||
QMAKE_CXXFLAGS += -Wconversion
|
||||
|
||||
Reference in New Issue
Block a user