1

Topic: Deprecated-message on compiling ESP8266

As I compiled an old project with a newer ESP8266 board manager (V3.1.2), I got a compile issue.
Maybe it is a warning or a note, whatever.

Reason: Obviously, there is a member of a class renamed by espressif:
\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src\WiFiServer.h
line 85 reads:
WiFiClient available(uint8_t* status = NULL) __attribute__((deprecated("Renamed to accept().")));

It can be fixed easily. Just edit file
\Documents\Arduino\libraries\RemoteXY\src\RemoteXYComm_WiFi.h
at line 95.
change it from
WiFiClient cl = server->available ();
to
WiFiClient cl = server->accept ();

Thank you.