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,

Why I'm not surprised that the Windows' source files are malformed.  :-)

If I'm not mistaken, the newline-at-eof is required.

Especially important for the preprocessor, such as a #endif at the end of the file (since the preprocessor is less forgiving), or when someone has a //-comment as the last line in the file.

--Eljay



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