Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In file included from /home/local/COMCARD-NT/kanis/.rvm/rubies/ruby-2.7.0/include/ruby-2.7.0/ruby.h:33:0, from ../../../../ext/ffi_c/MethodHandle.c:48: ../../../../ext/ffi_c/MethodHandle.c: In function ‘prep_trampoline’: ../../../../ext/ffi_c/MethodHandle.c:315:18: warning: ISO C forbids passing argument 2 of ‘ruby_nonempty_memcpy’ between function pointer and ‘void *’ [-Wpedantic] memcpy(code, &ffi_trampoline, trampoline_size()); ^ /home/local/COMCARD-NT/kanis/.rvm/rubies/ruby-2.7.0/include/ruby-2.7.0/ruby/ruby.h:1763:50: note: in definition of macro ‘memcpy’ . #define memcpy(p1,p2,n) ruby_nonempty_memcpy(p1, p2, n) ^~ /home/local/COMCARD-NT/kanis/.rvm/rubies/ruby-2.7.0/include/ruby-2.7.0/ruby/ruby.h:1758:1: note: expected ‘const void *’ but argument is of type ‘void (*)(int, VALUE *, VALUE) {aka void (*)(int, long unsigned int *, long unsigned int)}’ ruby_nonempty_memcpy(void *dest, const void *src, size_t n) ^~~~~~~~~~~~~~~~~~~~
- Loading branch information