Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!usc!orion.cf.uci.edu!uci-ics!zardoz!conexch!sandy From: sandy@conexch.UUCP (Sandford Zelkovitz) Newsgroups: comp.unix.questions Subject: Re: void *a Summary: It's fine under Xenix386 Message-ID: <30246@conexch.UUCP> Date: 30 May 89 22:05:16 GMT References: <5197@rpi.edu> Organization: The Consultants' Exchange, Orange County, CA Lines: 22 In article <5197@rpi.edu>, kyriazis@rpics (George Kyriazis) writes: > > OK. Here is the program.. > struct a { > void *pt; > } foo; > main() > { > foo.pt = (void *) &foo; > } > The compiler complains that 'pt' is not defined, on ANY system I tried > it except the SUN. What's so special about suns and/or void * ??? I compiled your example under Xenix386 without any complaints from the compiler. Sanford Zelkovitz XBBS 714-898-8634