bug in Ultrix C compiler?
Chris Torek
chris at mimsy.umd.edu
Mon Nov 20 08:05:04 AEST 1989
In article <1376 at utkcs2.cs.utk.edu> battle at 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 at cs.umd.edu Path: uunet!mimsy!chris
More information about the Comp.lang.c
mailing list