Wil*_*mKF 8 c++ xcode clang thread-local c++11
如本回答所示,thread_local即使设置了C++ 11标志,Mac OSX上Xcode的clang也不支持存储.即使在最新版本上,Apple LLVM版本7.0.0(clang-700.1.76),目标:x86_64-apple-darwin15.0.0,线程模型:posix,不支持thread_local:
../../src/dir/sysArch.h:1505:3: error: thread-local storage is not supported
for the current target
thread_local
^
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1943 次 |
| 最近记录: |