summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2021-11-12 13:33:37 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2021-11-19 19:26:49 +0100
commitd62e9d3c5bd9d3aae5f4b72ed0688dcbd02134a7 (patch)
tree95b74c015c525a3ba90652983748eccdc55ba92b /src
parent471c7e722d63344ed887e3ce8ac47a5f99c48c51 (diff)
Compile: Work around false positive on gcc >= 900
Change-Id: Id9d2c968322963af6a2e31f0d9e4195120d0b5ea Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qoffsetstringarray_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qoffsetstringarray_p.h b/src/corelib/tools/qoffsetstringarray_p.h
index 8bd7d79afb..b7c7495c70 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