4Views0Replies

Author Options:

Compiling error? Answered

When I compile the sketch, I get an error message. i'm not sure where to look to correct it.
Arduino: 1.8.8 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, Enabled, 4M (3M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\Ours\Documents\Arduino\libraries\ArduinoHttpClient\src/ArduinoHttpClient.h:8:0,

from C:\Users\Ours\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/AdafruitIO.h:23,

from C:\Users\Ours\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/wifi/AdafruitIO_ESP8266.h:18,

from C:\Users\Ours\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/AdafruitIO_WiFi.h:32,

from C:\Users\Ours\Downloads\button_input_led_output\button_input_led_output.ino:32:

C:\Users\Ours\Documents\Arduino\libraries\ArduinoHttpClient\src/HttpClient.h: In member function 'virtual void HttpClient::flush()':

C:\Users\Ours\Documents\Arduino\libraries\ArduinoHttpClient\src/HttpClient.h:310:50: error: return-statement with a value, in function returning 'void' [-fpermissive]

virtual void flush() { return iClient->flush(); };

^

exit status 1
Error compiling for board Adafruit Feather HUZZAH ESP8266.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Would the more verbose description help you?

Discussions