diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-11-08 15:13:24 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-11-08 15:29:02 +0900 |
commit | 2eb02dfd3b650b54d6f3f5a63541e8165c997edd (patch) | |
tree | c9a296c37c7b41144a1d2fa10959aef75059e58e /enc | |
parent | 0ad0a8ff580a298dedc73c6679dd74d98c845ba9 (diff) | |
download | ruby-2eb02dfd3b650b54d6f3f5a63541e8165c997edd.tar.gz |
Stop compiling if type mismatch was found.
If there is a type mismatch between expected builtin function type
and actual function type, C compiler shows warning.
For example, `__builtin_func(1, 2)` expects
`func(rb_ec_t*, VALUE self, VALUE p1, VALUE p2)` function definition.
However, it is easy to overlook "warning" messages. So this patch
changes to stop compiling as an error if there is a mismatch.
Diffstat (limited to 'enc')
0 files changed, 0 insertions, 0 deletions