Board logo

标题: [求助] 编译有些警告,看不懂,那位高手指点下! [打印本页]

作者: donghegang    时间: 2006-6-30 17:08     标题: [求助] 编译有些警告,看不懂,那位高手指点下!

Warning : C1020: Incompatible type to previous declaration (found 'void *(*) (void (*)(void *),void *,unsigned char *,unsigned int )',
expected 'unsigned char *(*) (void (*)(void *),void *,unsigned char *,unsigned int )')


OS_CPU_C.C line 11  


C1440: This is causing previous message 1020


ucos_ii.h line 823  


Warning : C1825: Indirection to different types ('unsigned char *' instead of 'unsigned int *')


OS_CPU_C.C line 14  


Warning : C5917: Removed dead assignment


OS_CPU_C.C line 15  


Warning : C4200: Other segment than in previous declaration


OS_CPU_C.C line 40  


C12053: Stack-pointer change not in debugging-information


OS_CPU_C.C line 62  


Warning : C4200: Other segment than in previous declaration


OS_CPU_C.C line 81  


C12053: Stack-pointer change not in debugging-information


OS_CPU_C.C line 92  


C12053: Stack-pointer change not in debugging-information


OS_CPU_C.C line 114  


Warning : C5917: Removed dead assignment


OS_CPU_C.C line 173  


Warning : C5917: Removed dead assignment


OS_CPU_C.C line 192  


Warning : C5917: Removed dead assignment


OS_CPU_C.C line 268  


L1923: File G:\s12\S12\S12_Data\Simulator\ObjectCode\OS_FLAG.C.o has no DWARF debug info



L1923: File G:\s12\S12\S12_Data\Simulator\ObjectCode\OS_SEM.C.o has no DWARF debug info



L1923: File G:\s12\S12\S12_Data\Simulator\ObjectCode\OS_TASK.C.o has no DWARF debug info



L1923: File G:\s12\S12\S12_Data\Simulator\ObjectCode\OS_TIME.C.o has no DWARF debug info



L1923: File G:\s12\S12\S12_Data\Simulator\ObjectCode\OS_CORE.C.o has no DWARF debug info



L1923: File G:\s12\S12\S12_Data\Simulator\ObjectCode\OS_CPU_C.C.o has no DWARF debug info



 


作者: seuafu2005    时间: 2006-7-3 12:23

一下子帖这么多啊,C开头的警告有的是没有引用头文件,函数原型找不到,有的是定义有重复。

L1923是没有加入调试信息,你把对应的C文件后的最后一栏有个绿色小甲虫的地方点上黑点




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0