🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11274

Re: Sun386i, cc and calctool

#11274
From: Scott Boyd
Date: Sat, 04 Mar 1989 01:24
21 lines
1406 bytes
francis%catuc.UUCP@arizona.edu writes:
>In a followup to the article I posted trying to find out why I couldn't
>compile the cacltool program written by Chuck Musciano on my 386i,  I
>narrowed the problem to the C Compiler....

Yup. The C compiler goes bye-bye on any unsigned long or int cast that
references either an array or a pointer. 

Given legitimate definitions any of the following will hang the C compiler
on the 386i.

	l = (unsigned long) ptr->value;
	i = (unsigned int) ptr->value;
	l = (unsigned long) array[index];
	i = (unsigned int) array[index];

This is with the 4.0.1 release of SunOS on a 386i/250.
-- 
Scott Boyd                                            Commodity Futures, Inc.
uunet!futures!scott	                              P.O. Box 620484
                                                      Woodside, CA 94062
Technical Details
Message-ID: <110@futures.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <8902151716.AA05085@megaron.arizona.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: futures!scott@uunet.uu.net (Scott Boyd)
Newsgroups: comp.sys.sun
Subject: Re: Sun386i, cc and calctool
Message-ID: <110@futures.UUCP>
Date: 4 Mar 89 01:24:00 GMT
References: <8902151716.AA05085@megaron.arizona.edu>
Sender: usenet@rice.edu
Organization: Commodity Futures, Inc. Woodside, CA
Lines: 21
Approved: Sun-Spots@rice.edu
Original-Date: 21 Feb 89 22:33:10 GMT
X-Sun-Spots-Digest: Volume 7, Issue 180, message 3 of 12