Merge branch 'feature/gcc_error_on_default_warnings_disable_final' into 'master'

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

Closes IDF-9675

See merge request espressif/esp-idf!42184
This commit is contained in:
Marius Vikhammer
2025-09-29 09:19:56 +08:00
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
bool "Disable errors for default warnings"
default "y"
default "n"
help
Enable this option if you do not want default warnings to be considered as errors,
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>`_.
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.