diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 00:55:28 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 00:55:28 +0000 |
commit | f529dd9b103b677be7f25581c2af3101623c298b (patch) | |
tree | 042b00fef1fc84811325957aa1768ae7d829faab /numeric.c | |
parent | 533d366f2eab41b85d17f4de2acaf234f241ed30 (diff) | |
download | ruby-f529dd9b103b677be7f25581c2af3101623c298b.tar.gz |
* configure.in: add -Wsuggest-attribute=noreturn and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2684,7 +2684,8 @@ rb_fix2int(VALUE val) } #endif -void +NORETURN(static void rb_out_of_short(SIGNED_VALUE num)); +static void rb_out_of_short(SIGNED_VALUE num) { rb_raise(rb_eRangeError, "integer %"PRIdVALUE " too %s to convert to `short'", |