From 4b5ba3971b097db253a3d98d975bcedf0bcad10a Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 25 Aug 2021 14:42:25 +0200 Subject: [PATCH] silence some compiler warnings in the experimental builds --- platformio_tasmota_cenv_sample.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platformio_tasmota_cenv_sample.ini b/platformio_tasmota_cenv_sample.ini index 21aac4bb2..e8d84aed0 100644 --- a/platformio_tasmota_cenv_sample.ini +++ b/platformio_tasmota_cenv_sample.ini @@ -54,6 +54,7 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/ build_unflags = ${env:tasmota32_base.build_unflags} -Wswitch-unreachable -Wstringop-overflow + -Wincompatible-pointer-types build_flags = ${env:tasmota32_base.build_flags} -Wno-switch-unreachable -Wno-stringop-overflow @@ -78,10 +79,13 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/ platformio/tool-mklittlefs @ ~1.203.200522 build_unflags = ${env:tasmota32_base.build_unflags} -Wswitch-unreachable + -Wstringop-overflow + -Wincompatible-pointer-types -mtarget-align -DNDEBUG build_flags = ${env:tasmota32_base.build_flags} -Wno-switch-unreachable + -Wno-stringop-overflow ; *** Comment next two lines to disable BLE -DUSE_BLE_ESP32 -DUSE_MI_ESP32 @@ -108,9 +112,11 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/ platformio/tool-mklittlefs @ ~1.203.200522 build_unflags = ${env:tasmota32_base.build_unflags} -Wswitch-unreachable + -Wstringop-overflow -Wincompatible-pointer-types build_flags = ${env:tasmota32_base.build_flags} -Wno-switch-unreachable + -Wno-stringop-overflow ; ***Uncomment next two lines to enable BLE ;-DUSE_BLE_ESP32 ;-DUSE_MI_ESP32