just updated platformio using the command pio upgrade
It did a whole bunch of stuff then my espressif8266 platform project stopped compiling.
Looks like a clash between WiFiClient versions included as dependencies
one has
//Modified by Ivan Grokhotkov, December 2014 - esp8266 support
in the comments
Error:
.platformio\lib\WiFi_ID870\src\WiFiServer.h:37:14: error: invalid abstract return type for member function 'WiFiClient WiFiServer::available(uint8_t*)'
Reproduction Steps:
Create new D1 R1 project with Arduino as the framework
Add "ESP Async WebServer" to the platformio.ini lib_deps like
lib_deps =
Hash
ESP8266WiFi
ESP Async WebServer ; not sure why the dependencies are not discovered.
add #include under #include in main.cpp
ctl+alt+B to compile
this is a new error and was not happening in the version i had before the upgrade of platformio.
But as this is framework. I could fix but i want to botch up my project with monkey patches. The platform environment should be fixed.
solution found.
uninstalled pio IDE plugin from vscode
deleted the .platformio folder from user location
reinstalled the PIO plugin in vscode
Seemed to solve itself.
just updated platformio using the command pio upgrade It did a whole bunch of stuff then my espressif8266 platform project stopped compiling. Looks like a clash between WiFiClient versions included as dependencies one has
in the comments Error:
Reproduction Steps: