void * not handled in AIX C compiler ?
Greg Comeau
comeau at utoday.UUCP
Wed Oct 4 08:30:02 AEST 1989
In article <159 at eliza.edvvie.at> johnny at edvvie.at (Johann Schweigl) writes:
>AIX C... Declaring a variable as void * does not work. The effect is the same
>as if the variable had never been defined. Example:
> main() { void *foo; int bar; foo = &bar;}
>results in:
>
>"foo.c", line 6: foo undefined
>"foo.c", line 6: warning: illegal combination of pointer and integer, op =
>
>which is not quite correct.
You do not appear to be wrong. Although the warning is approopriate,
the error is not.
More information about the Comp.lang.c
mailing list