diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-06-19 15:41:18 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-06-23 00:23:55 +0200 |
commit | 100fb6c3a048a4c3b682b8ad48d02bddcef8a11b (patch) | |
tree | 0e9bc3c73ddedf9bcdfcf62c41b103c2a59d1eb9 /src/corelib/tools | |
parent | 648e9696d38f9338019d30f297029ba34efb673c (diff) |
QPodArrayOps: re-enable -Wstringop-overflow
The spurious warning is not emitted any more by GCC 10 / 11.
Even if it's still emitted by earlier GCC versions, now it's no longer
an error.
Change-Id: Ia8bf3e10905909c097ecc025bf89f818410a8dae
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qarraydataops.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/tools/qarraydataops.h b/src/corelib/tools/qarraydataops.h index d28924bc63..9a2f43cbb1 100644 --- a/src/corelib/tools/qarraydataops.h +++ b/src/corelib/tools/qarraydataops.h @@ -58,11 +58,6 @@ template <class T> struct QArrayDataPointer; namespace QtPrivate { -QT_WARNING_PUSH -#if defined(Q_CC_GNU) && Q_CC_GNU >= 700 -QT_WARNING_DISABLE_GCC("-Wstringop-overflow") -#endif - template <class T> struct QPodArrayOps : public QArrayDataPointer<T> @@ -293,7 +288,6 @@ public: this->ptr = pair.second; } }; -QT_WARNING_POP template <class T> struct QGenericArrayOps |