mattn/mruby-require

build failed with latest mruby

yyamano opened this issue · 0 comments

MKOP_* seem to be gone with mruby/mruby@891839b

/path/to/mruby/build/mrbgems/mruby-require/src/mrb_require.c: 関数 ‘replace_stop_with_return’ 内:
/path/to/mruby/build/mrbgems/mruby-require/src/mrb_require.c:234:3: エラー: 関数 ‘MKOP_A’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
   if (irep->iseq[irep->ilen - 1] == MKOP_A(OP_STOP, 0)) {
   ^
/path/to/mruby/build/mrbgems/mruby-require/src/mrb_require.c:244:5: エラー: 関数 ‘MKOP_AB’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
     irep->iseq[irep->ilen] = MKOP_AB(OP_RETURN, 0, OP_R_NORMAL);
     ^
cc1: some warnings being treated as errors
/path/to/mruby/build/mrbgems/mruby-require/src/mrb_require.c: 関数 ‘replace_stop_with_return’ 内:
/path/to/mruby/build/mrbgems/mruby-require/src/mrb_require.c:234:3: エラー: 関数 ‘MKOP_A’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
   if (irep->iseq[irep->ilen - 1] == MKOP_A(OP_STOP, 0)) {
   ^
/path/to/mruby/build/mrbgems/mruby-require/src/mrb_require.c:244:5: エラー: 関数 ‘MKOP_AB’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
     irep->iseq[irep->ilen] = MKOP_AB(OP_RETURN, 0, OP_R_NORMAL);