This is a simplification of my situation:
header.h
#DEFINE NUMBER 3
extern char reserved[][];
definer.c
char reserved[NUMBER][4] = {"WOW","LOL","K"}
sign.c
#include "header.h"
void theFunctionWithTheError{
if (reserved[1] == "I love stackoverflow"){ /**THE LINE OF THE ERROR*/
return;
}
}
in sign.c, I get the error Expression must be a pointer to a complete object type
for the word reserved
What do you suggest me to do?