From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: No new line at end of file? Date: Sun, 01 Sep 2002 08:47:17 +0100 Lines: 22 Message-ID: <3D71C605.C24CE6F1@phekda.freeserve.co.uk> References: <3d71a27d DOT 23705885 AT news DOT nzwide DOT ihug DOT co DOT nz> NNTP-Posting-Host: modem-94.flonase.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news5.svr.pol.co.uk 1030867080 31188 62.136.95.94 (1 Sep 2002 07:58:00 GMT) NNTP-Posting-Date: 1 Sep 2002 07:58:00 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Joel Murdoch wrote: > The latest DJGPP versions (I downloaded them about two weeks ago from > the website) are constantly complaining about no new line being at the > end of some of the files in the Doom port I'm trying to compile. Presumably by "the latest DJGPP versions" you mean that you've upgraded gcc? > Aside from putting new lines at the end of the files, is there a way > to make the compiler ignore this "problem" like it used to? I used to > compile this port with no problems but lost the particular DJGPP revision > in a bad CD burn. The compiler should only generate a warning for missing newlines at EOF. Perhaps the -Werror option is being used, during compilation? Remove this option and you should be able to compile. HTH, bye, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]