Try another way to suppress -Wstringop-overflow.
This commit is contained in:
parent
d7c25f370e
commit
803b1cb318
|
@ -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 += \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user