Try QMAKE_CXXFLAGS_WARN_ON to suppres -Wstringop-overflow.

This commit is contained in:
Roman Telezhynskyi 2021-09-25 17:48:31 +03:00
parent 544785163b
commit 7e8521a587

View File

@ -425,7 +425,7 @@ g++7{
-Wnonnull \
-Wno-stringop-overflow # cannot suppress warning in Qt headers
QMAKE_LFLAGS += -Wno-stringop-overflow # cannot suppress warning in Qt headers
QMAKE_CXXFLAGS_WARN_ON += -Wno-stringop-overflow # cannot suppress warning in Qt headers
}
# Since GCC 8