[php-src] PR #14136: Fix build on Clang 18
| From: | nielsdos | Date: | Sat, 04 May 2024 16:47:22 +0000 |
| Subject: | [php-src] PR #14136: Fix build on Clang 18 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26027@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14136
Author: nielsdos
Clang 18 only allows counted_by to work on real flexible array members, not ones with a zero size.
Otherwise you get errors like:
```
ext/opcache/jit/zend_jit_ir.c:149:12: error: 'counted_by' only applies to C99 flexible
array members
```