From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,766b97f0701294d6 X-Google-Attributes: gidfee84,public From: charette@ultoe.det.dec.com (Mark Charette) Subject: Re: Porting to Alpha's OSF1 Date: 1995/10/04 Message-ID: <44tsdj$9ja@eccdb1.pms.ford.com>#1/1 X-Deja-AN: 117020720 distribution: world references: <449atg$3d9@lead.zk3.dec.com> organization: ECC at Ford Motor Company, Dearborn Michigan newsgroups: comp.unix.osf.osf1 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