From: <ric...@us...> - 2009-11-20 06:35:37
|
Revision: 1056 http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1056&view=rev Author: rich_sposato Date: 2009-11-20 06:35:29 +0000 (Fri, 20 Nov 2009) Log Message: ----------- Added warning to suggest running ThreadLocal test project. Modified Paths: -------------- trunk/include/loki/ThreadLocal.h Modified: trunk/include/loki/ThreadLocal.h =================================================================== --- trunk/include/loki/ThreadLocal.h 2009-11-20 06:33:15 UTC (rev 1055) +++ trunk/include/loki/ThreadLocal.h 2009-11-20 06:35:29 UTC (rev 1056) @@ -20,7 +20,7 @@ // First assume the compiler does allow thread-local storage by #defining the // macro which allows compiler to see the code inside this file. -// Then #undefine the macro for compilers which are known for not supporting +// Then #undef the macro for compilers which are known for not supporting // thread-local storage. #define LOKI_THINKS_COMPILER_ALLOWS_THREAD_LOCAL_STORAGE 1 @@ -59,6 +59,7 @@ #else #warning "Check if your compiler provides thread local storage." + #warning "Run ThreadLocal test project to see if the compiler implements thread_local correctly." #define LOKI_THREAD_LOCAL thread_local #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |