Error : unknown type name 'class'
Hello,
I am migrating from Arduino to CubeIDE looking to have better IDE and better performance code. Migration was rather challenging but managed to go ahead. Still there is one new issue I have.
I created a C++ project using CubeMX but I get this error and others related to classes. Even I create C++ project the main file still has .C extention. To resolve I tried:
- Change main.c file extension to cpp
- Used File->New->Convert to C/C++
Still the error remains.
I expect is a newbie question, I am sorry. Could anyone help?
Thanks