Summarizing the gcc errors I encountered, to be continued...
1. "dereferencing pointer to incomplete type"
You have written something like
struct node *list;
without ever defining "struct node". That is valid, but it is not valid to use
list->next;
without defining struct type.
ie. You probably missed a "struct node" definition in your .h file.
1. "dereferencing pointer to incomplete type"
You have written something like
struct node *list;
without ever defining "struct node". That is valid, but it is not valid to use
list->next;
without defining struct type.
ie. You probably missed a "struct node" definition in your .h file.