Path: utzoo!attcan!uunet!aplcen!haven!mimsy!chris From: chris@mimsy.umd.edu (Chris Torek) Newsgroups: comp.lang.c Subject: Re: bug in Ultrix C compiler? Keywords: xtank Ultrix cc Message-ID: <20832@mimsy.umd.edu> Date: 19 Nov 89 21:05:04 GMT References: <1376@utkcs2.cs.utk.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 In article <1376@utkcs2.cs.utk.edu> battle@alphard.cs.utk.edu (David Battle) writes: [some lines deleted] >% cat > foo.c >int x = (int)(0.45 * 100); >% cc -c foo.c >"foo.c", line 1: illegal initialization >% Yes, it is a bug. DEC copied it from BSD, where it was in PCC for years. It was fixed in the Tahoe release, or maybe a bit later. I expect DEC will pick up the fix in a few more years. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@cs.umd.edu Path: uunet!mimsy!chris