Skip to content

Commit 0096599

Browse files
feat(build): Default warnings to be considered as errors
1 parent ba0b61d commit 0096599

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)