Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!husc6!mit-eddie!genrad!decvax!ucbvax!sdcsvax!sdcc6!loral!jlh
From: jlh@loral.UUCP (Jim Vaxkiller)
Newsgroups: comp.lang.c
Subject: table of function ptrs SOLVED
Message-ID: <1328@loral.UUCP>
Date: Mon, 12-Jan-87 12:34:57 EST
Article-I.D.: loral.1328
Posted: Mon Jan 12 12:34:57 1987
Date-Received: Thu, 15-Jan-87 04:52:57 EST
Organization: In Hiding
Lines: 21

Last friday I posted a question on making a table of pointers to functions
returning void.  It seemed that when the functions returned ints everything
was fine, but when I tried to return voids the compiler broke.  Well,
after reading my mail monday I moved my program from our 4.2BSD	machine
to the 4.3BSD machine.  Guess what?  The sucker not only compiles with no
problem, but lint loves it as well.  I had mentioned in the original
article that I knew of the problem 4.2 had with void and had typedefed
voids to ints, but that didn't help a bit.

The moral?  Under 4.2, if you ever have a problem with voids if at all
possible try the program on another compiler before wasting too much
time on it.  Last summer I wasted 2-3 days before being told to typedef
voids to ints, last week I wasted half a day before posting my plea for 
help.  Thanks to all who replied.


						Jim

Jim Harkins 
Loral Instrumentation, San Diego
{ucbvax, ittvax!dcdwest, akgua, decvax, ihnp4}!sdcsvax!sdcc6!loral!jlh