This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Clang and C++11 <mutex> header
- From: VÃclav Zeman <vhaisman at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 26 Sep 2014 14:59:22 +0200
- Subject: Clang and C++11 <mutex> header
- Authentication-results: sourceware.org; auth=none
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