From 9dc7c92dcb17ef503df18270aa68eabb67623bae Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 12 Feb 2014 21:58:39 -0800 Subject: [PATCH] Remove "thread_local" support from the Intel Compiler The docs said it supports the feature, but now that we've tried to use it, we can't. It might have been referring to the non-C++11 extension from GCC (__thread). qlogging.cpp(1253): error #303: explicit type is missing ("int" assumed) static thread_local bool msgHandlerGrabbed = false; ^ Change-Id: I9343cf61bd3b2eacac686e602cc0ffea2d4a7a22 Reviewed-by: Kai Koehne Reviewed-by: Mehdi Fekari Reviewed-by: Rafael Roquetto --- src/corelib/global/qcompilerdetection.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index a2e9d82838..9bc43a3186 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -509,7 +509,6 @@ # define Q_COMPILER_LAMBDA # define Q_COMPILER_RVALUE_REFS # define Q_COMPILER_STATIC_ASSERT -# define Q_COMPILER_THREAD_LOCAL # define Q_COMPILER_VARIADIC_MACROS # endif # if __INTEL_COMPILER >= 1210