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-02 23:32:52 +03:00
parent 2b2924911c
commit 7e1c096fa1

View file

@ -44,6 +44,9 @@ class VAbstractPattern;
#define MIN_FONT_SIZE 5
#define MAX_FONT_SIZE 128
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Warray-bounds")
/**
* @brief The TextLine struct holds the information about one text line
*/
@ -62,6 +65,8 @@ private:
static const quint16 classVersion;
};
QT_WARNING_POP
/**
* @brief The VTextManager class this class is used to determine whether a collection of
* text lines can fit into specified bounding box and with what font size