This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to suppress warning?


Hi Lev,

>Does anybody knows how to suppress warning: "no newline at end of file"

Put a newlineat the end of file.

(It's especially egregious not to have a newline at eof when the last line is a preprocessor statement.)

HTH,
--Eljay



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]