From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Fri, 18 Jun 2004 09:05:55 +0000 From: Bengt Kleberg Message-ID: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit References: <200406170753.i5H7r4F23190@zamenhof.cs.utwente.nl>, Subject: Re: [9fans] any success with current plan9port on sunos5.8? Topicbox-Message-UUID: a5b1fe10-eacd-11e9-9e20-41e7f4b1d025 Russ Cox wrote: > Give up on _EXTENSIONS_ whatever that means. do you mean: do not define _EXTENSIONS_ or stop removing define _EXTENSIONS_ ? hint: the latter is correct :-) > Yield is a function provided by a system library. > The right fix is to rename the one the Plan 9 libraries > are calling. #defining random things to make yield > disappear from view only makes the compiler think > there is no problem; it does not fix the problem. this is correct. yield() is not visible in the headerfiles (unless _EXTENSIONS_ is defined). however, the sun linker (in my case: Solaris Link Editors: 5.8-1.283) will make programs without _EXTENSIONS_ defined call yield() anyway. bengt