Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!umriscc!mcs213e.cs.umr.edu!mcastle From: mcastle@mcs213e.cs.umr.edu (Mike Castle {Nexus}) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: djgcc: Parse error before character 032? Message-ID: <2466@umriscc.isc.umr.edu> Date: 23 Mar 91 00:34:49 GMT References: <12238@pasteur.Berkeley.EDU> Sender: news@umriscc.isc.umr.edu Organization: University of Missouri - Rolla Lines: 23 In article valley@uchicago (Doug Dougherty) writes: >splin@roma.berkeley.edu (Steven Lin) writes: >>The error doesn't occur if I type in the program using >> copy con hello.c >>but it does occur if I use a word processor (vi and Wordstar) to create >>hello.c. Evidently, the word processor is adding some extra characters >>to the end of the file before writing to disk and gcc is choking on this. > >This is the ^Z problem, right? Funny, my version of vi doesn't >put no steenkin' ^Z's at the end of my files. Try this: ren hello.c ohello.c type ohello.c > hello.c del ohello.c Voila! -- Mike Castle (Nexus) S087891@UMRVMA.UMR.EDU (preferred) | XEDIT: Emacs mcastle@mcs213k.cs.umr.edu (unix mail-YEACH!)| on a REAL Life is like a clock: You can work constantly, and be right | operating all the time, or not work at all, and be right twice a day. | system. :->