NimmLor / esp8266-fastled-iot-webserver

A universal software for all my LED projects, with many awesome features
https://www.thingiverse.com/surrbradl08/designs
GNU General Public License v3.0
366 stars 94 forks source link

control reaches end of non-void function [-Werror=return-type] when enabling udp visualization #242

Open Andrei1744 opened 5 months ago

Andrei1744 commented 5 months ago

This is my log:

In file included from C:\Users\anama\Documents\Arduino\libraries\FastLED\src/FastLED.h:75, from C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino:20: C:\Users\anama\Documents\Arduino\libraries\FastLED\src/fastspi.h:157:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output' 157 | # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output" | ^~~~~~~~~~~~~~~~~~~~ C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino: In function 'int getCounterHue(int)': esp8266-fastled-iot-webserver:3689:1: error: control reaches end of non-void function [-Werror=return-type] 3689 | } | ^ C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino: In function 'int getPairHue(int)': esp8266-fastled-iot-webserver:3694:1: error: control reaches end of non-void function [-Werror=return-type] 3694 | } | ^ cc1plus.exe: some warnings being treated as errors exit status 1 control reaches end of non-void function [-Werror=return-type]