Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Compilation successful, but errors anyway
Compilation successful, but errors anyway [message #882463] Wed, 06 June 2012 14:02 Go to next message
Robert Ty is currently offline Robert TyFriend
Messages: 20
Registered: June 2012
Junior Member
Hi,

I recently switched from Eclipse Ganymed and WINARM to Eclipse Idigo
(Build ID 20120216-1857) and Codesourcery Lite 4.6.1.

To start with these new tools I got a working project and it seems to
be compiled correctly. At least the CONSOLE area tells me "Build finished",
there are no errors messages there and I'm getting an .elf file as the
result.

Nevertheless , I'm also getting hundreds of errors in the PROBLEM area.

The errors are mostly like "Type 'DWORD' could not be resolved" . However, DWORD
for example ,is defined in an include file which is available , included
and NOT marked as unresolved.

I have the impression, after starting Eclipse and after an instantly performed
build process, the errors are not visible. After a while however, suddenly
the errors appear. I never noticed this behavior with Ganymede and WINARM.

I assume it's a problem with Eclipse and not with Codesourcery .

Can anybody advice how to fix it, please ?

(the picture illustrates the issue)

Thanks

Robert
  • Attachment: E.jpg
    (Size: 278.38KB, Downloaded 209 times)

[Updated on: Thu, 07 June 2012 11:43]

Report message to a moderator

Re: Compilation successful, but errors anyway [message #884957 is a reply to message #882463] Tue, 12 June 2012 07:06 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
This are error markers from the Eclipse code analyzer CODAN. It was activated by default in the Indigo release. CODAN depends on a proper index i.e. your project must be set up to have all includes and preprocesser symbols (see Project Properties->C/C++ General->Paths and Symbols).


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Compilation successful, but errors anyway [message #885797 is a reply to message #884957] Wed, 13 June 2012 16:04 Go to previous messageGo to next message
Robert Ty is currently offline Robert TyFriend
Messages: 20
Registered: June 2012
Junior Member
Thanks for this information.

Can I switch CODAN off ?

It confuses me totally.

Thanks a lot

Robert

[Updated on: Wed, 13 June 2012 17:46]

Report message to a moderator

Re: Compilation successful, but errors anyway [message #886103 is a reply to message #885797] Thu, 14 June 2012 08:49 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Robert Ty wrote on Wed, 13 June 2012 18:04
Thanks for this information.

Can I switch CODAN off ?

It confuses me totally.

Thanks a lot

Robert

Yes.
Project Properties->C/C++ General->Code Analysis->Launching
disable both checkboxes


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Compilation successful, but errors anyway [message #886234 is a reply to message #886103] Thu, 14 June 2012 13:49 Go to previous message
Robert Ty is currently offline Robert TyFriend
Messages: 20
Registered: June 2012
Junior Member
Great, thank you very much.

All errors have gone Smile !

Regards

Robert
Previous Topic:backward compatibility of CDT8 IBuilder?
Next Topic:Integrating intel compiler xe 12 with indigo cdt 8.0.2
Goto Forum:
  


Current Time: Fri Apr 19 01:12:31 GMT 2024

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

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

Back to the top