It seems -Wstringop-overflow issued during the LTO stage.
This commit is contained in:
parent
51ed05e1fa
commit
97181fd661
16
common.pri
16
common.pri
|
@ -419,12 +419,16 @@ g++6:GCC_DEBUG_CXXFLAGS += \
|
||||||
-Wmisleading-indentation
|
-Wmisleading-indentation
|
||||||
|
|
||||||
# Since GCC 7
|
# Since GCC 7
|
||||||
g++7:GCC_DEBUG_CXXFLAGS += \
|
g++7{
|
||||||
-Wduplicated-branches \
|
GCC_DEBUG_CXXFLAGS += \
|
||||||
-Wrestrict \
|
-Wduplicated-branches \
|
||||||
-Walloc-zero \
|
-Wrestrict \
|
||||||
-Wnonnull \
|
-Walloc-zero \
|
||||||
-Wno-stringop-overflow # cannot suppress warning in Qt headers
|
-Wnonnull \
|
||||||
|
-Wno-stringop-overflow # cannot suppress warning in Qt headers
|
||||||
|
|
||||||
|
QMAKE_LFLAGS += -Wno-stringop-overflow # 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