From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <7b5cf09fd7ee547030c620733fb4cee1@terzarima.net> References: <7b5cf09fd7ee547030c620733fb4cee1@terzarima.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] Problems with pcc Date: Mon, 12 Nov 2007 15:52:58 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: f428e860-ead2-11e9-9d60-3106f5b1d025 mkfile What is _RESEARCH_SOURCE? hoc.y You caught me there. I didn't even know I was breaking declarator rules! hoc.h See hoc.y above 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 Anyways, I tested it and it works now (making dummy gamma()/cbrt()) but there were still warnings. I'll diff these changes back into the main source. Thanks. On Nov 12, 2007, at 9:17 AM, Charles Forsyth wrote: > i've put an updated copy on sources in contrib/forsyth/hocplus.tgz . > just diff against the original to see the small changes (including > mkfile). > > ape doesn't provide gamma or cbrt, but if they're in c99 i suppose > it could. > just add a local copy temporarily. > gamma isn't in my copy of c99 though: it defines lgamma and tgamma. > (the old gamma actually computed lgamma, i think.)