Need help with "C" errors

Frank Wortner frank at croton.nyo.dec.com
Thu Oct 4 23:28:32 AEST 1990


>    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



More information about the Comp.unix.ultrix mailing list