Path: utzoo!attcan!uunet!lll-winken!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!riscy.enet.dec.com!croton.nyo.dec.com!frank From: frank@croton.nyo.dec.com (Frank Wortner) Newsgroups: comp.unix.ultrix Subject: Re: Need help with "C" errors Message-ID: <1763@riscy.enet.dec.com> Date: 4 Oct 90 13:28:32 GMT References: <1990Oct3.164930@objy.objy.com> <22100017@ux1.cso.uiuc.edu> <1990Oct3.111500@dodads.dco.dec.com> Sender: newsdaemon@riscy.enet.dec.com Reply-To: frank@croton.nyo.dec.com (Frank Wortner) Organization: Digital Equipment Corporation Lines: 20 > I have found that under Ultrix 3.x, the C compiler does not properly handle > void * parameters. The code: > > foo(a) > void *a; > { > *(int *) = 5; > } > > will give error messages about `a' being undefined. Fixed in 4.0. BTW, the fourth line should read: *(int*)a = 5; Regards, Frank