www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/02/23:45:17

From: Jack Klein <jackklein AT spamcop DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: No new line at end of file?
Message-ID: <mqb8nuoav2evvgeefdoj9r2gdfa0vqmk71@4ax.com>
References: <3d71a27d DOT 23705885 AT news DOT nzwide DOT ihug DOT co DOT nz>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Lines: 27
Date: Tue, 03 Sep 2002 03:36:12 GMT
NNTP-Posting-Host: 12.84.17.121
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1031024172 12.84.17.121 (Tue, 03 Sep 2002 03:36:12 GMT)
NNTP-Posting-Date: Tue, 03 Sep 2002 03:36:12 GMT
Organization: AT&T Worldnet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 01 Sep 2002 05:18:56 GMT, joel AT gginc DOT co DOT nospam DOT nz (Joel
Murdoch) wrote in comp.os.msdos.djgpp:

> Hi everyone,
> 
> 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. 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.
> 
> Thanks,
> Joel Murdoch.

It is not a <quote>problem<unquote>, it is a violation of the language
standards for both C and C++.  Both languages require that every
separate file end with a newline character.  Fix the code.

-- 
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019