摘要: 常见此类问题的原因如下(引)错误:test.c:22: error: conflicting types for 'urlencode'test.c:18: error: previous implicit declaration of 'urlencode' was here原因一:原来是因为没有先做函数声明,而函数位于main()之后。在main函数前声明了函数原型后,一切ok.原因二:头文件的被循环引用,在引用时考虑清楚包含顺序原因三:头文件声明和定义参数稍有不同例:头文件中声明 voidHanlder(const char * buf);在定义时写作 v 阅读全文
posted @ 2012-11-13 22:43 Moonwolf 阅读(1864) 评论(0) 推荐(0) 编辑