summaryrefslogtreecommitdiff
path: root/ext/fiddle/lib/fiddle/function.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-09-22 16:14:09 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-09-22 16:14:09 -0400
commit2ceb5363f9b15cffd3901220463a1175a32b89f7 (patch)
treec38115905441bc3fe9d5fd4ab33baa8a85ce41db /ext/fiddle/lib/fiddle/function.rb
parentd28589987913ec62862edbabd23fc770ed475770 (diff)
Try to fix compilation on m68kHEADmaster
Compilation is failing on m68k-linux with: ``` ./include/ruby/internal/static_assert.h:51:46: error: static assertion failed: "sizeof_method_def: offsetof(rb_method_definition_t, body)==8" 51 | # define RBIMPL_STATIC_ASSERT0 __extension__ _Static_assert | ^~~~~~~~~~~~~~ ./include/ruby/internal/static_assert.h:70:5: note: in expansion of macro 'RBIMPL_STATIC_ASSERT0' 70 | RBIMPL_STATIC_ASSERT0(expr, # name ": " # expr) | ^~~~~~~~~~~~~~~~~~~~~ ./internal/static_assert.h:13:24: note: in expansion of macro 'RBIMPL_STATIC_ASSERT' 13 | # define STATIC_ASSERT RBIMPL_STATIC_ASSERT | ^~~~~~~~~~~~~~~~~~~~ ./method.h:203:1: note: in expansion of macro 'STATIC_ASSERT' 203 | STATIC_ASSERT(sizeof_method_def, offsetof(rb_method_definition_t, body)==8); | ^~~~~~~~~~~~~ ```
Diffstat (limited to 'ext/fiddle/lib/fiddle/function.rb')
0 files changed, 0 insertions, 0 deletions