objective c - protobuf 3.0.0 in xcode with error: thread-local storage is unsupported for the current targe -


i trying use protobuf 3.0.0 in objective-c project, when compile protobuf project, there shows error :

"thread-local storage unsupported current target."

because protobuf uses "__thread" in code, maybe xcode compiler not support character.

could tell me how solve problem?

the protobuf source code compiled c++ in xcode,

here settings:

apple llvm 6.0 - language: c language dialect    gnu99 [-std=gnu99] compile source     according file type   apple llvm 6.0 language - c++: c++ language dialect   gnu++[-std=gnu++11] c++ standard library   libc++(llvm c++ standard library c++11 support) 

here setting link: xcode setting snap


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -