warning: incompatible implicit declaration of built-in function ‘malloc’
warning: incompatible implicit declaration of built-in function ‘bzero’
warning: incompatible implicit declaration of built-in function ‘strncpy ’
warning: incompatible implicit declaration of built-in function ‘strlen’
解决办法:
加入头文件即可
#include<stdlib.h>
#include<string.h>
解决warning: incompatible implicit declaration of built-in function 'malloc',布布扣,bubuko.com
解决warning: incompatible implicit declaration of built-in function 'malloc'
原文:http://blog.csdn.net/yuesichiu/article/details/38319295