WLED/wled00
Louis Beaudoin b460d0f533
Fix Warnings (#1744)
* Remove -w (Suppress all warnings, including those which GNU CPP issues by default.) and add back in -Wall (Turn on all optional warnings which are desirable for normal code.) from build_flags

* Fixes warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

* Fixes warning: "CONFIG_LITTLEFS_FOR_IDF_3_2" redefined

* Fixes warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]

* Fixes warning: enumeration value 'onoff' not handled in switch [-Wswitch]

* Fixes warning: "ntohl" redefined, warning: "ntohs" redefined, warning: "htonl" redefined, warning: "htons" redefined
- Original fix: 858f8f4ee9

* Fixes warning: unused variable 'mainSeg' [-Wunused-variable]

* Fixes warning: unused variable 'start' [-Wunused-variable]

* (untested!) Fixes warning: operation on '...' may be undefined [-Wsequence-point]

* Fixes warning: unused variable

* Fixes warning: unused variable and warning: narrowing conversion

* Fixes warning: unused variable

* Fixes warning: unused variable

* (untested!) Fixes warning: statement has no effect [-Wunused-value]

* Fixes warning: control reaches end of non-void function

* Fixes warning: unused variable

* Fixes warning: left operand of comma operator has no effect

* Fixes warning: no return statement in function returning non-void

* (untested!) Fixes warning: ISO C++ forbids converting a string constant to 'char*' and fixes warning: unused variable 'nPins'

* Fixes warning: deleting array 'dmxData'

* Fixes warning: unused variable

* Remove all warning suppression buildflags

Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-27 00:20:31 +01:00
..
.vs/wled00/v15
__vm
data
src/dependencies Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
FX.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
FX.h
FX_fcn.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
alexa.cpp
blynk.cpp
bus_manager.h
bus_wrapper.h
button.cpp
cfg.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
colors.cpp
const.h
dmx.cpp
e131.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
fcn_declare.h
file.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
html_other.h
html_settings.h
html_ui.h
hue.cpp
ir.cpp
ir_codes.h
json.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
led.cpp
lx_parser.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
mqtt.cpp
my_config_sample.h
ntp.cpp
overlay.cpp
palettes.h
pin_manager.cpp
pin_manager.h
playlist.cpp
presets.cpp
set.cpp
tv_colors.h
udp.cpp
um_manager.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
usermod.cpp
usermod_v2_empty.h
usermods_list.cpp
wled.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
wled.h Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
wled00.ino
wled00.vcxproj
wled00.vcxproj.filters
wled00.vcxproj.user
wled_eeprom.cpp
wled_serial.cpp
wled_server.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
ws.cpp
xml.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00