Re: Require C11 in PHP 8.4
| From: | Stephen Reay | Date: | Tue, 06 Aug 2024 12:07:54 +0000 |
| Subject: | Re: Require C11 in PHP 8.4 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124804@lists.php.net to get a copy of this message | ||
> On 6 Aug 2024, at 18:26, Derick Rethans <derick@php.net> wrote:
>
> Normal clang supports the same flag. Apple clang potentially too, but
> not currently:
>
> https://opensource.apple.com/source/clang/clang-23/clang/tools/clang/docs/UsersManual.html
> — it could be outdated information though. I don't have a mac to test.
>
I believe that is *extrmely* outdated, based on the other listings on https://opensource.apple.com/source/clang/ and
the listings by macOS version on https://opensource.apple.com/releases/
To be certain, I fired up my old macOS Sierra VM again (which reports as having Clang 9) and tried a
simple
clang -std=c11 foo.c - it doesn't complain about c11 being
invalid (which it does if I try say -std=c17)
Is there a specific branch in the repo (or in a fork) that already uses the required features? I can
try to compile on this VM, to confirm whether it actually works.
Cheers
Stephen