Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CODAN problems "semantic error"
CODAN problems "semantic error" [message #964093] Tue, 30 October 2012 08:54
Han Hoekstra is currently offline Han HoekstraFriend
Messages: 5
Registered: July 2009
Location: The Netherlands
Junior Member
Hello all,

I am running the code analysis on my project and it reports a large number of 'semantic errors' in the problem view, but when I click on the problem, it opens the file to the correct location, but all the errors reported in that file are gone. And all reported errors are 'semantic errors'.

The problem description is: Field 'AckQueue' could not be resolved
The code line is: return (dle_DLEInstances [InstanceID].AckQueue);
In the project, we use a lot of #ifdef's for conditional compilation, because the code is used in lot of different projects and can be configured by setting different compiler defines.

The project is compiling correctly using avr-gcc and it also runs perfectly on the target processor, so the code should be correct.

Don't know if this is a bug in CODAN or that there is a setting that I have not set correctly, so any help would be welcome.

Previous Topic:CODAN detect in source code
Next Topic:CODAN warning: Unused declaration of variable 'pxCurrentTCB'
Goto Forum:

Current Time: Tue Jun 19 07:09:01 GMT 2018

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

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

Back to the top