Skip to content

Commit 67b91e7

Browse files
committed
Drop an ignored attribute
GCC 13.3.0 (Ubuntu 24.04) emits the following warning: ../symbol.c: In function ‘rb_id_attrset’: ../symbol.c:175:9: warning: ‘nonstring’ attribute ignored on objects of type ‘const char[][8]’ [-Wattributes] 175 | RBIMPL_ATTR_NONSTRING() static const char id_types[][8] = { | ^~~~~~~~~~~~~~~~~~~~~
1 parent 17e63f9 commit 67b91e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symbol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ rb_id_attrset(ID id)
172172

173173
/* make new symbol and ID */
174174
if (!(str = lookup_id_str(id))) {
175-
RBIMPL_ATTR_NONSTRING() static const char id_types[][8] = {
175+
static const char id_types[][8] = {
176176
"local",
177177
"instance",
178178
"invalid",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy