Re: Editor parser shows errors following successful build
Editor parser and compiler parser are in fact two different things.
If a reparse (project tab > right click on your project name > Code Assistance > Reparse Project) did not help, the next step would be to clear the user cache. Open "Help > About" and check the path at "Cache directory". In Windows it should be something like:
(usually corresponding to %localappdata%\mplab_ide\Cache\dev )
First close MPLAB X and wait until it is fully closed. Then delete the complete var folder. After that restart MPLAB X and wait until the parser has done its job.
If it still does not go away, then the next step would probably be to check all the file and path settings in all of the project properties and also check if the compiler was added correctly to MPLAB X.
This only helps for some time, and often after a few days or hours the red lines reappear.
However, there are a few rare reports, where people did all of this, and it still did not help. But it is worth to search the forum for some other suggestions what could be wrong.