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 |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
pytest_startup.py | ||
README.md | ||
README.txt | ||
sdkconfig.ci.flash_80m_qio | ||
sdkconfig.ci.main_task_cpu1 | ||
sdkconfig.ci.no_asserts | ||
sdkconfig.ci.no_vfs | ||
sdkconfig.ci.no_vfs_partial | ||
sdkconfig.ci.opt_o0 | ||
sdkconfig.ci.opt_o2 | ||
sdkconfig.ci.single_core_variant | ||
sdkconfig.ci.sram1_iram | ||
sdkconfig.ci.stack_check_verbose_log |
Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
---|