Hi,
I'm getting this error when I tried to compile the program in Linux platform.
'error: array type has incomplete element type'
It works fine in AIX and was able to successfully compile, but not in Linux.
Here's a part of the code:
#ifdef MAIN_PROG
struct COMPETITOR competitor[MAX_SIZE];
struct COMPETITOR competitor_sav[MAX_SIZE];
.
.
.
#else
.
.
extern struct COMPETITOR competitor[];
extern struct COMPETITOR competitor_sav[];
#endif
Any input on this? Thanks.