summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-01-30 12:22:37 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-02-15 12:39:29 +0000
commit839f38bcfab4e96d8f90f50caed0d1e76465aabd (patch)
treeb62cf2abb15464c9ab573f23df29952bcb16d217 /src/corelib/tools
parent4ad83407ddc4d5838b77e645f4b421a356e844e1 (diff)
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) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qbytearray.h11
1 files changed, 0 insertions, 11 deletions
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__