[php-src] Issue #20492: gcc 15 warning 8.4.14
| From: | VARGA-Peter | Date: | Sat, 15 Nov 2025 12:29:10 +0000 |
| Subject: | [php-src] Issue #20492: gcc 15 warning 8.4.14 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251228@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/20492
Author: VARGA-Peter
### Description
Below the warning for all occurrences of the iso codes.
```
/builds/php-8.4.14/ext/mbstring/libmbfl/filters/mbfilter_utf8.c:728:38: warning: initializer-string
for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (3
chars into 2 available) [-Wunterminated-string-initialization]
728 | static const char nflags_s[10][2] =
{"CN","DE","ES","FR","GB","IT","JP","KR","RU","US"};
```
### PHP Version
```plain
8.4.14
```
### Operating System
SLES 15 SP7