[cfe-dev] clang3.4 and C++11 thread_local on OS X

Nicola Gigante nicola.gigante at gmail.com
Sat Apr 5 09:46:31 PDT 2014


Hello...

>From the C++11 status page it seems that thread_local is supported from clang 3.3,
but with clang 3.4 shipped with xcode 5.1 I get:

error: thread-local storage is unsupported for the current target

I'm compiling on x86_64 which is the most common target I can think of... so,
is it unsupported on OS X yet? Where is it supported? on linux? on BSDs?
Maybe something about this should be stated on the status page..

Thank you very much,
Nicola



More information about the cfe-dev mailing list