[comp.windows.x] bug in Ultrix C compiler?

battle@alphard.cs.utk.edu (David Battle) (11/17/89)

In attempting to compile XTank, I discovered the following possible problem
with the version of the Ultrix C compiler we are running:

% cat > foo.c
int x = (int)(0.45 * 100);
% gcc -c foo.c
% gcc -v
gcc version 1.35
% cc -c foo.c
"foo.c", line 1: illegal initialization
%

Oh, by the way:

% strings /vmunix | grep "U.*[Xx].*#[0-9]*:"
Ultrix-32 V3.1 (Rev. 9) System #1: Wed Sep 20 17:47:49 EDT 1989

					-David L. Battle
					battle@battle.esd.ornl.gov
					battle@utkux1.utk.edu