Log in

View Full Version : Eclipse highlighting non errors


JohnGaby
19-01-2015, 10:57
I am finding that the syntax checker in eclipse is highlighting errors that do not exist when I compile. For example if I declare a 'Talon', eclipse tells me:

- The type 'Talon' must implement the inherited pure virtual method
'ITableListener::ValueChanged'
- The type 'Talon' must implement the inherited pure virtual method 'SpeedController::Set'

However when I compile, these errors are not actually present. If I delete all of the errors from 'Problems' window, and rebuild, the spurious errors do not re-appear. However if I make any change to the file, they come back.

Needless to say this is quite confusing when trying to fix real syntax errors. Does anyone know why this is happening?

Thanks.

RushAHead
19-01-2015, 11:22
Try right-clicking on the project and selecting Index->Rebuild from the context menu.

JohnGaby
19-01-2015, 12:01
Thanks for the quick response, that seemed to fix it.