RemoteDebugApp
RemoteDebugApp copied to clipboard
warnings when compiling
Hi!
I get this warnings and telnet neither mqtt work.
`.pio\libdeps\esp01_1m\PubSubClient\src\PubSubClient.cpp: In member function 'boolean PubSubClient::publish_P(const char*, const uint8_t*, unsigned int, boolean)':
.pio\libdeps\esp01_1m\PubSubClient\src\PubSubClient.cpp:523:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
523 | return (rc == expectedLength);
| ~~~^~~~Compiling .pio\build\esp01_1m\lib049\ESP8266mDNS\LEAmDNS.cpp.o
.pio\libdeps\esp01_1m\RemoteDebug\src\RemoteDebug.cpp: In member function 'void RemoteDebug::handle()':
.pio\libdeps\esp01_1m\RemoteDebug\src\RemoteDebug.cpp:299:39: warning: 'WiFiClient WiFiServer::available(uint8_t*)' is deprecated: Renamed to accept(). [-Wdeprecated-declarations]
299 | newClient = TelnetServer.available();
| ^
In file included from C:\Users\ziga\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40,
from .pio\libdeps\esp01_1m\RemoteDebug\src\RemoteDebug.cpp:102:
C:\Users\ziga\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:85:14: note: declared here
85 | WiFiClient available(uint8_t* status = NULL) __attribute__((deprecated("Renamed to accept().")));
| ^~~~~~~~~
.pio\libdeps\esp01_1m\RemoteDebug\src\RemoteDebug.cpp:323:42: warning: 'WiFiClient WiFiServer::available(uint8_t*)' is deprecated: Renamed to accept(). [-Wdeprecated-declarations]
323 | TelnetClient = TelnetServer.available();
| ^
In file included from C:\Users\ziga\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40,
from .pio\libdeps\esp01_1m\RemoteDebug\src\RemoteDebug.cpp:102:
C:\Users\ziga\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiServer.h:85:14: note: declared here
85 | WiFiClient available(uint8_t* status = NULL) __attribute__((deprecated("Renamed to accept().")));
| ^~~~~Archiving .pio\build\esp01_1m\lib4f8\libPubSubClient.a
~~~~`
regards Ziga