Hi,

At Mon, 3 Oct 2005 23:01:47 +0900,
Christophe Poucet wrote in [ruby-talk:158817]:
> Is there any chance that ruby will become compilable by an ANSI
> compiler?

Already possible.  C90 doesn't prohibit K&R style function
declarations and definitions.

> The problem is that I want to add some c++ constructs to the
> original source for some tests and a c++ compiler does not understand
> the K&R way of defining arguments to methods.  This seems to be the
> main stumbling block.  The other stumbling block is that it implicitly
> casts functions and the C++ compiler does not accept this, but this is
> easily changed by adding an explicit cast.

1.9 has been protoized almost, but it's not written in C++
and not compilable as C++.

Instead, link C++ object with C-compiled ruby objects.

-- 
Nobu Nakada