> -----Original Message----- > From: matz / ruby-lang.org [mailto:matz / ruby-lang.org] > Sent: Thursday, July 24, 2003 10:42 AM > To: ruby-talk / ruby-lang.org > Subject: Re: ruby 1.8.0 preview4 > > > In message "Re: ruby 1.8.0 preview4" > on 03/07/24, Brian Candler <B.Candler / pobox.com> writes: > > |> ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview4.tar.gz > | > |I notice code is compiled with -g and not stripped. Looking > at 1.6.8 it > |seems to be the same, so I guess this is intentional. > > Strange. It has not changed since 1.6.8; it should be > compiled with "-g -O2" by default, without stripping. > > matz. > I get gobs of warnings when I build with gcc -Wall. I tried to send them to the ML but the admin replied that my mail was too big. Do such warnings interest you? Solaris 9 gcc 3.2 iconv 1.8 readline 4.3 The most common were ones like these: array.c:1461: warning: `result' might be used uninitialized in this function bignum.c:450: warning: suggest parentheses around assignment used as truth value bignum.c:458: warning: subscript has type `char' dln.c:1307: warning: implicit declaration of function `alloca' eval.c:7381: warning: `umethod_unbind' defined but not used hash.c:531: warning: unused variable `i' -> lots and lots of unused variable warnings throughout code The library specific ones: iconv.c: In function `iconv_try': iconv.c:212: warning: passing arg 2 of `libiconv' from incompatible pointer type readline.c: In function `readline_attempted_completion_function': readline.c:153: warning: subscript has type `char' readline.c:154: warning: subscript has type `char' FWIW. Regards, Dan