It seems -Wstringop-overflow issued during the LTO stage.
This commit is contained in:
parent
51ed05e1fa
commit
97181fd661
|
@ -419,13 +419,17 @@ g++6:GCC_DEBUG_CXXFLAGS += \
|
||||||
-Wmisleading-indentation
|
-Wmisleading-indentation
|
||||||
|
|
||||||
# Since GCC 7
|
# Since GCC 7
|
||||||
g++7:GCC_DEBUG_CXXFLAGS += \
|
g++7{
|
||||||
|
GCC_DEBUG_CXXFLAGS += \
|
||||||
-Wduplicated-branches \
|
-Wduplicated-branches \
|
||||||
-Wrestrict \
|
-Wrestrict \
|
||||||
-Walloc-zero \
|
-Walloc-zero \
|
||||||
-Wnonnull \
|
-Wnonnull \
|
||||||
-Wno-stringop-overflow # cannot suppress warning in Qt headers
|
-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 += \
|
||||||
-Wmultistatement-macros \
|
-Wmultistatement-macros \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user