feat(build): Default warnings to be considered as errors

This commit is contained in:
Konstantin Kondrashov
2025-09-25 17:38:58 +03:00
parent ba0b61d98d
commit 0096599660
2 changed files with 6 additions and 1 deletions

View File

@@ -575,7 +575,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
config COMPILER_DISABLE_DEFAULT_ERRORS config COMPILER_DISABLE_DEFAULT_ERRORS
bool "Disable errors for default warnings" bool "Disable errors for default warnings"
default "y" default "n"
help help
Enable this option if you do not want default warnings to be considered as errors, Enable this option if you do not want default warnings to be considered as errors,
especially when updating IDF. especially when updating IDF.

View File

@@ -79,3 +79,8 @@ Changes in Configuration Files Syntax
------------------------------------- -------------------------------------
ESP-IDF v6 uses esp-idf-kconfig v3, which introduces several changes in the configuration (``Kconfig``) files. For the full list of changes, please refer to the `esp-idf-kconfig migration guide from v2.x to v3.x <https://docs.espressif.com/projects/esp-idf-kconfig/en/latest/developer-guide/migration-guide.html>`_. ESP-IDF v6 uses esp-idf-kconfig v3, which introduces several changes in the configuration (``Kconfig``) files. For the full list of changes, please refer to the `esp-idf-kconfig migration guide from v2.x to v3.x <https://docs.espressif.com/projects/esp-idf-kconfig/en/latest/developer-guide/migration-guide.html>`_.
Compiler Options
----------------
The default compiler warnings will be considered as errors. The configuration option :ref:`CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS` has been changed to N.