Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread_local is not supported for iOS 8.4 or earlier. It will cause a compile error in Xcode #57

Open
WeatheringHzl opened this issue Mar 23, 2018 · 1 comment

Comments

@WeatheringHzl
Copy link

The error message as follows:
*** log4z.cpp:1265:16: Thread-local storage is not supported for the current target

Please refer to https://stackoverflow.com/questions/28094794/why-does-apple-clang-disallow-c11-thread-local-when-official-clang-supports

@zsummer
Copy link
Owner

zsummer commented Mar 30, 2018

you can direct remove the 'static __thread' , it's optimize code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants