Closed jashank closed 8 years ago
I'll fix those but I don't understand why this would cause Ruby to reliably segfault.
Plausibly, the truncation is occurring on values used for addressing, but I don't understand enough about the way YARV's extension handling works to be certain. Also, I don't know why GCC just flags a warning when Clang raises an error. There are cases of this in
As for the segfault itself, I can reliably reproduce it; I uploaded a Ruby backtrace and the matching crash log from OS X.
They are not values that are used for addressing. What it is complaining about is just a simple number that describes how many elements there are in the array, nothing more and nothing less. From the crash log it looked like it crashed when sfml/all
are requiring sfml/system
After I've fixed these when I get home from work you should try again and if it still fails you should file it as a new issue.
Fixed the implicit casting in the Vector files. Can you give me some more warnings?
Trying to build rbSFML at revision f8297fb48d on Darwin/OS X 10.7, x86_64, with Clang/LLVM.
And no, GCC doesn't produce this error, but the resultant bundles cause Ruby to reliably segfault.