1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-27 15:53:57 +08:00

Merge pull request #10245 from felixc-arm/gcc-15-remove-wnoerror-dev

[Dev] Turn Wunterminated-string-initialization back into an error
This commit is contained in:
Manuel Pégourié-Gonnard 2025-06-26 07:08:33 +00:00 committed by GitHub
commit 42c4bddc07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,9 +93,6 @@ component_test_gcc15_drivers_opt () {
scripts/config.py full
loc_cflags="$ASAN_CFLAGS -DPSA_CRYPTO_DRIVER_TEST -DMBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS"
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"