esp32-c3 compile time error
Posted: Mon Jun 21, 2021 6:24 pm
I am getting the following error code when I compile our code using the esp32c3 cmake file:
.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\riscv32-esp-elf\include\c++\8.4.0\cstdlib:232:11: error: '::strtold' has not been declared
using ::strtold;
My code has a combination of .c & .c++ files. The above error message shows up in all the files. I am using IDF v4.3(stable released version). I am already doing the foll. in my code:
#ifdef __cplusplus
extern "C"
{
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include
}
#endif
Any thoughts on how to resolve this error?
.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\riscv32-esp-elf\include\c++\8.4.0\cstdlib:232:11: error: '::strtold' has not been declared
using ::strtold;
My code has a combination of .c & .c++ files. The above error message shows up in all the files. I am using IDF v4.3(stable released version). I am already doing the foll. in my code:
#ifdef __cplusplus
extern "C"
{
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include
}
#endif
Any thoughts on how to resolve this error?