[ruby-core:122252] [Ruby Bug#21366] [[]]

Issue #21366 has been reported by vv3 (Mariusz A). ---------------------------------------- Bug #21366: [[]] https://bugs.ruby-lang.org/issues/21366 * Author: vv3 (Mariusz A) * Status: Open * ruby -v: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [aarch64-linux-gnu] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:255:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 255 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:256:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:257:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 257 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _03(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:259:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 259 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _05(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:260:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 260 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _06(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:261:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 261 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _07(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:262:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 262 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _08(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:263:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 263 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _09(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:264:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 264 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _10(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:265:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 265 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _11(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:266:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 266 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _12(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:267:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 267 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _13(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:268:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 268 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _14(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:269:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 269 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _15(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:251:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 251 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m3(__VA_ARGS__, VALUE(*)(ANYARGS), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:252:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 252 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m2(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:253:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 253 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m1(__VA_ARGS__, VALUE(*)(int, union { VALUE *x; const VALUE *y; } __attribute__((__transparent_union__)), VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:254:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 254 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:255:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 255 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:256:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:257:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 257 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _03(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:259:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 259 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _05(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:260:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 260 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _06(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:261:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 261 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _07(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:262:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 262 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _08(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:263:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 263 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _09(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:264:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 264 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _10(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:265:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 265 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _11(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:266:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 266 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _12(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:267:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 267 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _13(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:268:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 268 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _14(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:269:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 269 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _15(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby-3.1.0/ruby/internal/core/rstring.h:30, from /usr/include/ruby-3.1.0/ruby/internal/arithmetic/char.h:29, from /usr/include/ruby-3.1.0/ruby/internal/arithmetic.h:23, from /usr/include/ruby-3.1.0/ruby/ruby.h:27: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINTABLE’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:794:24: warning: unused parameter ‘obj’ [-Wunused-parameter] 794 | RB_OBJ_TAINTABLE(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINTED_RAW’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:811:26: warning: unused parameter ‘obj’ [-Wunused-parameter] 811 | RB_OBJ_TAINTED_RAW(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINTED’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:828:22: warning: unused parameter ‘obj’ [-Wunused-parameter] 828 | RB_OBJ_TAINTED(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINT_RAW’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:843:24: warning: unused parameter ‘obj’ [-Wunused-parameter] 843 | RB_OBJ_TAINT_RAW(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINT’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:858:20: warning: unused parameter ‘obj’ [-Wunused-parameter] 858 | RB_OBJ_TAINT(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_INFECT_RAW’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:874:25: warning: unused parameter ‘dst’ [-Wunused-parameter] 874 | RB_OBJ_INFECT_RAW(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:874:36: warning: unused parameter ‘src’ [-Wunused-parameter] 874 | RB_OBJ_INFECT_RAW(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_INFECT’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:890:21: warning: unused parameter ‘dst’ [-Wunused-parameter] 890 | RB_OBJ_INFECT(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:890:32: warning: unused parameter ‘src’ [-Wunused-parameter] 890 | RB_OBJ_INFECT(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h: At top level: /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:365:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 365 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:367:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 367 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:393:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 393 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:396:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 396 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:398:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 398 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:428:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 428 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:430:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 430 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/core/rarray.h:418:24: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 418 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/core/rarray.h:445:22: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 445 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby-3.1.0/ruby/ruby.h:44: /usr/include/ruby-3.1.0/ruby/internal/newobj.h: In function ‘rb_clone_setup’: /usr/include/ruby-3.1.0/ruby/internal/newobj.h:173:22: warning: unused parameter ‘clone’ [-Wunused-parameter] 173 | rb_clone_setup(VALUE clone, VALUE obj) | ~~~~~~^~~~~ /usr/include/ruby-3.1.0/ruby/internal/newobj.h:173:35: warning: unused parameter ‘obj’ [-Wunused-parameter] 173 | rb_clone_setup(VALUE clone, VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/newobj.h: In function ‘rb_dup_setup’: /usr/include/ruby-3.1.0/ruby/internal/newobj.h:190:20: warning: unused parameter ‘dup’ [-Wunused-parameter] 190 | rb_dup_setup(VALUE dup, VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/newobj.h:190:31: warning: unused parameter ‘obj’ [-Wunused-parameter] 190 | rb_dup_setup(VALUE dup, VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/scan_args.h: At top level: /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/backward/2/attributes.h:163:28: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 163 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/scan_args.h:391:33: note: in expansion of macro ‘RB_UNUSED_VAR’ 391 | VALUE *vars[], RB_UNUSED_VAR(const char *fmt), RB_UNUSED_VAR(int varc)) | ^~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/backward/2/attributes.h:163:28: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 163 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/scan_args.h:391:65: note: in expansion of macro ‘RB_UNUSED_VAR’ 391 | VALUE *vars[], RB_UNUSED_VAR(const char *fmt), RB_UNUSED_VAR(int varc)) ----- uname -a 6.12.20-current-sunxi64 #1 SMP Sat Mar 22 19:54:28 UTC 2025 aarch64 armbian orange pi zero 3 -- https://bugs.ruby-lang.org/

Issue #21366 has been updated by nobu (Nobuyoshi Nakada). Description updated Status changed from Open to Feedback Which version of the compiler? Anyway, 3.1 has reached the EOL already and no backport anymore. ---------------------------------------- Bug #21366: [[]] https://bugs.ruby-lang.org/issues/21366#change-113398 * Author: vv3 (Mariusz A) * Status: Feedback * ruby -v: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [aarch64-linux-gnu] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- ``` /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:255:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 255 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:256:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:257:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 257 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _03(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:259:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 259 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _05(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:260:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 260 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _06(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:261:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 261 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _07(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:262:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 262 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _08(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:263:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 263 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _09(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:264:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 264 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _10(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:265:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 265 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _11(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:266:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 266 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _12(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:267:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 267 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _13(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:268:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 268 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _14(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:269:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 269 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _15(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:275:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 275 | RBIMPL_ANYARGS_DECL(rb_define_method_id, VALUE, ID) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:251:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 251 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m3(__VA_ARGS__, VALUE(*)(ANYARGS), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:252:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 252 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m2(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:253:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 253 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m1(__VA_ARGS__, VALUE(*)(int, union { VALUE *x; const VALUE *y; } __attribute__((__transparent_union__)), VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:254:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 254 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:255:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 255 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:256:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:257:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 257 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _03(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:259:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 259 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _05(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:260:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 260 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _06(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:261:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 261 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _07(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:262:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 262 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _08(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:263:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 263 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _09(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:264:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 264 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _10(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:265:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 265 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _11(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:266:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 266 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _12(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:267:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 267 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _13(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:268:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 268 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _14(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:249:38: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 249 | # define RBIMPL_ANYARGS_ATTRSET(sym) RBIMPL_ATTR_MAYBE_UNUSED() RBIMPL_ATTR_NONNULL(()) RBIMPL_ATTR_WEAKREF(sym) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:269:1: note: in expansion of macro ‘RBIMPL_ANYARGS_ATTRSET’ 269 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _15(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE), int); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: in expansion of macro ‘RBIMPL_ANYARGS_DECL’ 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby-3.1.0/ruby/internal/core/rstring.h:30, from /usr/include/ruby-3.1.0/ruby/internal/arithmetic/char.h:29, from /usr/include/ruby-3.1.0/ruby/internal/arithmetic.h:23, from /usr/include/ruby-3.1.0/ruby/ruby.h:27: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINTABLE’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:794:24: warning: unused parameter ‘obj’ [-Wunused-parameter] 794 | RB_OBJ_TAINTABLE(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINTED_RAW’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:811:26: warning: unused parameter ‘obj’ [-Wunused-parameter] 811 | RB_OBJ_TAINTED_RAW(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINTED’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:828:22: warning: unused parameter ‘obj’ [-Wunused-parameter] 828 | RB_OBJ_TAINTED(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINT_RAW’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:843:24: warning: unused parameter ‘obj’ [-Wunused-parameter] 843 | RB_OBJ_TAINT_RAW(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_TAINT’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:858:20: warning: unused parameter ‘obj’ [-Wunused-parameter] 858 | RB_OBJ_TAINT(VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_INFECT_RAW’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:874:25: warning: unused parameter ‘dst’ [-Wunused-parameter] 874 | RB_OBJ_INFECT_RAW(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:874:36: warning: unused parameter ‘src’ [-Wunused-parameter] 874 | RB_OBJ_INFECT_RAW(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h: In function ‘RB_OBJ_INFECT’: /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:890:21: warning: unused parameter ‘dst’ [-Wunused-parameter] 890 | RB_OBJ_INFECT(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/fl_type.h:890:32: warning: unused parameter ‘src’ [-Wunused-parameter] 890 | RB_OBJ_INFECT(VALUE dst, VALUE src) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h: At top level: /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:365:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 365 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:367:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 367 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:393:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 393 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:396:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 396 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:398:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 398 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:428:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 428 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/rgengc.h:430:5: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 430 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/core/rarray.h:418:24: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 418 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/internal/core/rarray.h:445:22: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 445 | RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby-3.1.0/ruby/ruby.h:44: /usr/include/ruby-3.1.0/ruby/internal/newobj.h: In function ‘rb_clone_setup’: /usr/include/ruby-3.1.0/ruby/internal/newobj.h:173:22: warning: unused parameter ‘clone’ [-Wunused-parameter] 173 | rb_clone_setup(VALUE clone, VALUE obj) | ~~~~~~^~~~~ /usr/include/ruby-3.1.0/ruby/internal/newobj.h:173:35: warning: unused parameter ‘obj’ [-Wunused-parameter] 173 | rb_clone_setup(VALUE clone, VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/newobj.h: In function ‘rb_dup_setup’: /usr/include/ruby-3.1.0/ruby/internal/newobj.h:190:20: warning: unused parameter ‘dup’ [-Wunused-parameter] 190 | rb_dup_setup(VALUE dup, VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/newobj.h:190:31: warning: unused parameter ‘obj’ [-Wunused-parameter] 190 | rb_dup_setup(VALUE dup, VALUE obj) | ~~~~~~^~~ /usr/include/ruby-3.1.0/ruby/internal/scan_args.h: At top level: /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/backward/2/attributes.h:163:28: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 163 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/scan_args.h:391:33: note: in expansion of macro ‘RB_UNUSED_VAR’ 391 | VALUE *vars[], RB_UNUSED_VAR(const char *fmt), RB_UNUSED_VAR(int varc)) | ^~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/attr/maybe_unused.h:31:37: warning: ISO C does not support ‘[[]]’ attributes before C2X [-Wpedantic] 31 | # define RBIMPL_ATTR_MAYBE_UNUSED() [[maybe_unused]] | ^ /usr/include/ruby-3.1.0/ruby/backward/2/attributes.h:163:28: note: in expansion of macro ‘RBIMPL_ATTR_MAYBE_UNUSED’ 163 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED() | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/scan_args.h:391:65: note: in expansion of macro ‘RB_UNUSED_VAR’ 391 | VALUE *vars[], RB_UNUSED_VAR(const char *fmt), RB_UNUSED_VAR(int varc)) ``` ----- uname -a 6.12.20-current-sunxi64 #1 SMP Sat Mar 22 19:54:28 UTC 2025 aarch64 armbian orange pi zero 3 -- https://bugs.ruby-lang.org/
participants (2)
-
nobu (Nobuyoshi Nakada)
-
vv3 (Mariusz A)