[php-src] PR #22141: Fix compilation errors up until Clang 21.0
| From: | kocsismate | Date: | Sun, 24 May 2026 21:25:53 +0000 |
| Subject: | [php-src] PR #22141: Fix compilation errors up until Clang 21.0 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36225@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22141
Author: kocsismate
- The "pclmul" and "cldemote" CPU features are both only available on x86-64,
and the __builtin_cpu_supports() checks in question fail on Clang, so they shouldn't even be
tried to be run (similar fixes before: https://github.com/php/php-src/pull/18629).
- The res.h file in Lexbor contains some unterminated strings (e.g. https://github.com/php/php-src/blob/d58d3d2fd6c1cfa7e3489a9859eda63086af762f/ext/lexbor/lexbor/html/tokenizer/res.h#L203),
and a new compiler warning fails by default because of them. This needs to be suppressed.