🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9685

Re: Calling functions via pointers

#9685
From: Henry Spencer
Date: Fri, 31 Oct 1986 22:45
12 lines
1134 bytes
> ...  '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
Technical Details
Message-ID: <7272@utzoo.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <6165@ut-sally.UUCP>, <153@cartanBerkeley.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.UUCP (Henry Spencer)
Newsgroups: net.lang.c
Subject: Re: Calling functions via pointers
Message-ID: <7272@utzoo.UUCP>
Date: Fri, 31-Oct-86 17:45:48 EST
Article-I.D.: utzoo.7272
Posted: Fri Oct 31 17:45:48 1986
Date-Received: Fri, 31-Oct-86 17:45:48 EST
References: <6165@ut-sally.UUCP>, <153@cartanBerkeley.EDU>
Organization: U of Toronto Zoology
Lines: 12