Re: Require C11 in PHP 8.4
| From: | Christoph M. Becker | Date: | Tue, 06 Aug 2024 12:00:32 +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-124803@lists.php.net to get a copy of this message | ||
On 06.08.2024 at 13:26, Derick Rethans 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.
>
> But it's just possible to check for the flag for compilers that we *do*
> know about. And by checking for it and showing a warning, we make
> people's lives easire.
Not sure about which flag you are talking, but anyway see
<https://news-web.php.net/php.internals/124775>.
I.e. I'm fine with a
feature test, but wouldn't want to check for individual compiler
versions (although I have no hard feelings about that).
Christoph