mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
silence some compiler warnings
in the experimental builds
This commit is contained in:
parent
6e2a3f5d60
commit
4b5ba3971b
@ -54,6 +54,7 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
|
|||||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||||
-Wswitch-unreachable
|
-Wswitch-unreachable
|
||||||
-Wstringop-overflow
|
-Wstringop-overflow
|
||||||
|
-Wincompatible-pointer-types
|
||||||
build_flags = ${env:tasmota32_base.build_flags}
|
build_flags = ${env:tasmota32_base.build_flags}
|
||||||
-Wno-switch-unreachable
|
-Wno-switch-unreachable
|
||||||
-Wno-stringop-overflow
|
-Wno-stringop-overflow
|
||||||
@ -78,10 +79,13 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
|
|||||||
platformio/tool-mklittlefs @ ~1.203.200522
|
platformio/tool-mklittlefs @ ~1.203.200522
|
||||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||||
-Wswitch-unreachable
|
-Wswitch-unreachable
|
||||||
|
-Wstringop-overflow
|
||||||
|
-Wincompatible-pointer-types
|
||||||
-mtarget-align
|
-mtarget-align
|
||||||
-DNDEBUG
|
-DNDEBUG
|
||||||
build_flags = ${env:tasmota32_base.build_flags}
|
build_flags = ${env:tasmota32_base.build_flags}
|
||||||
-Wno-switch-unreachable
|
-Wno-switch-unreachable
|
||||||
|
-Wno-stringop-overflow
|
||||||
; *** Comment next two lines to disable BLE
|
; *** Comment next two lines to disable BLE
|
||||||
-DUSE_BLE_ESP32
|
-DUSE_BLE_ESP32
|
||||||
-DUSE_MI_ESP32
|
-DUSE_MI_ESP32
|
||||||
@ -108,9 +112,11 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
|
|||||||
platformio/tool-mklittlefs @ ~1.203.200522
|
platformio/tool-mklittlefs @ ~1.203.200522
|
||||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||||
-Wswitch-unreachable
|
-Wswitch-unreachable
|
||||||
|
-Wstringop-overflow
|
||||||
-Wincompatible-pointer-types
|
-Wincompatible-pointer-types
|
||||||
build_flags = ${env:tasmota32_base.build_flags}
|
build_flags = ${env:tasmota32_base.build_flags}
|
||||||
-Wno-switch-unreachable
|
-Wno-switch-unreachable
|
||||||
|
-Wno-stringop-overflow
|
||||||
; ***Uncomment next two lines to enable BLE
|
; ***Uncomment next two lines to enable BLE
|
||||||
;-DUSE_BLE_ESP32
|
;-DUSE_BLE_ESP32
|
||||||
;-DUSE_MI_ESP32
|
;-DUSE_MI_ESP32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user