mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
GCC 15: Silence -Wunterminated-string-initialization
This is a new warning in GCC 15 that our code base triggers in many places. Silence it for the time being. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -86,7 +86,9 @@ component_test_gcc15_opt () {
|
|||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
# Until https://github.com/Mbed-TLS/mbedtls/issues/9814 is fixed,
|
# Until https://github.com/Mbed-TLS/mbedtls/issues/9814 is fixed,
|
||||||
# disable the new problematic optimization.
|
# disable the new problematic optimization.
|
||||||
test_build_opt 'full config' "/usr/local/gcc-15/bin/gcc-15 -fzero-init-padding-bits=unions" -O2
|
# Also disable a warning that we don't yet comply to.
|
||||||
|
make CC="/usr/local/gcc-15/bin/gcc-15" CFLAGS="-O2 -Wall -Wextra -Werror -fzero-init-padding-bits=unions -Wno-error=unterminated-string-initialization"
|
||||||
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_gcc_earliest_opt () {
|
component_test_gcc_earliest_opt () {
|
||||||
|
Reference in New Issue
Block a user