Compiler void support under 3.2
    David B. Anderson 
    davea at quasar.wpd.sgi.com
       
    Sat Dec 16 10:02:59 AEST 1989
    
    
  
In article <12190 at phoenix.Princeton.EDU>, viktor at rutabaga.Princeton.EDU (Viktor Dukhovni) writes:
> The following code is incorrectly rejected by the C compiler under 3.2
[spacing removed for brevity]
> void foo() {  } ;  void bar() {  } ;
> void (*z)() ;
> main() {
> 	z = bar ;
> 	z = (1==1) ? foo : bar ;
> }
[commentary deleted for brevity]
The problems with void and void * have been corrected in ccom for the release
after 3.2.
3.2 was complete before I got around to fixing this.   Sorry.
Regards,
[ David B. Anderson  Silicon Graphics  (415)335-1548  davea at sgi.com ]
    
    
More information about the Comp.sys.sgi
mailing list