=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ocaml-expat-1.0.0nb7 clang -I /opt/pkg/lib/ocaml -MM *.c > depend ocamlfind ocamldep -package bytes *.mli *.ml >> depend ocamlfind ocamlc -package bytes -c -ccopt "-DFULL_UNROLL -O2 -I/opt/pkg/include" expat_stubs.c expat_stubs.c:64:9: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] some = alloc(1, 0); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :34:6: note: expanded from here GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" ^ expat_stubs.c:65:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] some_str = copy_string(str); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :38:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:78:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return String_val(Field(string_option, 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' #define String_val(x) ((const char *) Bp_val(x)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:90:5: warning: "remove_global_root" is deprecated: use "caml_remove_global_root" instead [-W#pragma-messages] remove_global_root(handlers); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:139:28: note: expanded from macro 'remove_global_root' #define remove_global_root CAML_DEPRECATED("remove_global_root", "caml_remove_global_root") caml_remove_global_root ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :43:6: note: expanded from here GCC warning "\"remove_global_root\" is deprecated: use \"caml_remove_global_root\" instead" ^ expat_stubs.c:135:14: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:82:22: note: expanded from macro 'alloc_custom' #define alloc_custom CAML_DEPRECATED("alloc_custom", "caml_alloc_custom") caml_alloc_custom ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :57:6: note: expanded from here GCC warning "\"alloc_custom\" is deprecated: use \"caml_alloc_custom\" instead" ^ expat_stubs.c:144:5: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead [-W#pragma-messages] register_global_root(handlers); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:138:30: note: expanded from macro 'register_global_root' #define register_global_root CAML_DEPRECATED("register_global_root", "caml_register_global_root") caml_register_global_root ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :61:6: note: expanded from here GCC warning "\"register_global_root\" is deprecated: use \"caml_register_global_root\" instead" ^ expat_stubs.c:149:17: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] *handlers = alloc_tuple(NUM_HANDLERS); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :65:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ expat_stubs.c:201:14: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:82:22: note: expanded from macro 'alloc_custom' #define alloc_custom CAML_DEPRECATED("alloc_custom", "caml_alloc_custom") caml_alloc_custom ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :91:6: note: expanded from here GCC warning "\"alloc_custom\" is deprecated: use \"caml_alloc_custom\" instead" ^ expat_stubs.c:210:5: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead [-W#pragma-messages] register_global_root(handlers); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:138:30: note: expanded from macro 'register_global_root' #define register_global_root CAML_DEPRECATED("register_global_root", "caml_register_global_root") caml_register_global_root ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :95:6: note: expanded from here GCC warning "\"register_global_root\" is deprecated: use \"caml_register_global_root\" instead" ^ expat_stubs.c:217:17: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] *handlers = alloc_tuple(NUM_HANDLERS); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :99:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ expat_stubs.c:308:12: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] return copy_string(XML_ExpatVersion()); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :4:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:337:14: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] CAMLreturn (alloc_string(0)); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ expat_stubs.c:338:17: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] CAMLreturn (copy_string(error_string)); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ expat_stubs.c:350:18: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] expat_error_exn = caml_named_value("expat_error"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:352:6: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Exception Expat_error not initialized"); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :40:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ expat_stubs.c:356:5: warning: "raise_with_arg" is deprecated: use "caml_raise_with_arg" instead [-W#pragma-messages] raise_with_arg(*expat_error_exn, Val_long(error_code)); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:109:24: note: expanded from macro 'raise_with_arg' #define raise_with_arg CAML_DEPRECATED("raise_with_arg", "caml_raise_with_arg") caml_raise_with_arg ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :44:6: note: expanded from here GCC warning "\"raise_with_arg\" is deprecated: use \"caml_raise_with_arg\" instead" ^ expat_stubs.c:368:51: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] if(!XML_Parse(xml_parser, String_val(string), string_length(string), 0)) { ^ /opt/pkg/lib/ocaml/caml/compatibility.h:289:23: note: expanded from macro 'string_length' #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :59:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ expat_stubs.c:386:22: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] int string_len = string_length(vstring); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:289:23: note: expanded from macro 'string_length' #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :75:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ expat_stubs.c:387:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *string = String_val(vstring); ^ ~~~~~~~~~~~~~~~~~~~ expat_stubs.c:391:2: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Expat.parse_sub"); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :79:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ expat_stubs.c:434:8: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] att = alloc_tuple(2); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :109:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ expat_stubs.c:435:22: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] Store_field(att, 0, copy_string(attr[i])); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ expat_stubs.c:436:22: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] Store_field(att, 1, copy_string(attr[i + 1])); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ expat_stubs.c:439:9: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] cons = alloc_tuple(2); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :6:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ expat_stubs.c:450:11: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] tag = copy_string(name); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :10:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:451:5: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] callback2(Field(*handlers, EXPAT_START_ELEMENT_HANDLER), tag, list); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :14:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ expat_stubs.c:499:11: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] tag = copy_string(name); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :54:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:500:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback(Field(*handlers, EXPAT_END_ELEMENT_HANDLER), tag); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :58:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ expat_stubs.c:549:11: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] str = alloc_string(len); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :107:6: note: expanded from here GCC warning "\"alloc_string\" is deprecated: use \"caml_alloc_string\" instead" ^ expat_stubs.c:550:12: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] memcpy(String_val(str), data, len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' #define String_val(x) ((const char *) Bp_val(x)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ expat_stubs.c:551:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback(Field(*handlers, EXPAT_CHARACTER_DATA_HANDLER), str); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :111:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ expat_stubs.c:605:9: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] t = copy_string(target); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :3:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:606:9: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] d = copy_string(data); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :7:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:607:5: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] callback2(Field(*handlers, EXPAT_PROCESSING_INSTRUCTION_HANDLER), t, d); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :11:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ expat_stubs.c:663:9: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] d = copy_string(data); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :61:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:664:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback(Field(*handlers, EXPAT_COMMENT_HANDLER), d); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :65:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ expat_stubs.c:714:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback(Field(*handlers, EXPAT_START_CDATA_HANDLER), Val_unit); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :106:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ expat_stubs.c:765:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback(Field(*handlers, EXPAT_END_CDATA_HANDLER), Val_unit); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :147:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ expat_stubs.c:818:9: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] d = alloc_string(len); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :27:6: note: expanded from here GCC warning "\"alloc_string\" is deprecated: use \"caml_alloc_string\" instead" ^ expat_stubs.c:819:13: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] memmove(String_val(d), data, len); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' #define String_val(x) ((const char *) Bp_val(x)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:70:28: note: expanded from macro 'memmove' __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ expat_stubs.c:820:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback(Field(*handlers, EXPAT_DEFAULT_HANDLER), d); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :31:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ expat_stubs.c:883:21: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] caml_systemId = copy_string(systemId); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :84:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ expat_stubs.c:891:5: warning: "callbackN" is deprecated: use "caml_callbackN" instead [-W#pragma-messages] callbackN(Field(*handlers, EXPAT_EXTERNAL_ENTITY_REF_HANDLER), 4, arg); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:74:19: note: expanded from macro 'callbackN' #define callbackN CAML_DEPRECATED("callbackN", "caml_callbackN") caml_callbackN ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :88:6: note: expanded from here GCC warning "\"callbackN\" is deprecated: use \"caml_callbackN\" instead" ^ 43 warnings generated. ocamlfind ocamlmklib -package bytes -oc mlexpat expat_stubs.o \ -L/opt/pkg/lib -lexpat ld: warning: -undefined suppress is deprecated ld: warning: -undefined suppress is deprecated ocamlfind ocamlc -package bytes -c expat.mli ocamlfind ocamlc -package bytes -c expat.ml ocamlfind ocamlmklib -package bytes -o expat expat.cmo -oc mlexpat \ -L/opt/pkg/lib -lexpat ocamlfind ocamlopt -package bytes -c expat.ml ocamlfind ocamlmklib -package bytes -o expat expat.cmx -oc mlexpat \ -L/opt/pkg/lib -lexpat ocamlfind ocamlopt -package bytes -linkall -shared -o expat.cmxs expat.cmx libmlexpat.a \ -ccopt -L/opt/pkg/lib -cclib -lexpat ld: warning: -undefined suppress is deprecated ld: warning: -undefined suppress is deprecated