解决编译过程中的strcpy/malloc/strlen incompatible警告
Posted on 2011-04-04 10:50 Roger Luo 阅读(319) 评论(0) 收藏 举报使用strcpy/malloc/strlen出现如下警告的时候
warning: incompatible implicit declaration of built-in function ‘strcpy’
可以通过在源文件中加入如下头文件解决
#include <string.h>
|
|||
解决编译过程中的strcpy/malloc/strlen incompatible警告Posted on 2011-04-04 10:50 Roger Luo 阅读(319) 评论(0) 收藏 举报使用strcpy/malloc/strlen出现如下警告的时候 warning: incompatible implicit declaration of built-in function ‘strcpy’ #include <string.h>
|
|||