MINGW issues: to_string is not a member of std
Posted: Tue Apr 23, 2019 4:04 pm
I am attempting to port some C++ code and test cases onto the ESP32.
The first error is 'to_string' is not a member of 'std'
A fix is described here: https://stackoverflow.com/questions/129 ... ys-g-mingw
EDIT: although I cannot find the relevant include directory.
I am also getting:
2) 'stack_t' does not name a type
3) 'MINSIGSTKSZ' was not declared in this scope
4) error: 'SA_ONSTACK' was not declared in this scope
5) error: no matching function for call to 'sigaction::sigaction(int&, sigaction*, sigaction*)
etc
So a few POSIX style issues.
Is there a better/more up to date MINGW which I can use with the IDF?
Applying patch after patch is ok until something breaks! Better to get an up to date version.
The first error is 'to_string' is not a member of 'std'
A fix is described here: https://stackoverflow.com/questions/129 ... ys-g-mingw
EDIT: although I cannot find the relevant include directory.
I am also getting:
2) 'stack_t' does not name a type
3) 'MINSIGSTKSZ' was not declared in this scope
4) error: 'SA_ONSTACK' was not declared in this scope
5) error: no matching function for call to 'sigaction::sigaction(int&, sigaction*, sigaction*)
etc
So a few POSIX style issues.
Is there a better/more up to date MINGW which I can use with the IDF?
Applying patch after patch is ok until something breaks! Better to get an up to date version.