Calling functions via pointers

Henry Spencer henry at utzoo.UUCP
Sat Nov 1 08:45:48 AEST 1986


> ...  'Action' is a pointer to
> a function, and proper use would be to dereference the pointer as shown
> immediately below.  It is regrettable that PCC (and hence PCC-based compilers)
> allow this sloppy construct without at least issuing a warning.

It is doubly unfortunate that X3J11 has legitimized it, last I looked.
Boo, hiss.  I can sympathize with the arguments that (a) there is no other
conceivable meaning, so it doesn't hurt anything, and (b) it reduces
code breakage, but I still don't like it.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,decvax,pyramid}!utzoo!henry



More information about the Comp.lang.c mailing list