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