diff options
Diffstat (limited to 'mjit_compiler.c')
-rw-r--r-- | mjit_compiler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mjit_compiler.c b/mjit_compiler.c index 5ed3aa5a68..3191c10d5f 100644 --- a/mjit_compiler.c +++ b/mjit_compiler.c @@ -171,7 +171,11 @@ extern bool rb_splat_or_kwargs_p(const struct rb_callinfo *restrict ci); #define SIZEOF(type) RB_SIZE2NUM(sizeof(type)) #define SIGNED_TYPE_P(type) RBOOL((type)(-1) < (type)(0)) +RBIMPL_WARNING_PUSH(); +RBIMPL_WARNING_IGNORED(-Wtype-limits); // for SIGNED_TYPE_P #include "mjit_c.rbinc" +RBIMPL_WARNING_POP(); + #include "mjit_compiler.rbinc" #endif // USE_MJIT |