Suppress -Wtype-limits warnings on mjit_c.rb
This commit is contained in:
parent
82ac4a2399
commit
b0e3ee454d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user