2026-02-10 2:53 AM - edited 2026-02-10 9:20 AM
Dear Community,
I have a general question. I wanted to use C++ classes in SPC5 Studio to get a cleaner project structure.
For this, I changed main.c to main.cpp and included the C headers using extern "C". I also enabled the C++ linker in the Platform Component RLA.
The project builds without any issues, but the parsing errors in the editor are extremely annoying. A lot of the code is marked in red even though it compiles fine.
Does anyone know what setting I need to adjust to get rid of all these unresolved reference errors in the parser (i presume...)?
Kind regards,
TKorn
Solved! Go to Solution.
2026-02-13 7:00 AM
Hello Tkorn ,
It is a CDT Issue .. i recommend to index with Gcc power-pc vle in plugins directories (gcc powerpc vle section)
or ignore the errors in Errors section
it is not so easy comparing vscode.
Best Regards
Erwan
2026-02-10 9:21 AM
Hello again,
I managed to find the problem, it is the indexing.
Unfortunately i didn't manage to solve to problem.
Can anyone help?
Kind regards
TKorn
2026-02-12 11:55 PM
Hello, can anybody help?
2026-02-13 7:00 AM
Hello Tkorn ,
It is a CDT Issue .. i recommend to index with Gcc power-pc vle in plugins directories (gcc powerpc vle section)
or ignore the errors in Errors section
it is not so easy comparing vscode.
Best Regards
Erwan
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.