Try to suppress error: array subscript is above array bounds

[-Werror=array-bounds].

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-07-04 15:28:44 +03:00
parent fa18e3b0d3
commit 13650f20a4

View File

@ -37,8 +37,17 @@
#if defined __cplusplus
/* Add C++ includes here */
#include "../vmisc/diagnostic.h"
#ifdef QT_CORE_LIB
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Warray-bounds")
#include <QtCore>
QT_WARNING_POP
#endif
#endif/*__cplusplus*/