void *a
Sandford Zelkovitz
sandy at conexch.UUCP
Wed May 31 08:05:16 AEST 1989
In article <5197 at rpi.edu>, kyriazis at 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 <sandy> Zelkovitz
XBBS 714-898-8634
More information about the Comp.unix.questions
mailing list