diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-16 07:49:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-16 07:49:27 +0000 |
commit | c7988fd29d851cadf77cff865ce0af6e51dc9374 (patch) | |
tree | 2a6c5cb0d6d1e5f2449b22c66bdddc4191dbae8f /test/ruby/test_math.rb | |
parent | 5d09df327321bb8827703c1719ffa137ded94eeb (diff) |
ruby.h: suppress false warnings
* include/ruby/ruby.h (rb_data_object_alloc_warning): enable only
if __builtin_choose_expr works with __builtin_constant_p so that
warnings will be suppressed if klass is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_math.rb')
0 files changed, 0 insertions, 0 deletions