diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-16 07:47:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-16 07:47:48 +0000 |
commit | 5d09df327321bb8827703c1719ffa137ded94eeb (patch) | |
tree | 7c05af7ab648247e5d4d3f5fa2aba09c40b91d39 /loadpath.c | |
parent | 1bbdb76e168d05511b8e18d83a037cc2aac158c1 (diff) | |
download | ruby-5d09df327321bb8827703c1719ffa137ded94eeb.tar.gz |
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@49977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'loadpath.c')
0 files changed, 0 insertions, 0 deletions