internal.h:84:30: warning: this use of « defined » may not be portable [-Wexpansion-to-defined]
eval.c: In function ‘rb_raise_jump’:
eval.c:776:8: warning: unused variable ‘mid’ [-Wunused-variable]
ID mid = me->called_id;
^~~
compiling load.c
In file included from load.c:5: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]
load.c: In function ‘search_required’:
load.c:922:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (ft) {
^
load.c:927:7: note: here
case 1:
^~~~
compiling proc.c
In file included from method.h:14:0,
from vm_core.h:62,
from eval_intern.h:5,
from proc.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]
compiling file.c
compiling gc.c
In file included from file.c:26: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 hash.c
file.c: In function ‘rb_stat_dev_major’:
file.c:501:13: warning: In the GNU C Library, « major » is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use « major », include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
« major », you should undefine it after including <sys/types.h>.
return INT2NUM(major(get_stat(self)->st_dev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c: In function ‘rb_stat_dev_minor’:
file.c:522:13: warning: In the GNU C Library, « minor » is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use « minor », include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
« minor », you should undefine it after including <sys/types.h>.
return INT2NUM(minor(get_stat(self)->st_dev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c: In function ‘rb_stat_rdev_major’:
file.c:665:13: warning: In the GNU C Library, « major » is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use « major », include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
« major », you should undefine it after including <sys/types.h>.
return DEVT2NUM(major(get_stat(self)->st_rdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c: In function ‘rb_stat_rdev_minor’:
file.c:686:13: warning: In the GNU C Library, « minor » is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use « minor », include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
« minor », you should undefine it after including <sys/types.h>.
return DEVT2NUM(minor(get_stat(self)->st_rdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gc.c:17: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 hash.c:14: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]
hash.c: In function ‘rb_hash_s_create’:
hash.c:658:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
val = RARRAY_AREF(v, 1);
hash.c:659:5: note: here
case 1:
^~~~
compiling inits.c
In file included from inits.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 io.c
In file included from io.c:14: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]
io.c: In function ‘rb_io_s_popen’:
io.c:6274:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
pmode = argv[1];
io.c:6275:7: note: here
case 1:
^~~~
compiling marshal.c
In file included from marshal.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]
marshal.c: In function ‘r_object0’:
marshal.c:1749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (bs & 1) --dst;
^
marshal.c:1750:9: note: here
default: bs = 0; break;
^~~~~~~
marshal.c: In function ‘load_mantissa’:
marshal.c:365:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
default: m = *buf++ & 0xff;
~~^~~~~~~~~~~~~~~
marshal.c:367:8: note: here
case 3: m = (m << 8) | (*buf++ & 0xff);
^~~~
marshal.c:367:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: m = (m << 8) | (*buf++ & 0xff);
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
marshal.c:370:8: note: here
case 2: m = (m << 8) | (*buf++ & 0xff);
^~~~
marshal.c:370:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: m = (m << 8) | (*buf++ & 0xff);
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
marshal.c:373:8: note: here
case 1: m = (m << 8) | (*buf++ & 0xff);
^~~~
compiling math.c
In file included from math.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 node.c
In file included from method.h:14:0,
from vm_core.h:62,
from node.c:13:
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 numeric.c
In file included from numeric.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 object.c
In file included from object.c:14: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]
object.c: In function ‘rb_f_integer’:
object.c:2740:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
base = NUM2INT(argv[1]);
object.c:2741:7: note: here
case 1:
^~~~
compiling pack.c
In file included from pack.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 parse.c
compiling process.c
compiling random.c
In file included from parse.y:27: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 process.c:14: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 random.c:62: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 random.c:1448:0:
siphash.c: In function ‘ruby_sip_hash24’:
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:444:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(6);
^~~~~~~
siphash.c:445:2: note: here
case 6:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:446:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(5);
^~~~~~~
siphash.c:447:2: note: here
case 5:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:448:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(4);
^~~~~~~
siphash.c:449:2: note: here
case 4:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:461:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(2);
^~~~~~~
siphash.c:462:2: note: here
case 2:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:463:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(1);
^~~~~~~
siphash.c:464:2: note: here
case 1:
^~~~
random.c: In function ‘rand_range’:
random.c:1221:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
case T_FLOAT: {
^
random.c:1227:7: note: here
default:
^~~~~~~
random.c: In function ‘random_load’:
random.c:747:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
seed = ary[2];
~~~~~^~~~~~~~
random.c:748:7: note: here
case 2:
^~~~
random.c:749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
left = ary[1];
~~~~~^~~~~~~~
random.c:750:7: note: here
case 1:
^~~~
parse.y: In function ‘ruby_yyparse’:
parse.y:4007:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
node = NEW_NODE(NODE_DSTR, STR_NEW0(), 1, NEW_LIST(node));
parse.y:4008:6: note: here
case NODE_DSTR:
^~~~
parse.y:340:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define yyerror(msg) parser_yyerror(parser, (msg))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse.y:5028:5: note: in expansion of macro ‘yyerror’
yyerror("can't define singleton method for literals");
^~~~~~~
parse.y:5029:10: note: here
default:
^~~~~~~
parse.y: In function ‘parser_yylex’:
parse.y:8243:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (peek('.') == (c == '&')) {
^
parse.y:8249:8: note: here
default:
^~~~~~~
parse.y:8251:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
lex_nextline = lex_lastline;
parse.y:8252:8: note: here
case -1: /* EOF no decrement*/
^~~~
parse.y:8597:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
paren_nest--;
parse.y:8598:7: note: here
case '}':
^~~~
parse.y: In function ‘parser_here_document’:
parse.y:6907:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (--pend == p || pend[-1] != '\r') {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
parse.y:6911:5: note: here
case '\r':
^~~~
parse.y: In function ‘parser_read_escape’:
parse.y:6063:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((c = nextc()) != '-') {
^
parse.y:6067:7: note: here
case 'c':
^~~~
parse.y: In function ‘parse_gvar’:
parse.y:7965:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!parser_is_identchar()) {
^
parse.y:7975:7: note: here
case '0':
^~~~
parse.y: In function ‘is_static_content’:
parse.y:9780:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!(node = node->nd_head)) break;
^
parse.y:9781:7: note: here
case NODE_ARRAY:
^~~~
compiling range.c
In file included from range.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 rational.c
In file included from rational.c:8: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 re.c
In file included from re.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]
re.c: In function ‘unescape_nonascii’:
re.c:2310:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
{
^
re.c:2321:15: note: here
case '0': /* \0, \0O, \0OO */
^~~~
re.c: In function ‘read_escaped_byte’:
re.c:2083:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (p == end || *p++ != '-') {
~~~~~~~~~^~~~~~~~~~~~~~
re.c:2087:7: note: here
case 'c': /* \cX, \c\M-X */
^~~~
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
regparse.c: In function ‘parse_enclose’:
regparse.c:5183:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_OPTION_PERL)) {
^
regparse.c:5211:5: note: here
case '-': case 'i': case 'm': case 's': case 'x':
^~~~
compiling regsyntax.c
compiling ruby.c
In file included from ruby.c:18: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]
ruby.c: In function ‘proc_options’:
ruby.c:856:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
opt->do_print = TRUE;
ruby.c:858:4: note: here
case 'n':
^~~~
ruby.c:882:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
opt->verbose = 1;
~~~~~~~~~~~~~^~~
ruby.c:883:4: note: here
case 'w':
^~~~
ruby.c:1194:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!s[1])
^
ruby.c:1197:4: note: here
default:
^~~~~~~
compiling safe.c
In file included from method.h:14:0,
from vm_core.h:62,
from safe.c:20:
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 signal.c
compiling sprintf.c
In file included from signal.c:14: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 st.c
In file included from sprintf.c:14: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]
sprintf.c: In function ‘rb_str_format’:
sprintf.c:661:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
p--;
~^~
sprintf.c:662:4: note: here
case '%':
^~~~
In file included from sprintf.c:1275:0:
vsnprintf.c: In function ‘BSD_vfprintf’:
vsnprintf.c:886:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (prec != 0)
^
vsnprintf.c:888:3: note: here
case 'g':
^~~~
In file included from st.c:9: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]
st.c: In function ‘st_hash’:
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:25: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1461:61: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
compiling strftime.c
strftime.c: In function ‘rb_strftime_with_timespec’:
strftime.c:780:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
padding = '0';
~~~~~~~~^~~~~
strftime.c:781:3: note: here
case '1': case '2': case '3': case '4':
^~~~
compiling string.c
In file included from string.c:14: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 struct.c
In file included from struct.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 symbol.c
In file included from symbol.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 time.c
compiling transcode.c
In file included from transcode.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]
In file included from time.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]
time.c: In function ‘utc_offset_arg’:
time.c:2092:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
n += (s[7] * 10 + s[8] - '0' * 11);
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
time.c:2093:4: note: here
case 6:
^~~~
compiling util.c
In file included from util.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]
util.c: In function ‘ruby_strtod’:
util.c:2006:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
sign = 1;
~~~~~^~~
util.c:2008:11: note: here
case '+':
^~~~
util.c:2171:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
esign = 1;
~~~~~~^~~