|CODAN problems "semantic error" [message #964093]
||Tue, 30 October 2012 08:54
| Han Hoekstra
Registered: July 2009
Location: The Netherlands
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.
Powered by FUDForum
. Page generated in 0.05163 seconds