Skip to content

Commit 6efd36f

Browse files
committed
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
2 parents 9408386 + 0096599 commit 6efd36f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
575575

576576
config COMPILER_DISABLE_DEFAULT_ERRORS
577577
bool "Disable errors for default warnings"
578-
default "y"
578+
default "n"
579579
help
580580
Enable this option if you do not want default warnings to be considered as errors,
581581
especially when updating IDF.

docs/en/migration-guides/release-6.x/6.0/build-system.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,8 @@ Changes in Configuration Files Syntax
7979
-------------------------------------
8080

8181
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>`_.
82+
83+
Compiler Options
84+
----------------
85+
86+
The default compiler warnings will be considered as errors. The configuration option :ref:`CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS` has been changed to N.

0 commit comments

Comments
 (0)