TorbenSP

Homie ESP32 compiler error

Feb 22nd, 2021 (edited)
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
  2. --------------------------------------------------------------------------------
  3. Verbose mode can be enabled via `-v, --verbose` option
  4. CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
  5. PLATFORM: Espressif 32 (3.0.0) > Espressif ESP32 Dev Module
  6. HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
  7. DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
  8. PACKAGES:
  9.  - framework-arduinoespressif32 3.10004.210126 (1.0.4)
  10.  - tool-esptoolpy 1.30000.201119 (3.0.0)
  11.  - toolchain-xtensa32 2.50200.80 (5.2.0)
  12. LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  13. LDF Modes: Finder ~ chain, Compatibility ~ soft
  14. Found 52 compatible libraries
  15. Scanning dependencies...
  16. Dependency Graph
  17. |-- <Homie> 3.0.1+sha.9cd8397
  18. |   |-- <ArduinoJson> 6.11.5
  19. |   |-- <AsyncMqttClient> 0.8.2
  20. |   |   |-- <AsyncTCP> 1.1.1
  21. |   |-- <Bounce2> 2.56.0
  22. |   |-- <ESP Async WebServer> 1.2.3
  23. |   |   |-- <AsyncTCP> 1.1.1
  24. |   |   |-- <Time> 1.6.0
  25. |   |   |-- <FS> 1.0
  26. |   |   |-- <WiFi> 1.0
  27. |   |   |-- <ArduinoJson> 6.11.5
  28. |   |-- <Ticker> 1.1
  29. |   |-- <WiFi> 1.0
  30. |   |-- <AsyncTCP> 1.1.1
  31. |   |-- <DNSServer> 1.1.0
  32. |   |   |-- <WiFi> 1.0
  33. |   |-- <HTTPClient> 1.2
  34. |   |   |-- <WiFi> 1.0
  35. |   |   |-- <WiFiClientSecure> 1.0
  36. |   |   |   |-- <WiFi> 1.0
  37. |   |-- <SPIFFS> 1.0
  38. |   |   |-- <FS> 1.0
  39. |   |-- <ESPmDNS> 1.0
  40. |   |   |-- <WiFi> 1.0
  41. |   |-- <Update> 1.0
  42. |   |-- <FS> 1.0
  43. Building in release mode
  44. Compiling .pio\build\esp32dev\src\main.cpp.o
  45. Archiving .pio\build\esp32dev\lib198\libAsyncMqttClient.a
  46. Compiling .pio\build\esp32dev\libbf4\WiFi\WiFiUdp.cpp.o
  47. Compiling .pio\build\esp32dev\lib7e1\ESP Async WebServer\AsyncEventSource.cpp.o
  48. Compiling .pio\build\esp32dev\lib7e1\ESP Async WebServer\AsyncWebSocket.cpp.o
  49. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:39:0,
  50.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  51.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  52.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  53.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  54.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  55.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  56.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  57.                  from src\main.cpp:2:
  58. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:64:11: error: '::clock' has not been declared
  59.    using ::clock;
  60.            ^
  61. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:65:11: error: '::difftime' has not been declared
  62.    using ::difftime;
  63.            ^
  64. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:66:11: error: '::mktime' has not been declared
  65.    using ::mktime;
  66.            ^
  67. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:67:11: error: '::time' has not been declared
  68.    using ::time;
  69.            ^
  70. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:68:11: error: '::asctime' has not been declared
  71.    using ::asctime;
  72.            ^
  73. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:69:11: error: '::ctime' has not been declared
  74.    using ::ctime;
  75.            ^
  76. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:70:11: error: '::gmtime' has not been declared
  77.    using ::gmtime;
  78.            ^
  79. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:71:11: error: '::localtime' has not been declared
  80.    using ::localtime;
  81.            ^
  82. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:72:11: error: '::strftime' has not been declared
  83.    using ::strftime;
  84.            ^
  85. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  86.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  87.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  88.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  89.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  90.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  91.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  92.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  93.                  from src\main.cpp:2:
  94. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function '_InIter std::__cxx11::time_get<_CharT, _InIter>::_M_extract_via_format(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*, const _CharT*) const':
  95. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:662:47: error: invalid use of incomplete type 'struct tm'
  96.      __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days1,
  97.                                                ^
  98. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  99.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  100.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  101.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  102.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  103.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  104.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  105.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  106.                  from src\main.cpp:1:
  107. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  108.  struct tm;
  109.         ^
  110. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  111.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  112.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  113.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  114.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  115.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  116.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  117.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  118.                  from src\main.cpp:2:
  119. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:669:47: error: invalid use of incomplete type 'struct tm'
  120.      __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days2,
  121.                                                ^
  122. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  123.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  124.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  125.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  126.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  127.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  128.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  129.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  130.                  from src\main.cpp:1:
  131. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  132.  struct tm;
  133.         ^
  134. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  135.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  136.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  137.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  138.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  139.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  140.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  141.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  142.                  from src\main.cpp:2:
  143. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:677:47: error: invalid use of incomplete type 'struct tm'
  144.      __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
  145.                                                ^
  146. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  147.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  148.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  149.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  150.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  151.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  152.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  153.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  154.                  from src\main.cpp:1:
  155. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  156.  struct tm;
  157.         ^
  158. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  159.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  160.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  161.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  162.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  163.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  164.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  165.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  166.                  from src\main.cpp:2:
  167. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:684:47: error: invalid use of incomplete type 'struct tm'
  168.      __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
  169.                                                ^
  170. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  171.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  172.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  173.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  174.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  175.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  176.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  177.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  178.                  from src\main.cpp:1:
  179. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  180.  struct tm;
  181.         ^
  182. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  183.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  184.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  185.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  186.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  187.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  188.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  189.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  190.                  from src\main.cpp:2:
  191. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:696:46: error: invalid use of incomplete type 'struct tm'
  192.      __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 1, 31, 2,
  193.                                               ^
  194. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  195.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  196.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  197.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  198.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  199.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  200.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  201.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  202.                  from src\main.cpp:1:
  203. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  204.  struct tm;
  205.         ^
  206. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  207.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  208.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  209.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  210.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  211.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  212.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  213.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  214.                  from src\main.cpp:2:
  215. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:703:50: error: invalid use of incomplete type 'struct tm'
  216.        __beg = _M_extract_num(++__beg, __end, __tm->tm_mday, 1, 9,
  217.                                                   ^
  218. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  219.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  220.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  221.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  222.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  223.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  224.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  225.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  226.                  from src\main.cpp:1:
  227. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  228.  struct tm;
  229.         ^
  230. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  231.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  232.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  233.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  234.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  235.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  236.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  237.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  238.                  from src\main.cpp:2:
  239. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:706:48: error: invalid use of incomplete type 'struct tm'
  240.        __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 10, 31,
  241.                                                 ^
  242. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  243.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  244.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  245.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  246.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  247.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  248.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  249.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  250.                  from src\main.cpp:1:
  251. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  252.  struct tm;
  253.         ^
  254. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  255.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  256.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  257.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  258.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  259.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  260.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  261.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  262.                  from src\main.cpp:2:
  263. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:718:46: error: invalid use of incomplete type 'struct tm'
  264.      __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 0, 23, 2,
  265.                                               ^
  266. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  267.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  268.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  269.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  270.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  271.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  272.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  273.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  274.                  from src\main.cpp:1:
  275. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  276.  struct tm;
  277.         ^
  278. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  279.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  280.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  281.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  282.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  283.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  284.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  285.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  286.                  from src\main.cpp:2:
  287. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:723:46: error: invalid use of incomplete type 'struct tm'
  288.      __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 1, 12, 2,
  289.                                               ^
  290. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  291.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  292.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  293.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  294.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  295.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  296.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  297.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  298.                  from src\main.cpp:1:
  299. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  300.  struct tm;
  301.         ^
  302. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  303.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  304.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  305.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  306.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  307.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  308.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  309.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  310.                  from src\main.cpp:2:
  311. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:731:11: error: invalid use of incomplete type 'struct tm'
  312.        __tm->tm_mon = __mem - 1;
  313.            ^
  314. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  315.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  316.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  317.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  318.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  319.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  320.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  321.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  322.                  from src\main.cpp:1:
  323. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  324.  struct tm;
  325.         ^
  326. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  327.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  328.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  329.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  330.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  331.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  332.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  333.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  334.                  from src\main.cpp:2:
  335. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:735:46: error: invalid use of incomplete type 'struct tm'
  336.      __beg = _M_extract_num(__beg, __end, __tm->tm_min, 0, 59, 2,
  337.                                               ^
  338. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  339.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  340.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  341.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  342.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  343.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  344.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  345.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  346.                  from src\main.cpp:1:
  347. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  348.  struct tm;
  349.         ^
  350. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  351.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  352.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  353.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  354.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  355.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  356.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  357.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  358.                  from src\main.cpp:2:
  359. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:757:46: error: invalid use of incomplete type 'struct tm'
  360.      __beg = _M_extract_num(__beg, __end, __tm->tm_sec, 0, 61, 2,
  361.                                               ^
  362. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  363.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  364.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  365.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  366.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  367.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  368.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  369.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  370.                  from src\main.cpp:1:
  371. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  372.  struct tm;
  373.         ^
  374. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  375.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  376.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  377.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  378.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  379.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  380.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  381.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  382.                  from src\main.cpp:2:
  383. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:799:11: error: invalid use of incomplete type 'struct tm'
  384.        __tm->tm_year = __mem < 0 ? __mem + 100 : __mem - 1900;
  385.            ^
  386. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  387.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  388.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  389.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  390.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  391.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  392.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  393.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  394.                  from src\main.cpp:1:
  395. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  396.  struct tm;
  397.         ^
  398. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  399.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  400.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  401.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  402.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  403.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  404.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  405.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  406.                  from src\main.cpp:2:
  407. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_weekday(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  408. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1085:6: error: invalid use of incomplete type 'struct tm'
  409.   __tm->tm_wday = __tmpwday;
  410.       ^
  411. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  412.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  413.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  414.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  415.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  416.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  417.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  418.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  419.                  from src\main.cpp:1:
  420. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  421.  struct tm;
  422.         ^
  423. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  424.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  425.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  426.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  427.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  428.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  429.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  430.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  431.                  from src\main.cpp:2:
  432. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_monthname(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  433. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1112:6: error: invalid use of incomplete type 'struct tm'
  434.   __tm->tm_mon = __tmpmon;
  435.       ^
  436. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  437.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  438.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  439.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  440.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  441.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  442.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  443.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  444.                  from src\main.cpp:1:
  445. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  446.  struct tm;
  447.         ^
  448. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  449.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  450.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  451.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  452.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  453.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie/Boot/BootConfig.hpp:19,
  454.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.hpp:13,
  455.                  from .pio\libdeps\esp32dev\Homie@src-e63c7cdd201d5f81f9fc705f9115e759\src/Homie.h:4,
  456.                  from src\main.cpp:2:
  457. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_year(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  458. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1135:6: error: invalid use of incomplete type 'struct tm'
  459.   __tm->tm_year = __tmpyear < 0 ? __tmpyear + 100 : __tmpyear - 1900;
  460.       ^
  461. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  462.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  463.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  464.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  465.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  466.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  467.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  468.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  469.                  from src\main.cpp:1:
  470. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  471.  struct tm;
  472.         ^
  473. Archiving .pio\build\esp32dev\libbf4\libWiFi.a
  474. *** [.pio\build\esp32dev\src\main.cpp.o] Error 1
  475. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:39:0,
  476.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  477.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  478.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  479.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  480.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  481.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  482. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:64:11: error: '::clock' has not been declared
  483.    using ::clock;
  484.            ^
  485. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:65:11: error: '::difftime' has not been declared
  486.    using ::difftime;
  487.            ^
  488. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:66:11: error: '::mktime' has not been declared
  489.    using ::mktime;
  490.            ^
  491. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:67:11: error: '::time' has not been declared
  492.    using ::time;
  493.            ^
  494. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:68:11: error: '::asctime' has not been declared
  495.    using ::asctime;
  496.            ^
  497. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:69:11: error: '::ctime' has not been declared
  498.    using ::ctime;
  499.            ^
  500. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:70:11: error: '::gmtime' has not been declared
  501.    using ::gmtime;
  502.            ^
  503. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:71:11: error: '::localtime' has not been declared
  504.    using ::localtime;
  505.            ^
  506. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:72:11: error: '::strftime' has not been declared
  507.    using ::strftime;
  508.            ^
  509. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  510.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  511.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  512.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  513.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  514.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  515.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  516. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function '_InIter std::__cxx11::time_get<_CharT, _InIter>::_M_extract_via_format(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*, const _CharT*) const':
  517. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:662:47: error: invalid use of incomplete type 'struct tm'
  518.      __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days1,
  519.                                                ^
  520. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  521.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  522.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  523.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  524.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  525.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  526.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  527.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  528.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  529. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  530.  struct tm;
  531.         ^
  532. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  533.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  534.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  535.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  536.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  537.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  538.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  539. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:669:47: error: invalid use of incomplete type 'struct tm'
  540.      __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days2,
  541.                                                ^
  542. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  543.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  544.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  545.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  546.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  547.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  548.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  549.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  550.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  551. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  552.  struct tm;
  553.         ^
  554. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  555.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  556.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  557.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  558.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  559.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  560.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  561. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:677:47: error: invalid use of incomplete type 'struct tm'
  562.      __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
  563.                                                ^
  564. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  565.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  566.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  567.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  568.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  569.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  570.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  571.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  572.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  573. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  574.  struct tm;
  575.         ^
  576. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  577.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  578.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  579.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  580.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  581.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  582.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  583. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:684:47: error: invalid use of incomplete type 'struct tm'
  584.      __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
  585.                                                ^
  586. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  587.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  588.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  589.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  590.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  591.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  592.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  593.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  594.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  595. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  596.  struct tm;
  597.         ^
  598. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  599.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  600.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  601.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  602.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  603.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  604.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  605. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:696:46: error: invalid use of incomplete type 'struct tm'
  606.      __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 1, 31, 2,
  607.                                               ^
  608. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  609.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  610.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  611.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  612.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  613.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  614.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  615.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  616.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  617. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  618.  struct tm;
  619.         ^
  620. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  621.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  622.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  623.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  624.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  625.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  626.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  627. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:703:50: error: invalid use of incomplete type 'struct tm'
  628.        __beg = _M_extract_num(++__beg, __end, __tm->tm_mday, 1, 9,
  629.                                                   ^
  630. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  631.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  632.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  633.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  634.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  635.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  636.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  637.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  638.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  639. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  640.  struct tm;
  641.         ^
  642. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  643.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  644.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  645.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  646.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  647.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  648.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  649. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:706:48: error: invalid use of incomplete type 'struct tm'
  650.        __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 10, 31,
  651.                                                 ^
  652. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  653.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  654.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  655.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  656.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  657.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  658.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  659.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  660.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  661. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  662.  struct tm;
  663.         ^
  664. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  665.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  666.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  667.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  668.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  669.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  670.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  671. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:718:46: error: invalid use of incomplete type 'struct tm'
  672.      __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 0, 23, 2,
  673.                                               ^
  674. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  675.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  676.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  677.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  678.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  679.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  680.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  681.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  682.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  683. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  684.  struct tm;
  685.         ^
  686. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  687.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  688.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  689.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  690.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  691.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  692.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  693. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:723:46: error: invalid use of incomplete type 'struct tm'
  694.      __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 1, 12, 2,
  695.                                               ^
  696. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  697.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  698.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  699.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  700.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  701.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  702.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  703.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  704.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  705. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  706.  struct tm;
  707.         ^
  708. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  709.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  710.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  711.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  712.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  713.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  714.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  715. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:731:11: error: invalid use of incomplete type 'struct tm'
  716.        __tm->tm_mon = __mem - 1;
  717.            ^
  718. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  719.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  720.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  721.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  722.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  723.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  724.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  725.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  726.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  727. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  728.  struct tm;
  729.         ^
  730. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  731.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  732.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  733.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  734.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  735.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  736.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  737. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:735:46: error: invalid use of incomplete type 'struct tm'
  738.      __beg = _M_extract_num(__beg, __end, __tm->tm_min, 0, 59, 2,
  739.                                               ^
  740. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  741.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  742.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  743.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  744.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  745.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  746.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  747.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  748.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  749. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  750.  struct tm;
  751.         ^
  752. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  753.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  754.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  755.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  756.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  757.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  758.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  759. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:757:46: error: invalid use of incomplete type 'struct tm'
  760.      __beg = _M_extract_num(__beg, __end, __tm->tm_sec, 0, 61, 2,
  761.                                               ^
  762. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  763.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  764.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  765.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  766.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  767.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  768.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  769.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  770.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  771. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  772.  struct tm;
  773.         ^
  774. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  775.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  776.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  777.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  778.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  779.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  780.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  781. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:799:11: error: invalid use of incomplete type 'struct tm'
  782.        __tm->tm_year = __mem < 0 ? __mem + 100 : __mem - 1900;
  783.            ^
  784. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  785.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  786.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  787.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  788.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  789.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  790.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  791.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  792.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  793. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  794.  struct tm;
  795.         ^
  796. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  797.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  798.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  799.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  800.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  801.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  802.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  803. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_weekday(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  804. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1085:6: error: invalid use of incomplete type 'struct tm'
  805.   __tm->tm_wday = __tmpwday;
  806.       ^
  807. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  808.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  809.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  810.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  811.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  812.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  813.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  814.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  815.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  816. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  817.  struct tm;
  818.         ^
  819. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  820.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  821.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  822.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  823.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  824.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  825.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  826. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_monthname(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  827. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1112:6: error: invalid use of incomplete type 'struct tm'
  828.   __tm->tm_mon = __tmpmon;
  829.       ^
  830. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  831.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  832.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  833.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  834.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  835.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  836.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  837.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  838.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  839. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  840.  struct tm;
  841.         ^
  842. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  843.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  844.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  845.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  846.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  847.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.h:29,
  848.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:21:
  849. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_year(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  850. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1135:6: error: invalid use of incomplete type 'struct tm'
  851.   __tm->tm_year = __tmpyear < 0 ? __tmpyear + 100 : __tmpyear - 1900;
  852.       ^
  853. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  854.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  855.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  856.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  857.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  858.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  859.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  860.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  861.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncEventSource.cpp:20:
  862. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  863.  struct tm;
  864.         ^
  865. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:39:0,
  866.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  867.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  868.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  869.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  870.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  871.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  872. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:64:11: error: '::clock' has not been declared
  873.    using ::clock;
  874.            ^
  875. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:65:11: error: '::difftime' has not been declared
  876.    using ::difftime;
  877.            ^
  878. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:66:11: error: '::mktime' has not been declared
  879.    using ::mktime;
  880.            ^
  881. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:67:11: error: '::time' has not been declared
  882.    using ::time;
  883.            ^
  884. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:68:11: error: '::asctime' has not been declared
  885.    using ::asctime;
  886.            ^
  887. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:69:11: error: '::ctime' has not been declared
  888.    using ::ctime;
  889.            ^
  890. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:70:11: error: '::gmtime' has not been declared
  891.    using ::gmtime;
  892.            ^
  893. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:71:11: error: '::localtime' has not been declared
  894.    using ::localtime;
  895.            ^
  896. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\ctime:72:11: error: '::strftime' has not been declared
  897.    using ::strftime;
  898.            ^
  899. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  900.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  901.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  902.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  903.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  904.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  905.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  906. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function '_InIter std::__cxx11::time_get<_CharT, _InIter>::_M_extract_via_format(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*, const _CharT*) const':
  907. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:662:47: error: invalid use of incomplete type 'struct tm'
  908.      __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days1,
  909.                                                ^
  910. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  911.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  912.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  913.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  914.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  915.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  916.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  917.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  918.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  919. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  920.  struct tm;
  921.         ^
  922. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  923.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  924.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  925.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  926.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  927.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  928.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  929. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:669:47: error: invalid use of incomplete type 'struct tm'
  930.      __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days2,
  931.                                                ^
  932. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  933.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  934.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  935.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  936.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  937.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  938.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  939.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  940.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  941. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  942.  struct tm;
  943.         ^
  944. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  945.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  946.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  947.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  948.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  949.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  950.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  951. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:677:47: error: invalid use of incomplete type 'struct tm'
  952.      __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
  953.                                                ^
  954. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  955.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  956.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  957.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  958.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  959.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  960.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  961.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  962.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  963. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  964.  struct tm;
  965.         ^
  966. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  967.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  968.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  969.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  970.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  971.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  972.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  973. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:684:47: error: invalid use of incomplete type 'struct tm'
  974.      __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
  975.                                                ^
  976. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  977.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  978.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  979.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  980.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  981.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  982.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  983.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  984.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  985. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  986.  struct tm;
  987.         ^
  988. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  989.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  990.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  991.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  992.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  993.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  994.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  995. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:696:46: error: invalid use of incomplete type 'struct tm'
  996.      __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 1, 31, 2,
  997.                                               ^
  998. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  999.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1000.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1001.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1002.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1003.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1004.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1005.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1006.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1007. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1008.  struct tm;
  1009.         ^
  1010. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1011.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1012.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1013.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1014.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1015.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1016.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1017. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:703:50: error: invalid use of incomplete type 'struct tm'
  1018.        __beg = _M_extract_num(++__beg, __end, __tm->tm_mday, 1, 9,
  1019.                                                   ^
  1020. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1021.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1022.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1023.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1024.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1025.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1026.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1027.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1028.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1029. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1030.  struct tm;
  1031.         ^
  1032. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1033.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1034.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1035.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1036.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1037.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1038.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1039. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:706:48: error: invalid use of incomplete type 'struct tm'
  1040.        __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 10, 31,
  1041.                                                 ^
  1042. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1043.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1044.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1045.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1046.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1047.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1048.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1049.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1050.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1051. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1052.  struct tm;
  1053.         ^
  1054. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1055.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1056.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1057.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1058.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1059.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1060.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1061. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:718:46: error: invalid use of incomplete type 'struct tm'
  1062.      __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 0, 23, 2,
  1063.                                               ^
  1064. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1065.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1066.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1067.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1068.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1069.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1070.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1071.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1072.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1073. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1074.  struct tm;
  1075.         ^
  1076. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1077.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1078.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1079.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1080.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1081.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1082.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1083. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:723:46: error: invalid use of incomplete type 'struct tm'
  1084.      __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 1, 12, 2,
  1085.                                               ^
  1086. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1087.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1088.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1089.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1090.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1091.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1092.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1093.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1094.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1095. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1096.  struct tm;
  1097.         ^
  1098. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1099.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1100.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1101.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1102.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1103.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1104.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1105. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:731:11: error: invalid use of incomplete type 'struct tm'
  1106.        __tm->tm_mon = __mem - 1;
  1107.            ^
  1108. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1109.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1110.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1111.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1112.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1113.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1114.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1115.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1116.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1117. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1118.  struct tm;
  1119.         ^
  1120. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1121.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1122.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1123.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1124.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1125.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1126.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1127. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:735:46: error: invalid use of incomplete type 'struct tm'
  1128.      __beg = _M_extract_num(__beg, __end, __tm->tm_min, 0, 59, 2,
  1129.                                               ^
  1130. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1131.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1132.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1133.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1134.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1135.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1136.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1137.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1138.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1139. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1140.  struct tm;
  1141.         ^
  1142. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1143.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1144.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1145.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1146.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1147.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1148.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1149. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:757:46: error: invalid use of incomplete type 'struct tm'
  1150.      __beg = _M_extract_num(__beg, __end, __tm->tm_sec, 0, 61, 2,
  1151.                                               ^
  1152. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1153.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1154.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1155.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1156.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1157.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1158.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1159.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1160.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1161. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1162.  struct tm;
  1163.         ^
  1164. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1165.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1166.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1167.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1168.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1169.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1170.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1171. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:799:11: error: invalid use of incomplete type 'struct tm'
  1172.        __tm->tm_year = __mem < 0 ? __mem + 100 : __mem - 1900;
  1173.            ^
  1174. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1175.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1176.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1177.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1178.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1179.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1180.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1181.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1182.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1183. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1184.  struct tm;
  1185.         ^
  1186. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1187.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1188.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1189.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1190.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1191.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1192.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1193. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_weekday(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  1194. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1085:6: error: invalid use of incomplete type 'struct tm'
  1195.   __tm->tm_wday = __tmpwday;
  1196.       ^
  1197. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1198.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1199.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1200.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1201.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1202.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1203.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1204.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1205.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1206. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1207.  struct tm;
  1208.         ^
  1209. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1210.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1211.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1212.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1213.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1214.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1215.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1216. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_monthname(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  1217. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1112:6: error: invalid use of incomplete type 'struct tm'
  1218.   __tm->tm_mon = __tmpmon;
  1219.       ^
  1220. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1221.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1222.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1223.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1224.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1225.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1226.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1227.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1228.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1229. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1230.  struct tm;
  1231.         ^
  1232. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.h:2013:0,
  1233.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\locale:41,
  1234.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\regex:45,
  1235.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/WebHandlerImpl.h:25,
  1236.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src/ESPAsyncWebServer.h:461,
  1237.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.h:32,
  1238.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:22:
  1239. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::time_get<_CharT, _InIter>::do_get_year(std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::__cxx11::time_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, tm*) const':
  1240. c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\locale_facets_nonio.tcc:1135:6: error: invalid use of incomplete type 'struct tm'
  1241.   __tm->tm_year = __tmpyear < 0 ? __tmpyear + 100 : __tmpyear - 1900;
  1242.       ^
  1243. In file included from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\cwchar:44:0,
  1244.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\postypes.h:40,
  1245.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\char_traits.h:40,
  1246.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\string:40,
  1247.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\random:40,
  1248.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algo.h:66,
  1249.                  from c:\users\torben\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\algorithm:62,
  1250.                  from C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142,
  1251.                  from .pio\libdeps\esp32dev\ESP Async WebServer\src\AsyncWebSocket.cpp:21:
  1252. C:\Users\Torben\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib/wchar.h:56:8: note: forward declaration of 'struct tm'
  1253.  struct tm;
  1254.         ^
  1255. *** [.pio\build\esp32dev\lib7e1\ESP Async WebServer\AsyncEventSource.cpp.o] Error 1
  1256. *** [.pio\build\esp32dev\lib7e1\ESP Async WebServer\AsyncWebSocket.cpp.o] Error 1
  1257. ========================= [FAILED] Took 12.46 seconds =========================
  1258.  
RAW Paste Data