cancel
Showing results for 
Search instead for 
Did you mean: 

Unresolved includes for C++ CDT standard includes IE <list> <map> etc.

MattyB
Associate II

I am using the STM32H745 series MCU, with the latest (or very recent, at least) version of CUBE IDE.

I'm having difficulty getting past errors for including CDT list, map etc

IE #include <list> ... doesn't include C++ CDT list and results in errors

Are there any compiler settings, to force inclusion of the full C++ CDT?

Or any middleware/ 3rd party STM32 forks, that I can use?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

In project settings -> MCU settings, you can choose the C++ library.

TDK_0-1692282963917.png

Although <list> compiles fine for me with nano, so not sure what would be different.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
TDK
Guru

In project settings -> MCU settings, you can choose the C++ library.

TDK_0-1692282963917.png

Although <list> compiles fine for me with nano, so not sure what would be different.

If you feel a post has answered your question, please click "Accept as Solution".
MattyB
Associate II

Reduced C, standard C++ switch, seems to have taken 190 'unfixable' errors down to 35 'fixable' ones

MattyB
Associate II

Thanks