Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.lang.c Subject: Re: pointers to void functions Message-ID: <3223@umcp-cs.UUCP> Date: Sun, 16-Feb-86 02:02:57 EST Article-I.D.: umcp-cs.3223 Posted: Sun Feb 16 02:02:57 1986 Date-Received: Mon, 17-Feb-86 05:38:48 EST References: <943@h-sc1.UUCP> Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 14 In article <943@h-sc1.UUCP> clarke@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@umcp-cs ARPA: chris@mimsy.umd.edu