Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site psivax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!psivax!friesen From: friesen@psivax.UUCP (Stanley Friesen) Newsgroups: net.lang.c Subject: Re: array of pointers to functions Message-ID: <1046@psivax.UUCP> Date: Wed, 5-Mar-86 11:01:10 EST Article-I.D.: psivax.1046 Posted: Wed Mar 5 11:01:10 1986 Date-Received: Fri, 7-Mar-86 08:35:23 EST References: <111@spp5.UUCP> Reply-To: friesen@psivax.UUCP (Stanley Friesen) Distribution: net Organization: Pacesetter Systems Inc., Sylmar, CA Lines: 20 In article <111@spp5.UUCP> brahms@spp5.UUCP (Bradley S. Brahms) writes: > >Is it just the implementation of c on the AT&T 7300 or is it normal for c >not to allow arrays of function pointers? I couldn't find any reference >to using arrays of function pointers in K&R but it seemed rather straight >forward. It is "just" the "implementation" of on the ATT 7300. In fact it is a *bug* in the ATT 7300 compiler. In 'C' ypu are allowed to do anything that is not explicitly forbidden. You may make arrays of *any* type except arrays of functions. Any compiler that forbids arrays of function pointers is *broken*. In fact this is the only one I have ever heard of that has this "restriction". You should call the vendor (?AT&T) and complain about this bug. -- Sarima (Stanley Friesen) UUCP: {ttidca|ihnp4|sdcrdcf|quad1|nrcvax|bellcore|logico}!psivax!friesen ARPA: ttidca!psivax!friesen@rand-unix.arpa