range-v3 icon indicating copy to clipboard operation
range-v3 copied to clipboard

thread local storage detection is incomplete for iOS

Open AlexandreBossard opened this issue 5 years ago • 0 comments

https://github.com/ericniebler/range-v3/blob/167d94b2f3de8a7d279a47da55b0cad536665a15/include/range/v3/detail/config.hpp#L484

I'm afraid this pieces of code is incomplete in order to detect thread local storage on IOS. You need to check for specific architectures and specific iOS versions as well.

CMake gets it wrong too by the way, you can find more details (and the proper value to check) here https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4918

AlexandreBossard avatar Aug 24 '20 16:08 AlexandreBossard