lsegal / barracuda

Barracuda is a Ruby wrapper library for the OpenCL architecture.
http://gnuu.org
MIT License
114 stars 16 forks source link

Warnings when compiling with ruby 1.9.3 #9

Closed ChrisLundquist closed 12 years ago

ChrisLundquist commented 12 years ago

$ 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