From 8c58d8cd3b89ad51c8819c94300cdc305817d396 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 15 Jul 2020 11:00:02 +0200 Subject: [PATCH 1/2] suppress Gcc10.1 warning... in lib IRremoteESP8266-2.7.8 --- platformio_override_sample.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index c55bafa94..1c11f63d0 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -126,6 +126,7 @@ build_flags = ${esp82xx_defaults.build_flags} platform = https://github.com/Jason2866/platform-espressif8266/releases/download/2.9.0/platform-espressif8266-2.9.0.tar.gz platform_packages = ;framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git build_unflags = ${esp_defaults.build_unflags} + -Wswitch-unreachable build_flags = ${esp82xx_defaults.build_flags} ; *********** Alternative Options, enable only if you know exactly what you do ******** From b68260a164c5b7fcb70478efb1e685cca6451391 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 15 Jul 2020 11:10:10 +0200 Subject: [PATCH 2/2] missing "-Wno-switch-unreachable" --- platformio_override_sample.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 1c11f63d0..3ec6c3a57 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -128,6 +128,7 @@ platform_packages = ;framework-arduinoespressif8266 @ https://github.com build_unflags = ${esp_defaults.build_unflags} -Wswitch-unreachable build_flags = ${esp82xx_defaults.build_flags} + -Wno-switch-unreachable ; *********** Alternative Options, enable only if you know exactly what you do ******** ; NONOSDK221