sirkay777

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
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.
posted on 2009-03-11 09:42  Sir. Kay  阅读(160)  评论(0编辑  收藏  举报