pointers to void functions

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Sun Feb 16 17:02:57 AEST 1986


In article <943 at h-sc1.UUCP> clarke at h-sc1.UUCP writes:

>I wrote this ... under 4.2 BSD. Unfortunately, cc and lint don't like
>the assignment "tch = catch;"

where `tch' is `pointer to function returning void', and `catch' is
`function returning void'.

`void' types are somewhat broken in the 4.2BSD PCC.  Use `-Dvoid=int'
for now, or avoid void.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.lang.c mailing list