Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Ruby 1.9.1 #3

Closed
justfalter opened this issue Jan 3, 2011 · 2 comments
Closed

Compatibility with Ruby 1.9.1 #3

justfalter opened this issue Jan 3, 2011 · 2 comments

Comments

@justfalter
Copy link

I can't get it to build under Ruby 1.9.1-p243:

/Users/mryan/.rvm/rubies/ruby-1.9.1-p243/bin/ruby extconf.rb
creating Makefile

make
gcc -I. -I/Users/mryan/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1/i386-darwin10.5.0 -I/Users/mryan/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/backward -I/Users/mryan/.rvm/rubies/ruby-1.9.1-p243/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -std=c99 -I./ruby_headers/ -o free.o -c free.c
free.c:41: error: field ‘typeddata’ has incomplete type
free.c: In function ‘object_free’:
free.c:187: warning: implicit declaration of function ‘RTYPEDDATA_P’
free.c:252: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
make: *** [free.o] Error 1

It appears to be because 'RTypedData' isn't defined until 1.9.2.

@banister
Copy link
Owner

banister commented Jan 3, 2011

ah, I only tested it on ruby 1.8.7 and ruby 1.9.2. I can try to provide 1.9.1 support over the next few days, thanks :)

@banister
Copy link
Owner

not going to provide 1.9.1 support, sorry :(

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants