diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2023-10-15 14:53:14 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2023-10-15 15:35:45 +0900 |
commit | 591336a0f278bf963d01b6e9810cfc86a5b50620 (patch) | |
tree | d34c234d6528953a8d0f3e9aa34b6ca1be5916c3 /parse.y | |
parent | 985b0244dae306c8e436da234a8bd4c8c322acf5 (diff) | |
download | ruby-591336a0f278bf963d01b6e9810cfc86a5b50620.tar.gz |
Avoid the pointer hack in RCLASS_EXT
... because GCC 13 warns it.
```
In file included from class.c:24:
In function ‘RCLASS_SET_ALLOCATOR’,
inlined from ‘class_alloc’ at class.c:251:5,
inlined from ‘rb_module_s_alloc’ at class.c:1045:17:
internal/class.h:159:43: warning: array subscript 0 is outside array bounds of ‘rb_classext_t[0]’ {aka ‘struct rb_classext_struct[]’} [-Warray-bounds=]
159 | RCLASS_EXT(klass)->as.class.allocator = allocator;
| ^
```
https://rubyci.s3.amazonaws.com/arch/ruby-master/log/20231015T030003Z.log.html.gz
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions