mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress -Wtype-limits warnings on mjit_c.rb
This commit is contained in:
parent
82ac4a2399
commit
b0e3ee454d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue