Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » C/C++ Static Code analysis - 3.2.1
C/C++ Static Code analysis - 3.2.1 [message #96499] Fri, 20 April 2007 10:37 Go to next message
Rekha Bhintade is currently offline Rekha BhintadeFriend
Messages: 16
Registered: July 2009
Junior Member
Hi All,

I am using Eclipse 3.2.1, CDT 3.1.1, EMF 2.2.1 and TPTP 4.3.0 with C/C++
static analysis 4.3.0.
I am able to get the result for violations in C++ code.
The same simple violations like ‘multiple variables in single statement’
are not reported in the analysis for the C code. The only result I am
getting is a single violation of Pre-processor when I use stdio.h instead
of iostream functions.
The same problem observed on 4.2.0.2 TPTP version
( http://dev.eclipse.org/newslists/news.eclipse.tptp/msg02679. html).
Has anybody seen the same behavior on 4.3.0?

Regards,
Rekha
Re: C/C++ Static Code analysis - 3.2.1 [message #96615 is a reply to message #96499] Mon, 23 April 2007 00:53 Go to previous message
Eclipse UserFriend
Originally posted by: s_gutz.ca.ibm.com

The C++ analysis provider uses CDT exclusively. As such we are at the
mercy of CDT's limitations - it doesn't seem to handle C++ and C in the
same way. This is one of the reasons why the C++ code review is still
in tech preview.



Rekha wrote:
> Hi All,
>
> I am using Eclipse 3.2.1, CDT 3.1.1, EMF 2.2.1 and TPTP 4.3.0 with C/C++
> static analysis 4.3.0.
> I am able to get the result for violations in C++ code.
> The same simple violations like �multiple variables in single statement�
> are not reported in the analysis for the C code. The only result I am
> getting is a single violation of Pre-processor when I use stdio.h
> instead of iostream functions.
> The same problem observed on 4.2.0.2 TPTP version
> ( http://dev.eclipse.org/newslists/news.eclipse.tptp/msg02679. html).
> Has anybody seen the same behavior on 4.3.0?
> Regards,
> Rekha
>
Previous Topic:Starting the Agent for Profiling?
Next Topic:configuring agent controller to launch a particular agent on startup
Goto Forum:
  


Current Time: Thu Mar 28 09:50:19 GMT 2024

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

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

Back to the top