lsegal/barracuda — Issue #9: Warnings when compiling with ruby 1.9.3
Author: ChrisLundquist
Created: 2012-02-19 01:21:08+00:00
State: open

$ which ruby
/Users/clundquist/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
$ ruby extconf.rb
creating Makefile
Chriss-MacBook-Pro:ext clundquist$ make
compiling barracuda.c
barracuda.c: In function ‘array_data_type_get’:
barracuda.c:129: warning: ISO C90 forbids mixed declarations and code
barracuda.c: In function ‘type_to_native’:
barracuda.c:194: warning: implicit conversion shortens 64-bit value into a 32-bit value
barracuda.c: In function ‘buffer_dirty’:
barracuda.c:307: warning: comparison between signed and unsigned
barracuda.c: In function ‘print_buffer’:
barracuda.c:351: warning: comparison between signed and unsigned
barracuda.c: In function ‘buffer_write’:
barracuda.c:370: warning: implicit conversion shortens 64-bit value into a 32-bit value
barracuda.c: In function ‘buffer_read’:
barracuda.c:398: warning: implicit conversion shortens 64-bit value into a 32-bit value
barracuda.c: In function ‘program_method_missing’:
barracuda.c:558: warning: comparison between signed and unsigned
linking shared-object barracuda.bundle