> "Chris M. Thomasson" wrote in message
> news:mlaa23$lft$1...@speranza.aioe.org...
[...]
> Beware, msvc 2013 has better support for C++11 when compared to C11.
> Simple example, I cannot get `_Thread_local' to work, however
> `thread_local' works fine...
> damn.
Sorry for all of the pesky posts... However, I made a mistake wrt the
information above. MSVC 2013 does appear to support the `thread_local'
keyword. There is a rather ugly workaround, something like:
________________________________________________
// `thread_local' keyword "workaround" for MSVC, damn!
#if defined (_MSC_VER)
# if (_MSC_VER <= 1800)
# define thread_local_storage __declspec(thread)
# else
// assume more recent versions of msvc has `thread_local'...
# define thread_local_storage thread_local
# endif
#else
# define thread_local_storage thread_local
#endif
________________________________________________
YIKES!
;^o