It seems -Wstringop-overflow issued during the LTO stage.

develop
Roman Telezhynskyi 2021-09-25 13:37:23 +03:00
parent 51ed05e1fa
commit 97181fd661
1 changed files with 10 additions and 6 deletions

View File

@ -419,12 +419,16 @@ g++6:GCC_DEBUG_CXXFLAGS += \
-Wmisleading-indentation
# Since GCC 7
g++7:GCC_DEBUG_CXXFLAGS += \
-Wduplicated-branches \
-Wrestrict \
-Walloc-zero \
-Wnonnull \
-Wno-stringop-overflow # cannot suppress warning in Qt headers
g++7{
GCC_DEBUG_CXXFLAGS += \
-Wduplicated-branches \
-Wrestrict \
-Walloc-zero \
-Wnonnull \
-Wno-stringop-overflow # cannot suppress warning in Qt headers
QMAKE_LFLAGS += -Wno-stringop-overflow # cannot suppress warning in Qt headers
}
# Since GCC 8
g++8:GCC_DEBUG_CXXFLAGS += \