标签:
Warning
在自己的应用程序编译的时候,经常会出现这样一个警告Warning: no newline at end of file
这是什么原因呢?在网上看到解释是
EDK 7.1 includes the GCC 3.4.3 compiler, which is stricter while compiling C code as compared to the previous version of GCC. Hence all files ending without a new line character will show this warning. This warning is harmless and users can choose to ignore this warning.
DNU编译器也是这样。
解决方法:在最后结束的地方来个回车。回去试试!
现在编程的要求高了,规定多少行的程序不能超过几个警告:(所以每个地方都要搞清楚阿!
系统分类:
嵌入式 | 用户分类:
vxowrks编译规则 | 来源:
无分类 | 【推荐给朋友】 | 【添加到收藏夹】