Skip to content

Instantly share code, notes, and snippets.

@AkechiShiro
Created October 24, 2016 13:59
Show Gist options
  • Save AkechiShiro/52158f933ca20d73c2dcf591bb6ce33d to your computer and use it in GitHub Desktop.
Save AkechiShiro/52158f933ca20d73c2dcf591bb6ce33d to your computer and use it in GitHub Desktop.
[2016-10-24 15:56:46] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/akechi/.rvm/src/ruby-1.9.3-p551
GEM_HOME=/home/akechi/.rvm/gems/ruby-2.0.0-p648
PATH=/home/akechi/.rvm/usr/bin:/home/akechi/.rvm/gems/ruby-2.0.0-p648/bin:/home/akechi/.rvm/gems/ruby-2.0.0-p648@global/bin:/home/akechi/.rvm/rubies/ruby-2.0.0-p648/bin:/home/akechi/.rvm/bin:/usr/bin
GEM_PATH=/home/akechi/.rvm/gems/ruby-2.0.0-p648:/home/akechi/.rvm/gems/ruby-2.0.0-p648@global
command(2): __rvm_make -j8
++ make -j8
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.1.9
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
In file included from bignum.c:12:0:
bignum.c: In function 'rb_big_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1449:23: note: in expansion of macro 'INT2FIX'
if (a > 0.0) return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1460:51: note: in expansion of macro 'INT2FIX'
if (RBIGNUM_SIGN(x) < RBIGNUM_SIGN(y)) return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1462:29: note: in expansion of macro 'INT2FIX'
return (RBIGNUM_SIGN(x)) ? INT2FIX(-1) : INT2FIX(1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1464:42: note: in expansion of macro 'INT2FIX'
return (RBIGNUM_SIGN(x)) ? INT2FIX(1) : INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1472:34: note: in expansion of macro 'INT2FIX'
(RBIGNUM_SIGN(x) ? INT2FIX(1) : INT2FIX(-1)) :
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1473:25: note: in expansion of macro 'INT2FIX'
(RBIGNUM_SIGN(x) ? INT2FIX(-1) : INT2FIX(1));
^~~~~~~
bignum.c: In function 'big_op':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1493:22: note: in expansion of macro 'INT2FIX'
if (a > 0.0) rel = INT2FIX(-1);
^~~~~~~
compiling dln_find.c
bignum.c: In function 'rb_big_neg':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1680:20: note: in expansion of macro 'INT2FIX'
if (!i) return INT2FIX(~(SIGNED_VALUE)0);
^~~~~~~
class.c: In function 'rb_obj_methods':
class.c:1020:8: warning: variable 'args' set but not used [-Wunused-but-set-variable]
VALUE args[1];
^~~~
bignum.c: In function 'bdigbitsize':
bignum.c:2918:23: warning: left shift of negative value [-Wshift-negative-value]
BDIGIT bits = (~0 << nb);
^~
In file included from array.c:14:0:
array.c: In function 'rb_ary_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
array.c:3341:12: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
In file included from bignum.c:12:0:
bignum.c: In function 'check_shiftdown':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:3414:40: note: in expansion of macro 'INT2FIX'
return RBIGNUM_SIGN(x) ? INT2FIX(0) : INT2FIX(-1);
^~~~~~~
dir.c: In function 'dir_read':
dir.c:589:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
if (READDIR(dirp->dir, dirp->enc, &STRUCT_DIRENT(entry), dp)) {
^~
In file included from dir.c:26:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
dir.c: In function 'dir_each':
dir.c:631:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
while (READDIR(dirp->dir, dirp->enc, &STRUCT_DIRENT(entry), dp)) {
^~~~~
In file included from dir.c:26:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
bignum.c: In function 'big_rshift':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:3538:13: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:3548:14: note: in expansion of macro 'INT2FIX'
else return INT2FIX(-1);
^~~~~~~
bignum.c:3532:20: warning: variable 'save_x' set but not used [-Wunused-but-set-variable]
volatile VALUE save_x;
^~~~~~
dir.c: In function 'glob_helper':
dir.c:1387:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
while (READDIR(dirp, enc, &STRUCT_DIRENT(entry), dp)) {
^~~~~
In file included from dir.c:26:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
dir.c: In function 'dir_open_dir':
dir.c:1852:22: warning: variable 'dirp' set but not used [-Wunused-but-set-variable]
struct dir_data *dirp;
^~~~
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
proc.c: In function 'binding_free':
proc.c:241:19: warning: variable 'bind' set but not used [-Wunused-but-set-variable]
rb_binding_t *bind;
^~~~
In file included from eval.c:14:0:
eval.c: In function 'rb_rescue2':
eval_intern.h:112:23: warning: '_th' may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_thread_t * const _th = (th); \
^~~
eval_intern.h:112:23: note: '_th' was declared here
rb_thread_t * const _th = (th); \
^
eval_intern.h:125:20: note: in expansion of macro 'TH_PUSH_TAG'
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^~~~~~~~~~~
eval.c:667:7: note: in expansion of macro 'PUSH_TAG'
PUSH_TAG();
^~~~~~~~
compiling file.c
In file included from file.c:23:0:
file.c: In function 'rb_stat_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
file.c:323:51: note: in expansion of macro 'INT2FIX'
if (ts1.tv_nsec < ts2.tv_nsec) return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
file.c:326:45: note: in expansion of macro 'INT2FIX'
if (ts1.tv_sec < ts2.tv_sec) return INT2FIX(-1);
^~~~~~~
compiling gc.c
compiling hash.c
compiling inits.c
gc.c: In function 'objspace_each_objects':
gc.c:2721:20: warning: variable 'v' set but not used [-Wunused-but-set-variable]
volatile VALUE v;
^
compiling io.c
io.c: In function 'rb_io_each_byte':
io.c:3118:15: warning: variable 'e' set but not used [-Wunused-but-set-variable]
char *p, *e;
^
compiling marshal.c
io.c: In function 'pipe_open':
io.c:5357:12: warning: variable 'argv' set but not used [-Wunused-but-set-variable]
VALUE *argv;
^~~~
io.c:5356:9: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
int argc;
^~~~
compiling math.c
compiling node.c
compiling numeric.c
In file included from numeric.c:12:0:
numeric.c: In function 'rb_dbl_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:1066:23: note: in expansion of macro 'INT2FIX'
if (a < b) return INT2FIX(-1);
^~~~~~~
numeric.c: In function 'flo_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:1095:18: note: in expansion of macro 'INT2FIX'
else return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:1112:13: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
numeric.c: In function 'fix_pow':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:2778:10: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:2792:18: note: in expansion of macro 'INT2FIX'
else return INT2FIX(-1);
^~~~~~~
numeric.c: In function 'fix_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:2855:9: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
numeric.c: In function 'fix_rshift':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:3110:22: note: in expansion of macro 'INT2FIX'
if (val < 0) return INT2FIX(-1);
^~~~~~~
numeric.c: In function 'Init_Numeric':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:3590:43: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cFloat, "MIN_EXP", INT2FIX(DBL_MIN_EXP));
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:3592:46: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cFloat, "MIN_10_EXP", INT2FIX(DBL_MIN_10_EXP));
^~~~~~~
compiling object.c
In file included from object.c:14:0:
object.c: In function 'rb_mod_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
object.c:1470:9: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
compiling pack.c
pack.c: In function 'pack_pack':
pack.c:381:9: warning: variable 'signed_p' set but not used [-Wunused-but-set-variable]
int signed_p, integer_size, bigendian_p;
^~~~~~~~
compiling parse.c
compiling process.c
In file included from parse.y:22:0:
parse.y: In function 'ruby_yyparse':
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:1340:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2653:5: note: in expansion of macro 'nd_set_line'
nd_set_line($3, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2656:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2946:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>4);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2991:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>3);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3012:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>1);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3034:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>1);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3586:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3732:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3751:4: note: in expansion of macro 'nd_set_line'
nd_set_line($$, $<num>2);
^~~~~~~~~~~
parse.y: In function 'parser_compile_string':
parse.y:5309:20: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
parse.y: In function 'rb_parser_compile_file':
parse.y:5370:20: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
process.c: In function 'rb_proc_exec_n':
process.c:1134:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret = -1;
^~~
In file included from parse.y:22:0:
parse.y: In function 'parser_heredoc_identifier':
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:6191:5: note: in expansion of macro 'nd_set_line'
nd_set_line(lex_strterm, ruby_sourceline);
^~~~~~~~~~~
In file included from process.c:14:0:
process.c: In function 'check_exec_fds':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
process.c:1664:46: note: in expansion of macro 'INT2FIX'
rb_hash_aset(h, INT2FIX(fd), INT2FIX(-1));
^~~~~~~
parse.y: In function 'node_newnode':
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:8024:5: note: in expansion of macro 'nd_set_line'
nd_set_line(n, ruby_sourceline);
^~~~~~~~~~~
parse.y: In function 'fixpos':
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:8056:5: note: in expansion of macro 'nd_set_line'
nd_set_line(node, nd_line(orig));
^~~~~~~~~~~
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
regcomp.c: In function 'is_not_included':
regcomp.c:2436:13: warning: variable 'c' set but not used [-Wunused-but-set-variable]
UChar *p, c;
^
regcomp.c: In function 'update_string_node_case_fold':
regcomp.c:3226:14: warning: variable 'q' set but not used [-Wunused-but-set-variable]
UChar *p, *q, *end, buf[ONIGENC_MBC_CASE_FOLD_MAXLEN];
^
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
regparse.c: In function 'fetch_escaped_value':
regparse.c:261:30: warning: variable 'pfetch_prev' set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:2452:3: note: in expansion of macro 'PFETCH_READY'
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function 'fetch_name':
regparse.c:261:30: warning: variable 'pfetch_prev' set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:2665:3: note: in expansion of macro 'PFETCH_READY'
PFETCH_READY;
^~~~~~~~~~~~
compiling ruby.c
regparse.c: In function 'parse_posix_bracket':
regparse.c:261:30: warning: variable 'pfetch_prev' set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:4044:3: note: in expansion of macro 'PFETCH_READY'
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function 'fetch_char_property_to_ctype':
regparse.c:261:30: warning: variable 'pfetch_prev' set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:4097:3: note: in expansion of macro 'PFETCH_READY'
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function 'code_exist_check':
regparse.c:261:30: warning: variable 'pfetch_prev' set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:4262:3: note: in expansion of macro 'PFETCH_READY'
PFETCH_READY;
^~~~~~~~~~~~
compiling safe.c
compiling signal.c
signal.c: In function 'trap_handler':
signal.c:826:17: warning: variable 'proc' set but not used [-Wunused-but-set-variable]
rb_proc_t *proc;
^~~~
compiling sprintf.c
sprintf.c: In function 'remove_sign_bits':
sprintf.c:26:32: warning: left shift of negative value [-Wshift-negative-value]
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))
^
sprintf.c:41:8: note: in expansion of macro 'EXTENDSIGN'
*t |= EXTENDSIGN(3, strlen(t));
^~~~~~~~~~
sprintf.c:26:76: warning: left shift of negative value [-Wshift-negative-value]
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))
^
sprintf.c:41:8: note: in expansion of macro 'EXTENDSIGN'
*t |= EXTENDSIGN(3, strlen(t));
^~~~~~~~~~
sprintf.c: In function 'rb_str_format':
sprintf.c:902:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (s[0] != 'f') *--s = 'f'; break;
^~
sprintf.c:902:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (s[0] != 'f') *--s = 'f'; break;
^~~~~
sprintf.c:904:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (s[0] != '7') *--s = '7'; break;
^~
sprintf.c:904:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (s[0] != '7') *--s = '7'; break;
^~~~~
sprintf.c:906:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (s[0] != '1') *--s = '1'; break;
^~
sprintf.c:906:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (s[0] != '1') *--s = '1'; break;
^~~~~
compiling st.c
compiling strftime.c
compiling string.c
In file included from string.c:14:0:
string.c: In function 'rb_str_casecmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
string.c:2429:12: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
compiling struct.c
compiling time.c
time.c: In function 'timelocalw':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
time.c:67:27: note: in definition of macro 'lt'
#define lt(x,y) (cmp((x),(y)) < 0)
^
./include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
time.c:1621:19: note: in expansion of macro 'INT2NUM'
if (lt(v, INT2NUM(INT_MIN)) || lt(INT2NUM(INT_MAX), v))
^~~~~~~
time.c: In function 'validate_utc_offset':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
time.c:69:27: note: in definition of macro 'le'
#define le(x,y) (cmp((x),(y)) <= 0)
^
time.c:2654:24: note: in expansion of macro 'INT2FIX'
if (le(utc_offset, INT2FIX(-86400)) || ge(utc_offset, INT2FIX(86400)))
^~~~~~~
In file included from time.c:12:0:
time.c: In function 'time_cmp':
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
time.c:3381:12: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
compiling transcode.c
transcode.c: In function 'rb_econv_open0':
transcode.c:985:25: warning: variable 'denc' set but not used [-Wunused-but-set-variable]
rb_encoding *senc, *denc;
^~~~
transcode.c:985:18: warning: variable 'senc' set but not used [-Wunused-but-set-variable]
rb_encoding *senc, *denc;
^~~~
transcode.c: In function 'make_replacement':
transcode.c:2177:18: warning: variable 'enc' set but not used [-Wunused-but-set-variable]
rb_encoding *enc;
^~~
compiling util.c
compiling variable.c
compiling compile.c
compiling debug.c
compile.c: In function 'validate_label':
compile.c:444:10: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^~~
compile.c: In function 'iseq_compile_each':
compile.c:3320:5: warning: variable 'mid' set but not used [-Wunused-but-set-variable]
ID mid = 0;
^~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
compile.c:196:62: note: in definition of macro 'ADD_INSN1'
new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
^~~
compile.c:5007:48: note: in expansion of macro 'INT2FIX'
ADD_INSN1(ret, nd_line(node), putobject, INT2FIX(-1));
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
compile.c:196:62: note: in definition of macro 'ADD_INSN1'
new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
^~~
compile.c:5015:44: note: in expansion of macro 'INT2FIX'
ADD_INSN1(ret, nd_line(node), putobject, INT2FIX(-1));
^~~~~~~
compiling iseq.c
compile.c: In function 'iseq_build_from_ary_exception':
compile.c:5273:6: warning: variable 'sp' set but not used [-Wunused-but-set-variable]
int sp;
^~
time.c: In function 'localtimew':
time.c:1799:19: warning: 'tm.tm_isdst' may be used uninitialized in this function [-Wmaybe-uninitialized]
result->isdst = isdst;
~~~~~~~~~~~~~~^~~~~~~
In file included from vm_core.h:25:0,
from iseq.c:17:
iseq.c: In function 'iseq_load':
iseq.c:505:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^
ruby_atomic.h:23:24: note: in definition of macro 'ATOMIC_SIZE_CAS'
({ size_t oldvaldup = (oldval); \
^~~~~~
iseq.c:505:15: note: in expansion of macro 'ATOMIC_PTR_CAS'
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^~~~~~~~~~~~~~
iseq.c:448:51: warning: variable 'misc' set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~
iseq.c:448:38: warning: variable 'format_type' set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~~~~~~~
iseq.c:448:28: warning: variable 'version2' set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~~~~
iseq.c:448:18: warning: variable 'version1' set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~~~~
iseq.c:448:11: warning: variable 'magic' set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~
iseq.c: In function 'rb_iseq_parameters':
iseq.c:1390:15: warning: variable 's' set but not used [-Wunused-but-set-variable]
int i, r, s;
^
compiling vm.c
compiling vm_dump.c
In file included from vm.c:18:0:
vm_insnhelper.c: In function 'vm_throw':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_insnhelper.c:1500:7: note: in expansion of macro 'VM_FRAME_TYPE'
if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
^~~~~~~~~~~~~
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_insnhelper.c:1567:8: note: in expansion of macro 'VM_FRAME_TYPE'
if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
^~~~~~~~~~~~~
In file included from vm.c:23:0:
vm_insnhelper.c: In function 'vm_expandarray':
vm_insnhelper.c:1634:20: warning: variable 'tmp_ary' set but not used [-Wunused-but-set-variable]
volatile VALUE tmp_ary;
^~~~~~~
In file included from vm_dump.c:14:0:
vm_dump.c: In function 'control_frame_dump':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_dump.c:51:13: note: in expansion of macro 'VM_FRAME_TYPE'
switch (VM_FRAME_TYPE(cfp)) {
^~~~~~~~~~~~~
vm_dump.c: In function 'rb_vmdebug_debug_print_pre':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_dump.c:365:22: note: in expansion of macro 'VM_FRAME_TYPE'
if (iseq != 0 && VM_FRAME_TYPE(cfp) != VM_FRAME_MAGIC_FINISH) {
^~~~~~~~~~~~~
compiling thread.c
In file included from vm.c:28:0:
vm_eval.c: In function 'raise_method_missing':
vm_eval.c:509:8: warning: variable 'id' set but not used [-Wunused-but-set-variable]
ID id;
^~
In file included from vm.c:18:0:
vm_eval.c: In function 'rb_iterate':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:108:40: note: in definition of macro 'UNLIKELY'
#define UNLIKELY(x) (__builtin_expect((x), 0))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_eval.c:917:20: note: in expansion of macro 'VM_FRAME_TYPE'
if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
^~~~~~~~~~~~~
vm.c: In function 'vm_make_env_object':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:487:9: note: in expansion of macro 'VM_FRAME_TYPE'
if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_FINISH) {
^~~~~~~~~~~~~
vm.c: In function 'vm_backtrace_each':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_core.h:591:4: note: in expansion of macro 'VM_FRAME_TYPE'
(VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_CFUNC)
^~~~~~~~~~~~~
vm.c:818:11: note: in expansion of macro 'RUBYVM_CFUNC_FRAME_P'
else if (RUBYVM_CFUNC_FRAME_P(cfp)) {
^~~~~~~~~~~~~~~~~~~~
vm.c: In function 'vm_exec':
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:108:40: note: in definition of macro 'UNLIKELY'
#define UNLIKELY(x) (__builtin_expect((x), 0))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:1257:19: note: in expansion of macro 'VM_FRAME_TYPE'
if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
^~~~~~~~~~~~~
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:1426:14: note: in expansion of macro 'VM_FRAME_TYPE'
switch (VM_FRAME_TYPE(th->cfp)) {
^~~~~~~~~~~~~
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro 'VM_FRAME_MAGIC_MASK'
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:1437:10: note: in expansion of macro 'VM_FRAME_TYPE'
if (VM_FRAME_TYPE(th->cfp) != VM_FRAME_MAGIC_FINISH) {
^~~~~~~~~~~~~
vm.c: In function 'rb_iseq_eval':
vm.c:1460:20: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
vm.c: In function 'rb_iseq_eval_main':
vm.c:1474:20: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
compiling cont.c
cont.c: In function 'cont_capture':
cont.c:429:20: warning: variable 'contval' set but not used [-Wunused-but-set-variable]
volatile VALUE contval;
^~~~~~~
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
thread.c: In function 'thread_suppress_tracing':
compiling ./enc/utf_8.c
thread.c:4615:11: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE result = Qnil;
^~~~~~
compiling newline.c
compiling ./missing/strlcpy.c
compiling ./missing/strlcat.c
compiling ./missing/setproctitle.c
compiling addr2line.c
addr2line.c: In function 'parse_debug_line_cu':
addr2line.c:230:18: warning: variable 'isa' set but not used [-Wunused-but-set-variable]
unsigned int isa = 0;
^~~
addr2line.c:227:9: warning: variable 'end_sequence' set but not used [-Wunused-but-set-variable]
int end_sequence = 0;
^~~~~~~~~~~~
addr2line.c:226:9: warning: variable 'basic_block' set but not used [-Wunused-but-set-variable]
int basic_block = 0;
^~~~~~~~~~~
addr2line.c:224:18: warning: variable 'column' set but not used [-Wunused-but-set-variable]
unsigned int column = 0;
^~~~~~
addr2line.c:218:20: warning: variable 'standard_opcode_lengths' set but not used [-Wunused-but-set-variable]
unsigned char *standard_opcode_lengths;
^~~~~~~~~~~~~~~~~~~~~~~
compiling dmyext.c
compiling dln.c
compiling encoding.c
thread.c: In function 'exec_recursive_i':
thread.c:3987:11: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE result = Qundef;
^~~~~~
compiling dmyversion.c
In file included from thread.c:217:0:
thread.c: In function 'rb_mutex_lock':
thread_pthread.c:388:8: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if (timeout.tv_sec < now.tv_sec)
^
vm.c: In function 'vm_exec':
vm.c:1230:12: warning: variable 'escape_dfp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE *escape_dfp = NULL;
^~~~~~~~~~
In file included from vm.c:28:0:
vm_eval.c: In function 'eval_string_with_cref':
vm_eval.c:994:19: warning: variable 'bind' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
rb_binding_t *bind = 0;
^~~~
vm_eval.c: In function 'rb_eval_cmd':
vm_eval.c:1202:11: warning: variable 'val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE val = Qnil; /* OK */
^~~
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
generating prelude.c
compiling prelude.c
encdb.h unchanged
making srcs under enc
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
generating transdb.h
linking static-library libruby-static.a
ar: `u' modifier ignored since `D' is the default (see `U')
transdb.h unchanged
linking shared-library libruby.so.1.9.1
making enc
making trans
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
compiling ./enc/trans/transdb.c
compiling ./enc/encdb.c
compiling ./enc/big5.c
compiling ./enc/cp949.c
compiling ./enc/trans/big5.c
compiling ./enc/emacs_mule.c
compiling ./enc/trans/chinese.c
compiling ./enc/trans/emoji.c
configuring -test-/array/resize
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/funcall
compiling ./enc/euc_jp.c
configuring -test-/load/dot.dot
configuring -test-/old_thread_select
configuring -test-/st/numhash
configuring -test-/string
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
compiling ./enc/trans/emoji_iso2022_kddi.c
Failed to configure -test-/win32/dln. It will not be installed.
configuring -test-/win32/fd_setsize
Failed to configure -test-/win32/fd_setsize. It will not be installed.
configuring bigdecimal
compiling ./enc/euc_kr.c
compiling ./enc/euc_tw.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
compiling ./enc/trans/escape.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
compiling ./enc/iso_8859_2.c
compiling ./enc/iso_8859_3.c
compiling ./enc/trans/gb18030.c
compiling ./enc/trans/gbk.c
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
configuring continuation
configuring coverage
configuring curses
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/iso_8859_10.c
compiling ./enc/iso_8859_11.c
compiling ./enc/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/iso_8859_16.c
compiling ./enc/trans/iso2022.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/trans/japanese.c
compiling ./enc/utf_16be.c
compiling ./enc/trans/japanese_euc.c
compiling ./enc/utf_16le.c
compiling ./enc/trans/japanese_sjis.c
./enc/utf_16le.c:36:18: warning: 'EncLen_UTF16' defined but not used [-Wunused-const-variable=]
static const int EncLen_UTF16[] = {
^~~~~~~~~~~~
./enc/utf_16be.c:36:18: warning: 'EncLen_UTF16' defined but not used [-Wunused-const-variable=]
static const int EncLen_UTF16[] = {
^~~~~~~~~~~~
compiling ./enc/trans/korean.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_1251.c
linking encoding encdb.so
compiling ./enc/trans/single_byte.c
linking encoding big5.so
linking encoding cp949.so
linking encoding emacs_mule.so
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
linking encoding euc_jp.so
linking encoding euc_kr.so
linking encoding euc_tw.so
linking encoding gb2312.so
linking encoding gb18030.so
linking encoding gbk.so
linking encoding iso_8859_1.so
linking encoding iso_8859_2.so
linking transcoder transdb.so
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
linking encoding iso_8859_5.so
linking encoding iso_8859_6.so
linking transcoder chinese.so
linking transcoder emoji.so
linking encoding iso_8859_7.so
linking encoding iso_8859_8.so
linking encoding iso_8859_9.so
linking transcoder emoji_iso2022_kddi.so
linking transcoder emoji_sjis_docomo.so
linking encoding iso_8859_10.so
linking encoding iso_8859_11.so
linking encoding iso_8859_13.so
linking encoding iso_8859_14.so
linking encoding iso_8859_15.so
linking transcoder emoji_sjis_kddi.so
linking transcoder emoji_sjis_softbank.so
linking encoding iso_8859_16.so
linking encoding koi8_r.so
linking encoding koi8_u.so
linking encoding shift_jis.so
linking transcoder escape.so
linking transcoder gb18030.so
linking encoding utf_16be.so
linking transcoder gbk.so
linking encoding utf_16le.so
linking transcoder iso2022.so
linking transcoder japanese.so
linking encoding utf_32be.so
linking transcoder japanese_sjis.so
linking encoding utf_32le.so
linking encoding windows_1251.so
linking transcoder single_byte.so
linking transcoder utf8_mac.so
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
linking transcoder utf_16_32.so
linking transcoder japanese_euc.so
linking transcoder korean.so
linking transcoder big5.so
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
making encs
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
configuring date
configuring dbm
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
configuring dl/win32
Failed to configure dl/win32. It will not be installed.
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring iconv
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syck
configuring syslog
configuring tk
check functions.........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh............
Ignore "/usr/lib64/tclConfig.sh" (unsupported version of Tcl/Tk).
.........
Ignore "/usr/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
.........
Fail to find [tclConfig.sh, tkConfig.sh]
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
Search tcl.h.
Search tk.h.Search Tcl library..........
Warning:: cannot find Tcl library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options.
Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk.
If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib).
At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4.
Failed to configure tk. It will not be installed.
configuring tk/tkutil
Failed to configure tk/tkutil. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/array/resize'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3571'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/load/dot.dot'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3662'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/funcall'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling resize.c
compiling dot.dot.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/st/numhash'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bug.c
compiling passing_block.c
compiling bug.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/old_thread_select'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling numhash.c
installing default numhash libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/string'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling old_thread_select.c
installing default dot.dot libraries
installing default bug libraries
installing default funcall libraries
installing default old_thread_select libraries
installing default resize libraries
installing default bug libraries
linking shared-object -test-/load/dot.dot/dot.dot.so
compiling init.c
compiling ellipsize.c
linking shared-object -test-/bug-3571/bug.so
old_thread_select.c: In function 'old_thread_select':
old_thread_select.c:57:5: warning: 'rb_thread_select' is deprecated [-Wdeprecated-declarations]
rc = rb_thread_select(max, rp, wp, ep, tvp);
^~
In file included from ../../.././include/ruby/ruby.h:24:0,
from old_thread_select.c:2:
../../.././include/ruby/intern.h:390:16: note: declared here
DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *));
^
../../../.ext/include/x86_64-linux/ruby/config.h:67:52: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
^
compiling modify.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/load/dot.dot'
compiling set_len.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/wait_for_single_fd'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/bug-3662/bug.so
compiling wait_for_single_fd.c
linking shared-object -test-/array/resize.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3571'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/dln'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/dln'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/fd_setsize'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/fd_setsize'
linking shared-object -test-/funcall/funcall.so
installing default wait_for_single_fd libraries
compiling enc_associate.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/bigdecimal'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bigdecimal.c
compiling cstr.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3662'
linking shared-object -test-/st/numhash.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/continuation'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling continuation.c
installing default string libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/funcall'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/coverage'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
linking shared-object -test-/old_thread_select/old_thread_select.so
compiling coverage.c
installing default continuation libraries
bigdecimal.c: In function 'BigDecimal_prec':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:315:5: note: in expansion of macro 'ENTER'
ENTER(1);
^~~~~
bigdecimal.c: In function 'BigDecimal_hash':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:328:5: note: in expansion of macro 'ENTER'
ENTER(1);
^~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/st/numhash'
bigdecimal.c: In function 'BigDecimal_dump':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:345:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_load':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:367:5: note: in expansion of macro 'ENTER'
ENTER(2);
^~~~~
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function 'BigDecimal_IsInfinite':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:605:30: note: in expansion of macro 'INT2FIX'
if(VpIsNegInf(p)) return INT2FIX(-1);
^~~~~~~
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/curses'
bigdecimal.c: In function 'BigDecimal_to_i':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:661:48: note: in expansion of macro 'INT2FIX'
numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
^~~~~~~
make[2]: warning: -jN forced in submake: disabling jobserver mode.
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:640:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_to_f':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:685:5: note: in expansion of macro 'ENTER'
ENTER(1);
^~~~~
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function 'BigDecimal_to_r':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:745:44: note: in expansion of macro 'INT2FIX'
numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
^~~~~~~
bigdecimal.c: In function 'BigDecimal_coerce':
compiling curses.c
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:776:5: note: in expansion of macro 'ENTER'
ENTER(2);
^~~~~
bigdecimal.c: In function 'BigDecimal_add':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:817:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_sub':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:869:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/array/resize'
bigdecimal.c: In function 'BigDecimalCmp':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:908:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_neg':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1089:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_mult':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1111:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_divide':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1139:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_div':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1188:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/date'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
bigdecimal.c: In function 'BigDecimal_DoDivmod':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1211:5: note: in expansion of macro 'ENTER'
ENTER(8);
^~~~~
bigdecimal.c: In function 'BigDecimal_mod':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1297:5: note: in expansion of macro 'ENTER'
ENTER(3);
^~~~~
bigdecimal.c: In function 'BigDecimal_divremain':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1310:5: note: in expansion of macro 'ENTER'
ENTER(10);
^~~~~
compiling date_strftime.c
installing default curses libraries
bigdecimal.c: In function 'BigDecimal_divmod':
installing default bigdecimal libraries
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1389:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
compiling date_parse.c
bigdecimal.c: In function 'BigDecimal_div2':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1402:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_add2':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1438:5: note: in expansion of macro 'ENTER'
ENTER(2);
^~~~~
bigdecimal.c: In function 'BigDecimal_sub2':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1455:5: note: in expansion of macro 'ENTER'
ENTER(2);
^~~~~
bigdecimal.c: In function 'BigDecimal_mult2':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1472:5: note: in expansion of macro 'ENTER'
ENTER(2);
^~~~~
bigdecimal.c: In function 'BigDecimal_abs':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1495:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_sqrt':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1517:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_fix':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1536:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_round':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1572:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_truncate':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1630:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_frac':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1659:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_floor':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1692:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_ceil':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1741:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
compiling date_core.c
bigdecimal.c: In function 'BigDecimal_to_s':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1798:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_split':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1889:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
bigdecimal.c: In function 'BigDecimal_inspect':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1943:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
installing default coverage libraries
bigdecimal.c: In function 'BigDecimal_power':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:2085:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
compiling date_strptime.c
bigdecimal.c: In function 'BigDecimal_new':
bigdecimal.c:63:33: warning: variable 'vStack' set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:2334:5: note: in expansion of macro 'ENTER'
ENTER(5);
^~~~~
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function 'BigMath_s_exp':
bigdecimal.h:264:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
^
bigdecimal.h:266:35: note: in expansion of macro 'VpSetPosInf'
#define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
^~~~~~~~~~~
bigdecimal.c:2554:6: note: in expansion of macro 'VpSetInf'
VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
^~~~~~~~
linking shared-object continuation.so
bigdecimal.c: In function 'BigMath_s_log':
bigdecimal.h:264:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
^
bigdecimal.h:266:35: note: in expansion of macro 'VpSetPosInf'
#define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
^~~~~~~~~~~
bigdecimal.c:2706:2: note: in expansion of macro 'VpSetInf'
VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
^~~~~~~~
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function 'Init_bigdecimal':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3002:58: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO",INT2FIX(VP_SIGN_NEGATIVE_ZERO));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3008:60: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE",INT2FIX(VP_SIGN_NEGATIVE_FINITE));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3014:62: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE",INT2FIX(VP_SIGN_NEGATIVE_INFINITE));
^~~~~~~
linking shared-object -test-/string/string.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/wait_for_single_fd'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/old_thread_select'
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function 'VpAlloc':
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3665:8: note: in expansion of macro 'VpSetZero'
VpSetZero(vp,1); /* initialize vp to zero. */
^~~~~~~~~
bigdecimal.c: In function 'VpAddSub':
bigdecimal.h:252:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetNegZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_NEGATIVE_ZERO)
^
bigdecimal.h:253:51: note: in expansion of macro 'VpSetNegZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3855:17: note: in expansion of macro 'VpSetZero'
VpSetZero(c,-1);
^~~~~~~~~
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3857:17: note: in expansion of macro 'VpSetZero'
VpSetZero(c,1);
^~~~~~~~~
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3909:13: note: in expansion of macro 'VpSetZero'
VpSetZero(c,1); /* abs(a)=abs(b) and operation = '-' */
^~~~~~~~~
bigdecimal.c: In function 'VpMult':
bigdecimal.c:4259:36: warning: variable 'ind_be' set but not used [-Wunused-but-set-variable]
size_t ind_as, ind_ae, ind_bs, ind_be;
^~~~~~
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dbm'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest'
curses.c: In function 'window_cury':
curses.c:1632:9: warning: variable 'x' set but not used [-Wunused-but-set-variable]
int x, y;
^
compiling dbm.c
make[2]: warning: -jN forced in submake: disabling jobserver mode.
curses.c: In function 'window_curx':
curses.c:1648:12: warning: variable 'y' set but not used [-Wunused-but-set-variable]
int x, y;
^
curses.c: In function 'window_begy':
curses.c:1712:9: warning: variable 'x' set but not used [-Wunused-but-set-variable]
int x, y;
^
curses.c: In function 'window_begx':
curses.c:1732:12: warning: variable 'y' set but not used [-Wunused-but-set-variable]
int x, y;
^
bigdecimal.c: In function 'VpCtoV':
bigdecimal.c:5056:12: warning: variable 'loc' set but not used [-Wunused-but-set-variable]
size_t loc;
^~~
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function 'VpDtoV':
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:5286:9: note: in expansion of macro 'VpSetZero'
VpSetZero(m,1);
^~~~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/-test-/string'
bigdecimal.c: In function 'VpSqrt':
bigdecimal.c:5402:20: warning: variable 'f_prec' set but not used [-Wunused-but-set-variable]
size_t y_prec, f_prec;
^~~~~~
compiling digest.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/bubblebabble'
linking shared-object coverage.so
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/continuation'
compiling bubblebabble.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/md5'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling md5init.c
compiling md5ossl.c
In file included from ../.././include/ruby.h:32:0,
from date_core.c:5:
date_core.c: In function 'date_s_ordinal':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3350:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
installing default md5 libraries
date_core.c: In function 'date_s_civil':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3420:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'date_s_commercial':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3499:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/coverage'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/rmd160'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default dbm libraries
compiling rmd160init.c
installing default date_core libraries
installing default bubblebabble libraries
compiling rmd160ossl.c
date_core.c: In function 'd_lite_downto':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6288:27: note: in expansion of macro 'INT2FIX'
date = d_lite_plus(date, INT2FIX(-1));
^~~~~~~
date_core.c: In function 'cmp_dd':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6333:11: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6340:14: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6347:10: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6354:13: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
date_core.c: In function 'd_lite_cmp':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6409:14: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6416:10: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6471:11: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6479:14: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6486:10: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
date_core.c: In function 'datetime_s_ordinal':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7460:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'datetime_s_civil':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7538:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'datetime_s_commercial':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7637:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
installing default rmd160 libraries
linking shared-object digest/bubblebabble.so
installing digest libraries
linking shared-object digest/md5.so
installing default digest libraries
linking shared-object digest/rmd160.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/bubblebabble'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/sha1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sha1init.c
compiling sha1ossl.c
installing default sha1 libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/md5'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/sha2'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sha2init.c
compiling sha2ossl.c
linking shared-object digest/sha1.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/rmd160'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dl'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object digest.so
compiling cptr.c
compiling dl.c
installing default sha2 libraries
linking shared-object digest/sha2.so
compiling handle.c
compiling cfunc.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/sha2'
cptr.c: In function 'dlptr_init':
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dl/callback'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
cptr.c:78:22: warning: variable 'data' set but not used [-Wunused-but-set-variable]
struct ptr_data *data;
^~~~
In file included from cptr.c:5:0:
cptr.c: In function 'rb_dlptr_cmp':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
cptr.c:458:36: note: in expansion of macro 'INT2NUM'
return diff > 0 ? INT2NUM(1) : INT2NUM(-1);
^~~~~~~
generating callback.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/digest/sha1'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dl/win32'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dl/win32'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/etc'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/fcntl'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling etc.c
installing default callback libraries
linking shared-object dbm.so
compiling fcntl.c
installing default etc libraries
installing default fcntl libraries
installing dl libraries
installing default dl libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dbm'
compiling callback.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/fiber'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling fiber.c
compiling callback-0.c
linking shared-object fcntl.so
installing default fiber libraries
compiling callback-1.c
linking shared-object fiber.so
compiling callback-2.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/fcntl'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/fiddle'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling conversions.c
compiling callback-3.c
callback-0.c: In function 'rb_dl_callback_void_0_0_cdecl':
compiling callback-4.c
callback-0.c:12:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb;
^~~
compiling closure.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/fiber'
callback-0.c: In function 'rb_dl_callback_void_0_1_cdecl':
callback-0.c:23:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb;
^~~
callback-0.c: In function 'rb_dl_callback_void_0_2_cdecl':
callback-0.c:34:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb;
^~~
callback-0.c: In function 'rb_dl_callback_void_0_3_cdecl':
callback-0.c:45:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb;
^~~
callback-0.c: In function 'rb_dl_callback_void_0_4_cdecl':
callback-0.c:56:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb;
^~~
callback-0.c: In function 'rb_dl_callback_void_1_0_cdecl':
callback-0.c:67:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[1];
^~~
callback-0.c: In function 'rb_dl_callback_void_1_1_cdecl':
callback-0.c:78:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[1];
^~~
callback-0.c: In function 'rb_dl_callback_void_1_2_cdecl':
callback-0.c:89:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[1];
^~~
callback-0.c: In function 'rb_dl_callback_void_1_3_cdecl':
callback-0.c:100:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[1];
^~~
callback-0.c: In function 'rb_dl_callback_void_1_4_cdecl':
callback-0.c:111:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[1];
^~~
callback-0.c: In function 'rb_dl_callback_void_2_0_cdecl':
callback-0.c:122:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[2];
^~~
callback-0.c: In function 'rb_dl_callback_void_2_1_cdecl':
callback-0.c:134:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[2];
^~~
callback-0.c: In function 'rb_dl_callback_void_2_2_cdecl':
callback-0.c:146:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[2];
^~~
callback-0.c: In function 'rb_dl_callback_void_2_3_cdecl':
callback-0.c:158:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[2];
^~~
callback-0.c: In function 'rb_dl_callback_void_2_4_cdecl':
callback-0.c:170:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[2];
^~~
callback-0.c: In function 'rb_dl_callback_void_3_0_cdecl':
callback-0.c:182:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[3];
^~~
callback-0.c: In function 'rb_dl_callback_void_3_1_cdecl':
callback-0.c:195:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[3];
^~~
callback-0.c: In function 'rb_dl_callback_void_3_2_cdecl':
callback-0.c:208:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[3];
^~~
callback-0.c: In function 'rb_dl_callback_void_3_3_cdecl':
callback-0.c:221:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[3];
^~~
callback-0.c: In function 'rb_dl_callback_void_3_4_cdecl':
callback-0.c:234:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[3];
^~~
callback-0.c: In function 'rb_dl_callback_void_4_0_cdecl':
callback-0.c:247:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[4];
^~~
callback-0.c: In function 'rb_dl_callback_void_4_1_cdecl':
callback-0.c:261:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[4];
^~~
callback-0.c: In function 'rb_dl_callback_void_4_2_cdecl':
callback-0.c:275:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[4];
^~~
callback-0.c: In function 'rb_dl_callback_void_4_3_cdecl':
callback-0.c:289:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[4];
^~~
callback-0.c: In function 'rb_dl_callback_void_4_4_cdecl':
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/gdbm'
callback-0.c:303:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[4];
^~~
callback-0.c: In function 'rb_dl_callback_void_5_0_cdecl':
callback-0.c:317:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[5];
^~~
callback-0.c: In function 'rb_dl_callback_void_5_1_cdecl':
callback-0.c:332:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[5];
^~~
callback-0.c: In function 'rb_dl_callback_void_5_2_cdecl':
callback-0.c:347:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[5];
^~~
callback-0.c: In function 'rb_dl_callback_void_5_3_cdecl':
callback-0.c:362:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[5];
^~~
callback-0.c: In function 'rb_dl_callback_void_5_4_cdecl':
callback-0.c:377:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[5];
^~~
callback-0.c: In function 'rb_dl_callback_void_6_0_cdecl':
callback-0.c:392:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[6];
^~~
callback-0.c: In function 'rb_dl_callback_void_6_1_cdecl':
callback-0.c:408:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[6];
^~~
callback-0.c: In function 'rb_dl_callback_void_6_2_cdecl':
callback-0.c:424:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[6];
^~~
callback-0.c: In function 'rb_dl_callback_void_6_3_cdecl':
callback-0.c:440:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[6];
^~~
make[2]: warning: -jN forced in submake: disabling jobserver mode.
callback-0.c: In function 'rb_dl_callback_void_6_4_cdecl':
callback-0.c:456:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[6];
^~~
callback-0.c: In function 'rb_dl_callback_void_7_0_cdecl':
callback-0.c:472:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[7];
^~~
callback-0.c: In function 'rb_dl_callback_void_7_1_cdecl':
callback-0.c:489:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[7];
^~~
callback-0.c: In function 'rb_dl_callback_void_7_2_cdecl':
callback-0.c:506:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[7];
^~~
callback-0.c: In function 'rb_dl_callback_void_7_3_cdecl':
callback-0.c:523:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[7];
^~~
callback-0.c: In function 'rb_dl_callback_void_7_4_cdecl':
callback-0.c:540:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[7];
^~~
callback-0.c: In function 'rb_dl_callback_void_8_0_cdecl':
callback-0.c:557:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[8];
^~~
callback-0.c: In function 'rb_dl_callback_void_8_1_cdecl':
callback-0.c:575:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[8];
^~~
callback-0.c: In function 'rb_dl_callback_void_8_2_cdecl':
callback-0.c:593:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[8];
^~~
compiling gdbm.c
callback-0.c: In function 'rb_dl_callback_void_8_3_cdecl':
compiling callback-5.c
callback-0.c:611:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[8];
^~~
callback-0.c: In function 'rb_dl_callback_void_8_4_cdecl':
callback-0.c:629:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[8];
^~~
callback-0.c: In function 'rb_dl_callback_void_9_0_cdecl':
callback-0.c:647:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[9];
^~~
callback-0.c: In function 'rb_dl_callback_void_9_1_cdecl':
callback-0.c:666:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[9];
^~~
callback-0.c: In function 'rb_dl_callback_void_9_2_cdecl':
callback-0.c:685:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[9];
^~~
callback-0.c: In function 'rb_dl_callback_void_9_3_cdecl':
callback-0.c:704:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[9];
^~~
callback-0.c: In function 'rb_dl_callback_void_9_4_cdecl':
callback-0.c:723:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[9];
^~~
compiling function.c
callback-0.c: In function 'rb_dl_callback_void_10_0_cdecl':
compiling callback-6.c
callback-0.c:742:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[10];
^~~
callback-0.c: In function 'rb_dl_callback_void_10_1_cdecl':
compiling fiddle.c
callback-0.c:762:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[10];
^~~
callback-0.c: In function 'rb_dl_callback_void_10_2_cdecl':
callback-0.c:782:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[10];
^~~
callback-0.c: In function 'rb_dl_callback_void_10_3_cdecl':
callback-0.c:802:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[10];
^~~
callback-0.c: In function 'rb_dl_callback_void_10_4_cdecl':
callback-0.c:822:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[10];
^~~
callback-0.c: In function 'rb_dl_callback_void_11_0_cdecl':
callback-0.c:842:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[11];
^~~
callback-0.c: In function 'rb_dl_callback_void_11_1_cdecl':
callback-0.c:863:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[11];
^~~
callback-0.c: In function 'rb_dl_callback_void_11_2_cdecl':
callback-0.c:884:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[11];
^~~
callback-0.c: In function 'rb_dl_callback_void_11_3_cdecl':
callback-0.c:905:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[11];
^~~
callback-0.c: In function 'rb_dl_callback_void_11_4_cdecl':
callback-0.c:926:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[11];
^~~
callback-0.c: In function 'rb_dl_callback_void_12_0_cdecl':
callback-0.c:947:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[12];
^~~
callback-0.c: In function 'rb_dl_callback_void_12_1_cdecl':
callback-0.c:969:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[12];
^~~
callback-0.c: In function 'rb_dl_callback_void_12_2_cdecl':
callback-0.c:991:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[12];
^~~
callback-0.c: In function 'rb_dl_callback_void_12_3_cdecl':
callback-0.c:1013:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[12];
^~~
compiling callback-7.c
callback-0.c: In function 'rb_dl_callback_void_12_4_cdecl':
callback-0.c:1035:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[12];
^~~
callback-0.c: In function 'rb_dl_callback_void_13_0_cdecl':
callback-0.c:1057:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[13];
^~~
callback-0.c: In function 'rb_dl_callback_void_13_1_cdecl':
callback-0.c:1080:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[13];
^~~
installing default gdbm libraries
callback-0.c: In function 'rb_dl_callback_void_13_2_cdecl':
callback-0.c:1103:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[13];
^~~
callback-0.c: In function 'rb_dl_callback_void_13_3_cdecl':
callback-0.c:1126:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[13];
^~~
callback-0.c: In function 'rb_dl_callback_void_13_4_cdecl':
callback-0.c:1149:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[13];
^~~
callback-0.c: In function 'rb_dl_callback_void_14_0_cdecl':
callback-0.c:1172:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[14];
^~~
callback-0.c: In function 'rb_dl_callback_void_14_1_cdecl':
callback-0.c:1196:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[14];
^~~
callback-0.c: In function 'rb_dl_callback_void_14_2_cdecl':
callback-0.c:1220:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[14];
^~~
callback-0.c: In function 'rb_dl_callback_void_14_3_cdecl':
callback-0.c:1244:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[14];
^~~
callback-0.c: In function 'rb_dl_callback_void_14_4_cdecl':
callback-0.c:1268:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[14];
^~~
callback-0.c: In function 'rb_dl_callback_void_15_0_cdecl':
callback-0.c:1292:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[15];
^~~
callback-0.c: In function 'rb_dl_callback_void_15_1_cdecl':
callback-0.c:1317:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[15];
^~~
callback-0.c: In function 'rb_dl_callback_void_15_2_cdecl':
callback-0.c:1342:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[15];
^~~
linking shared-object etc.so
callback-0.c: In function 'rb_dl_callback_void_15_3_cdecl':
callback-0.c:1367:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[15];
^~~
callback-0.c: In function 'rb_dl_callback_void_15_4_cdecl':
callback-0.c:1392:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[15];
^~~
callback-0.c: In function 'rb_dl_callback_void_16_0_cdecl':
callback-0.c:1417:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[16];
^~~
callback-0.c: In function 'rb_dl_callback_void_16_1_cdecl':
callback-0.c:1443:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[16];
^~~
callback-0.c: In function 'rb_dl_callback_void_16_2_cdecl':
callback-0.c:1469:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[16];
^~~
callback-0.c: In function 'rb_dl_callback_void_16_3_cdecl':
callback-0.c:1495:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[16];
^~~
callback-0.c: In function 'rb_dl_callback_void_16_4_cdecl':
callback-0.c:1521:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[16];
^~~
callback-0.c: In function 'rb_dl_callback_void_17_0_cdecl':
gdbm.c: In function 'fgdbm_initialize':
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type [-Wincompatible-pointer-types]
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:210:38: note: in expansion of macro 'MY_FATAL_FUNC'
flags, mode, MY_FATAL_FUNC);
^~~~~~~~~~~~~
In file included from gdbm.c:14:0:
/usr/include/gdbm.h:105:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^~~~~~~~~
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type [-Wincompatible-pointer-types]
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:216:55: note: in expansion of macro 'MY_FATAL_FUNC'
GDBM_WRCREAT|flags, mode, MY_FATAL_FUNC);
^~~~~~~~~~~~~
In file included from gdbm.c:14:0:
/usr/include/gdbm.h:105:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^~~~~~~~~
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type [-Wincompatible-pointer-types]
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:219:51: note: in expansion of macro 'MY_FATAL_FUNC'
GDBM_WRITER|flags, 0, MY_FATAL_FUNC);
^~~~~~~~~~~~~
In file included from gdbm.c:14:0:
/usr/include/gdbm.h:105:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^~~~~~~~~
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type [-Wincompatible-pointer-types]
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:222:51: note: in expansion of macro 'MY_FATAL_FUNC'
GDBM_READER|flags, 0, MY_FATAL_FUNC);
^~~~~~~~~~~~~
In file included from gdbm.c:14:0:
/usr/include/gdbm.h:105:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^~~~~~~~~
callback-0.c:1547:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[17];
^~~
callback-0.c: In function 'rb_dl_callback_void_17_1_cdecl':
callback-0.c:1574:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[17];
^~~
callback-0.c: In function 'rb_dl_callback_void_17_2_cdecl':
callback-0.c:1601:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[17];
^~~
callback-0.c: In function 'rb_dl_callback_void_17_3_cdecl':
callback-0.c:1628:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[17];
^~~
callback-0.c: In function 'rb_dl_callback_void_17_4_cdecl':
callback-0.c:1655:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[17];
^~~
callback-0.c: In function 'rb_dl_callback_void_18_0_cdecl':
callback-0.c:1682:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[18];
^~~
callback-0.c: In function 'rb_dl_callback_void_18_1_cdecl':
installing default fiddle libraries
callback-0.c:1710:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[18];
^~~
callback-0.c: In function 'rb_dl_callback_void_18_2_cdecl':
callback-0.c:1738:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[18];
^~~
callback-0.c: In function 'rb_dl_callback_void_18_3_cdecl':
callback-0.c:1766:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[18];
^~~
callback-0.c: In function 'rb_dl_callback_void_18_4_cdecl':
callback-0.c:1794:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[18];
^~~
callback-0.c: In function 'rb_dl_callback_void_19_0_cdecl':
callback-0.c:1822:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[19];
^~~
callback-0.c: In function 'rb_dl_callback_void_19_1_cdecl':
callback-0.c:1851:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[19];
^~~
callback-0.c: In function 'rb_dl_callback_void_19_2_cdecl':
callback-0.c:1880:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[19];
^~~
callback-0.c: In function 'rb_dl_callback_void_19_3_cdecl':
callback-0.c:1909:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[19];
^~~
callback-0.c: In function 'rb_dl_callback_void_19_4_cdecl':
callback-0.c:1938:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
VALUE ret, cb, args[19];
^~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/etc'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/iconv'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling iconv.c
installing default iconv libraries
iconv.c: In function 'get_iconv_opt_i':
iconv.c:567:17: warning: variable 'val' set but not used [-Wunused-but-set-variable]
VALUE name, val;
^~~
linking shared-object fiddle.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/fiddle'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/io/console'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling console.c
installing default console libraries
linking shared-object dl.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dl'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/io/nonblock'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling nonblock.c
installing default nonblock libraries
linking shared-object curses.so
linking shared-object io/console.so
linking shared-object io/nonblock.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/io/console'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/io/nonblock'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/io/wait'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/curses'
compiling wait.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/json'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object gdbm.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/json/generator'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default wait libraries
linking shared-object iconv.so
compiling generator.c
installing default generator libraries
linking shared-object io/wait.so
installing default libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/json'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/json/parser'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/iconv'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/io/wait'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling parser.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/gdbm'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/mathn/complex'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling complex.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/mathn/rational'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default parser libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/nkf'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rational.c
compiling nkf.c
In file included from generator.c:1:0:
generator.c: In function 'cState_aref':
generator.h:134:27: warning: variable 'state' set but not used [-Wunused-but-set-variable]
JSON_Generator_State *state; \
^
generator.c:745:5: note: in expansion of macro 'GET_STATE'
GET_STATE(self);
^~~~~~~~~
installing default complex libraries
installing default rational libraries
linking shared-object mathn/rational.so
linking shared-object mathn/complex.so
installing default nkf libraries
parser.c:1900:18: warning: 'JSON_quirks_mode_en_main' defined but not used [-Wunused-const-variable=]
#line 1896 "parser.c"
^~~~
parser.c:1898:18: warning: 'JSON_quirks_mode_error' defined but not used [-Wunused-const-variable=]
^
parser.c:1726:18: warning: 'JSON_en_main' defined but not used [-Wunused-const-variable=]
#line 1722 "parser.c"
^~~~
parser.c:1724:18: warning: 'JSON_error' defined but not used [-Wunused-const-variable=]
^
parser.c:1368:18: warning: 'JSON_string_en_main' defined but not used [-Wunused-const-variable=]
#line 1364 "parser.c"
^~~~
parser.c:1366:18: warning: 'JSON_string_error' defined but not used [-Wunused-const-variable=]
^
parser.c:1036:18: warning: 'JSON_array_en_main' defined but not used [-Wunused-const-variable=]
#line 1032 "parser.c"
^~~~
parser.c:1034:18: warning: 'JSON_array_error' defined but not used [-Wunused-const-variable=]
^
parser.c:873:18: warning: 'JSON_float_en_main' defined but not used [-Wunused-const-variable=]
#line 869 "parser.c"
^~~
parser.c:871:18: warning: 'JSON_float_error' defined but not used [-Wunused-const-variable=]
^
parser.c:777:18: warning: 'JSON_integer_en_main' defined but not used [-Wunused-const-variable=]
#line 773 "parser.c"
^~~
parser.c:775:18: warning: 'JSON_integer_error' defined but not used [-Wunused-const-variable=]
^
parser.c:468:18: warning: 'JSON_value_en_main' defined but not used [-Wunused-const-variable=]
#line 464 "parser.c"
^~~
parser.c:466:18: warning: 'JSON_value_error' defined but not used [-Wunused-const-variable=]
^
parser.c:95:18: warning: 'JSON_object_en_main' defined but not used [-Wunused-const-variable=]
static const int JSON_object_en_main = 1;
^~~~~~~~~~~~~~~~~~~
parser.c:93:18: warning: 'JSON_object_error' defined but not used [-Wunused-const-variable=]
static const int JSON_object_error = 0;
^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/mathn/rational'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/objspace'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling objspace.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/mathn/complex'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/openssl'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling ossl_ssl_session.c
compiling ossl_x509name.c
installing default objspace libraries
compiling openssl_missing.c
compiling ossl_ocsp.c
compiling ossl_rand.c
compiling ossl_pkey_dsa.c
compiling ossl_x509cert.c
compiling ossl_pkey_dh.c
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function 'module_connection':
nkf-utf8/nkf.c:5307:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (nkf_enc_unicode_p(output_encoding))
^~
nkf-utf8/nkf.c:5310:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (x0201_f == NKF_UNSPECIFIED) {
^~
In file included from ../.././include/ruby.h:32:0,
from ossl.h:31,
from ossl_x509name.c:11:
ossl_x509name.c: In function 'ossl_x509name_cmp':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
ossl_x509name.c:290:28: note: in expansion of macro 'INT2FIX'
if (result < 0) return INT2FIX(-1);
^~~~~~~
nkf.c: In function 'rb_nkf_convert':
nkf.c:138:20: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
compiling ossl_pkcs7.c
In file included from ../.././include/ruby.h:32:0,
from ossl.h:31,
from ossl_ocsp.c:12:
ossl_ocsp.c: In function 'Init_ossl_ocsp':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
ossl_ocsp.c:740:52: note: in expansion of macro 'INT2NUM'
#define DefOCSPConst(x) rb_define_const(mOCSP, #x, INT2NUM(OCSP_##x))
^~~~~~~
ossl_ocsp.c:749:5: note: in expansion of macro 'DefOCSPConst'
DefOCSPConst(REVOKED_STATUS_NOSTATUS);
^~~~~~~~~~~~
compiling ossl_asn1.c
compiling ossl_cipher.c
compiling ossl_x509store.c
compiling ossl_pkcs12.c
linking shared-object json/ext/parser.so
compiling ossl_bn.c
compiling ossl_pkey.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/json/parser'
linking shared-object objspace.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/pathname'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling pathname.c
compiling ossl_digest.c
installing default pathname libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/objspace'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/psych'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
In file included from ../.././include/ruby.h:32:0,
from pathname.c:1:
pathname.c: In function 'path_cmp':
compiling to_ruby.c
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
pathname.c:111:24: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
pathname.c:119:16: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
compiling emitter.c
compiling psych.c
compiling parser.c
compiling ossl_x509req.c
compiling yaml_tree.c
compiling ossl_hmac.c
compiling ossl_x509revoked.c
compiling ossl_x509attr.c
compiling ossl_pkey_rsa.c
compiling ossl_pkey_ec.c
installing default psych libraries
compiling ossl_ns_spki.c
linking shared-object psych.so
linking shared-object json/ext/generator.so
compiling ossl_x509crl.c
compiling ossl_x509.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/psych'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/pty'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling pty.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/json/generator'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/racc/cparse'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling cparse.c
compiling ossl_bio.c
installing default pty libraries
installing default cparse libraries
pty.c:97:9: warning: 'deviceNo' defined but not used [-Wunused-const-variable=]
*const deviceNo[] = {
^~~~~~~~
pty.c:96:2: warning: 'SlaveDevice' defined but not used [-Wunused-const-variable=]
SlaveDevice[] = "/dev/tty%s",
^~~~~~~~~~~
pty.c:95:6: warning: 'MasterDevice' defined but not used [-Wunused-const-variable=]
char MasterDevice[] = "/dev/pty%s",
^~~~~~~~~~~~
compiling ossl_engine.c
linking shared-object bigdecimal.so
compiling ossl.c
compiling ossl_pkcs5.c
compiling ossl_x509ext.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/bigdecimal'
linking shared-object pty.so
compiling callback-8.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/readline'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling readline.c
compiling ossl_ssl.c
installing default readline libraries
compiling ossl_config.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/pty'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/ripper'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling ripper.c
linking shared-object pathname.so
ossl_ssl.c:116:27: error: 'SSLv3_method' undeclared here (not in a function)
OSSL_SSL_METHOD_ENTRY(SSLv3),
^
ossl_ssl.c:106:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^~~~
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
ossl_ssl.c:117:27: error: 'SSLv3_server_method' undeclared here (not in a function)
OSSL_SSL_METHOD_ENTRY(SSLv3_server),
^
ossl_ssl.c:106:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^~~~
ossl_ssl.c:118:27: error: 'SSLv3_client_method' undeclared here (not in a function)
OSSL_SSL_METHOD_ENTRY(SSLv3_client),
^
ossl_ssl.c:106:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^~~~
ossl_ssl.c: In function 'ossl_sslctx_session_new_cb':
ossl_ssl.c:382:35: warning: variable 'ret_obj' set but not used [-Wunused-but-set-variable]
VALUE ary, ssl_obj, sess_obj, ret_obj;
^~~~~~~
ossl_ssl.c: In function 'ossl_sslctx_session_remove_cb':
ossl_ssl.c:431:38: warning: variable 'ret_obj' set but not used [-Wunused-but-set-variable]
VALUE ary, sslctx_obj, sess_obj, ret_obj;
^~~~~~~
ossl_ssl.c: In function 'ssl_servername_cb':
ossl_ssl.c:508:25: warning: variable 'ret_obj' set but not used [-Wunused-but-set-variable]
VALUE ary, ssl_obj, ret_obj;
^~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/pathname'
In file included from ../.././include/ruby.h:32:0,
from ossl.h:31,
from ossl_ssl.c:13:
ossl_ssl.c: In function 'Init_ossl_ssl':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
ossl_ssl.c:1973:57: note: in expansion of macro 'INT2NUM'
#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
^~~~~~~
ossl_ssl.c:1995:5: note: in expansion of macro 'ossl_ssl_def_const'
ossl_ssl_def_const(OP_ALL);
^~~~~~~~~~~~~~~~~~
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/sdbm'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling _sdbm.c
make[2]: *** [Makefile:269: ossl_ssl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
installing default sdbm libraries
installing default ripper libraries
In file included from ripper.y:22:0:
ripper.y: In function 'parser_heredoc_identifier':
../../node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
ripper.y:6191:5: note: in expansion of macro 'nd_set_line'
nd_set_line(lex_strterm, ruby_sourceline);
^~~~~~~~~~~
linking shared-object racc/cparse.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/racc/cparse'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/socket'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/openssl'
make[1]: *** [exts.mk:126: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
generating constant definitions
generating constant definitions
compiling init.c
compiling constants.c
linking shared-object readline.so
compiling basicsocket.c
compiling socket.c
In file included from rubysocket.h:4:0,
from constants.c:11:
constdefs.c: In function 'init_constants':
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1623:51: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_ADDRFAMILY", INT2NUM(EAI_ADDRFAMILY));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1625:54: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_ADDRFAMILY", INT2NUM(EAI_ADDRFAMILY));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1629:46: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_AGAIN", INT2NUM(EAI_AGAIN));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1631:49: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_AGAIN", INT2NUM(EAI_AGAIN));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1635:49: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_BADFLAGS", INT2NUM(EAI_BADFLAGS));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1637:52: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_BADFLAGS", INT2NUM(EAI_BADFLAGS));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1641:45: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_FAIL", INT2NUM(EAI_FAIL));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1643:48: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_FAIL", INT2NUM(EAI_FAIL));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1647:47: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_FAMILY", INT2NUM(EAI_FAMILY));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1649:50: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_FAMILY", INT2NUM(EAI_FAMILY));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1653:47: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_MEMORY", INT2NUM(EAI_MEMORY));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1655:50: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_MEMORY", INT2NUM(EAI_MEMORY));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1659:47: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_NODATA", INT2NUM(EAI_NODATA));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1661:50: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_NODATA", INT2NUM(EAI_NODATA));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1665:47: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_NONAME", INT2NUM(EAI_NONAME));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1667:50: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_NONAME", INT2NUM(EAI_NONAME));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1671:49: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_OVERFLOW", INT2NUM(EAI_OVERFLOW));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1673:52: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_OVERFLOW", INT2NUM(EAI_OVERFLOW));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1677:48: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_SERVICE", INT2NUM(EAI_SERVICE));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1679:51: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_SERVICE", INT2NUM(EAI_SERVICE));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1683:49: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_SOCKTYPE", INT2NUM(EAI_SOCKTYPE));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1685:52: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_SOCKTYPE", INT2NUM(EAI_SOCKTYPE));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1689:47: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_cSocket, "EAI_SYSTEM", INT2NUM(EAI_SYSTEM));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:973:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
constdefs.c:1691:50: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mSockConst, "EAI_SYSTEM", INT2NUM(EAI_SYSTEM));
^~~~~~~
compiling ipsocket.c
compiling tcpsocket.c
linking shared-object sdbm.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/readline'
compiling tcpserver.c
compiling sockssocket.c
linking shared-object date_core.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/sdbm'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/date'
compiling udpsocket.c
compiling unixsocket.c
compiling unixserver.c
compiling option.c
compiling ancdata.c
compiling raddrinfo.c
installing default socket libraries
ancdata.c: In function 'bsock_sendmsg_internal':
ancdata.c:1168:13: warning: variable 'last_type' set but not used [-Wunused-but-set-variable]
int last_type = 0;
^~~~~~~~~
ancdata.c:1167:13: warning: variable 'last_level' set but not used [-Wunused-but-set-variable]
int last_level = 0;
^~~~~~~~~~
linking shared-object nkf.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/nkf'
linking shared-object socket.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/socket'
linking shared-object dl/callback.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/dl/callback'
linking shared-object ripper.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551/ext/ripper'
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-1.9.3-p551'
make: *** [uncommon.mk:178: build-ext] Error 2
++ return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment