Compile: Work around false positive on gcc >= 900
Change-Id: Id9d2c968322963af6a2e31f0d9e4195120d0b5ea Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
471c7e722d
commit
d62e9d3c5b
@ -66,7 +66,7 @@ class tst_QOffsetStringArray;
|
|||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
QT_WARNING_PUSH
|
QT_WARNING_PUSH
|
||||||
#if defined(Q_CC_GNU) && Q_CC_GNU >= 1100
|
#if defined(Q_CC_GNU) && Q_CC_GNU >= 900
|
||||||
// we usually don't overread, but GCC has a false positive
|
// we usually don't overread, but GCC has a false positive
|
||||||
QT_WARNING_DISABLE_GCC("-Wstringop-overread")
|
QT_WARNING_DISABLE_GCC("-Wstringop-overread")
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user