Build Compile Error from WiFiClientSecure.h

Hi,

I get an error that says _connected’ was not declared in this scope _connected = false; when I compile my program with #include <WiFiClientSecure.h> I am not sure why this occurs, may someone please shed some light on this issue?

Below is my dependency tree.
Dependency Graph
|-- <WiFiClientSecure> 1.0
| |-- <WiFi> 1.2.7
| | |-- <SPI> 1.0

Regards,
Kenneth

Full platformio.ini?

Hi,

I resolved this issue by deleting the pio file and recompiling, it complied with no errors, Thanks

Regards,
Kenneth