MSC 5.0 Bug Fix?? (Simple..)

Henry Spencer henry at utzoo.uucp
Thu Feb 18 08:18:06 AEST 1988


> 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



More information about the Comp.lang.c mailing list