This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Clang and C++11 <mutex> header


I am trying to use <mutex> C++11 header with Clang but  the compilation fails:

In file included from test.cxx:1:
/usr/lib/gcc/i686-pc-cygwin/4.8.3/include/c++/mutex:747:10: error:
thread-local storage is unsupported for the current
      target
  extern __thread void* __once_callable;
         ^
/usr/lib/gcc/i686-pc-cygwin/4.8.3/include/c++/mutex:748:10: error:
thread-local storage is unsupported for the current
      target
  extern __thread void (*__once_call)();

Is this Clang package configuration issue (disabled TLS support) or
Clang porting issue (missing TLS support in Clang on Cygwin)?

-- 
VZ

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]