[php-src] PR #18685: Fix ZEND_NONSTRING attribute for data_file.c
| From: | nielsdos | Date: | Wed, 28 May 2025 17:03:50 +0000 |
| Subject: | [php-src] PR #18685: Fix ZEND_NONSTRING attribute for data_file.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31843@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18685
Author: nielsdos
This broke in CI but not on my local machine because of the different compiler version. This is
because there was an issue in GCC [1] that caused the attribute to not properly work on
multidimensional arrays. This has since been fixed in GCC 15.
Therefore, we guard the attribute with a version check.
[1] https://gcc.gnu.org/cgit/gcc/commit/?id=afb46540d3921e96c4cd7ba8fa2c8b0901759455