is this an issue for a Ruby installation process (warning: assignment discards qualifiers from poin

Discussion in 'Ruby' started by Greg Hauptmann, Feb 6, 2009.

  1. Hi,

    I'm on RedHat linux and installing Ruby but do get several warnings
    (see below). Is this OK?

    [root@home ruby-1.8.7-p72]# make
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c array.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c bignum.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c class.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c compar.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dir.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dln.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enum.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enumerator.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c error.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c eval.c
    eval.c: In function `rb_eval_string_wrap':
    eval.c:1731: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `rb_eval_cmd':
    eval.c:1872: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `call_trace_func':
    eval.c:2723: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `rb_raise_jump':
    eval.c:4752: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `method_missing':
    eval.c:5707: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `rb_call0':
    eval.c:5870: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `rb_f_eval':
    eval.c:6663: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `exec_under':
    eval.c:6687: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `rb_load':
    eval.c:7003: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `call_end_proc':
    eval.c:8016: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `rb_f_END':
    eval.c:8029: warning: assignment discards qualifiers from pointer target type
    eval.c: In function `mproc':
    eval.c:9805: warning: assignment discards qualifiers from pointer target type
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c file.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c gc.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c hash.c
    gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c inits.c




    --
    Greg
    http://blog.gregnet.org/
     
    Greg Hauptmann, Feb 6, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason
    Replies:
    6
    Views:
    9,007
    Mike Wahler
    Oct 9, 2003
  2. Charlie Zender
    Replies:
    12
    Views:
    1,086
    Peter Pichler
    Jan 3, 2004
  3. Thelma Lubkin
    Replies:
    2
    Views:
    520
  4. Thelma Roslyn Lubkin
    Replies:
    1
    Views:
    352
    Erik Wikström
    Dec 28, 2007
  5. Andre
    Replies:
    4
    Views:
    24,823
    Andrey Tarasevich
    Mar 4, 2008
Loading...

Share This Page