我使用
u8 dag[50];
u8 *p_dag;
strcpy(p_dag,p); strcat(p_dag,ack); p和ack为传递来的指针,
函数时候出现警告信息如下:
..\CDMA\CDMA_MG323.c(46): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "char *restrict"
..\CDMA\CDMA_MG323.c(46): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *restrict"
..\CDMA\CDMA_MG323.c(47): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "char *restrict"
..\CDMA\CDMA_MG323.c(47): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *restrict"
..\CDMA\CDMA_MG323.c(49): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
什么意思?对程序有影响么?谢谢
|