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>
This commit is contained in:
parent
648e9696d3
commit
100fb6c3a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user