Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mustmodify/3604c9578cfdf957e36a149f1dfddf96 to your computer and use it in GitHub Desktop.
Save mustmodify/3604c9578cfdf957e36a149f1dfddf96 to your computer and use it in GitHub Desktop.
compile.c:4627:4: note: here
case NODE_FCALL:
^~~~
compile.c:4504:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (node->nd_mid == idAREF && !private_recv_p(node) && node->nd_args &&
^
compile.c:4519:7: note: here
case NODE_FCALL:
^~~~
compile.c: In function ‘defined_expr0’:
compile.c:2982:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
case NODE_ARRAY:{
^
compile.c:2994:7: note: here
case NODE_STR:
^~~~
compiling debug.c
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from debug.c:16:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling iseq.c
In file included from iseq.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
iseq.c: In function ‘rb_insn_operand_intern’:
iseq.c:1182:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
op = ID2SYM(op);
iseq.c:1184:7: note: here
case TS_VALUE: /* VALUE */
^~~~
compiling vm.c
In file included from vm.c:11:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from vm_exec.c:120:0,
from vm.c:99:
insns.def: In function ‘vm_exec_core’:
insns.def:1315:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
case T_FLOAT: {
^
insns.def:1321:7: note: here
case T_SYMBOL: /* fall through */
^~~~
In file included from vm.c:97:0:
vm_insnhelper.c: In function ‘vm_search_super_method’:
vm_insnhelper.c:1954:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
vm_super_outside();
^~~~~~~~~~~~~~~~~~
vm_insnhelper.c:1955:7: note: here
case -2:
^~~~
compiling vm_dump.c
In file included from vm_dump.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling vm_backtrace.c
In file included from vm_backtrace.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling vm_trace.c
In file included from vm_trace.c:24:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling thread.c
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
thread.c: In function ‘rb_thread_fd_select’:
thread.c:3462:34: warning: ‘orig_read.maxfd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_fdset_t UNINITIALIZED_VAR(orig_read);
^~~~~~~~~
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
thread.c:3462:34: note: ‘orig_read.maxfd’ was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_read);
^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
thread.c:3463:34: warning: ‘orig_write.maxfd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_fdset_t UNINITIALIZED_VAR(orig_write);
^~~~~~~~~~
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
thread.c:3463:34: note: ‘orig_write.maxfd’ was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_write);
^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
thread.c:3464:34: warning: ‘orig_except.maxfd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_fdset_t UNINITIALIZED_VAR(orig_except);
^~~~~~~~~~~
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
thread.c:3464:34: note: ‘orig_except.maxfd’ was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_except);
^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
In file included from ./include/ruby/ruby.h:36:0,
from eval_intern.h:4,
from thread.c:60:
./include/ruby/defines.h:113:15: warning: ‘orig_except.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define xfree ruby_xfree
^~~~~~~~~~
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
thread.c:3464:34: note: ‘orig_except.fdset’ was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_except);
^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
In file included from ./include/ruby/ruby.h:36:0,
from eval_intern.h:4,
from thread.c:60:
./include/ruby/defines.h:113:15: warning: ‘orig_write.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define xfree ruby_xfree
^~~~~~~~~~
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
thread.c:3463:34: note: ‘orig_write.fdset’ was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_write);
^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
In file included from ./include/ruby/ruby.h:36:0,
from eval_intern.h:4,
from thread.c:60:
./include/ruby/defines.h:113:15: warning: ‘orig_read.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define xfree ruby_xfree
^~~~~~~~~~
In file included from method.h:14:0,
from vm_core.h:24,
from eval_intern.h:5,
from thread.c:60:
thread.c:3462:34: note: ‘orig_read.fdset’ was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_read);
^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
compiling cont.c
In file included from cont.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
compiling addr2line.c
addr2line.c: In function ‘kvprintf’:
addr2line.c:960:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!dot) {
^
addr2line.c:964:3: note: here
case '1': case '2': case '3': case '4':
^~~~
addr2line.c:1100:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
upper = 1;
~~~~~~^~~
addr2line.c:1101:3: note: here
case 'x':
^~~~
compiling dmyext.c
compiling dmyenc.c
linking miniruby
generating encdb.h
encdb.h updated
rbconfig.rb updated
generating enc.mk
making srcs under enc
make[1]: Entering directory '/usr/local/src/ruby-2.2.10'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/usr/local/src/ruby-2.2.10'
generating transdb.h
transdb.h updated
compiling dln.c
compiling localeinit.c
In file included from localeinit.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
creating verconf.h
verconf.h updated
compiling loadpath.c
compiling prelude.c
In file included from prelude.c:7:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
linking static-library libruby-static.a
ar: `u' modifier ignored since `D' is the default (see `U')
verifying static-library libruby-static.a
generating makefile exts.mk
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
configuring -test-/float
configuring -test-/funcall
configuring -test-/hash
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring -test-/win32/console
Failed to configure -test-/win32/console. It will not be installed.
configuring -test-/win32/dln
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
configuring continuation
configuring coverage
configuring date
configuring dbm
Failed to configure dbm. It will not be installed.
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
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 rbconfig/sizeof
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring thread
configuring tk
...........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh..............................
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..........
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.
Failed to configure tk/tkutil. It will not be installed.
configuring win32
Failed to configure win32. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
make[1]: Entering directory '/usr/local/src/ruby-2.2.10'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/array/resize'
compiling resize.c
linking shared-object -test-/array/resize.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/array/resize'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/bignum'
compiling bigzero.c
In file included from bigzero.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling div.c
In file included from div.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling str2big.c
In file included from str2big.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling big2str.c
In file included from big2str.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling intpack.c
In file included from intpack.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling mul.c
In file included from mul.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling init.c
linking shared-object -test-/bignum.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/bignum'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug-3571'
compiling bug.c
linking shared-object -test-/bug-3571/bug.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug-3571'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug-3662'
compiling bug.c
linking shared-object -test-/bug-3662/bug.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug-3662'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug-5832'
compiling bug.c
linking shared-object -test-/bug-5832/bug.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug-5832'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug_reporter'
compiling bug_reporter.c
linking shared-object -test-/bug_reporter/bug_reporter.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/bug_reporter'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/class'
compiling class2name.c
compiling init.c
linking shared-object -test-/class.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/class'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/debug'
compiling inspector.c
compiling profile_frames.c
compiling init.c
linking shared-object -test-/debug.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/debug'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/dln/empty'
compiling empty.c
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/dln/empty'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/exception'
compiling ensured.c
compiling init.c
compiling dataerror.c
compiling enc_raise.c
linking shared-object -test-/exception.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/exception'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/fatal'
compiling rb_fatal.c
linking shared-object -test-/fatal/rb_fatal.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/fatal'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/file'
compiling fs.c
compiling init.c
compiling stat.c
linking shared-object -test-/file.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/file'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/float'
compiling nextafter.c
compiling init.c
linking shared-object -test-/float.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/float'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/funcall'
compiling passing_block.c
linking shared-object -test-/funcall/funcall.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/funcall'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/hash'
compiling init.c
compiling delete.c
linking shared-object -test-/hash.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/hash'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/iseq_load'
compiling iseq_load.c
linking shared-object -test-/iseq_load/iseq_load.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/iseq_load'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/iter'
compiling init.c
compiling yield.c
compiling break.c
linking shared-object -test-/iter.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/iter'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/load/dot.dot'
compiling dot.dot.c
linking shared-object -test-/load/dot.dot/dot.dot.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/load/dot.dot'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/marshal/compat'
compiling usrcompat.c
linking shared-object -test-/marshal/compat.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/marshal/compat'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/marshal/usr'
compiling usrmarshal.c
linking shared-object -test-/marshal/usr.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/marshal/usr'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/method'
compiling init.c
compiling arity.c
linking shared-object -test-/method.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/method'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/num2int'
compiling num2int.c
linking shared-object -test-/num2int/num2int.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/num2int'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/path_to_class'
compiling path_to_class.c
linking shared-object -test-/path_to_class/path_to_class.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/path_to_class'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/postponed_job'
compiling postponed_job.c
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/postponed_job'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/printf'
compiling printf.c
linking shared-object -test-/printf.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/printf'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/proc'
compiling super.c
compiling receiver.c
compiling init.c
linking shared-object -test-/proc.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/proc'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/rational'
compiling rat.c
In file included from rat.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
linking shared-object -test-/rational.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/rational'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/recursion'
compiling recursion.c
linking shared-object -test-/recursion.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/recursion'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/st/foreach'
compiling foreach.c
linking shared-object -test-/st/foreach.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/st/foreach'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/st/numhash'
compiling numhash.c
linking shared-object -test-/st/numhash.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/st/numhash'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/st/update'
compiling update.c
linking shared-object -test-/st/update.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/st/update'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/string'
compiling qsort.c
compiling enc_str_buf_cat.c
compiling ellipsize.c
compiling set_len.c
compiling normalize.c
In file included from normalize.c:1:0:
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling enc_associate.c
compiling cstr.c
compiling coderange.c
compiling init.c
compiling modify.c
compiling nofree.c
linking shared-object -test-/string/string.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/string'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/struct'
compiling member.c
compiling duplicate.c
compiling init.c
linking shared-object -test-/struct.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/struct'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/symbol'
compiling type.c
compiling init.c
linking shared-object -test-/symbol.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/symbol'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/tracepoint'
compiling tracepoint.c
compiling gc_hook.c
linking shared-object -test-/tracepoint.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/tracepoint'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/typeddata'
compiling typeddata.c
linking shared-object -test-/typeddata/typeddata.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/typeddata'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/vm'
compiling at_exit.c
linking shared-object -test-/vm/at_exit.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/vm'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/wait_for_single_fd'
compiling wait_for_single_fd.c
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/wait_for_single_fd'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/win32/console'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/win32/console'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/win32/dln'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/win32/dln'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/-test-/win32/fd_setsize'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/-test-/win32/fd_setsize'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/bigdecimal'
compiling bigdecimal.c
linking shared-object bigdecimal.so
installing default bigdecimal libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/bigdecimal'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/continuation'
compiling continuation.c
linking shared-object continuation.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/continuation'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/coverage'
compiling coverage.c
In file included from ../../method.h:14:0,
from ../../vm_core.h:24,
from coverage.c:12:
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
linking shared-object coverage.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/coverage'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/date'
compiling date_parse.c
compiling date_strftime.c
date_strftime.c: In function ‘date_strftime_with_tmx’:
date_strftime.c:573:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
padding = '0';
~~~~~~~~^~~~~
date_strftime.c:574:4: note: here
case '1': case '2': case '3': case '4':
^~~~
compiling date_core.c
date_core.c: In function ‘datetime_s_jisx0301’:
date_core.c:8151:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:8152:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_httpdate’:
date_core.c:8121:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("Mon, 01 Jan -4712 00:00:00 GMT");
date_core.c:8122:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_rfc2822’:
date_core.c:8091:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("Mon, 1 Jan -4712 00:00:00 +0000");
date_core.c:8092:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_xmlschema’:
date_core.c:8060:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:8061:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_rfc3339’:
date_core.c:8030:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:8031:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_iso8601’:
date_core.c:8000:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:8001:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_parse’:
date_core.c:7960:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:7961:7: note: here
case 1:
^~~~
date_core.c:7962:7: warning: this statement may fall through [-Wimplicit-fallthrough ]
comp = Qtrue;
date_core.c:7963:7: note: here
case 2:
^~~~
date_core.c: In function ‘datetime_s_strptime’:
date_core.c:7917:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:7918:7: note: here
case 1:
^~~~
date_core.c:7919:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
fmt = rb_str_new2("%FT%T%z");
date_core.c:7920:7: note: here
case 2:
^~~~
date_core.c: In function ‘datetime_s_commercial’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7480:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7481:7: note: here
case 7:
^~~~
date_core.c:4689:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7482:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7483:7: note: here
case 6:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7484:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7485:7: note: here
case 5:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7486:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 5);
^~~~~~~~~~~~~~~~~
date_core.c:7487:7: note: here
case 4:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7488:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 4);
^~~~~~~~~~~~~~~~~
date_core.c:7489:7: note: here
case 3:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7490:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7491:7: note: here
case 2:
^~~~
date_core.c:7492:4: warning: this statement may fall through [-Wimplicit-fallthrough ]
w = NUM2INT(vw);
date_core.c:7493:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_civil’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7383:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7384:7: note: here
case 7:
^~~~
date_core.c:4689:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7385:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7386:7: note: here
case 6:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7387:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7388:7: note: here
case 5:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7389:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 5);
^~~~~~~~~~~~~~~~~
date_core.c:7390:7: note: here
case 4:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7391:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 4);
^~~~~~~~~~~~~~~~~
date_core.c:7392:7: note: here
case 3:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7393:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7394:7: note: here
case 2:
^~~~
date_core.c:7395:4: warning: this statement may fall through [-Wimplicit-fallthrough ]
m = NUM2INT(vm);
date_core.c:7396:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_ordinal’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7306:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7307:7: note: here
case 6:
^~~~
date_core.c:4689:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7308:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7309:7: note: here
case 5:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7310:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7311:7: note: here
case 4:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7312:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 4);
^~~~~~~~~~~~~~~~~
date_core.c:7313:7: note: here
case 3:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7314:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7315:7: note: here
case 2:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7316:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, 2);
^~~~~~~~~~~~~~~~~
date_core.c:7317:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_jd’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7237:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7238:7: note: here
case 5:
^~~~
date_core.c:4689:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7239:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7240:7: note: here
case 4:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7241:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7242:7: note: here
case 3:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7243:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7244:7: note: here
case 2:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:7245:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 2);
^~~~~~~~~~~~~~~~~
date_core.c:7246:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_jisx0301’:
date_core.c:4624:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01");
date_core.c:4625:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_httpdate’:
date_core.c:4583:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("Mon, 01 Jan -4712 00:00:00 GMT");
date_core.c:4584:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_rfc2822’:
date_core.c:4541:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("Mon, 1 Jan -4712 00:00:00 +0000");
date_core.c:4542:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_xmlschema’:
date_core.c:4497:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01");
date_core.c:4498:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_rfc3339’:
date_core.c:4456:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:4457:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_iso8601’:
date_core.c:4415:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01");
date_core.c:4416:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_parse’:
date_core.c:4359:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01");
date_core.c:4360:7: note: here
case 1:
^~~~
date_core.c:4361:7: warning: this statement may fall through [-Wimplicit-fallthrough ]
comp = Qtrue;
date_core.c:4362:7: note: here
case 2:
^~~~
date_core.c: In function ‘date_s_strptime’:
date_core.c:4268:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
str = rb_str_new2("-4712-01-01");
date_core.c:4269:7: note: here
case 1:
^~~~
date_core.c:4270:6: warning: this statement may fall through [-Wimplicit-fallthrough ]
fmt = rb_str_new2("%F");
date_core.c:4271:7: note: here
case 2:
^~~~
date_core.c: In function ‘date_s_commercial’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3474:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3475:7: note: here
case 3:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:3476:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:3477:7: note: here
case 2:
^~~~
date_core.c:3478:4: warning: this statement may fall through [-Wimplicit-fallthrough ]
w = NUM2INT(vw);
date_core.c:3479:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_civil’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3397:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3398:7: note: here
case 3:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:3399:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:3400:7: note: here
case 2:
^~~~
date_core.c:3401:4: warning: this statement may fall through [-Wimplicit-fallthrough ]
m = NUM2INT(vm);
date_core.c:3402:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_ordinal’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3328:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3329:7: note: here
case 2:
^~~~
date_core.c:3217:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (f_nonzero_p(fr)) {\
^
date_core.c:3330:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:3331:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_jd’:
date_core.c:3241:8: warning: this statement may fall through [-Wimplicit-fallthrough ]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3276:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3277:7: note: here
case 1:
^~~~
compiling date_strptime.c
linking shared-object date_core.so
installing default date_core libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/date'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/dbm'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/dbm'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/digest'
compiling digest.c
linking shared-object digest.so
installing digest libraries
installing default digest libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/digest'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/digest/bubblebabble'
compiling bubblebabble.c
linking shared-object digest/bubblebabble.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/digest/bubblebabble'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/digest/md5'
compiling md5init.c
compiling md5ossl.c
linking shared-object digest/md5.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/digest/md5'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/digest/rmd160'
compiling rmd160init.c
compiling rmd160ossl.c
linking shared-object digest/rmd160.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/digest/rmd160'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/digest/sha1'
compiling sha1init.c
compiling sha1ossl.c
linking shared-object digest/sha1.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/digest/sha1'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/digest/sha2'
compiling sha2init.c
compiling sha2ossl.c
linking shared-object digest/sha2.so
installing default sha2 libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/digest/sha2'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/etc'
generating constant definitions
compiling etc.c
linking shared-object etc.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/etc'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/fcntl'
compiling fcntl.c
linking shared-object fcntl.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/fcntl'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/fiber'
compiling fiber.c
linking shared-object fiber.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/fiber'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/fiddle'
compiling pointer.c
compiling handle.c
compiling fiddle.c
compiling conversions.c
compiling function.c
compiling closure.c
linking shared-object fiddle.so
installing default fiddle libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/fiddle'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/gdbm'
compiling gdbm.c
linking shared-object gdbm.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/gdbm'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/io/console'
compiling console.c
linking shared-object io/console.so
installing default console libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/io/console'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/io/nonblock'
compiling nonblock.c
linking shared-object io/nonblock.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/io/nonblock'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/io/wait'
compiling wait.c
linking shared-object io/wait.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/io/wait'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/json'
installing default libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/json'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/json/generator'
compiling generator.c
generator.c: In function ‘convert_UTF8_to_JSON_ASCII’:
generator.c:148:41: warning: this statement may fall through [-Wimplicit-fallthrough ]
case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
~~~^~~~~
generator.c:149:13: note: here
case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
^~~~
generator.c:149:41: warning: this statement may fall through [-Wimplicit-fallthrough ]
case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
~~~^~~~~
generator.c:150:13: note: here
case 3: ch += *source++; ch <<= 6;
^~~~
generator.c:150:41: warning: this statement may fall through [-Wimplicit-fallthrough ]
case 3: ch += *source++; ch <<= 6;
~~~^~~~~
generator.c:151:13: note: here
case 2: ch += *source++; ch <<= 6;
^~~~
generator.c:151:41: warning: this statement may fall through [-Wimplicit-fallthrough ]
case 2: ch += *source++; ch <<= 6;
~~~^~~~~
generator.c:152:13: note: here
case 1: ch += *source++; ch <<= 6;
^~~~
generator.c:152:41: warning: this statement may fall through [-Wimplicit-fallthrough ]
case 1: ch += *source++; ch <<= 6;
~~~^~~~~
generator.c:153:13: note: here
case 0: ch += *source++;
^~~~
generator.c: In function ‘isLegalUTF8’:
generator.c:86:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
generator.c:87:9: note: here
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
^~~~
generator.c:87:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
generator.c:88:9: note: here
case 2: if ((a = (*--srcptr)) > 0xBF) return 0;
^~~~
generator.c:96:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
default: if (a < 0x80) return 0;
^
generator.c:99:9: note: here
case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
^~~~
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/json/generator'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/json/parser'
compiling parser.c
parser.c: In function ‘cParser_parse_quirks_mode’:
parser.c:1960:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1962:1: note: here
case 1:
^~~~
parser.rl:795:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
begin_value >parse_value
^
parser.rl:797:1: note: here
}%%
^~~
parser.c:2007:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2009:1: note: here
case 2:
^~~~
parser.c:2016:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2018:1: note: here
case 3:
^~~~
parser.c:2023:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2025:1: note: here
case 4:
^~~~
parser.c:2032:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2034:1: note: here
case 5:
^~~~
parser.c:2039:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2041:1: note: here
case 6:
^~~~
parser.c:2048:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2050:1: note: here
case 7:
^~~~
parser.c:2055:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2057:1: note: here
case 8:
^~~~
parser.c:2064:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2066:1: note: here
case 9:
^~~~
parser.c: In function ‘JSON_parse_value’:
parser.rl:227:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
*result = CNaN;
^
parser.rl:229:1: note: here
rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p - 2);
^
parser.c:630:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:632:1: note: here
case 2:
^~~~
parser.c:637:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:639:1: note: here
case 3:
^~~~
parser.c:644:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:646:1: note: here
case 4:
^~~~
parser.c:651:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:653:1: note: here
case 5:
^~~~
parser.c:658:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:660:1: note: here
case 6:
^~~~
parser.c:665:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:667:1: note: here
case 7:
^~~~
parser.c:672:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:674:1: note: here
case 8:
^~~~
parser.c:679:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:681:1: note: here
case 9:
^~~~
parser.c:686:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:688:1: note: here
case 10:
^~~~
parser.c:693:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:695:1: note: here
case 11:
^~~~
parser.c:700:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:702:1: note: here
case 12:
^~~~
parser.c:707:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:709:1: note: here
case 13:
^~~~
parser.c:714:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:716:1: note: here
case 14:
^~~~
parser.c:721:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:723:1: note: here
case 15:
^~~~
parser.c:728:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:730:1: note: here
case 16:
^~~~
parser.c:735:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:737:1: note: here
case 17:
^~~~
parser.c:742:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:744:1: note: here
case 18:
^~~~
parser.c:749:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:751:1: note: here
case 19:
^~~~
parser.c:756:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:758:1: note: here
case 20:
^~~~
parser.c: In function ‘JSON_parse_string’:
parser.c:1447:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1449:1: note: here
case 2:
^~~~
parser.c:1479:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1481:1: note: here
case 3:
^~~~
parser.c:1488:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1490:1: note: here
case 4:
^~~~
parser.c:1501:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1503:1: note: here
case 5:
^~~~
parser.c:1514:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1516:1: note: here
case 6:
^~~~
parser.c:1527:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1529:1: note: here
case 7:
^~~~
parser.c: In function ‘JSON_parse_float’:
parser.c:939:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:941:1: note: here
case 2:
^~~~
parser.c:948:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:950:1: note: here
case 3:
^~~~
parser.c:958:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:960:1: note: here
case 4:
^~~~
parser.c:965:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:967:1: note: here
case 8:
^~~~
parser.c:989:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:991:1: note: here
case 5:
^~~~
parser.c:1000:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1002:1: note: here
case 6:
^~~~
parser.c:1007:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1009:1: note: here
case 10:
^~~~
parser.c:1021:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1023:1: note: here
case 7:
^~~~
parser.c: In function ‘JSON_parse_integer’:
parser.c:840:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:842:1: note: here
case 2:
^~~~
parser.c:849:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:851:1: note: here
case 3:
^~~~
parser.c:866:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:868:1: note: here
case 5:
^~~~
parser.c: In function ‘JSON_parse_array’:
parser.c:1106:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1108:1: note: here
case 2:
^~~~
parser.rl:394:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
^
parser.rl:396:1: note: here
^
parser.c:1163:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1165:1: note: here
case 4:
^~~~
parser.c:1187:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1189:1: note: here
case 5:
^~~~
parser.c:1196:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1198:1: note: here
case 6:
^~~~
parser.c:1203:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1205:1: note: here
case 7:
^~~~
parser.c:1212:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1214:1: note: here
case 8:
^~~~
parser.c:1219:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1221:1: note: here
case 9:
^~~~
parser.c:1228:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1230:1: note: here
case 10:
^~~~
parser.c:1235:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1237:1: note: here
case 11:
^~~~
parser.c:1244:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1246:1: note: here
case 12:
^~~~
parser.c:1261:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1263:1: note: here
case 13:
^~~~
parser.c:1270:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1272:1: note: here
case 14:
^~~~
parser.c:1277:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1279:1: note: here
case 15:
^~~~
parser.c:1286:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1288:1: note: here
case 16:
^~~~
parser.c: In function ‘JSON_parse_object’:
parser.c:156:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:158:1: note: here
case 2:
^~~~
parser.rl:162:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
^
parser.rl:164:1: note: here
next_pair = ignore* value_separator pair;
^
parser.c:194:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:196:1: note: here
case 4:
^~~~
parser.c:203:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:205:1: note: here
case 5:
^~~~
parser.c:210:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:212:1: note: here
case 6:
^~~~
parser.c:219:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:221:1: note: here
case 7:
^~~~
parser.c:226:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:228:1: note: here
case 8:
^~~~
parser.rl:154:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
char *np;
^
parser.rl:156:1: note: here
np = JSON_parse_string(json, fpc, pe, &last_name);
^
parser.c:282:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:284:1: note: here
case 10:
^~~~
parser.c:295:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:297:1: note: here
case 11:
^~~~
parser.c:304:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:306:1: note: here
case 12:
^~~~
parser.c:311:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:313:1: note: here
case 13:
^~~~
parser.c:320:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:322:1: note: here
case 14:
^~~~
parser.c:327:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:329:1: note: here
case 15:
^~~~
parser.c:336:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:338:1: note: here
case 16:
^~~~
parser.c:343:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:345:1: note: here
case 17:
^~~~
parser.c:352:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:354:1: note: here
case 18:
^~~~
parser.c:369:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:371:1: note: here
case 19:
^~~~
parser.c:378:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:380:1: note: here
case 20:
^~~~
parser.c:385:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:387:1: note: here
case 21:
^~~~
parser.c:394:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:396:1: note: here
case 22:
^~~~
parser.c:401:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:403:1: note: here
case 23:
^~~~
parser.c:410:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:412:1: note: here
case 24:
^~~~
parser.c:417:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:419:1: note: here
case 25:
^~~~
parser.c:426:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:428:1: note: here
case 26:
^~~~
parser.c: In function ‘cParser_parse_strict’:
parser.c:1786:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1788:1: note: here
case 1:
^~~~
parser.c:1803:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1805:1: note: here
case 2:
^~~~
parser.c:1812:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1814:1: note: here
case 3:
^~~~
parser.c:1819:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1821:1: note: here
case 4:
^~~~
parser.c:1828:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1830:1: note: here
case 5:
^~~~
parser.rl:749:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
char *np;
^
parser.rl:751:1: note: here
np = JSON_parse_array(json, fpc, pe, &result);
^
parser.c:1866:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1868:1: note: here
case 6:
^~~~
parser.c:1875:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1877:1: note: here
case 7:
^~~~
parser.c:1882:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1884:1: note: here
case 8:
^~~~
parser.c:1891:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1893:1: note: here
case 9:
^~~~
linking shared-object json/ext/parser.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/json/parser'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/mathn/complex'
compiling complex.c
linking shared-object mathn/complex.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/mathn/complex'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/mathn/rational'
compiling rational.c
linking shared-object mathn/rational.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/mathn/rational'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/nkf'
compiling nkf.c
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function ‘module_connection’:
nkf-utf8/nkf.c:5709:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (nkf_enc_unicode_p(output_encoding))
^~
nkf-utf8/nkf.c:5712:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (x0201_f == NKF_UNSPECIFIED) {
^~
nkf-utf8/nkf.c: In function ‘options’:
nkf-utf8/nkf.c:6806:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
fold_preserve_f = TRUE;
nkf-utf8/nkf.c:6807:2: note: here
case 'f': /* folding -f60 or -f */
^~~~
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function ‘set_input_encoding’:
nkf-utf8/nkf.c:1238:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (x0201_f == NKF_UNSPECIFIED) x0201_f = FALSE; /* -x specified implicitly */
^
nkf-utf8/nkf.c:1239:5: note: here
case CP50220:
^~~~
linking shared-object nkf.so
installing default nkf libraries
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/nkf'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/objspace'
compiling objspace.c
In file included from objspace.c:15:0:
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
objspace.c: In function ‘total_i’:
objspace.c:64:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (FL_TEST(v, FL_SINGLETON))
^
objspace.c:66:8: note: here
default:
^~~~~~~
compiling objspace_dump.c
In file included from objspace_dump.c:15:0:
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling object_tracing.c
In file included from object_tracing.c:16:0:
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
linking shared-object objspace.so
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/objspace'
make[2]: Entering directory '/usr/local/src/ruby-2.2.10/ext/openssl'
compiling ossl_bn.c
In file included from ossl.h:58:0,
from ossl_bn.c:12:
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
^~~~~
In file included from ossl.h:220:0,
from ossl_bn.c:12:
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
EVP_MD_CTX *EVP_MD_CTX_create(void);
^
In file included from /usr/include/openssl/x509.h:23:0,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:59,
from ossl_bn.c:12:
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
In file included from ossl.h:234:0,
from ossl_bn.c:12:
ossl_pkey.h:44:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^~~~~~~~~~~~~
ossl_pkey.h:44:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.h:44:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_bn.c: In function ‘ossl_bn_size’:
ossl_bn.c:42:19: error: invalid application of ‘sizeof’ to incomplete type ‘BIGNUM {aka struct bignum_st}’
return sizeof(BIGNUM);
^~~~~~
ossl_bn.c: In function ‘ossl_bn_s_generate_prime’:
ossl_bn.c:658:5: warning: ‘BN_generate_prime’ is deprecated [-Wdeprecated-declarations]
if (!BN_generate_prime(result, num, safe, add, rem, NULL, NULL)) {
^~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:59,
from ossl_bn.c:12:
/usr/include/openssl/bn.h:285:1: note: declared here
DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
^
ossl_bn.c: In function ‘ossl_bn_is_prime’:
ossl_bn.c:809:5: warning: ‘BN_is_prime’ is deprecated [-Wdeprecated-declarations]
switch (BN_is_prime(bn, checks, NULL, ossl_bn_ctx, NULL)) {
^~~~~~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:59,
from ossl_bn.c:12:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
ossl_bn.c: In function ‘ossl_bn_is_prime_fasttest’:
ossl_bn.c:848:5: warning: ‘BN_is_prime_fasttest’ is deprecated [-Wdeprecated-declarations]
switch (BN_is_prime_fasttest(bn, checks, NULL, ossl_bn_ctx, NULL, do_trial_division)) {
^~~~~~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:59,
from ossl_bn.c:12:
/usr/include/openssl/bn.h:295:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
ossl_bn.c: In function ‘ossl_bn_size’:
ossl_bn.c:43:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:293: recipe for target 'ossl_bn.o' failed
make[2]: *** [ossl_bn.o] Error 1
make[2]: Leaving directory '/usr/local/src/ruby-2.2.10/ext/openssl'
exts.mk:205: recipe for target 'ext/openssl/all' failed
make[1]: *** [ext/openssl/all] Error 2
make[1]: Leaving directory '/usr/local/src/ruby-2.2.10'
uncommon.mk:189: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
!!! Compiling ruby 2.2.10 failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment