Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed with latest mruby #26

Closed
yyamano opened this issue Sep 14, 2018 · 0 comments
Closed

build failed with latest mruby #26

yyamano opened this issue Sep 14, 2018 · 0 comments

Comments

@yyamano
Copy link
Contributor

yyamano commented Sep 14, 2018

MKOP_* are gone with mruby/mruby@891839b

/path/to/iij-mruby-require/src/require.c: 関数 ‘replace_stop_with_return’ 内:
/path/to/iij-mruby-require/src/require.c:54:3: エラー: 関数 ‘MKOP_A’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
   if (irep->iseq[irep->ilen - 1] == MKOP_A(OP_STOP, 0)) {
   ^
/path/to/iij-mruby-require/src/require.c:57: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/iij-mruby-require/src/require.c: 関数 ‘replace_stop_with_return’ 内:
/hpath/to/iij-mruby-require/src/require.c:54:3: エラー: 関数 ‘MKOP_A’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
   if (irep->iseq[irep->ilen - 1] == MKOP_A(OP_STOP, 0)) {
   ^
/path/to/iij-mruby-require/src/require.c:57:5: エラー: 関数 ‘MKOP_AB’ の暗黙的な宣言です [-Werror=implicit-function-declaration]
     irep->iseq[irep->ilen] = MKOP_AB(OP_RETURN, 0, OP_R_NOR
tsahara added a commit that referenced this issue Sep 18, 2018
Fix compilation error with latest mruby. Fixed #26.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant