Actions
Bug #14971
closederror: implicit declaration of function βrb_vm_call0
Description
I get the errors below when making make up install-nodoc
.
I'm not at v64208.
compiling vm.c
In file included from vm_insnhelper.c:1570:0,
from vm.c:310:
vm_args.c: In function βvm_to_procβ:
vm_args.c:813:17: error: implicit declaration of function βrb_vm_call0β [-Werror=implicit-function-declaration]
b = rb_vm_call0(GET_EC(), proc, idTo_proc, 0, NULL, me);
^~~~~~~~~~~
In file included from vm.c:310:0:
vm_insnhelper.c: In function βvm_call_bmethod_bodyβ:
vm_insnhelper.c:1977:11: error: implicit declaration of function βvm_invoke_bmethodβ [-Werror=implicit-function-declaration]
val = vm_invoke_bmethod(ec, proc, calling->recv, calling->argc, argv, calling->block_handler);
^~~~~~~~~~~~~~~~~
In file included from vm.c:308:0:
/cygdrive/c/Data/ruby/insns.def: In function βvm_exec_coreβ:
vm_insnhelper.h:109:20: warning: passing argument 1 of βvm_expandarrayβ from incompatible pointer type [-Wincompatible-pointer-types]
#define GET_SP() (COLLECT_USAGE_REGISTER_HELPER(SP, GET, VM_REG_SP))
^
/cygdrive/c/Data/ruby/insns.def:449:20: note: in expansion of macro βGET_SPβ
vm_expandarray(GET_SP(), ary, num, (int)flag);
^~~~~~
In file included from vm.c:310:0:
vm_insnhelper.c:1240:1: note: expected βrb_control_frame_t * {aka struct rb_control_frame_struct *}β but argument is of type βVALUE * {aka long unsigned int *}β
vm_expandarray(rb_control_frame_t *cfp, VALUE ary, rb_num_t num, int flag)
^~~~~~~~~~~~~~
In file included from vm.c:318:0:
vm_eval.c: At top level:
vm_eval.c:44:1: error: conflicting types for βrb_vm_call0β
rb_vm_call0(rb_execution_context_t *ec, VALUE recv, ID id, int argc, const VALUE *argv, const rb_callable_method_entry_t *me)
^~~~~~~~~~~
In file included from vm_insnhelper.c:1570:0,
from vm.c:310:
vm_args.c:813:17: note: previous implicit declaration of βrb_vm_call0β was here
b = rb_vm_call0(GET_EC(), proc, idTo_proc, 0, NULL, me);
^~~~~~~~~~~
cc1: warning: unrecognized command line option β-Wno-cast-function-typeβ
cc1: warning: unrecognized command line option β-Wno-self-assignβ
cc1: warning: unrecognized command line option β-Wno-constant-logical-operandβ
cc1: warning: unrecognized command line option β-Wno-parentheses-equalityβ
cc1: some warnings being treated as errors
make[1]: *** [Makefile:403: vm.o] Error 1
make[1]: Leaving directory '/cygdrive/c/Data/ruby'
make: [uncommon.mk:1147: up] Error 2 (ignored)
Updated by duerst (Martin DΓΌrst) about 7 years ago
This issue has been masked by #15072, but has resurfaced.
@nobu (Nobuyoshi Nakada): Ping!
Updated by jeremyevans0 (Jeremy Evans) about 2 years ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0