diff options
| author | dearblue <[email protected]> | 2021-10-31 22:17:15 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-10-31 22:17:15 +0900 |
| commit | 1de662cb8beb3690f344fbbd1964f8009ca85ce5 (patch) | |
| tree | 2dfbf7eb0d92a87150d8e70a2608b32ee6ea9ec5 /include/mruby.h | |
| parent | d8204d51afc0e22aa5e720386af36ca12ddd3b01 (diff) | |
| download | mruby-1de662cb8beb3690f344fbbd1964f8009ca85ce5.tar.gz mruby-1de662cb8beb3690f344fbbd1964f8009ca85ce5.zip | |
Fix failed build with `MRB_NAN_BOXING` and `enable_cxx_abi`
```console
% c++ -xc++ -std=c++03 -S -Iinclude -DMRB_NAN_BOXING -DMRB_NO_PRESYM -o- src/array.c > /dev/null
In file included from src/array.c:7:
In file included from include/mruby.h:115:
In file included from include/mruby/value.h:201:
include/mruby/boxing_nan.h:95:12: error: cannot initialize return object of type 'enum mrb_vtype' with an rvalue of type 'int'
return (enum mrb_vtype)(o.u >> 8) & 0x1f;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions
