From 20104bb237d5231640649bcc610d4e51e03ea617 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 2 May 2022 09:47:15 -0700 Subject: Remove remnants of the old Intel C++ compiler We don't support it any more. I don't think it has ever properly compiled Qt 6 (and it's no longer working for me against GCC 12's libstdc++ headers). If you report a bug against it, Intel support's first question is if you can try instead the new Clang/LLVM-based oneAPI C++ compiler. So we support only that one, which identifies itself as Q_CC_CLANG. Change-Id: I5ff8e16fcdcb4ffd9ab6fffd16eb57a092c8439e Reviewed-by: Marc Mutz --- src/corelib/global/qglobal.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/corelib/global/qglobal.cpp') diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index e184954cb2..1f9ac131d4 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1728,9 +1728,13 @@ bool qSharedBuild() noexcept /*! \macro Q_CC_INTEL \relates + \obsolete - Defined if the application is compiled using Intel C++ for Linux, - Intel C++ for Windows. + This macro used to be defined if the application was compiled with the old + Intel C++ compiler for Linux, macOS or Windows. The new oneAPI C++ compiler + is just a build of Clang and therefore does not define this macro. + + \sa Q_CC_CLANG */ /*! @@ -3382,7 +3386,7 @@ void qAbort() // [support.start.term]). So we bypass std::abort() and directly // terminate the application. -# if defined(Q_CC_MSVC) && !defined(Q_CC_INTEL) +# if defined(Q_CC_MSVC) if (IsProcessorFeaturePresent(PF_FASTFAIL_AVAILABLE)) __fastfail(FAST_FAIL_FATAL_APP_EXIT); # else -- cgit v1.2.3