Try another approach to suppress warning -Warray-bounds.

--HG--
branch : develop
merge-requests/1/merge
Roman Telezhynskyi 2019-07-05 11:06:03 +03:00
parent c01dd8c1dc
commit 2dff387e5e
1 changed files with 5 additions and 0 deletions

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 {