From 50fc00e48974190f5aaa72ffcb731ac53d20d401 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 17 May 2022 12:13:34 -0700 Subject: 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 --- src/corelib/global/qcompilerdetection.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3