Und…
^~~~~~~~
src/Mqtt.cpp: At global scope:
src/Mqtt.cpp:296:6: warning: ‚void Mqtt_ClientCallback(const char*, const byte*, uint32_t)‘ defined but not used [-Wunused-function]
void Mqtt_ClientCallback(const char *topic, const byte *payload, uint32_t length) {
^~~~~~~~~~~~~~~~~~~
src/Mqtt.cpp:213:6: warning: ‚bool Mqtt_Reconnect()‘ defined but not used [-Wunused-function]
bool Mqtt_Reconnect() {
^~~~~~~~~~~~~~
src/Mqtt.cpp:197:6: warning: ‚void Mqtt_PostHeartbeatViaMqtt()‘ defined but not used [-Wunused-function]
void Mqtt_PostHeartbeatViaMqtt(void) {
^~~~~~~~~~~~~~~~~~~~~~~~~
src/Mqtt.cpp:182:6: warning: ‚void Mqtt_PostWiFiRssi()‘ defined but not used [-Wunused-function]
void Mqtt_PostWiFiRssi(void) {
^~~~~~~~~~~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: note: suggested alternative: ‚pthread_mutex_trylock‘
*** [.pio\build\lolin_d32_pro_sdmmc_pe\src\Mqtt.cpp.o] Error 1
*** [.pio\build\lolin_d32_pro_sdmmc_pe\src\Led.cpp.o] Error 1
In file included from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr.h:151,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext\atomicity.h:35,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\memory:73,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.h:24,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.cpp:21:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h: In function ‚int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)‘:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: error: ‚pthread_mutex_timedlock‘ was not declared in this scope
return _gthrw(pthread_mutex_timedlock) (__mutex, __abs_timeout);
^~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: note: suggested alternative: ‚pthread_mutex_trylock‘
In file included from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr.h:151,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext\atomicity.h:35,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\basic_string.h:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\string:52,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\array:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\tuple:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\functional:54,
from C:/Users/Geert/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:28,
from C:/Users/Geert/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
from C:/Users/Geert/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
from src/Wlan.cpp:2:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h: In function ‚int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)‘:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: error: ‚pthread_mutex_timedlock‘ was not declared in this scope
return _gthrw(pthread_mutex_timedlock) (__mutex, __abs_timeout);
^~~~~~~~
In file included from src/Web.cpp:30:
src/HTMLaccesspoint_DE.h:1:64: warning: backslash-newline at end of file
static const char accesspoint_HTML[] PROGMEM = "\
In file included from src/Web.cpp:31:
src/HTMLmanagement_DE.h:1:63: warning: backslash-newline at end of file
static const char management_HTML[] PROGMEM = "\
*** [.pio\build\lolin_d32_pro_sdmmc_pe\src\System.cpp.o] Error 1
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: note: suggested alternative: ‚pthread_mutex_trylock‘
In file included from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\cstdlib:75,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext\string_conversions.h:41,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\basic_string.h:6400,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\string:52,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\array:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\tuple:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\unique_ptr.h:37,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\memory:80,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.h:24,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.cpp:21:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h: At global scope:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:94:44: error: expected initializer before ‚__result_use_check‘
void *calloc(size_t, size_t) __malloc_like __result_use_check
^~~~~~~~~~~~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:112:36: error: expected initializer before ‚__result_use_check‘
void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1) _NOTHROW;
^~~~~~~~~~~~~~~~~~
In file included from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\cstdlib:75,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext\string_conversions.h:41,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\basic_string.h:6400,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\string:52,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\array:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\tuple:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\unique_ptr.h:37,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\memory:80,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.h:24,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.cpp:21:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:157:31: error: expected initializer before ‚__result_use_check‘
void *realloc(void *, size_t) __result_use_check __alloc_size(2) _NOTHROW;
^~~~~~~~~~~~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:159:44: error: expected initializer before ‚__result_use_check‘
void *reallocarray(void *, size_t, size_t) __result_use_check __alloc_size2(2, 3);
^~~~~~~~~~~~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:160:32: error: expected initializer before ‚__result_use_check‘
void reallocf(void , size_t) __result_use_check __alloc_size(2);
^~~~~~~~~~~~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:301:6: error: expected initializer before ‚__result_use_check‘
__result_use_check;
^~~~~~~~~~~~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\sys-include\stdlib.h:344:52: error: expected initializer before ‚__alloc_align‘
void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
^~~~~~~~~~~~~
In file included from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext\string_conversions.h:41,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\basic_string.h:6400,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\string:52,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\array:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\tuple:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\unique_ptr.h:37,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\memory:80,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.h:24,
from C:\Users\Geert.platformio\packages\framework-arduinoespressif32\libraries\FS\src\FS.cpp:21:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\cstdlib:144:11: error: ‚::calloc‘ has not been declared
using ::calloc;
^~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\cstdlib:151:11: error: ‚::malloc‘ has not been declared
using ::malloc;
^~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\cstdlib:164:11: error: ‚::realloc‘ has not been declared
using ::realloc;
^~~~~~~
*** [.pio\build\lolin_d32_pro_sdmmc_pe\src\main.cpp.o] Error 1
In file included from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr.h:151,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\ext\atomicity.h:35,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits\basic_string.h:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\string:52,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\array:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\tuple:39,
from c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\functional:54,
from C:/Users/Geert/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:28,
from C:/Users/Geert/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
from C:/Users/Geert/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
from src/Web.cpp:2:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t, const __gthread_time_t)’:
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: error: ‚pthread_mutex_timedlock‘ was not declared in this scope
return _gthrw(pthread_mutex_timedlock) (__mutex, __abs_timeout);
^~~~~~~~
c:\users\geert.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\gthr-default.h:781:12: note: suggested alternative: ‚pthread_mutex_trylock‘
*** [.pio\build\lolin_d32_pro_sdmmc_pe\src\Wlan.cpp.o] Error 1
*** [.pio\build\lolin_d32_pro_sdmmc_pe\lib9c0\FS\FS.cpp.o] Error 1
*** [.pio\build\lolin_d32_pro_sdmmc_pe\src\Web.cpp.o] Error 1
============================================================================================================= [FAILED] Took 2.93 seconds =============================================================================================================
Environment Status Duration
lolin_d32_pro_sdmmc_pe FAILED 00:00:02.928
======================================================================================================== 1 failed, 0 succeeded in 00:00:02.928 ========================================================================================================
The terminal process „C:\Users\Geert.platformio\penv\Scripts\platformio.exe ‚run‘, ‚–environment‘, ‚lolin_d32_pro_sdmmc_pe‘“ terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.