Visual studio code проблемы с компилятором

всем привет начал использовать vscode platformio и заметил что при стандартном примере blink при использовании <BlynkSimpleEsp8266_SSL.h>
компилятор выдаёт ошибку деклараций в этой библиотеке.
в ардуино иде ошибок нет.


#include "Arduino.h"

#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266_SSL.h>

char auth[] = "*"; //D1 mini
char ssid[] = "*";
char pass[] = "*";

void setup()
{
Serial.begin(115200);
Blynk.begin(auth, ssid, pass, "192.168.0.101", 443);

}

void loop()
{
Blynk.run();
}

вот что компилятор выдаёт

In file included from src\main.cpp:13:0:
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h: In member function ‘bool BlynkArduinoClientSecure::connect()’:
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:70:34: error: there are no arguments to ‘time’ that depend on a template parameter, so a declaration of ‘time’ must be available [-fpermissive]
time_t now = time(nullptr);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:70:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:73:29: error: there are no arguments to ‘time’ that depend on a template parameter, so a declaration of ‘time’ must be available [-fpermissive]
now = time(nullptr);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:76:33: error: there are no arguments to ‘gmtime_r’ that depend on a template parameter, so a declaration of ‘gmtime_r’ must be available [-fpermissive]
gmtime_r(&now, &timeinfo);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:77:43: error: there are no arguments to ‘asctime’ that depend on a template parameter, so a declaration of ‘asctime’ must be available [-fpermissive]
String ntpTime = asctime(&timeinfo);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h: In instantiation of ‘bool BlynkArduinoClientSecure::connect() [with Client = WiFiClientSecure]’:
.piolibdeps\Blynk_ID415\src/Blynk/BlynkProtocol.h:203:17: required from ‘bool BlynkProtocol::run(bool) [with Transp = BlynkArduinoClientSecure]’
src\main.cpp:28:11: required from here
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:70:34: error: ‘time’ was not declared in this scope
time_t now = time(nullptr);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:73:29: error: ‘time’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
now = time(nullptr);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:70:34: note: ‘time’ declared here, later in the translation unit
time_t now = time(nullptr);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:75:19: error: ‘tm timeinfo’ has incomplete type
struct tm timeinfo;
^
…piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:76:33: error: ‘gmtime_r’ was not declared in this scope
gmtime_r(&now, &timeinfo);
^
.piolibdeps\Blynk_ID415\src/BlynkSimpleEsp8266_SSL.h:77:43: error: ‘asctime’ was not declared in this scope
SString ntpTime = asctime(&timeinfo);
^
*** [.pioenvs\d1_mini\src\main.cpp.o] Error 1

я новичок в этом поэтому мало понимаю

всем спасибо, сам разобрался