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 fails with latest mruby #29

Open
ppibburr opened this issue Mar 11, 2014 · 2 comments · May be fixed by #30
Open

build fails with latest mruby #29

ppibburr opened this issue Mar 11, 2014 · 2 comments · May be fixed by #30

Comments

@ppibburr
Copy link
Contributor

RString has changed.

I made some changes and had gotten it to build, however, CFunc::call segfaults, i had only made changes concerning s->member ie (s->as.heap.member)

@masuidrive
Copy link
Member

Sure, I'll try to fix it.

@masahino masahino linked a pull request Mar 17, 2014 that will close this issue
@donpdonp
Copy link

this looks like a very useful mrbgem, but mruby build fails when including mruby-cfunc. this is from current mruby head.

CC    build/mrbgems/mruby-cfunc/src/cfunc_closure.c -> build/host/mrbgems/mruby-cfunc/src/cfunc_closure.o
In file included from /home/donp/code/neur0n/mruby/build/mrbgems/mruby-cfunc/include/cfunc_closure.h:10:0,
                 from /home/donp/code/neur0n/mruby/build/mrbgems/mruby-cfunc/src/cfunc_closure.c:7:
/home/donp/code/neur0n/mruby/build/mrbgems/mruby-cfunc/include/cfunc.h: In function ‘cfunc_state’:
/home/donp/code/neur0n/mruby/build/mrbgems/mruby-cfunc/include/cfunc.h:61:23: error: implicit declaration of function ‘mrb_object’ [-Werror=implicit-function-declaration]
         obj = (struct RClass*) mrb_object(mrb_vm_const_get(mrb, mrb_intern_cstr(mrb, "CFunc")));

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

Successfully merging a pull request may close this issue.

3 participants