Cannot suppress warnings from Qt headers.

This commit is contained in:
Roman Telezhynskyi 2021-09-25 15:44:47 +03:00
parent 547133492e
commit d25c6f0602

View File

@ -808,6 +808,13 @@ CLANG_DEBUG_CXXFLAGS += \
-Wno-gnu-zero-variadic-macro-arguments \ -Wno-gnu-zero-variadic-macro-arguments \
-fms-extensions # Need for pragma message -fms-extensions # Need for pragma message
macx{
# Cannot suppress warnings from Qt headers
CLANG_DEBUG_CXXFLAGS += \
-Wno-sign-conversion \
-Wno-duplicate-enum
}
CONFIG(release, debug|release){ CONFIG(release, debug|release){
CLANG_DEBUG_CXXFLAGS += -Wno-unknown-warning-option CLANG_DEBUG_CXXFLAGS += -Wno-unknown-warning-option
} }