Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » c++ eclipse wrong error interpretation
c++ eclipse wrong error interpretation [message #893911] Fri, 06 July 2012 01:13 Go to next message
juno user is currently offline juno user
Messages: 5
Registered: July 2012
Junior Member
I'm having a problem with eclipse C++. My project compiles and runs 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 think this is all part of the same issue.

What can I do to make eclipse stop telling me about these errors?
Re: c++ eclipse wrong error interpretation [message #893945 is a reply to message #893911] Fri, 06 July 2012 07:17 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1963
Registered: July 2009
Senior Member
It seems the internal indexer cannot resolve many symbols because of missing includes.
Which platform and toolchain do you use?
Do you let Eclipse create the Makefiles or do you use your own?


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: c++ eclipse wrong error interpretation [message #894153 is a reply to message #893945] Sat, 07 July 2012 00:24 Go to previous message
juno user is currently offline juno user
Messages: 5
Registered: July 2012
Junior Member
Just rebuilding the index worked. I didn't know how to do this. Thanks problem solved
Previous Topic:Qustions on CDT not answered on #eclipse
Next Topic:Is it possible to debug a GPU code with Eclipse ?
Goto Forum:
  


Current Time: Wed Oct 22 15:45:05 GMT 2014

Powered by FUDForum. Page generated in 0.12531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software