This is the mail archive of the gcc@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]

Re: Help : File does not end with newline




On Sun, 30 Sep 2001, Paul Lim wrote:
> However, I did not successful compile. The error message is
> diary.h:103: warning: file does not end in newline

This means the last few characters of diary.h are not a valid line
terminator, e.g. \n or \r\n.

> I am using gcc on Windows. Could OS be the problem?

Not directly.  But Windows does seem to have a plethora of broken editor
software.  Try to open/save this file in another source code editor, such
as emacs or even Windows Notepad.

Jeff


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