UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 20608

7.1 EDK, GNU - "Warning: no newline at end of file"

描述

Keywords: EDK, GNU, GCC, 3.4.3, newline, powerpc-eabi-gcc, mb-gcc

Urgency: Standard

General Description:
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.

解决方案

To fix the problem, just go to the last line of your source code and press "Return".
AR# 20608
日期 04/13/2007
状态 Archive
Type 综合文章
的页面