Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > is this an issue for a Ruby installation process (warning: assignment discards qualifiers from pointer target type)????

Reply
Thread Tools

is this an issue for a Ruby installation process (warning: assignment discards qualifiers from pointer target type)????

 
 
Greg Hauptmann
Guest
Posts: n/a
 
      02-06-2009
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/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning: initialization discards qualifiers from pointer target type Andre C Programming 4 03-04-2008 04:58 AM
return discards qualifiers from pointer target type Pietro Cerutti C Programming 17 09-01-2007 12:08 AM
error: passing const ... discards qualifiers danny van elsen C++ 6 04-24-2005 10:34 PM
Vexing GCC warnings: "assignment discards qualifiers from pointertarget type" Charlie Zender C Programming 12 01-03-2004 12:18 AM
warning: assignment discards qualifiers from pointer target type Jason C Programming 6 10-09-2003 07:38 PM



Advertisments