[php-src] PR #15415: Explicitly drop support for old clang versions on Windows
| From: | cmb69 | Date: | Wed, 14 Aug 2024 19:46:29 +0000 |
| Subject: | [php-src] PR #15415: Explicitly drop support for old clang versions on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27963@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15415
Author: cmb69
This ensures compatibility with the typedef redefinitions we use, and makes it clear during the
configure stage that old compiler versions are not supported.
See <https://releases.llvm.org/> regarding the
release history of clang.
---
Note that clang 3.1.0 added support for C11, and that *may* include support for typedef
redefinitions, but I'm not sure about that. And the oldest clang I've managed to install
on my machine is 4.0.0. I did a minimal PHP build successfully, so I'm reasonable sure that the
typedef redifinition won't cause an issue as of clang 4.0.0. And frankly, I don't see much
point in claiming support for even older clang versions, while clang 4.0.0 has been released on
2017-03-13, and I'm not even sure that newer clang versions are fully supported with PHP on
Windows.