Bugs item #9736, was opened at 01/04/2007 16:20
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9736&group_id=426

Category: Core
Group: 1.8.6
Status: Open
Resolution: None
Priority: 3
Submitted By: Olivier Coursiere (oco)
Assigned to: Nobody (None)
Summary: New kill_thread function in eval.c conflict with a BeOS system function

Initial Comment:
Here is the make output when compiling ruby 1.8.6 under BeOS :

gcc -g -O2  -DRUBY_EXPORT  -I. -I.  -c eval.c
/boot/home/Downloads/ruby-1.8.6/eval.c:11247: conflicting types for `kill_thread'
/boot/develop/headers/be/kernel/OS.h:266: previous declaration of `kill_thread'
make: *** [eval.o] Error 1

As kill_thread is only used in eval.c, i rename "kill_thread" to "kill_thread2" : now it compiles.

I hope someone will come with a better fix that could be included in the official source tree.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9736&group_id=426