Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse C++ Static Analysis
Eclipse C++ Static Analysis [message #988385] Thu, 29 November 2012 12:05 Go to next message
Eclipse UserFriend
Hi
I have just updated to Eclipse Juno
When I execute C/C++ Code Analysis on my project it reports many errors(100's) that were not reported under Indigo. The reported errors are false.
If I run eclipse and pass -vmargs -Xmx1024M to increase the heap size of the jvm the number of errors is dramatically reduced.

Has anyone else experienced this or can anyone suggest what is going on?

Thanks

Re: Eclipse C++ Static Analysis [message #988405 is a reply to message #988385] Thu, 29 November 2012 13:53 Go to previous messageGo to next message
Eclipse UserFriend
You can go into Preferences->C/C++->Code analysis and turn off some of the type of errors. Doing that you can try to figure out what is causing the problem. For example, if you have CUTE installed, the version is not updated for Juno and its Code Analysis rules fail.

You can also look in <workspace>/.metada/.log for any exceptions or messages that may be related to the problem.

Marc
Re: Eclipse C++ Static Analysis [message #988496 is a reply to message #988405] Fri, 30 November 2012 04:18 Go to previous messageGo to next message
Eclipse UserFriend
Hi
Thanks for the reply.
I'm relatively new to Eclipse and looking at the .log file there are a number of problems reported but I don't know if they are important or relevant.
I have attached the .log file and would be grateful if you could take a look and let me know if it looks ok.

Once again thanks for your time

Graham

  • Attachment: .log
    (Size: 67.41KB, Downloaded 217 times)
Re: Eclipse C++ Static Analysis [message #988585 is a reply to message #988496] Fri, 30 November 2012 10:35 Go to previous messageGo to next message
Eclipse UserFriend
No error jumps out at me. The exceptions I got when I used CUTE are not present in your file, so it is not the same problem. But you can still try to disable some of the checkers in Preferences->C/C++->Code analysis and see if it helps

Marc
Re: Eclipse C++ Static Analysis [message #988586 is a reply to message #988585] Fri, 30 November 2012 10:38 Go to previous message
Eclipse UserFriend
Thanks anyway
Previous Topic:Juno CDT launching failed
Next Topic:[Windows 8] Projects aren't visible.
Goto Forum:
  


Current Time: Fri Jul 25 18:40:29 EDT 2025

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

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

Back to the top