Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: MSC 5.0 Bug Fix?? (Simple..) Message-ID: <1988Feb17.171813.15472@utzoo.uucp> Organization: U of Toronto Zoology References: <11739@brl-adm.ARPA> Date: Wed, 17-Feb-88 17:18:06 EST > Compiler apparently does not like eof markers that are at the end of > the last line in a file. Error c1004 results. Putting a cr-lf at the > end of the file solved the problem. Compiler is doing it right, although the complaint is perhaps undesirably cryptic. X3J11: "A source file that is not empty shall end in a new-line character." (Page 6, line 38, 11 Jan 1988 draft) -- Those who do not understand Unix are | Henry Spencer @ U of Toronto Zoology condemned to reinvent it, poorly. | {allegra,ihnp4,decvax,utai}!utzoo!henry