A lot of "Semantic Error" when building on Eclipse



i’m trying to modify the firmware using the eclipse IDE on windows, but when I build the project I get a lot of semantics errors, but only on the opened files. For example if I build the project without any files opened i get 0 errors, but if i open the axis.cpp file (as seen in the screensot) i get a list of errors related to axis.cpp.

As anyone ever had this problem?


Looks like an IDE problem to me…

I personally compile using Visual Studio Code. Never failed me once.


Indeed, using Visual Studio Code I don’t have this problem anymore. Thank you!