From: Christophe Poucet Date: 2005-10-04T23:51:47+09:00 Subject: Re: Compilation of ruby Hello, I've been making a lot of changes so that the basic ruby interpreter will compile with C++. Mostly I used some typecasting to bypass type problems. The brunt of the work was when rb_define_method would take a generalized method, which I solved. There are still some issues, however in regular expressions where I just cast to whatever type the compiler told me (between unsigned char* and char*) though someone should take a look into this. I've also added extern "C" { ... } to all the .c and .h files wherever it seemed that it would not cause problem (yet again someone will have to look into this). The problem is that I don't want to link with C++ code. I want to insert certain profiling templates straight into the ruby interpreter to be able to measure certain parts of the interpreter. That is why I needed c++ compileable code. I have not worked on the extensions, only on the plain core and I'm getting a bug on array tests 37 and 38 which I will look into. Would you be interested in this work in HEAD? Christophe