3 months, 1 week ago.

Is there option for using standart C++ library?

I want to use strings and arrays in my project, how should I add them? I tried use

  1. include <string> , but had got a lot of strange issues. I'm using SW4STM32.


So it compiles if you do not include <string>? You might want to check GCC compiler version. It's possible System Workbench is using new compiler that is not compatible. Looks like at least up to GCC 6 should be okay with mbed 5.5 onward. It looks like you are maybe invoking GCC 7. Download new compiler version and then point project at it: Properties->C/C++ Build->Settings->MCU Settings->Path

posted by Graham S. 16 Mar 2019
Comment on this question

1 Answer

3 months, 1 week ago.

Hi Igor, just implement the "C" getpid() function, maybe this fixes it. Regards Helmut

To post an answer, please log in.