From ea26c23ac50431f4e68a8fb09714c63d3a7f8cf9 Mon Sep 17 00:00:00 2001 From: Felix Conway Date: Mon, 23 Jun 2025 14:13:36 +0100 Subject: [PATCH] Turn Wunterminated-string-initialization back into an error Signed-off-by: Felix Conway --- tests/scripts/components-compiler.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/scripts/components-compiler.sh b/tests/scripts/components-compiler.sh index 286408717e..1eac64f54d 100644 --- a/tests/scripts/components-compiler.sh +++ b/tests/scripts/components-compiler.sh @@ -94,9 +94,6 @@ component_test_gcc15_drivers_opt () { loc_cflags="$ASAN_CFLAGS -DPSA_CRYPTO_DRIVER_TEST_ALL" loc_cflags="${loc_cflags} '-DMBEDTLS_USER_CONFIG_FILE=\"../tests/configs/user-config-for-test.h\"'" loc_cflags="${loc_cflags} -I../framework/tests/include -O2" - # Allow a warning that we don't yet comply to. - # https://github.com/Mbed-TLS/mbedtls/issues/9944 - loc_cflags="${loc_cflags} -Wno-error=unterminated-string-initialization" make CC=$GCC_15 CFLAGS="${loc_cflags}" LDFLAGS="$ASAN_CFLAGS"