mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ff8265b6b3
According to the standard assert(X) should be replaced by a void expression when NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still evaluate X, e.g. if X was a function it would be ran. This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us revert the behavior to be inline with the standard. With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default behavior. Closes https://github.com/espressif/esp-idf/issues/10136 Closes https://github.com/espressif/esp-idf/issues/2758 |
||
---|---|---|
.. | ||
bootloader_sections | ||
build_test | ||
clang_build_test | ||
cxx_build_test | ||
cxx_no_except | ||
eh_frame | ||
esp_intr_dump | ||
g0_components | ||
g1_components | ||
gdb | ||
gdb_loadable_elf | ||
gdbstub_runtime | ||
longjmp_test | ||
memprot | ||
no_embedded_paths | ||
panic | ||
ram_loadable_app | ||
rtc_mem_reserve | ||
startup | ||
test_watchpoint | ||
unicore_bootloader | ||
.build-test-rules.yml |