compiling main.c...
main.c(253): warning: #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
res=mf_open((char *)spr_name,FA_READ);//只读打开
main.c(447): warning: #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(448): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
ai_load_picfile(spr_buf,60,100,150,250,1); //显示图片1
main.c(461): warning: #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(462): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
ai_load_picfile(spr_buf,280,100,150,250,1);
main.c(477): warning: #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(478): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
ai_load_picfile(spr_buf,60,450,150,250,1);//显示图片3
main.c(492): warning: #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(493): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
ai_load_picfile(spr_buf,280,450,150,250,1);//显示图片4
main.c(702): warning: #940-D: missing return statement at end of non-void function "lcd_dis_files"
}
main.c(959): warning: #170-D: pointer points outside of underlying object
if(strncmp(txt_pathname[key-1]-4+strlen(txt_pathname[key-1]),".txt",4)==0)
main.c(1007): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
if(strcmp(path,txt_path_name[ i])==0)
main.c(1007): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
if(strcmp(path,txt_path_name[ i])==0)
main.c(1011): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "char *restrict"
strcpy(txt_path_name[j],txt_path_name[j+1]);
main.c(1011): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *restrict"
strcpy(txt_path_name[j],txt_path_name[j+1])
|