Created
September 20, 2019 09:37
-
-
Save utilum/e1407b9ca6a1062bd3fd88929c00fc4e to your computer and use it in GitHub Desktop.
gem install eventmachine -v '1.2.7'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -v | |
ruby 2.7.0dev (2019-09-20T08:44:48Z master 4ffcadd39c) [x86_64-linux] | |
$ | |
$ gem install eventmachine -v '1.2.7' | |
Building native extensions. This could take a while... | |
ERROR: Error installing eventmachine: | |
ERROR: Failed to build gem native extension. | |
current directory: /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/ext | |
/home/u/.rbenv/versions/2.7.0-dev/bin/ruby -I /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/2.7.0 -r ./siteconf20190920-31807-9wly5t.rb extconf.rb | |
checking for -lcrypto... yes | |
checking for -lssl... yes | |
checking for openssl/ssl.h... yes | |
checking for openssl/err.h... yes | |
checking for rb_trap_immediate in ruby.h,rubysig.h... no | |
checking for rb_thread_blocking_region()... no | |
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes | |
checking for rb_thread_fd_select()... yes | |
checking for rb_fdset_t in ruby/intern.h... yes | |
checking for rb_wait_for_single_fd()... yes | |
checking for rb_enable_interrupt()... no | |
checking for rb_time_new()... yes | |
checking for inotify_init() in sys/inotify.h... yes | |
checking for writev() in sys/uio.h... yes | |
checking for pipe2() in unistd.h... yes | |
checking for accept4() in sys/socket.h... yes | |
checking for SOCK_CLOEXEC in sys/socket.h... yes | |
checking for sys/event.h... no | |
checking for epoll_create() in sys/epoll.h... yes | |
checking for clock_gettime()... yes | |
checking for CLOCK_MONOTONIC_RAW in time.h... yes | |
checking for CLOCK_MONOTONIC in time.h... yes | |
CXXFLAGS=-g -O2 -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -Wno-address | |
creating Makefile | |
current directory: /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/ext | |
make "DESTDIR=" clean | |
current directory: /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/ext | |
make "DESTDIR=" | |
compiling binder.cpp | |
compiling cmain.cpp | |
compiling ed.cpp | |
compiling em.cpp | |
compiling kb.cpp | |
compiling page.cpp | |
compiling pipe.cpp | |
compiling rubymain.cpp | |
rubymain.cpp: In function ‘void event_callback_wrapper(uintptr_t, int, const char*, long unsigned int)’: | |
rubymain.cpp:220:105: warning: ‘VALUE ruby::backward::cxxanyargs::rb_rescue(VALUE (*)(...), VALUE, VALUE (*)(...), VALUE)’ is deprecated: Use of ANYARGS in this function is deprected [-Wdeprecated-declarations] | |
rb_rescue((VALUE (*)(ANYARGS))event_callback, (VALUE)&e, (VALUE (*)(ANYARGS))event_error_handler, Qnil); | |
^ | |
In file included from /home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2858:0, | |
from /home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby.h:33, | |
from em.h:24, | |
from project.h:168, | |
from rubymain.cpp:20: | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/backward/cxxanyargs.hpp:198:1: note: declared here | |
rb_rescue(type *q, VALUE w, type *e, VALUE r) | |
^~~~~~~~~ | |
In file included from /home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby.h:33:0, | |
from em.h:24, | |
from project.h:168, | |
from rubymain.cpp:20: | |
rubymain.cpp: In function ‘void Init_rubyeventmachine()’: | |
rubymain.cpp:1400:67: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "initialize_event_machine", (VALUE(*)(...))t_initialize_event_machine, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1401:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "run_machine_once", (VALUE(*)(...))t_run_machine_once, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1402:54: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "run_machine", (VALUE(*)(...))t_run_machine, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1403:70: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "run_machine_without_threads", (VALUE(*)(...))t_run_machine, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1404:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "add_oneshot_timer", (VALUE(*)(...))t_add_oneshot_timer, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1405:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "start_tcp_server", (VALUE(*)(...))t_start_server, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1406:58: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "stop_tcp_server", (VALUE(*)(...))t_stop_server, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1407:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "start_unix_server", (VALUE(*)(...))t_start_unix_server, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1408:52: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "attach_sd", (VALUE(*)(...))t_attach_sd, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1409:56: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_tls_parms", (VALUE(*)(...))t_set_tls_parms, 10); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<10>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2746:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##10,10,decl,vars,(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1410:52: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "start_tls", (VALUE(*)(...))t_start_tls, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1411:56: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_peer_cert", (VALUE(*)(...))t_get_peer_cert, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1412:58: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_cipher_bits", (VALUE(*)(...))t_get_cipher_bits, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1413:58: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_cipher_name", (VALUE(*)(...))t_get_cipher_name, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1414:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_cipher_protocol", (VALUE(*)(...))t_get_cipher_protocol, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1415:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_sni_hostname", (VALUE(*)(...))t_get_sni_hostname, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1416:52: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "send_data", (VALUE(*)(...))t_send_data, 3); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<3>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2739:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##3 ,3 ,decl,vars,(VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1417:56: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "send_datagram", (VALUE(*)(...))t_send_datagram, 5); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<5>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2741:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##5 ,5 ,decl,vars,(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1418:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "close_connection", (VALUE(*)(...))t_close_connection, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1419:73: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "report_connection_error_status", (VALUE(*)(...))t_report_connection_error_status, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1420:57: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "connect_server", (VALUE(*)(...))t_connect_server, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1421:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "bind_connect_server", (VALUE(*)(...))t_bind_connect_server, 4); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<4>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2740:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##4 ,4 ,decl,vars,(VALUE,VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1422:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "connect_unix_server", (VALUE(*)(...))t_connect_unix_server, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1424:52: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "attach_fd", (VALUE (*)(...))t_attach_fd, 2); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1425:52: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "detach_fd", (VALUE (*)(...))t_detach_fd, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1426:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_file_descriptor", (VALUE (*)(...))t_get_file_descriptor, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1427:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_sock_opt", (VALUE (*)(...))t_get_sock_opt, 3); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<3>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2739:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##3 ,3 ,decl,vars,(VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1428:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_sock_opt", (VALUE (*)(...))t_set_sock_opt, 4); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<4>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2740:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##4 ,4 ,decl,vars,(VALUE,VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1429:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_notify_readable", (VALUE (*)(...))t_set_notify_readable, 2); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1430:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_notify_writable", (VALUE (*)(...))t_set_notify_writable, 2); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1431:61: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "is_notify_readable", (VALUE (*)(...))t_is_notify_readable, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1432:61: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "is_notify_writable", (VALUE (*)(...))t_is_notify_writable, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1434:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "pause_connection", (VALUE (*)(...))t_pause, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1435:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "resume_connection", (VALUE (*)(...))t_resume, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1436:61: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "connection_paused?", (VALUE (*)(...))t_paused_p, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1437:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "num_close_scheduled", (VALUE (*)(...))t_num_close_scheduled, 0); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1439:54: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "start_proxy", (VALUE (*)(...))t_start_proxy, 4); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<4>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2740:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##4 ,4 ,decl,vars,(VALUE,VALUE,VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1440:53: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "stop_proxy", (VALUE (*)(...))t_stop_proxy, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1441:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_proxied_bytes", (VALUE (*)(...))t_proxied_bytes, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1443:57: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "watch_filename", (VALUE (*)(...))t_watch_filename, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1444:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "unwatch_filename", (VALUE (*)(...))t_unwatch_filename, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1446:52: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "watch_pid", (VALUE (*)(...))t_watch_pid, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1447:54: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "unwatch_pid", (VALUE (*)(...))t_unwatch_pid, 1); | |
^~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1449:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "current_time", (VALUE(*)(...))t_get_loop_time, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1451:58: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "open_udp_socket", (VALUE(*)(...))t_open_udp_socket, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1452:56: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "read_keyboard", (VALUE(*)(...))t_read_keyboard, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1453:58: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "release_machine", (VALUE(*)(...))t_release_machine, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1454:47: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "stop", (VALUE(*)(...))t_stop, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1455:59: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "signal_loopbreak", (VALUE(*)(...))t_signal_loopbreak, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1456:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "library_type", (VALUE(*)(...))t_library_type, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1457:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_timer_quantum", (VALUE(*)(...))t_set_timer_quantum, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1458:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_max_timer_count", (VALUE(*)(...))t_get_max_timer_count, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1459:62: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_max_timer_count", (VALUE(*)(...))t_set_max_timer_count, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1460:72: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_simultaneous_accept_count", (VALUE(*)(...))t_get_simultaneous_accept_count, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1461:72: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_simultaneous_accept_count", (VALUE(*)(...))t_set_simultaneous_accept_count, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1462:56: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "setuid_string", (VALUE(*)(...))t_setuid_string, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1463:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "invoke_popen", (VALUE(*)(...))t_invoke_popen, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1464:57: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "send_file_data", (VALUE(*)(...))t_send_file_data, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1465:65: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_heartbeat_interval", (VALUE(*)(...))t_get_heartbeat_interval, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1466:65: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_heartbeat_interval", (VALUE(*)(...))t_set_heartbeat_interval, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1467:56: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_idle_time", (VALUE(*)(...))t_get_idle_time, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1469:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_peername", (VALUE(*)(...))t_get_peername, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1470:55: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_sockname", (VALUE(*)(...))t_get_sockname, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1471:61: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_subprocess_pid", (VALUE(*)(...))t_get_subprocess_pid, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1472:64: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_subprocess_status", (VALUE(*)(...))t_get_subprocess_status, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1473:70: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_comm_inactivity_timeout", (VALUE(*)(...))t_get_comm_inactivity_timeout, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1474:70: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_comm_inactivity_timeout", (VALUE(*)(...))t_set_comm_inactivity_timeout, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1475:70: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_pending_connect_timeout", (VALUE(*)(...))t_get_pending_connect_timeout, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1476:70: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_pending_connect_timeout", (VALUE(*)(...))t_set_pending_connect_timeout, 2); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<2>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2738:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##2 ,2 ,decl,vars,(VALUE,VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1477:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "set_rlimit_nofile", (VALUE(*)(...))t_set_rlimit_nofile, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1478:63: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "get_connection_count", (VALUE(*)(...))t_get_connection_count, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1480:48: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "epoll", (VALUE(*)(...))t__epoll, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1481:49: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "epoll=", (VALUE(*)(...))t__epoll_set, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1482:49: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "epoll?", (VALUE(*)(...))t__epoll_p, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1484:49: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "kqueue", (VALUE(*)(...))t__kqueue, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1485:50: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "kqueue=", (VALUE(*)(...))t__kqueue_set, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1486:50: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "kqueue?", (VALUE(*)(...))t__kqueue_p, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1488:47: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function (EmModule, "ssl?", (VALUE(*)(...))t__ssl_p, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1489:50: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_module_function(EmModule, "stopping?",(VALUE(*)(...))t_stopping, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2799:95: note: in definition of macro ‘rb_define_module_function’ | |
#define rb_define_module_function(m, n, f, a) rb_define_module_function_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_module_function_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2797:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1491:60: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}’ [-fpermissive] | |
rb_define_method (EmConnection, "get_outbound_data_size", (VALUE(*)(...))conn_get_outbound_data_size, 0); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2772:77: note: in definition of macro ‘rb_define_method’ | |
#define rb_define_method(m, n, f, a) rb_define_method_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_method_tmpl<0>::define(VALUE, const char*, VALUE (*)(VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2736:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2770:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
rubymain.cpp:1492:63: error: invalid conversion from ‘VALUE (*)(...) {aka long unsigned int (*)(...)}’ to ‘VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)}’ [-fpermissive] | |
rb_define_method (EmConnection, "associate_callback_target", (VALUE(*)(...))conn_associate_callback_target, 1); | |
^~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2772:77: note: in definition of macro ‘rb_define_method’ | |
#define rb_define_method(m, n, f, a) rb_define_method_tmpl<a>::define(m, n, f) | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2724:21: note: initializing argument 3 of ‘static void rb_define_method_tmpl<1>::define(VALUE, const char*, VALUE (*)(VALUE, VALUE))’ | |
static void define(RB_UNWRAP_MACRO decl, VALUE (*func)funcargs) {::defname(RB_UNWRAP_MACRO vars, func, arity);} \ | |
^ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2732:5: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_CXX’ | |
RB_METHOD_DEFINITION_DECL_CXX(def,defname,decl,vars,funcargs,arity) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2737:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL_1’ | |
RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##1 ,1 ,decl,vars,(VALUE,VALUE)) \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/ruby.h:2770:1: note: in expansion of macro ‘RB_METHOD_DEFINITION_DECL’ | |
RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
Makefile:236: recipe for target 'rubymain.o' failed | |
make: *** [rubymain.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7 for inspection. | |
Results logged to /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0-static/eventmachine-1.2.7/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment