CubeIDE doesn't compile C++ files
CubeIDE doesn't look for C++ files. Even worst, no matter that the main.c file has been marked for being excluded from the building, the tool always uses it.
Although I started the project as a C++ one, the tool didn't generate the corresponding main.cpp file, so I did it by hand.
Even worst (yes, things can get ugly pretty quickly) the IOC tool removes silently the "don't compile the main.c file because it's a C++ project" flag.
What can I do?
From the image below please note that the main.c file has been excluded but the compiler (right pane) is compiling it anyway. Also note that the file main.cpp isn't compiled. The functions MainApp() and Tick_IRQUserCallback() are located inside this file:

