From 839f38bcfab4e96d8f90f50caed0d1e76465aabd Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 30 Jan 2015 12:22:37 +0100 Subject: Remove support for some very old compilers Remove code supporting gcc 4.0 and earlier, and MSVC 2005 and earlier. Change-Id: I3304e11bb38c101f113c124e8e533c5578badf34 Reviewed-by: Olivier Goffart (Woboq GmbH) --- src/corelib/tools/qbytearray.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/corelib/tools/qbytearray.h') diff --git a/src/corelib/tools/qbytearray.h b/src/corelib/tools/qbytearray.h index dcfe7b2dda..6d14cd5131 100644 --- a/src/corelib/tools/qbytearray.h +++ b/src/corelib/tools/qbytearray.h @@ -48,17 +48,6 @@ #error qbytearray.h must be included before any header file that defines truncate #endif -#if defined(Q_CC_GNU) && (__GNUC__ == 4 && __GNUC_MINOR__ == 0) -//There is a bug in GCC 4.0 that tries to instantiate template of annonymous enum -# ifdef QT_USE_FAST_OPERATOR_PLUS -# undef QT_USE_FAST_OPERATOR_PLUS -# endif -# ifdef QT_USE_QSTRINGBUILDER -# undef QT_USE_QSTRINGBUILDER -# endif - -#endif - #ifdef Q_OS_MAC Q_FORWARD_DECLARE_CF_TYPE(CFData); # ifdef __OBJC__ -- cgit v1.2.3