diff options
| author | jvoisin | 2025-10-28 23:18:21 +0100 |
|---|---|---|
| committer | jvoisin | 2025-10-28 23:18:21 +0100 |
| commit | ede3643ed290bc6b7764d6add93e76899f7629b2 (patch) | |
| tree | 77ba643f80d4348efbd680268f5d227432c848f8 /tests/test_getgroups_static.c | |
| parent | 05baf9cfe90c25b02652489c6dd75810600ead5e (diff) | |
Add a missing FORTIFY_PEDANTIC_CHECKSexperimental
Fixing the following issue:
```
In file included from xstrndup.c:34:
/OpenWrt/aarch64/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/string.h: In function 'mempcpy':
/OpenWrt/aarch64/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/string.h:340:13: error: 'nonnull' argument '__d' compared to NULL [-Werror=nonnull-compare]
340 | if (!__d || !__s)
| ^~~~
/OpenWrt/aarch64/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/string.h:340:21: error: 'nonnull' argument '__s' compared to NULL [-Werror=nonnull-compare]
340 | if (!__d || !__s)
| ^~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:511: xstrndup.o] Error 1
```
Reported in https://github.com/openwrt/openwrt/pull/20552
Diffstat (limited to 'tests/test_getgroups_static.c')
0 files changed, 0 insertions, 0 deletions
