esp-idf/tools/test_apps/system
Marc Finet 9456c157ff feat(build): Add config to disable warn be considered as errors
The -Werror=all activates error for all warnings in -Wall, however, it
does not activate error for other default warnings, such as:
- int-conversion (pointer from integer w/o a cast)
- incompatible-pointer-types
- discarded-qualifiers

Which are IMO even more important that -Wall.

This commit fixes that by activating error for all warnings (i.e. from
-Wall and default ones) and removing those from -Wextra, as the culprit
commit seemed to address.

Fixes: 60f29236f6 "Build system: Raise warning level" (2016-11-16)

In order to avoid long analysis during esp-idf upgrade, provide a way to
restore the previous -Werror=all behavior that consider only warnings
from -Wall (and not default ones).

Also add a hint to use the Kconfig option on compilation error, but warn
that fixing the code is the preferred way.

Merges https://github.com/espressif/esp-idf/pull/11239

Suggested-By: Ivan Grokhotkov <ivan@espressif.com>
2024-06-20 14:43:26 +08:00
..
bootloader_sections ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
build_test feat(build): Add config to disable warn be considered as errors 2024-06-20 14:43:26 +08:00
clang_build_test refactor(test): Change clang build tests app name 2024-05-03 16:55:18 +03:00
cxx_build_test ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
cxx_no_except tools: setting components to main to reduce build time 2023-04-25 15:42:22 +08:00
eh_frame tools: setting components to main to reduce build time 2023-04-25 15:42:22 +08:00
esp_intr_dump Merge branch 'bugfix/fix_bci_416' into 'master' 2024-05-22 17:57:01 +08:00
g0_components fix(system): print warning if stray section is found while linking 2024-05-17 13:37:42 +04:00
g1_components ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
gdb ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
gdb_loadable_elf ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
gdbstub_runtime feat(coredump): save .bss, .data and .heap sections to the elf file 2024-04-23 19:07:51 +03:00
longjmp_test fix(all): remove unused header includes 2024-03-25 13:58:40 +08:00
memprot fix(all): remove unused header includes 2024-03-25 13:58:40 +08:00
no_embedded_paths feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
panic fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4 2024-06-10 11:55:58 +05:30
ram_loadable_app change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
rtc_mem_reserve fix(ulp): fixed lp-core not booting during sleep 2024-04-18 11:36:30 +08:00
startup ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
test_watchpoint bugfix(esp_system): made watchpoint setting configuration-dependent 2023-03-13 14:24:15 +08:00
unicore_bootloader test: fix custom additional app for multicore test cases 2024-01-16 20:20:42 +01:00
.build-test-rules.yml refactor(test): Change clang build tests app name 2024-05-03 16:55:18 +03:00