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 04:54
Han Hoekstra is currently offline Han Hoekstra
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.

Greetings,
Han
Previous Topic:Unable to create variable object
Next Topic:CODAN warning: Unused declaration of variable 'pxCurrentTCB'
Goto Forum:
  


Current Time: Fri Jul 25 12:16:38 EDT 2014

Powered by FUDForum. Page generated in 0.01720 seconds