=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ruby31-xmlparser-0.7.3 compiling xmlparser.c In file included from xmlparser.c:53: /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/expat.h:1045:5: warning: 'XML_GE' is not defined, evaluates to 0 [-Wundef] #if XML_GE == 1 ^ xmlparser.c:204:5: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] OBJ_TAINT(obj); ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:149:25: note: expanded from macro 'OBJ_TAINT' #define OBJ_TAINT RB_OBJ_TAINT /**< @old{RB_OBJ_TAINT} */ ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:116:30: note: expanded from macro 'RB_OBJ_TAINT' #define RB_OBJ_TAINT RB_OBJ_TAINT ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:849:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ xmlparser.c:231:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:257:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:272:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:287:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:303:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:324:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:348:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:372:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] VALUE ret; ^ xmlparser.c:398:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:411:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:423:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:437:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:452:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:479:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:499:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:551:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:573:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:597:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:625:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:695:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:716:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:737:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:748:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:759:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:771:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:783:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:798:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:815:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:832:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] VALUE ret; ^ xmlparser.c:852:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:861:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:869:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:879:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:890:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:901:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:922:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:940:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:955:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:970:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:986:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:1005:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:1077:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] len = RSTRING_LEN(v); ~ ^~~~~~~~~~~~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ xmlparser.c:1299:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:1329:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(ret)) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:151:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:118:30: note: expanded from macro 'RB_OBJ_TAINTED' #define RB_OBJ_TAINTED RB_OBJ_TAINTED ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:818:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ xmlparser.c:1355:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GET_PARSER(recv, parser); ^~~~ xmlparser.c:117:19: note: expanded from macro 'GET_PARSER' Data_Get_Struct(obj, XMLParser, parser) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:279:53: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:312:26: note: passing argument to parameter 'obj' here rb_data_object_get(VALUE obj) ^ xmlparser.c:1765:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(str)) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:151:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:118:30: note: expanded from macro 'RB_OBJ_TAINTED' #define RB_OBJ_TAINTED RB_OBJ_TAINTED ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:818:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ xmlparser.c:1771:6: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(buf)) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:151:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:118:30: note: expanded from macro 'RB_OBJ_TAINTED' #define RB_OBJ_TAINTED RB_OBJ_TAINTED ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:818:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ xmlparser.c:1783:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] rb_raise(eXMLParserError, (char*)errStr); ^ ~~~~~~ xmlparser.c:1783:28: note: treat the string as an argument to avoid this rb_raise(eXMLParserError, (char*)errStr); ^ "%s", xmlparser.c:1794:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(str)) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:151:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:118:30: note: expanded from macro 'RB_OBJ_TAINTED' #define RB_OBJ_TAINTED RB_OBJ_TAINTED ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:818:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ xmlparser.c:1806:16: warning: call to undeclared function 'ENC_TO_ENCINDEX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((int)ENC_TO_ENCINDEX(enc) != rb_ascii8bit_encindex()) { ^ xmlparser.c:1832:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] rb_raise(eXMLParserError, (char*)errStr); ^ ~~~~~~ xmlparser.c:1832:31: note: treat the string as an argument to avoid this rb_raise(eXMLParserError, (char*)errStr); ^ "%s", xmlparser.c:1775:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(buf), RSTRING_LEN(buf), 0); ^~~~~~~~~~~~~~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ xmlparser.c:1797:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(str), RSTRING_LEN(str), final); ^~~~~~~~~~~~~~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ xmlparser.c:1821:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(ustr), RSTRING_LEN(ustr), final); ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ xmlparser.c:1876:10: warning: implicit conversion loses integer precision: 'XML_Size' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] line = XML_GetCurrentLineNumber(parser->parser); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparser.c:1889:12: warning: implicit conversion loses integer precision: 'XML_Size' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] column = XML_GetCurrentColumnNumber(parser->parser); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparser.c:1916:7: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(base)) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:151:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:118:30: note: expanded from macro 'RB_OBJ_TAINTED' #define RB_OBJ_TAINTED RB_OBJ_TAINTED ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:818:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ xmlparser.c:2131:73: warning: implicit conversion loses integer precision: 'const long' to 'int' [-Wshorten-64-to-32] rb_hash_aset(ret, FO_(ENC_(rb_str_new2(list->name))), INT2NUM(list->value)); ~~~~~~~ ~~~~~~^~~~~ xmlparser.c:2165:3: warning: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(int, union (unnamed union at /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1), VALUE)' (aka 'unsigned long (*)(int, union (unnamed at /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1), unsigned long)') [-Wincompatible-function-pointer-types] rb_define_method(cXMLParser, "initialize", XMLParser_initialize, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /Users/pbulk/build/textproc/ruby-xmlparser/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:253:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _m1(__VA_ARGS__, VALUE(*)(int, union { VALUE *x; const VALUE *y; } __attribute__((__transparent_union__)), VALUE), int); \ ^ 61 warnings generated. linking shared-object xmlparser.bundle ld: Undefined symbols: _ENC_TO_ENCINDEX, referenced from: _XMLParser_parse in xmlparser.o clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [xmlparser.bundle] Error code 1 (ignored)