Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.lang.c Subject: Re: pcc compiler error Message-ID: <8497@brl-tgr.ARPA> Date: Fri, 22-Feb-85 19:56:44 EST Article-I.D.: brl-tgr.8497 Posted: Fri Feb 22 19:56:44 1985 Date-Received: Wed, 27-Feb-85 02:43:40 EST References: <8494@brl-tgr.ARPA> Organization: Ballistic Research Lab Lines: 12 > > > struct xy *p; > > > if (*p) { > > > /* compiler error: zzzcode- bad type */ > > Since the code is legal, lint has no reason to complain. The > error message you received indicated that the back end of your > compiler was not able to generate code. There are C compilers > that will compile this program. As previously posted, this is NOT legal C. What does it mean to test a struct for zeroness? One could presumably add something to C for this case but it seems pretty bogus to me.