Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: charette@ultoe.det.dec.com (Mark Charette)
Subject: Re: Porting to Alpha's OSF1
Date: 1995/10/04	[thread overview]
Message-ID: <44tsdj$9ja@eccdb1.pms.ford.com> (raw)
In-Reply-To: AC97DC42966815586E@freyja.demon.co.uk

James Mucklow (jemuckl@freyja.demon.co.uk) wrote:
: 2) I was working on OSF2.1 so this may have changed, but watch our for
: something like this

: void setVal( Int *i)
: long l;

: ...
: 	setVal( (int*) &l)

: We found half of the long was initialised in setVal, but the rest was
: rubbish - causig a few problems.

Code using casts to shut up the compiler even though the compiler complaint
was valid still breaks in newer versions of the OS, as well it should.

--
Mark Charette                     charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152



  reply	other threads:[~1995-10-04  4:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-26  4:00 Porting to Alpha's OSF1 Karen Michaels
1995-10-04  4:00 ` James Mucklow
1995-10-04  4:00   ` Mark Charette [this message]
     [not found] <DF7tJH.21J@applicom.co.il>
1995-09-20  4:00 ` Ron Natalie
1995-09-21  4:00   ` Gadzhiev A. M.
1995-09-21  4:00   ` oberman
1995-09-21  4:00     ` Ron Natalie
1995-09-21  4:00 ` Richard Readings
1995-09-21  4:00 ` Richard Gorton
1995-09-21  4:00 ` Carl J. Appellof
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