标题: 解决last line of file ends without a newline问题 [打印本页]

作者: heicad    时间: 2014-5-16 14:41
标题: 解决last line of file ends without a newline问题


..\User\bsp_led.c(24): warning:  #1-D: last line of file ends without a newline

解决方法:

这句话的意思是:最后一行结束后应该再另起一行。主要就是在函数的大括号结束后再加一个回车换行就可以了。



作者: 单片机爱好者520    时间: 2015-9-18 21:21
我都空了十几行了他还是警告,我怀疑是编译器的问题




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1