3 Commits

Author SHA1 Message Date
Aorimn 87c80cfbd3 Add Ruby functions when they're not defined
Ruby 1.8 doesn't seem to have rb_str_catf, so we provide an
implementation of this function when it's not defined.
2015-10-08 15:27:58 +02:00
Aorimn 45dce08b0e Improve compiler compatibility again
Make clang statements only for clang.
2015-10-04 16:16:22 +02:00
Aorimn 8448a5ed5a Improve compilation compatibility
The `-Wno-unknown-attributes' clang warning option wasn't supported for
all platforms so we now get through the #pragma directive of the
preprocessor to tell clang not to consider `-Wunknown-attributes' for
the Ruby headers.
As this doesn't seem to be known for all versions of clang (at least for
version 3.0-6ubuntu3 from Ubuntu 12.04), we also add a pragma for clang
not to consider `-Wunknown-pragmas'.
2015-10-04 13:50:29 +02:00