[GIT-PULLS] [php-src] PR #23072: ext/intl: Include <limits> for std::numeric_limits
[email protected] (LamentXU123)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23072 Author: LamentXU123 This fix https://github.com/php/php-src/pull/21101#issuecomment-5188586937 The bug is quite hidden. This line of code in the commit ```c gcal->setGregorianChange(-std::numeric_limits<double>::infinity(), status); ``` Some extreme build environments happen to get std::numeric_limits through transitive includes. So we need to put a Include <limits> manually