Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!harvard!panda!genrad!decvax!bellcore!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c,net.bugs Subject: Re: C Compiler bug (and fix for a different one) Message-ID: <5858@alice.uUCp> Date: Sat, 26-Jul-86 11:33:03 EDT Article-I.D.: alice.5858 Posted: Sat Jul 26 11:33:03 1986 Date-Received: Sat, 26-Jul-86 22:20:22 EDT References: <273@watmath.UUCP> Organization: Bell Labs, Murray Hill Lines: 12 Xref: mnetor net.lang.c:5462 net.bugs:292 > So, does anyone have a fix for this bug? > I'll trade for a fix for a problem with void functions and the ?: operator. > > void f3(which) > { > extern void f1(),f2(); > which?f1():f2(); > } > cc(1) gives an "incompatible types" error. As it should. The only thing you're allowed to do with void values is throw them away.