Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!alberta!calgary!radford From: radford@calgary.UUCP Newsgroups: comp.sys.mac Subject: Lightspeed C bug & comment Message-ID: <936@vaxb.calgary.UUCP> Date: Tue, 2-Jun-87 15:40:55 EDT Article-I.D.: vaxb.936 Posted: Tue Jun 2 15:40:55 1987 Date-Received: Fri, 5-Jun-87 00:40:13 EDT Organization: U. of Calgary, Calgary, Ab. Lines: 19 The following program does not work in Lightspeed C v1.02: #include main() { long x; x = 7; printf("%f\n",(float)(x-1)); } It prints 7.0000 rather than six as it ought to. Not very reassuring. Concerning the recent requests for evaluations of C compilers, I find one problem with Lightspeed to be its un-graceful handling of Unix filters. I have several suites of a dozen or so small programs meant to be linked together with pipes. These are essentially useless with Lightspeed C. With Aztec C I can at least write a shell file that will connect them using temporary files. Radford Neal