cowboyd/therubyracer — pull request #165 by bkabrda (2012-06-15 07:31:31+00:00)
Title: Solves #148.

In the file rr.h, you first must include v8.h and then ruby.h. Otherwise, the macro StringValue from ruby.h overwrites the StringValue() call in v8.h, so that the preprocessed code looks like this:

Local rb_string_value(&()) const;

which is obviously a syntax error.
I will submit a patch for this (really simple, just swap the two lines).