From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <138db5d0129b86ff6bf1ea64d3f40864@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Problems with pcc From: Charles Forsyth Date: Mon, 12 Nov 2007 22:27:52 +0000 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: f449a7b2-ead2-11e9-9d60-3106f5b1d025 > mkfile > What is _RESEARCH_SOURCE? see /sys/doc/ape.ms (or pdf versions of it) for details and other things you might need anyway > hoc.y > You caught me there. I didn't even know I was breaking declarator > rules! > hoc.h > See hoc.y above C standards still insist on the annoying need for forward declarations. if it has compiled on other compilers without fuss you should use better compilers (or more likely many of the right -W options for gcc, but not too many or it will moan about purely stylistic things!) > init.c, math.c, symbol.c - no difference > code.c > I didn't know at the time that in a?b:c, both b and c have to be the > same type the usual arithmetic conversions apply (because the expression evaluates to a single value of which ever type encompasses both true and false arms, not values or non-values of two completely different types, such as a struct and an int, or a void and anything else)