From: nobu.nokada@... Date: 2005-04-29T22:08:48+09:00 Subject: Re: -Wall Hi, At Fri, 29 Apr 2005 18:22:26 +0900, Kirill A. Shutemov wrote in [ruby-core:04816]: > I have some additional warnings(gcc-3.4, i586): > * eval.c: In function `rb_exec_recursive': > eval.c:13185: warning: 'result' might be used uninitialized in this > function > * io.c: In function `rb_io_initialize': > io.c:4007: warning: 'flags' might be used uninitialized in this function > * process.c:1541: warning: 'hfunc' might be used uninitialized in this > function > process.c:1541: warning: 'qfunc' might be used uninitialized in this > function > process.c:1541: warning: 'ifunc' might be used uninitialized in this > function > * util.c: In function `ruby_strtod': > util.c:755: warning: 'pMant' might be used uninitialized in this > function I know, and they're all OK. > * parse.y:6585: warning: 'nodetype' defined but not used > parse.y:6592: warning: 'nodeline' defined but not used > > I don't know how resolve it... They are for debug use. Don't remove. > * process.c: In function `p_sys_setresuid': > process.c:2191: warning: implicit declaration of function `setresuid' > process.c: In function `p_sys_setresgid': > process.c:2535: warning: implicit declaration of function `setresgid' > > resolved by define __USE_GNU if use glibc Hmmm, didn't know it. Thank you. > * ruby.c: In function `process_sflag': > ruby.c:422: warning: suggest parentheses around assignment used as truth > value I've posted another patch around there to ruby-dev, and forgot to include the modification. -- Nobu Nakada