mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add RBIMPL_ATTR_NONSTRING_ARRAY()
macro for GCC 15
This commit is contained in:
parent
ce51ef30df
commit
bbf1130f91
Notes:
git
2025-05-05 09:25:18 +00:00
3 changed files with 8 additions and 2 deletions
2
symbol.c
2
symbol.c
|
@ -172,7 +172,7 @@ rb_id_attrset(ID id)
|
|||
|
||||
/* make new symbol and ID */
|
||||
if (!(str = lookup_id_str(id))) {
|
||||
static const char id_types[][8] = {
|
||||
RBIMPL_ATTR_NONSTRING_ARRAY() static const char id_types[][8] = {
|
||||
"local",
|
||||
"instance",
|
||||
"invalid",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue