Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site steinmetz.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!ncsu!uvacs!edison!steinmetz!davidsen From: davidsen@steinmetz.UUCP Newsgroups: net.lang.c Subject: Re: Pointers to Functions Message-ID: <618@steinmetz.UUCP> Date: Mon, 13-Jan-86 11:31:46 EST Article-I.D.: steinmet.618 Posted: Mon Jan 13 11:31:46 1986 Date-Received: Fri, 17-Jan-86 05:54:02 EST References: <59@andromeda.UUCP> Reply-To: davidsen@kbsvax.UUCP (Davidsen) Organization: GE CRD, Schenectady, NY Lines: 22 Keywords: function pointers Summary: Your compiler is wrong As far as I can see, your example as posted was correct. I tried it on a 4.2BSD and SysIII systems, and both thought it was fine. Microsoft C loved it! It's valid by both K&R and X3J11 (proposed). Either your compiler is being silly, or perhaps you have a glitch in the source code. Assuming that you can't compile the fragment as posted, I would complain. ---------------- < disclamer > ---------------- I don't usually bother, but this is a special case. The opinion expressed is my personal opinion, and is not an official statement of my alter-ego, the former GE representative to X3J11. It may not be the official position of my company and/or its affiliates. -- -bill davidsen seismo!rochester!steinmetz!--\ / \ ihnp4! unirot ------------->---> crdos1!davidsen \ / chinet! ---------------------/ (davidsen@ge-crd.ARPA) "It seemed like a good idea at the time..."