On 02.08.2024 at 07:50, Stephen Reay wrote: > According to > https://releases.llvm.org/3.1/docs/ClangReleaseNotes.html#cchanges, Clang 3.1 > added C11. > > According to https://trac.macports.org/wiki/XcodeVersionInfo, Clang 3.1 > shipped with Xcode 4.3.3, in May 2012. > > In terms of confirming this, the oldest macOS VM I have quick access to is > running Sierra (from 2016, last OS update in 2019), and default install now > for Clang on that VM is 9.0.0
According to a comment on the pull request[1], the clang version would be different between LLVM and Apple's fork. An answer on StackOverflow[2] confirms that. I figure that there is even no exact matching of the version numbers possible, as Apple might support some features, but not others. I can even imagine that general C11 support is available, but not necessarily the typedef redeclaration which is most important right now. So unless there is some normative documentation, it might be necessary to see whether PHP 8.4 can be build with Apple's clang (and which versions). [1] <https://github.com/php/php-src/pull/15079#issuecomment-2263812984> [2] <https://stackoverflow.com/questions/12665744/what-is-the-difference-between-clang-and-apple-clang> Cheers, Christoph