Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site abnjh.UUCP
Path: utzoo!watmath!clyde!floyd!whuxle!spuxll!abnjh!usenet
From: usenet@abnjh.UUCP (usenet)
Newsgroups: net.lang.c
Subject: Re: Assignment to pointers to functions returning void
Message-ID: <488@abnjh.UUCP>
Date: Sat, 3-Mar-84 15:46:03 EST
Article-I.D.: abnjh.488
Posted: Sat Mar  3 15:46:03 1984
Date-Received: Sun, 4-Mar-84 02:31:16 EST
References: <245@teltone.UUCP>
Organization: ATTIS, NJ
Lines: 23

>> /* Program demonstrates a bug in the VAX 4.1 BSD C compilier.
>>  * The following error messages is printed:
>>  * "junk.c", line 17: operands of = have incompatible types
>>  */
>> short 	f0();
>> void 	f1();
>> int 	f2();
>> 
>> main()
>> {
>>     short 	(*pf0)(); 
>>     void 	(*pf1)();
>>     int 	(*pf2)();
>> 
>>     pf0 = f0;
>>     pf1 = f1;			/* This is line 17 */
>>     pf2 = f2;
>> }

When I tried your program on System V on a VAX, I got no diagnostics
of the type mentioned.  Of course, there were some complaints about
undefined symbols when I tried to link the resulting dot-o. :=)
Rick Thomas