Try to suppress error: array subscript is above array bounds
[-Werror=array-bounds]. --HG-- branch : develop
This commit is contained in:
parent
fa18e3b0d3
commit
13650f20a4
|
@ -37,8 +37,17 @@
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
/* Add C++ includes here */
|
/* Add C++ includes here */
|
||||||
|
|
||||||
|
#include "../vmisc/diagnostic.h"
|
||||||
|
|
||||||
#ifdef QT_CORE_LIB
|
#ifdef QT_CORE_LIB
|
||||||
|
|
||||||
|
QT_WARNING_PUSH
|
||||||
|
QT_WARNING_DISABLE_GCC("-Warray-bounds")
|
||||||
|
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
|
|
||||||
|
QT_WARNING_POP
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif/*__cplusplus*/
|
#endif/*__cplusplus*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user