From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Sturm To: Paul Lim Cc: gcc-help@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: Help : File does not end with newline Date: Sun, 30 Sep 2001 09:44:00 -0000 Message-id: References: X-SW-Source: 2001-09/msg00185.html 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