[ruby-dev:20884] Re: IRIX (Re: ruby 1.8.0 preview4)
From:
m_seki@...
Date:
2003-07-24 23:20:32 UTC
List:
ruby-dev #20884
咳といいます。
> > --without-gccでは警告がたくさんでるのですが、送った方がいいですか?
>
> 少なくとも確認はしたいですね。あまりにも大量ならどこかに置いて
> おくというのでも。
ruby本体の分を送ります。
拡張ライブラリはどっかにおきます。
cc -g -KPIC -I. -I. -c array.c
"array.c", line 1820: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RHASH(hash)->tbl, &v, 0)) {
^
"array.c", line 1842: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RHASH(hash)->tbl, &v, 0)) {
^
"array.c", line 1848: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RHASH(hash)->tbl, &v, 0)) {
^
"array.c", line 1873: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RHASH(hash)->tbl, &v, 0)) {
^
cc -g -KPIC -I. -I. -c class.c
"class.c", line 75: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
st_delete(RCLASS(clone)->iv_tbl, &id, 0);
^
"class.c", line 77: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
st_delete(RCLASS(clone)->iv_tbl, &id, 0);
^
cc -g -KPIC -I. -I. -c dln.c
"dln.c", line 1328: warning(1048): cast between pointer-to-object and
pointer-to-function
init_fct = (void(*)())dlsym(handle, buf);
^
cc -g -KPIC -I. -I. -c enum.c
cc -g -KPIC -I. -I. -c error.c
"error.c", line 523: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (!st_lookup(syserr_tbl, n, &error)) {
^
"error.c", line 540: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (!st_lookup(syserr_tbl, n, &error)) {
^
"error.c", line 568: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (!NIL_P(error) && st_lookup(syserr_tbl, NUM2LONG(error), &klass)) {
^
cc -g -KPIC -I. -I. -c eval.c
"eval.c", line 421: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
if (!st_delete(RCLASS(klass)->m_tbl, &mid, (st_data_t *)&body) ||
^
"eval.c", line 1677: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (klass->iv_tbl && st_lookup(klass->iv_tbl, id, &result)) {
^
"eval.c", line 1701: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
while (RCLASS(klass)->iv_tbl && st_lookup(RCLASS(klass)->iv_tbl, id, &result)) {
^
"eval.c", line 2071: warning(1110): statement is unreachable
break;
^
"eval.c", line 3271: warning(1110): statement is unreachable
break;
^
"eval.c", line 4253: warning(1110): statement is unreachable
return Qnil; /* dummy */
^
"eval.c", line 4301: warning(1116): non-void function "massign" (declared at
line 4257) should return a value
}
^
"eval.c", line 4767: warning(1110): statement is unreachable
break;
^
"eval.c", line 4770: warning(1110): statement is unreachable
break;
^
"eval.c", line 4773: warning(1110): statement is unreachable
break;
^
"eval.c", line 4776: warning(1110): statement is unreachable
break;
^
"eval.c", line 4779: warning(1110): statement is unreachable
break;
^
"eval.c", line 4782: warning(1110): statement is unreachable
break;
^
"eval.c", line 4785: warning(1110): statement is unreachable
break;
^
"eval.c", line 4788: warning(1110): statement is unreachable
break;
^
"eval.c", line 4792: warning(1110): statement is unreachable
break;
^
"eval.c", line 4796: warning(1110): statement is unreachable
break;
^
"eval.c", line 4800: warning(1110): statement is unreachable
break;
^
"eval.c", line 4804: warning(1110): statement is unreachable
break;
^
"eval.c", line 4808: warning(1110): statement is unreachable
break;
^
"eval.c", line 4812: warning(1110): statement is unreachable
break;
^
"eval.c", line 4817: warning(1110): statement is unreachable
break;
^
"eval.c", line 4822: warning(1110): statement is unreachable
break;
^
"eval.c", line 4827: warning(1110): statement is unreachable
break;
^
"eval.c", line 4832: warning(1110): statement is unreachable
break;
^
"eval.c", line 5618: warning(1177): argument is incompatible with formal
parameter
return exec_under(eval_under_i, under, under, args);
^
"eval.c", line 5633: warning(1177): argument is incompatible with formal
parameter
return exec_under(yield_under_i, under, 0, self);
^
"eval.c", line 9458: warning(1177): argument is incompatible with formal
parameter
return rb_thread_start_0(rb_thread_yield, args, rb_thread_check(thread));
^
"eval.c", line 9468: warning(1177): argument is incompatible with formal
parameter
return rb_thread_start_0(rb_thread_yield, args, rb_thread_alloc(klass));
^
"eval.c", line 9706: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (st_lookup(th->locals, id, &val)) {
^
"eval.c", line 9736: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
st_delete(th->locals, &id, 0);
^
cc -g -KPIC -I. -I. -c file.c
"file.c", line 1054: warning(1116): non-void function "rb_file_s_lchmod"
(declared at line 1049) should return a value
}
^
"file.c", line 1094: warning(1177): argument is incompatible with formal
parameter
n = apply2files(chown_internal, rest, &arg);
^
"file.c", line 1152: warning(1177): argument is incompatible with formal
parameter
n = apply2files(lchown_internal, rest, &arg);
^
"file.c", line 1192: warning(1177): argument is incompatible with formal
parameter
n = apply2files(utime_internal, rest, tvp);
^
cc -g -KPIC -I. -I. -c gc.c
"gc.c", line 793: warning(1177): argument is incompatible with formal parameter
if (is_pointer_to_heap(obj->as.node.u1.node)) {
^
"gc.c", line 796: warning(1177): argument is incompatible with formal parameter
if (is_pointer_to_heap(obj->as.node.u2.node)) {
^
"gc.c", line 799: warning(1177): argument is incompatible with formal parameter
if (is_pointer_to_heap(obj->as.node.u3.node)) {
^
"gc.c", line 896: warning(1177): argument is incompatible with formal parameter
is_pointer_to_heap(obj) ? "corrupted object" : "non object");
^
"gc.c", line 1462: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
st_delete(finalizer_table, &obj, 0);
^
"gc.c", line 1489: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (st_lookup(finalizer_table, obj, &table)) {
^
"gc.c", line 1509: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (st_lookup(finalizer_table, obj, &table)) {
^
"gc.c", line 1536: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (finalizer_table && st_delete(finalizer_table, &obj, &table)) {
^
"gc.c", line 1536: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (finalizer_table && st_delete(finalizer_table, &obj, &table)) {
^
cc -g -KPIC -I. -I. -c hash.c
"hash.c", line 98: warning(1110): statement is unreachable
break;
^
"hash.c", line 102: warning(1110): statement is unreachable
break;
^
"hash.c", line 290: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (!st_lookup(RHASH(hash)->tbl, key, &val)) {
^
"hash.c", line 307: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (!st_lookup(RHASH(hash)->tbl, key, &val)) {
^
"hash.c", line 410: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (st_delete_safe(RHASH(hash)->tbl, &key, &val, Qundef)) {
^
"hash.c", line 410: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (st_delete_safe(RHASH(hash)->tbl, &key, &val, Qundef)) {
^
"hash.c", line 415: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
else if (st_delete(RHASH(hash)->tbl, &key, &val))
^
"hash.c", line 415: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
else if (st_delete(RHASH(hash)->tbl, &key, &val))
^
"hash.c", line 863: warning(1164): argument of type "VALUE *" is incompatible
with parameter of type "st_data_t *"
if (!st_lookup(data->tbl, key, &val2)) {
^
cc -g -KPIC -I. -I. -c io.c
"io.c", line 868: warning(1140): a value of type "unsigned char *" cannot be
used to initialize an entity of type "const char *"
const char *p = READ_DATA_PENDING_PTR(f);
^
"io.c", line 958: warning(1140): a value of type "unsigned char *" cannot be
used to initialize an entity of type "const char *"
const char *p = READ_DATA_PENDING_PTR(f);
^
"io.c", line 2169: warning(1116): non-void function "pipe_open" (declared at
line 2024) should return a value
}
^
cc -g -KPIC -I. -I. -c numeric.c
"numeric.c", line 1216: warning(1116): non-void function "rb_int_induced_from"
(declared at line 1203) should return a value
}
^
"numeric.c", line 1232: warning(1116): non-void function "rb_flo_induced_from"
(declared at line 1219) should return a value
}
^
cc -g -KPIC -I. -I. -c object.c
"object.c", line 1249: warning(1116): non-void function "rb_Float" (declared
at line 1220) should return a value
}
^
cc -g -KPIC -I. -I. -c pack.c
"pack.c", line 507: warning(1110): statement is unreachable
break;
^
"pack.c", line 537: warning(1110): statement is unreachable
break;
^
"pack.c", line 568: warning(1110): statement is unreachable
break;
^
"pack.c", line 599: warning(1110): statement is unreachable
break;
^
"pack.c", line 1861: warning(1116): non-void function "uv_to_utf8" (declared
at line 1817) should return a value
}
^
cc -g -KPIC -I. -I. -c parse.c
"parse.y", line 4611: warning(1185): enumerated type mixed with another type
htype = nd_type(head);
^
"parse.y", line 5216: warning(1185): enumerated type mixed with another type
type = nd_type(node);
^
"parse.y", line 5219: warning(1185): enumerated type mixed with another type
type = nd_type(node);
^
"parse.y", line 5254: warning(1185): enumerated type mixed with another type
enum node_type type = nd_type(node);
^
cc -g -KPIC -I. -I. -c process.c
"process.c", line 1491: warning(1116): non-void function "p_sys_issetugid"
(declared at line 1479) should return a value
}
^
"process.c", line 2047: warning(1116): non-void function "p_uid_switch"
(declared at line 2007) should return a value
}
^
"process.c", line 2101: warning(1116): non-void function "p_gid_switch"
(declared at line 2060) should return a value
}
^
cc -g -KPIC -I. -I. -c prec.c
cc -g -KPIC -I. -I. -c random.c
cc -g -KPIC -I. -I. -c range.c
"range.c", line 271: warning(1177): argument is incompatible with formal
parameter
range_each_func(range, step_i, b, e, args);
^
"range.c", line 271: warning(1177): argument is incompatible with formal
parameter
range_each_func(range, step_i, b, e, args);
^
"range.c", line 434: warning(1177): argument is incompatible with formal
parameter
range_each_func(range, member_i, beg, end, args);
^
"range.c", line 434: warning(1177): argument is incompatible with formal
parameter
range_each_func(range, member_i, beg, end, args);
^
cc -g -KPIC -I. -I. -c re.c
"re.c", line 104: warning(1140): a value of type "char *" cannot be used to
initialize an entity of type "unsigned char *"
unsigned char *x = x0, *y = y0;
^
"re.c", line 104: warning(1140): a value of type "char *" cannot be used to
initialize an entity of type "unsigned char *"
unsigned char *x = x0, *y = y0;
^
"re.c", line 128: warning(1164): argument of type "unsigned char *" is
incompatible with parameter of type "char *"
if (hx == hy && rb_memcicmp(x, s, m) == 0) {
^
"re.c", line 128: warning(1164): argument of type "unsigned char *" is
incompatible with parameter of type "char *"
if (hx == hy && rb_memcicmp(x, s, m) == 0) {
^
"re.c", line 1017: warning(1116): non-void function "match_select" (declared
at line 989) should return a value
}
^
"re.c", line 1450: warning(1116): non-void function "rb_kcode" (declared at
line 1437) should return a value
}
^
cc -g -KPIC -I. -I. -c regex.c
"regex.c", line 2302: warning(1183): pointless comparison of unsigned integer
with zero
GET_UNSIGNED_NUMBER(c1);
^
"regex.c", line 3839: warning(1110): statement is unreachable
break;
^
cc -g -KPIC -I. -I. -c st.c
"st.c", line 495: warning(1185): enumerated type mixed with another type
retval = (*func)(ptr->key, ptr->record, arg);
^
cc -g -KPIC -I. -I. -c string.c
"string.c", line 1257: warning(1110): statement is unreachable
return Qnil; /* not reached */
^
cc -g -KPIC -I. -I. -c struct.c
"struct.c", line 494: warning(1116): non-void function "rb_struct_aset_id"
(declared at line 473) should return a value
}
^
cc -g -KPIC -I. -I. -c time.c
"time.c", line 1336: warning(1164): argument of type "unsigned char *" is
incompatible with parameter of type "const char *"
return rb_str_new(buf, 8);
^
cc -g -KPIC -I. -I. -c util.c
cc -g -KPIC -I. -I. -c variable.c
"variable.c", line 52: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
st_lookup(ROBJECT(fc->track)->iv_tbl, rb_intern("__classpath__"), &tmp)) {
^
"variable.c", line 150: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (!st_lookup(ROBJECT(klass)->iv_tbl, classpath, &path)) {
^
"variable.c", line 153: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (!st_lookup(ROBJECT(klass)->iv_tbl, classid, &path)) {
^
"variable.c", line 158: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
st_delete(RCLASS(klass)->iv_tbl, &classid, 0);
^
"variable.c", line 191: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
st_delete(RCLASS(klass)->iv_tbl, &tmppath, 0);
^
"variable.c", line 194: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(klass)->iv_tbl && st_lookup(RCLASS(klass)->iv_tbl, tmppath, &path)) {
^
"variable.c", line 803: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_lookup(tbl, id, &val)) {
^
"variable.c", line 848: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_lookup(tbl, id, &val)) {
^
"variable.c", line 865: warning(1164): argument of type "ID *" is incompatible
with parameter of type "st_data_t *"
status = st_delete(tbl, &id, valp);
^
"variable.c", line 865: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
status = st_delete(tbl, &id, valp);
^
"variable.c", line 867: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
st_delete(generic_iv_tbl, &obj, (st_data_t *)&tbl);
^
"variable.c", line 919: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(generic_iv_tbl, &obj, (st_data_t *)&tbl))
^
"variable.c", line 955: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (ROBJECT(obj)->iv_tbl && st_lookup(ROBJECT(obj)->iv_tbl, id, &val))
^
"variable.c", line 1088: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
if (ROBJECT(obj)->iv_tbl && st_delete(ROBJECT(obj)->iv_tbl, &id, &val)) {
^
"variable.c", line 1088: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (ROBJECT(obj)->iv_tbl && st_delete(ROBJECT(obj)->iv_tbl, &id, &val)) {
^
"variable.c", line 1164: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if ((tbl = RCLASS(mod)->iv_tbl) && st_lookup(tbl, id, &av) && av != Qundef)
^
"variable.c", line 1169: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_lookup(tbl, autoload, &av)) {
^
"variable.c", line 1187: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
st_delete(RCLASS(mod)->iv_tbl, &id, 0);
^
"variable.c", line 1188: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_lookup(RCLASS(mod)->iv_tbl, autoload, &val)) {
^
"variable.c", line 1191: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
if (!st_delete(tbl, &id, &file)) file = Qnil;
^
"variable.c", line 1191: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (!st_delete(tbl, &id, &file)) file = Qnil;
^
"variable.c", line 1197: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RCLASS(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1197: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RCLASS(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1232: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (!st_lookup(RCLASS(mod)->iv_tbl, autoload, &val) ||
^
"variable.c", line 1233: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
!(tbl = check_autoload_table(val)) || !st_lookup(tbl, id, &file)) {
^
"variable.c", line 1245: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
st_delete(tbl, &id, 0);
^
"variable.c", line 1250: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RCLASS(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1250: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_delete(RCLASS(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1265: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (!tbl || !st_lookup(tbl, id, &val) || val != Qundef) {
^
"variable.c", line 1278: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
while (RCLASS(klass)->iv_tbl && st_lookup(RCLASS(klass)->iv_tbl, id, &value)) {
^
"variable.c", line 1300: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
while (RCLASS(tmp)->iv_tbl && st_lookup(RCLASS(tmp)->iv_tbl,id,&value)) {
^
"variable.c", line 1352: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(mod)->iv_tbl && st_delete(ROBJECT(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1352: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(mod)->iv_tbl && st_delete(ROBJECT(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1450: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(klass)->iv_tbl && st_lookup(RCLASS(klass)->iv_tbl, id, &value)) {
^
"variable.c", line 1472: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(tmp)->iv_tbl && st_lookup(RCLASS(tmp)->iv_tbl, id, &value)) {
^
"variable.c", line 1490: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(tmp)->iv_tbl && st_lookup(RCLASS(tmp)->iv_tbl, id, &value)) {
^
"variable.c", line 1521: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_lookup(RCLASS(klass)->iv_tbl, id, &value)) {
^
"variable.c", line 1636: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (st_lookup(RCLASS(tmp)->iv_tbl,id,&value)) {
^
"variable.c", line 1753: warning(1164): argument of type "ID *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(mod)->iv_tbl && st_delete(ROBJECT(mod)->iv_tbl, &id, &val)) {
^
"variable.c", line 1753: warning(1164): argument of type "VALUE *" is
incompatible with parameter of type "st_data_t *"
if (RCLASS(mod)->iv_tbl && st_delete(ROBJECT(mod)->iv_tbl, &id, &val)) {
^