Does PMAX Ultrix 4.0 cc *fully* support void pointers?
    Kurt Hoyt 
    hoyt at laura.alf.dec.com
       
    Tue Aug 28 01:00:46 AEST 1990
    
    
  
In article <263 at talarian.UUCP>, scott at talarian.UUCP (Scott Weitzenkamp) writes:
>   We have a DECstation 3100 with Ultrix 3.0.  One of the bugs in cc is
> that it does not have complete support for void pointers.  For
> example, the following code will *not* compile:
> 
> int foo(void *ptr)
> {
>   printf("%d\n", ptr);
> }
> 
>   Is this bug fixed in cc on Ultrix 4.0?
Yes.
>   While I'm complaining, does the Ultrix 4.0 cc support the ANSI C
> "const" keyword?
Not yet:
% cc -c foo.c
ccom: Warning: foo.c, line 3: "const" is reserved for future use
	const char *fred = "fred";
      -------------^
..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..
Kurt in Atlanta             "More than 4 billion chickens in America
hoyt at decatl.enet.dec.com     each year do not have a single happy moment
hoyt at laura.alf.dec.com       in their lives." -- PETA News
    
    
More information about the Comp.unix.ultrix
mailing list