diff --git a/src/corelib/tools/qoffsetstringarray_p.h b/src/corelib/tools/qoffsetstringarray_p.h index 8bd7d79afbd..b7c7495c707 100644 --- a/src/corelib/tools/qoffsetstringarray_p.h +++ b/src/corelib/tools/qoffsetstringarray_p.h @@ -66,7 +66,7 @@ class tst_QOffsetStringArray; QT_BEGIN_NAMESPACE 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 QT_WARNING_DISABLE_GCC("-Wstringop-overread") #endif