This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help : File does not end with newline
- To: Paul Lim <paullimjh at hotmail dot com>
- Subject: Re: Help : File does not end with newline
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Sun, 30 Sep 2001 13:47:23 -0400 (EDT)
- cc: gcc-help at gcc dot gnu dot org, gcc at gcc dot gnu dot org
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