本文主要是介绍keil编译报错_sys_exit和_ttywrch,explicit type is missing (“int“ assumed),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
报错信息:
..\SYSTEM\usart\usart.c(64): error: #260-D: explicit type is missing ("int" assumed)
_sys_exit(int x)
..\SYSTEM\usart\usart.c(69): error: #260-D: explicit type is missing ("int" assumed)
_ttywrch(int ch)
原本代码:
_sys_exit(int x)
{
x = x;
}
_ttywrch(int ch)
{
ch=ch;
}
修改为:
void _sys_exit(int x)
{
x = x;
}
void _ttywrch(int ch)
{
ch=ch;
}
这篇关于keil编译报错_sys_exit和_ttywrch,explicit type is missing (“int“ assumed)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!