Try another approach to suppress warning -Warray-bounds.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-07-05 11:06:03 +03:00
parent c01dd8c1dc
commit 2dff387e5e

View File

@ -11,6 +11,11 @@ unix {
QMAKE_CXXFLAGS += -Werror
}
win32:equals(QT_MAJOR_VERSION, 5):equals(QT_MINOR_VERSION, 6) {
QMAKE_CXXFLAGS += \
-Wno-array-bounds
}
noAddressSanitizer{ # For enable run qmake with CONFIG+=noAddressSanitizer
# do nothing
} else {