Try QMAKE_CXXFLAGS_WARN_ON to suppres -Wstringop-overflow.
This commit is contained in:
parent
544785163b
commit
7e8521a587
|
@ -425,7 +425,7 @@ g++7{
|
|||
-Wnonnull \
|
||||
-Wno-stringop-overflow # cannot suppress warning in Qt headers
|
||||
|
||||
QMAKE_LFLAGS += -Wno-stringop-overflow # cannot suppress warning in Qt headers
|
||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-stringop-overflow # cannot suppress warning in Qt headers
|
||||
}
|
||||
|
||||
# Since GCC 8
|
||||
|
|
Loading…
Reference in New Issue
Block a user