[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Re: Ruby 1.8.2 preview3

From: Hugh Sasse Staff Elec Eng <hgs@...>
Date: 2004-11-08 15:23:07 UTC
List: ruby-core #3701
On Mon, 8 Nov 2004, Yukihiro Matsumoto wrote:

>  64478c70a44a48af1a1c256a43e5dc61  ruby-1.8.2-preview3.tar.gz
>
> Feel free to report the bug, misfeature, bad portability on the
>

Did you want to know about warnings? Sun Solaris, with GCC
I get

In file included from regex.c:2687:
regex.c: In function `ruby_re_search':
regex.c:2629: warning: passing arg 1 of `slow_match' discards qualifiers from pointer target type
regex.c:2629: warning: passing arg 2 of `slow_match' discards qualifiers from pointer target type
regex.c:2629: warning: passing arg 3 of `slow_match' discards qualifiers from pointer target type
regex.c:2629: warning: passing arg 4 of `slow_match' discards qualifiers from pointer target type
regex.c:2629: warning: passing arg 5 of `slow_match' discards qualifiers from pointer target type
gcc -g -O2   -I. -I.  -c ruby.c

This is with 
gcc (GCC) 3.4.1
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(That's a little behind the times, but not far.)


I also got:

gcc -fPIC -g -O2  -I. -I../.. -I../../. -I../.././ext/bigdecimal   -c bigdecimal.c
In file included from ../../ruby.h:21,
                  from bigdecimal.c:23:
../../config.h:16:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/ctype_iso.h:30,
                  from /usr/include/ctype.h:18,
                  from bigdecimal.c:16:
/usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition

which is probably wrong at my end...

I've recently installed readline on here
/scratch/hgs/readline-5.0
and I now get:

compiling readline
gmake[1]: Entering directory `/export/home/Scratch/hgs/ruby-1.8.2/ext/readline'
gcc -fPIC -g -O2 -DREADLINE_42_OR_LATER -DREADLINE_40_OR_LATER -DREADLINE_21_OR_LATER  -I. -I../.. -I../../. -I../.././ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_CLEANUP_AFTER_SIGNAL  -c readline.c
In file included from ../../ruby.h:21,
                  from readline.c:9:
../../config.h:16:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/stdio_iso.h:35,
                  from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.1/include/stdio.h:36,
                  from readline.c:5:
/usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition
gcc -Wl,-G  -L"../.." -o readline.so readline.o  -lreadline -lncurses  -ldl -lcrypt -lm   -lc


gmake test succeeds, so these are not really a problem as far as I
know, but I raise these in case it helps...

By the way, I noticed there's no `make check` target. Did you reject
that, or not accept it yet?

         Thank you,
         Hugh

In This Thread