Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: battle@alphard.cs.utk.edu (David Battle)
Subject: bug in Ultrix C compiler?
Date: 17 Nov 89 03:42:36 GMT	[thread overview]
Message-ID: <1376@utkcs2.cs.utk.edu> (raw)

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


                 reply	other threads:[~1989-11-17  3:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox