KIEL编译程序中的KEIL与ERROR

Posted 旭日初扬

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了KIEL编译程序中的KEIL与ERROR相关的知识,希望对你有一定的参考价值。

一、警告#260-D

..\\source\\uart.c(17): warning:  #260-D: explicit type is missing ("int" assumed)

_sys_exit(int x)   

修改后

void  _sys_exit(int x)

二、warning:  #940-D

..\\source\\uart.c(221): warning:  #940-D: missing return statement at end of non-void function "GetValue" 

非空函数末尾缺少返回语句

unsigned char GetValue()

修改

extern void GetValue(void)

以上是关于KIEL编译程序中的KEIL与ERROR的主要内容,如果未能解决你的问题,请参考以下文章