KEIL warning: #1-D: last line of file ends without a newline

 

.c(49): warning:  #1-D: last line of file ends without a newline

 

最后一行回车后还要保证是在第一列,新一行不能有空格等空字符才能不出此警告

 

这是KEIL的bug:

需要代码文件的最后两行为空行,并且没有空格。

 

posted @ 2021-03-01 16:49  emanlee  阅读(1556)  评论(0编辑  收藏  举报