I received a big embedded codebase that I have to get comfortable with. I started using Eclipse for C/C++ Developers (Oxygen release 4.7.0) a couple days ago.
I am getting the following types of false error (the code compiles with the prehistoric compiler Softune Workbench):
This line of code intends to define a pointer named wRecData
of type __far result_data_headerW
. As far as I know __far
keyword is used to access the external ram here. Although Eclipse can't resolve __far
(this is why it is underlined red) it still thinks it is a type and result_data_headerW
is the name of a local variable and the rest of the line is garbage.
How could I make Eclipse recognize that __far
is part of the type and not the type itself?