summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-05-17 12:13:34 -0700
committerThiago Macieira <thiago.macieira@intel.com>2022-05-27 14:12:07 -0700
commit50fc00e48974190f5aaa72ffcb731ac53d20d401 (patch)
treebf19a3614f61deb37d5c124a200a448948c243c3 /src
parent31f98957cf5c061f868588ef81059a907c9d30ad (diff)
qglobal.h: remove superfluous C++11 check from Qt 5.6
Superseded by the C++17 check in qglobal.h applicable to 6.0, but only added for 6.2 (commit 647c0e80ed2e190778016c4208b5d6f1f9fd6543). Change-Id: Ieb9a2aa1ea914b1b956bfffd16effa512e6f1e4a Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qcompilerdetection.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index 5c50d46310..d9d1b983d3 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -502,12 +502,6 @@
*/
#define Q_COMPILER_THREADSAFE_STATICS
-#ifdef __cplusplus
-# if __cplusplus < 201103L && !defined(Q_CC_MSVC)
-# error Qt requires a C++11 compiler and yours does not seem to be that.
-# endif
-#endif
-
#if defined(Q_CC_CLANG)
/* General C++ features */
# define Q_COMPILER_RESTRICTED_VLA