Try QMAKE_CXXFLAGS_WARN_ON to suppres -Wstringop-overflow.

develop
Roman Telezhynskyi 2021-09-25 17:48:31 +03:00
parent 544785163b
commit 7e8521a587
1 changed files with 1 additions and 1 deletions

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