mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-28 19:31:32 +02:00
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
|
||||
/* 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*/
|
||||
|
|
Loading…
Reference in a new issue