Question
My STM32CubeIDE project does not compile C++ files.
Hi,
I have a STM32CubeIDE project and as far as I remember I checked the C++ box.
But when adding .cpp and .hpp files with a class definition, I get the message:
error: unknown type name 'class'
So it seems the compiler does not compile as C++.
How can I correct this?