summaryrefslogtreecommitdiff
path: root/tests/test_asprintf.c
diff options
context:
space:
mode:
authorjvoisin2025-10-28 23:18:21 +0100
committerjvoisin2025-10-28 23:18:21 +0100
commitede3643ed290bc6b7764d6add93e76899f7629b2 (patch)
tree77ba643f80d4348efbd680268f5d227432c848f8 /tests/test_asprintf.c
parent05baf9cfe90c25b02652489c6dd75810600ead5e (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_asprintf.c')
0 files changed, 0 insertions, 0 deletions