Suppress warning -Warray-bounds on global level.

--HG--
branch : develop
merge-requests/1/merge
Roman Telezhynskyi 2019-07-08 10:34:04 +03:00
parent 2dff387e5e
commit c6efe1597f
1 changed files with 5 additions and 0 deletions

View File

@ -813,6 +813,11 @@ GCC_DEBUG_CXXFLAGS += \
-Wextra \
-fno-omit-frame-pointer # Need for exchndl.dll
win32:equals(QT_MAJOR_VERSION, 5):equals(QT_MINOR_VERSION, 6) {
GCC_DEBUG_CXXFLAGS += \
-Wno-array-bounds # annoying warning
}
CLANG_DEBUG_CXXFLAGS += \
-O0 \
-Wall \