[llvm-bugs] [Bug 47012] __cpp_threadsafe_static_init is not defined

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 13:25:49 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47012

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Apple confusingly has their own version numbering system for "Apple clang"
that's unrelated to upstream Clang versions. Per

https://en.wikipedia.org/wiki/Xcode#Xcode_7.0_-_11.x_(since_Free_On-Device_Development)

your "Apple LLVM version 9.0.0 (clang-900.0.39.2)" corresponds to Clang 4
(actually, somewhere between Clang 3.9 and Clang 4). Support for this feature
test macro was added in Clang 7
(https://github.com/llvm/llvm-project/commit/20eb9baa6d530bf421360b3d8afb87a09c0753e3).

Marking this FIXED on the basis that we added support for this years ago. It
looks like the Xcode 11 tools should have a Clang that's new enough to provide
this feature test macro.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200806/8204dc8b/attachment-0001.html>


More information about the llvm-bugs mailing list