用iar编程时void PIDInit (PID *pp) {
memset(pp,0,sizeof(PID));
} 运行时会出现
Warning[Pe223]: function "memset" declared implicitly F:\msp430 程序\pwm占空比\pwm.c 73
当我在头文件.h中添加extern void memset(); 运行的警告是Warning[w6]: Type conflict for external/entry "memset", in module pwm against external/entry in module ?memset; prototyped function vs K&R function
这样会不会影响最后结果,要是能解决的话,怎么解决?