Try to suppress error: array subscript is above array bounds
[-Werror=array-bounds]. --HG-- branch : develop
This commit is contained in:
parent
2b2924911c
commit
7e1c096fa1
|
@ -44,6 +44,9 @@ class VAbstractPattern;
|
||||||
#define MIN_FONT_SIZE 5
|
#define MIN_FONT_SIZE 5
|
||||||
#define MAX_FONT_SIZE 128
|
#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
|
* @brief The TextLine struct holds the information about one text line
|
||||||
*/
|
*/
|
||||||
|
@ -62,6 +65,8 @@ private:
|
||||||
static const quint16 classVersion;
|
static const quint16 classVersion;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
QT_WARNING_POP
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The VTextManager class this class is used to determine whether a collection of
|
* @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
|
* text lines can fit into specified bounding box and with what font size
|
||||||
|
|
Loading…
Reference in New Issue
Block a user