change(newlib): COMPILER_ASSERT_NDEBUG_EVALUATE default value changed to 'n'

Closes https://github.com/espressif/esp-idf/issues/2758
This commit is contained in:
Marius Vikhammer
2025-07-02 14:07:37 +08:00
parent bc421db41b
commit b46d001f6d
2 changed files with 7 additions and 5 deletions
+1 -4
View File
@@ -407,7 +407,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
config COMPILER_ASSERT_NDEBUG_EVALUATE
bool "Enable the evaluation of the expression inside assert(X) when NDEBUG is set"
default y
default n
help
When NDEBUG is set, assert(X) will not cause code to trigger an assertion.
With this option set, assert(X) will still evaluate the expression X, though
@@ -417,9 +417,6 @@ mainmenu "Espressif IoT Development Framework Configuration"
This is not according to the standard, which states that the assert(X) should
be replaced with ((void)0) if NDEBUG is defined.
In ESP-IDF v6.0 the default behavior will change to "no" to be in line with the
standard.
choice COMPILER_FLOAT_LIB_FROM
prompt "Compiler float lib source"
default COMPILER_FLOAT_LIB_FROM_RVFPLIB if ESP_ROM_HAS_RVFPLIB