comparing pointers to void functions

David B. Anderson davea at quasar.wpd.sgi.com
Thu May 31 01:57:34 AEST 1990


In article <9005301007.aa09801 at VMB.BRL.MIL> you write:
>< 	if (thing->formstart == bgnpolygon)
>< The compiler says "operands of == have incompatible types".
[stuff deleted]
>#ifdef mips
>	if( (void *) thing->formstart == (void *) bgnpolygon )
>#endif
>
>	Anyone at SGI want to wedge  a fix in to the next release?

I already did for the 3.3 release.  void  and void * are fully supported.

Note that using void * in 3.2 can result in 
	``Internal error: schain botch'' :-(

Regards,
[ David B. Anderson  Silicon Graphics  (415)335-1548  davea at sgi.com ]
[``What can go wrong?''                          --Calvin and Hobbes]



More information about the Comp.sys.sgi mailing list