From: Nobuyoshi Nakada Date: 2009-01-22T11:33:47+09:00 Subject: [ruby-core:21508] Re: 2 small warning fixes for 1.9.1 Hi, At Thu, 22 Jan 2009 02:49:43 +0900, Marcus Rueckert wrote in [ruby-core:21492]: > ruby-1.9.1-rc2_gc_64bit_warning.patch fixes > [[[ > gc.c: In function 'garbage_collect_with_gvl': > gc.c:596: warning: cast from pointer to integer of different size > ]]] It has been fixed already in the trunk. > ruby-1.9.1-rc2_rb_time_timeval_prototype.patch fixes: > [[[ > thread.c: In function 'rb_thread_sleep': > thread.c:925: warning: call to function 'rb_time_timeval' without a real prototype > ]]] Applied now. > i followed the example from the openssl extension here. maybe the > prototype could be moved in one of the ruby headers? Which prototypes? > remaining are some warnings about read/write and friends without > checking their return values. and "may be used uninitialized" for > elements of orig_except.fds_bits in thread.c. I don't see those warnings. What're the compiler version and options? > with kind regards > > darix Thank you. -- Nobu Nakada