Since I upgraded from Eclipse Indigo to Juno (on Ubuntu 12.04), I\'ve been having the problem where it shows \"unresolved inclusion\" errors for standard libraries (e.g. next to
Please
Afterwards eclipse should request the defaults again from the compiler.
On Arch Linux I had to do this after each GCC version change, because in that case the locations for the defaults changed as the version is encoded in the folder name, and eclipse does not notice this.
FWIW:
I found that after importing a project from another computer, I was not getting any thing showing up under the "Includes" section of my project in the Project Explorer. To fix this, I needed to delete the folder /workspace/project/.settings/
. For me it only had one file (language.settings.xml
).
Then everything was back to normal.