Try another way to suppress -Wstringop-overflow.

This commit is contained in:
Roman Telezhynskyi 2021-09-25 09:40:46 +03:00
parent d7c25f370e
commit 803b1cb318

View File

@ -424,7 +424,7 @@ g++7:GCC_DEBUG_CXXFLAGS += \
-Wrestrict \ -Wrestrict \
-Walloc-zero \ -Walloc-zero \
-Wnonnull \ -Wnonnull \
-Wno-stringop-overflow # cannot suppress warning in Qt headers -Wstringop-overflow=0 # cannot suppress warning in Qt headers
# Since GCC 8 # Since GCC 8
g++8:GCC_DEBUG_CXXFLAGS += \ g++8:GCC_DEBUG_CXXFLAGS += \