Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] C/C++ Code Analysis

Hi,

I am using Eclipse SDK 3.3, CDT 4.0 and TPTP 4.4 releases.

It looks like there is a problem in the way TPTP is using a CDT API.
When I launch a static analysis on my C/C++ project, I get no result,
even if I know there are "faults" in my code.

The log displays the following error:

!ENTRY org.eclipse.tptp.platform.analysis.core 4 4 2007-07-03 09:14:26.560
!MESSAGE Provider failure: Code Review for C/C++
!STACK 0
java.lang.UnsupportedOperationException
       at org.eclipse.cdt.core.model.AbstractLanguage.getASTTranslationUnit(AbstractLanguage.java:45)
       at org.eclipse.tptp.platform.analysis.codereview.cpp.CodeReviewResource.<init>(CodeReviewResource.java:58)
       at org.eclipse.tptp.platform.analysis.codereview.cpp.CodeReviewProvider.analyze(CodeReviewProvider.java:74)
       at org.eclipse.tptp.platform.analysis.core.manager.AnalysisProviderManager$1.run(AnalysisProviderManager.java:210)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Any work around?

/Olivier
Ericsson, Sweden


Back to the top