bug in Ultrix C compiler?

David Battle battle at alphard.cs.utk.edu
Fri Nov 17 14:42:36 AEST 1989


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 at battle.esd.ornl.gov
					battle at utkux1.utk.edu



More information about the Comp.unix.wizards mailing list