|
Re: Java code getting g++/gcc errors in Eclipse from c++ scanner?
Case: Closed?
Debugging with an eclipse expert offline, it seems that:
1) I needed to delete the three dotfiles mentioned in my previous reply (this is ok because the project is entirely Java so the files were irrelevant, and
2) also needed to explicitly/manually delete the errors from the Problems tab (they were sticky, even across eclipse restarts)
The running theory is that hitting the RobotBuilder C++ button overlaid both Java and C++ code in the workspace, and re-importing the project into Eclipse happened before I had eliminated 100% of the C++ vestiges... so part of the system believed there was C++ code to parse, while the .project file for eclipse believed that it was purely a Java "Nature" once the remaining C++ files were removed.
Hopefully posting this solution will help anyone else who manages to accidentally paint themselves into a corner.
Now that I've gotten the paint washed off my shoes... back to getting the students ready for the season!
Cheers,
-Scott
|