You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A build error occurs with the newest Arduino core version v3.0.0 :
lib/framework/NTPSettingsService.cpp: In member function 'void NTPSettingsService::configureTime(AsyncWebServerRequest*, ArduinoJson::JsonVariant&)':
lib/framework/NTPSettingsService.cpp:78:15: error: 'strptime' was not declared in this scope; did you mean 'strftime'?
78 | char* s = strptime(timeLocal.c_str(), "%Y-%m-%dT%H:%M:%S", &tm);
| ^~~~~~~~
| strftime
This seems to be caused by a disabled prototype.
To fix this you could define your prototype by your own somewhere:
On Thu, 17 Jun 2021, 16:19 Lukas-Heiligenbrunner, ***@***.***> wrote:
A build error occurs with the newest Arduino core version v3.0.0 :
lib/framework/NTPSettingsService.cpp: In member function 'void NTPSettingsService::configureTime(AsyncWebServerRequest*, ArduinoJson::JsonVariant&)':
lib/framework/NTPSettingsService.cpp:78:15: error: 'strptime' was not declared in this scope; did you mean 'strftime'?
78 | char* s = strptime(timeLocal.c_str(), "%Y-%m-%dT%H:%M:%S", &tm);
| ^~~~~~~~
| strftime
This seems to be caused by a disabled prototype.
To fix this you could define your prototype by your own somewhere:
extern "C" char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
--> see esp8266/Arduino#8122
<esp8266/Arduino#8122>
Kind regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#248>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKE4VC5J3IX6FTH277YTRDTTIHBPANCNFSM4634WHBQ>
.
A build error occurs with the newest Arduino core version v3.0.0 :
This seems to be caused by a disabled prototype.
To fix this you could define your prototype by your own somewhere:
--> see esp8266/Arduino#8122
Kind regards.
The text was updated successfully, but these errors were encountered: