void * not handled in AIX C compiler ?

John Garnett garnett at rpp386.cactus.org
Thu Oct 5 09:27:54 AEST 1989


In article <159 at eliza.edvvie.at>, johnny at edvvie.at (Johann Schweigl) writes:
> AIX C allows the use of void functions, and the (void *) typecast.
> Declaring a variable as void * does not work. The effect is the same
> as if the variable had never been defined.

This problem appears only in the AIX/RT C Compiler.  The AIX PS/2
C compiler does allow void pointers to be declared AND used.
However, both the AIX/RT and AIX PS/2 versions of lint choke
on void pointers.

Somebody want to fix this one?
-- 
+---------------------------------------------+--------------------------+
| Namenet:   John W. Garnett                  |  Base 1.9                |
| Internet:  garnett at rpp386.cactus.org        |                          |
| Uucpnet:   {bigtex|texbell}!rpp386!garnett  | "It's almost binary."    |



More information about the Comp.unix.aix mailing list