Hiro Asari created JRUBY-6305: --------------------------------- Summary: C Extension fails to build Key: JRUBY-6305 URL: https://jira.codehaus.org/browse/JRUBY-6305 Project: JRuby Issue Type: Bug Components: C Extensions Reporter: Hiro Asari Assignee: Wayne Meissner Priority: Blocker
As pointed out in JRUBY-6269, C extension is failing to build. http://ci.jruby.org/job/jruby-dist-master/720/console {noformat} [exec] /builds/jobs/jruby-dist-master/workspace/cext/src/data-object.cpp: In function 'VALUE rb_data_object_alloc(VALUE, void*, void (*)(void*), void (*)(void*))': [exec] /builds/jobs/jruby-dist-master/workspace/cext/src/data-object.cpp:48: error: 'Jlocalenv' was not declared in this scope [exec] /builds/jobs/jruby-dist-master/workspace/cext/src/data-object.cpp:48: error: expected `;' before 'env' [exec] /builds/jobs/jruby-dist-master/workspace/cext/src/data-object.cpp:50: error: no matching function for call to 'jruby::RubyData::RubyData(void*&, void (*&)(void*), void (*&)(void*))' {noformat} This is obviously a typo of {{JLocalEnv}}. Fixing this results in this error: {noformat} [exec] /Users/asari/Development/src/jruby/cext/src/data-object.cpp: In function 'VALUE rb_data_object_alloc(VALUE, void*, void (*)(void*), void (*)(void*))': [exec] /Users/asari/Development/src/jruby/cext/src/data-object.cpp:50: error: no matching function for call to 'jruby::RubyData::RubyData(void*&, void (*&)(void*), void (*&)(void*))' [exec] /Users/asari/Development/src/jruby/cext/src/Handle.h:136: note: candidates are: jruby::RubyData::RubyData() [exec] /Users/asari/Development/src/jruby/cext/src/Handle.h:136: note: jruby::RubyData::RubyData(const jruby::RubyData&) {noformat} And my C++-fu ran out. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email