tracey icon indicating copy to clipboard operation
tracey copied to clipboard

iOS: Thread-local storage not supported

Open Leandros opened this issue 10 years ago • 4 comments

It seems iOS doesn't support thread-local storage via __thread.

Leandros avatar May 05 '15 11:05 Leandros

I need some help on this. please edit tracey.cpp file and replace line 633 with #if 0. does it compile on iOS after that? if so, i will commit a newer version with according changes

r-lyeh-archived avatar May 05 '15 13:05 r-lyeh-archived

also, what toolchain/compiler and version are you using?

r-lyeh-archived avatar May 05 '15 13:05 r-lyeh-archived

Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

using __declspec in favor of __thread does indeed work. It does not compile, but that's due to #8

Leandros avatar May 05 '15 14:05 Leandros

great, i will update the libs asap : ) thanks for reporting

r-lyeh-archived avatar May 05 '15 14:05 r-lyeh-archived