From c2adbdcf887fec65d25af0e5b8b47ae424df54e4 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Wed, 1 Jun 2022 02:44:13 -0700 Subject: [PATCH] Enable Werror for ESP32 (#536) The ESP32 core now builds without warnings, so at Werror back --- tests/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/common.sh b/tests/common.sh index 6b7181d..e3e3857 100755 --- a/tests/common.sh +++ b/tests/common.sh @@ -76,9 +76,9 @@ function install_esp32() git clone https://github.com/espressif/arduino-esp32.git esp32 pushd esp32 # Set custom warnings for all builds - # No -Werror because the ESP32 core has issues itself and evey build will fail in the core files before touching the lib - echo "compiler.c.extra_flags=-Wall -Wextra $debug_flags" > platform.local.txt - echo "compiler.cpp.extra_flags=-Wall -Wextra $debug_flags" >> platform.local.txt + + echo "compiler.c.extra_flags=-Wall -Wextra -Werror $debug_flags" > platform.local.txt + echo "compiler.cpp.extra_flags=-Wall -Wextra -Werror $debug_flags" >> platform.local.txt echo -e "\n----platform.local.txt----" cat platform.local.txt git submodule update --init