eclipse c++ build error
===

I'm having a problem with eclipse C++ juno. My project compiles and runs from command line but eclipse (juno) keeps saying there are thousands of errors. For example there's a function SetRun in my code, and eclipse mentions this error: "called Invalid arguments 'Candidates are: void SetRun(?)'", whereas SetRun is of type static void SetRun (uint32_t run);

I have quite a lot of similar errors like that, where eclipse doesn't seem to understand the type of the function and puts a '?' instead.

I also have many errors like this: "symbol '*' could not be resolved."

I also have many includes that can't be resolved, although they are resolved just fine by the compiler.

I think this is all part of the same issue.

I should also note that I had this working with eclipse previously, but now everytime I open eclipse it appears that way.

If I build the project from eclipse, it build successfully.

I tried updating the index but it didn't change a thing.

What can I do to make eclipse stop telling me about these errors?

edit:

here is an example of a include that is not resolved:

#include "ns3/core-module.h"