Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* bug in Ultrix C compiler?
@ 1989-11-17  3:42 David Battle
  0 siblings, 0 replies; only message in thread
From: David Battle @ 1989-11-17  3:42 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1989-11-17  3:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1989-11-17  3:42 bug in Ultrix C compiler? David Battle

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