Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Compilation successful, but errors anyway
Compilation successful, but errors anyway [message #882463] Wed, 06 June 2012 10:02 Go to next message
Eclipse UserFriend
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 242 times)

[Updated on: Thu, 07 June 2012 07:43] by Moderator

Re: Compilation successful, but errors anyway [message #884957 is a reply to message #882463] Tue, 12 June 2012 03:06 Go to previous messageGo to next message
Eclipse UserFriend
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).
Re: Compilation successful, but errors anyway [message #885797 is a reply to message #884957] Wed, 13 June 2012 12:04 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for this information.

Can I switch CODAN off ?

It confuses me totally.

Thanks a lot

Robert

[Updated on: Wed, 13 June 2012 13:46] by Moderator

Re: Compilation successful, but errors anyway [message #886103 is a reply to message #885797] Thu, 14 June 2012 04:49 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Compilation successful, but errors anyway [message #886234 is a reply to message #886103] Thu, 14 June 2012 09:49 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 23:43:42 EDT 2025

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

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

Back to the top