Suppress warning -Warray-bounds on global level.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-07-08 10:34:04 +03:00
parent 2dff387e5e
commit c6efe1597f

View File

@ -813,6 +813,11 @@ GCC_DEBUG_CXXFLAGS += \
-Wextra \ -Wextra \
-fno-omit-frame-pointer # Need for exchndl.dll -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 += \ CLANG_DEBUG_CXXFLAGS += \
-O0 \ -O0 \
-Wall \ -Wall \