Hi,
my project includes a simple C file with a header. Like this:
#ifndef __IMAGE_ARRAY_3D
#define __IMAGE_ARRAY_3D
typedef struct ImageArray3D {
double *data; // The image data
LargeElement *largestElements; // c * nLargestElements
int c, w, h, nLargestElements;
} tImageArray3D; // Error points to here
...
#endif
When I run XCode's static analyzer, I get the following error:
Analyzer skipped this file due to parse errors
redefinition of 'ImageArray3D' as different kind of symbol
What is the cause of this?