>>> ocaml-curses: Building community/ocaml-curses 1.0.10-r2 (using abuild 3.16.0_rc4-r0) started Tue, 21 Oct 2025 06:52:06 +0000 >>> ocaml-curses: Validating /home/buildozer/aports/community/ocaml-curses/APKBUILD... >>> ocaml-curses: Analyzing dependencies... >>> ocaml-curses: Installing for build: build-base dune dune-configurator-dev ncurses-dev ocaml ocaml-csexp-dev ( 1/20) Installing dune (3.20.2-r0) ( 2/20) Installing ocaml-runtime (4.14.2-r2) ( 3/20) Installing ocaml (4.14.2-r2) ( 4/20) Installing bash (5.3.3-r1) bash-5.3.3-r1.post-install: Executing script... ( 5/20) Installing libbz2 (1.0.8-r6) ( 6/20) Installing perl (5.42.0-r0) ( 7/20) Installing rpm-scripts (4.19.1.1-r3) ( 8/20) Installing ocaml-abuild-helper (4.14.2-r2) ( 9/20) Installing dune-configurator (3.20.2-r0) (10/20) Installing libformw (6.5_p20251010-r0) (11/20) Installing libmenuw (6.5_p20251010-r0) (12/20) Installing libpanelw (6.5_p20251010-r0) (13/20) Installing libncurses++ (6.5_p20251010-r0) (14/20) Installing ncurses-dev (6.5_p20251010-r0) (15/20) Installing ocaml-csexp (1.5.1-r3) (16/20) Installing ocaml-csexp-dev (1.5.1-r3) (17/20) Installing .makedepends-ocaml-curses (20251021.065207) (18/20) Installing perl-error (0.17030-r0) (19/20) Installing perl-git (2.51.1-r1) (20/20) Installing git-perl (2.51.1-r1) busybox-1.37.0-r24.trigger: Executing script... OK: 644 MiB in 127 packages >>> ocaml-curses: Cleaning up srcdir >>> ocaml-curses: Cleaning up pkgdir >>> ocaml-curses: Cleaning up tmpdir >>> ocaml-curses: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-curses-1.0.10.tar.bz2 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> ocaml-curses: Fetching ocaml-curses-1.0.10.tar.bz2::https://github.com/mbacarella/curses/releases/download/1.0.10/curses-1.0.10.tbz Connecting to github.com (140.82.121.4:443) Connecting to release-assets.githubusercontent.com (185.199.108.133:443) saving to '/var/cache/distfiles/edge/ocaml-curses-1.0.10.tar.bz2.part' ocaml-curses-1.0.10. 100% |********************************| 25780 0:00:00 ETA '/var/cache/distfiles/edge/ocaml-curses-1.0.10.tar.bz2.part' saved /var/cache/distfiles/edge/ocaml-curses-1.0.10.tar.bz2: OK >>> ocaml-curses: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-curses-1.0.10.tar.bz2 /var/cache/distfiles/edge/ocaml-curses-1.0.10.tar.bz2: OK >>> ocaml-curses: Unpacking /var/cache/distfiles/edge/ocaml-curses-1.0.10.tar.bz2... Shared cache: enabled-except-user-rules Shared cache location: /home/buildozer/.cache/dune/db Workspace root: /home/buildozer/aports/community/ocaml-curses/src/curses-1.0.10 Auto-detected concurrency: 48 Dune context: { name = "default" ; kind = "default" ; profile = Dev ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Actual targets: - recursive alias @install Promoting "_build/default/curses.opam" to "curses.opam" Running[1]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -bin-annot -I .curses.objs/byte -no-alias-deps -opaque -o .curses.objs/byte/curses.cmi -c -intf curses.mli) Running[2]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -bin-annot -I .discover.eobjs/byte -I /usr/lib/ocaml/dune-configurator -I /usr/lib/ocaml/dune-configurator/csexp -no-alias-deps -opaque -o .discover.eobjs/byte/dune__exe__Discover.cmo -c -impl discover.ml) Running[3]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -I .discover.eobjs/byte -I .discover.eobjs/native -I /usr/lib/ocaml/dune-configurator -I /usr/lib/ocaml/dune-configurator/csexp -intf-suffix .ml -no-alias-deps -opaque -o .discover.eobjs/native/dune__exe__Discover.cmx -c -impl discover.ml) Running[4]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -o discover.exe /usr/lib/ocaml/unix.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/dune-configurator/csexp/csexp.cmxa /usr/lib/ocaml/dune-configurator/configurator.cmxa .discover.eobjs/native/dune__exe__Discover.cmx) Running[5]: (cd _build/default && ./discover.exe) Running[6]: (cd _build/default && /bin/sh -c '/usr/bin/gcc -x c -E _curses.ml') > _build/default/curses.ml Running[7]: (cd _build/default && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -DNCURSES_WIDECHAR -DHAVE_CONFIG_H -g -I /usr/lib/ocaml -o ml_curses.o -c ml_curses.c) Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -I .curses.objs/byte -I .curses.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .curses.objs/native/curses.cmx -c -impl curses.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -bin-annot -I .curses.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o .curses.objs/byte/curses.cmo -c -impl curses.ml) In file included from /usr/lib/ocaml/caml/mlvalues.h:23, from ml_curses.c:5: ml_curses.c: In function 'putc_callback': /usr/lib/ocaml/caml/misc.h:56:31: warning: "callback_exn" is deprecated: use "caml_callback_exn" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:68:22: note: in expansion of macro 'CAML_DEPRECATED' 68 | #define callback_exn CAML_DEPRECATED("callback_exn", "caml_callback_exn") caml_callback_exn | ^~~~~~~~~~~~~~~ ml_curses.c:203:7: note: in expansion of macro 'callback_exn' 203 | ret=callback_exn(putc_function,Val_int(c&255)); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_addchstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:19:6: note: in expansion of macro 'copie' 19 | BEG1 copie(Wosize_val(aa),0,aa) call(addchstr(t)) END | ^~~~~ functions.c: In function 'mlcurses_waddchstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:21:6: note: in expansion of macro 'copie' 21 | BEG2 copie(Wosize_val(ab),0,ab) call(waddchstr(a_window(aa),t)) END | ^~~~~ functions.c: In function 'mlcurses_mvaddchstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:23:6: note: in expansion of macro 'copie' 23 | BEG3 copie(Wosize_val(ac),0,ac) call(mvaddchstr(a_int(aa),a_int(ab),t)) END | ^~~~~ functions.c: In function 'mlcurses_mvwaddchstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:25:6: note: in expansion of macro 'copie' 25 | BEG4 copie(Wosize_val(ad),0,ad) | ^~~~~ functions.c: In function 'mlcurses_addchnstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:29:3: note: in expansion of macro 'copie' 29 | copie(Int_val(ac),i0,aa) | ^~~~~ functions.c: In function 'mlcurses_waddchnstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:33:3: note: in expansion of macro 'copie' 33 | copie(Int_val(ad),i0,ab) | ^~~~~ functions.c: In function 'mlcurses_mvaddchnstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:37:3: note: in expansion of macro 'copie' 37 | copie(Int_val(ae),i0,ac) | ^~~~~ functions.c: In function 'mlcurses_mvwaddchnstr_native': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:14:15: note: in expansion of macro 'failwith' 14 | if(t==NULL) failwith("Out of memory"); \ | ^~~~~~~~ functions.c:41:3: note: in expansion of macro 'copie' 41 | copie(Int_val(af),i0,ad) | ^~~~~ Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -a -o curses.cma -dllib -lcurses_stubs -cclib -lcurses_stubs -cclib -lncursesw .curses.objs/byte/curses.cmo) functions.c: In function 'mlcurses_color_content': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:71:9: note: in expansion of macro 'alloc_tuple' 71 | ret=alloc_tuple(3); \ | ^~~~~~~~~~~ functions.c:162:13: note: in expansion of macro 'r_int_int_int' 162 | x=y=z=-1; r_int_int_int(x,y,z); END | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_pair_content': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:165:3: note: in expansion of macro 'r_int_int' 165 | r_int_int(x,y); END | ^~~~~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_getstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:195:6: note: in expansion of macro 'r_err' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:195:33: note: in expansion of macro 'string_length' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:195:6: note: in expansion of macro 'r_err' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:195:20: note: in expansion of macro 'a_string' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:197:6: note: in expansion of macro 'r_err' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:197:47: note: in expansion of macro 'string_length' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:197:6: note: in expansion of macro 'r_err' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:197:34: note: in expansion of macro 'a_string' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:199:6: note: in expansion of macro 'r_err' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:199:55: note: in expansion of macro 'string_length' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:199:6: note: in expansion of macro 'r_err' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:199:42: note: in expansion of macro 'a_string' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:201:6: note: in expansion of macro 'r_err' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:202:3: note: in expansion of macro 'string_length' 202 | string_length(ad))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:201:6: note: in expansion of macro 'r_err' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:201:56: note: in expansion of macro 'a_string' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getnstr': functions.c:204:32: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:204:6: note: in expansion of macro 'r_err' 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetnstr': functions.c:206:46: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:206:6: note: in expansion of macro 'r_err' 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetnstr': functions.c:208:54: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:208:6: note: in expansion of macro 'r_err' 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetnstr_native': functions.c:211:68: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:211:6: note: in expansion of macro 'r_err' 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^~~~~ /usr/include/curses.h:870:47: note: expected 'char *' but argument is of type 'const char *' 870 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getyx': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:217:40: note: in expansion of macro 'r_int_int' 217 | BEG1 int x,y; getyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~ functions.c: In function 'mlcurses_getparyx': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:219:43: note: in expansion of macro 'r_int_int' 219 | BEG1 int x,y; getparyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~ functions.c: In function 'mlcurses_getbegyx': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:221:43: note: in expansion of macro 'r_int_int' 221 | BEG1 int x,y; getbegyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~ functions.c: In function 'mlcurses_getmaxyx': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:223:43: note: in expansion of macro 'r_int_int' 223 | BEG1 int x,y; getmaxyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~ functions.c: In function 'mlcurses_newterm': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ functions.c:296:5: note: in expansion of macro 'alloc_tuple' 296 | r=alloc_tuple(3); | ^~~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:300:40: note: in expansion of macro 'failwith' 300 | if(s==NULL){ fclose(fa); fclose(fb); failwith("newterm"); } | ^~~~~~~~ functions.c: In function 'mlcurses_insstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:316:6: note: in expansion of macro 'r_err' 316 | BEG1 r_err(insnstr(a_string(aa),string_length(aa))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:316:33: note: in expansion of macro 'string_length' 316 | BEG1 r_err(insnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_winsstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:318:6: note: in expansion of macro 'r_err' 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:318:47: note: in expansion of macro 'string_length' 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:320:6: note: in expansion of macro 'r_err' 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:320:55: note: in expansion of macro 'string_length' 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:322:6: note: in expansion of macro 'r_err' 322 | BEG4 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:323:16: note: in expansion of macro 'string_length' 323 | a_string(ad),string_length(ad))); END | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_instr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:337:6: note: in expansion of macro 'r_err' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:337:32: note: in expansion of macro 'string_length' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:337:6: note: in expansion of macro 'r_err' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:337:19: note: in expansion of macro 'a_string' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:339:6: note: in expansion of macro 'r_err' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:339:46: note: in expansion of macro 'string_length' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:339:6: note: in expansion of macro 'r_err' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:339:33: note: in expansion of macro 'a_string' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:341:6: note: in expansion of macro 'r_err' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:341:54: note: in expansion of macro 'string_length' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:341:6: note: in expansion of macro 'r_err' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:341:41: note: in expansion of macro 'a_string' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "string_length" is deprecated: use "caml_string_length" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:343:6: note: in expansion of macro 'r_err' 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:289:23: note: in expansion of macro 'CAML_DEPRECATED' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^~~~~~~~~~~~~~~ functions.c:344:16: note: in expansion of macro 'string_length' 344 | a_string(ad),string_length(ad))); END | ^~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:343:6: note: in expansion of macro 'r_err' 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:344:3: note: in expansion of macro 'a_string' 344 | a_string(ad),string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_innstr': functions.c:346:31: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:346:6: note: in expansion of macro 'r_err' 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winnstr': functions.c:348:45: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:348:6: note: in expansion of macro 'r_err' 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinnstr': functions.c:350:53: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:350:6: note: in expansion of macro 'r_err' 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinnstr_native': functions.c:353:15: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 353 | a_string(ad)+a_int(ae),a_int(af))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:352:6: note: in expansion of macro 'r_err' 352 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:876:47: note: expected 'char *' but argument is of type 'const char *' 876 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getsyx': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:387:37: note: in expansion of macro 'r_int_int' 387 | BEG0 int x = 0, y = 0; getsyx(y,x); r_int_int(y,x); END | ^~~~~~~~~ functions.c: In function 'mlcurses_get_ripoff': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:395:24: note: in expansion of macro 'failwith' 395 | BEG0 if(ripoff_niv==0) failwith("get_ripoff"); ripoff_niv--; | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:65:9: note: in expansion of macro 'alloc_tuple' 65 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:396:3: note: in expansion of macro 'r_window_int' 396 | r_window_int(ripoff_w[ripoff_niv],ripoff_l[ripoff_niv]); END | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mousemask': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:403:55: note: in expansion of macro 'r_int_int' 403 | BEG1 mmask_t r=1234,n=Int_val(aa); n=mousemask(n,&r); r_int_int(n,r); END | ^~~~~~~~~ Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -a -o curses.cmxa -cclib -lcurses_stubs -cclib -lncursesw .curses.objs/native/curses.cmx) functions.c: In function 'mlcurses_slk_label': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ ml_curses.c:106:9: note: in expansion of macro 'r_string' 106 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:483:1: note: in expansion of macro 'ML1' 483 | ML1(slk_label,string,int) | ^~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ ml_curses.c:106:9: note: in expansion of macro 'r_string' 106 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:483:1: note: in expansion of macro 'ML1' 483 | ML1(slk_label,string,int) | ^~~ functions.c: In function 'mlcurses_longname': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ ml_curses.c:103:9: note: in expansion of macro 'r_string' 103 | { RA0 r_##tr(f()); } | ^~ functions.c:498:1: note: in expansion of macro 'ML0' 498 | ML0(longname,string) | ^~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ ml_curses.c:103:9: note: in expansion of macro 'r_string' 103 | { RA0 r_##tr(f()); } | ^~ functions.c:498:1: note: in expansion of macro 'ML0' 498 | ML0(longname,string) | ^~~ functions.c: In function 'mlcurses_termname': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ ml_curses.c:103:9: note: in expansion of macro 'r_string' 103 | { RA0 r_##tr(f()); } | ^~ functions.c:500:1: note: in expansion of macro 'ML0' 500 | ML0(termname,string) | ^~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ ml_curses.c:103:9: note: in expansion of macro 'r_string' 103 | { RA0 r_##tr(f()); } | ^~ functions.c:500:1: note: in expansion of macro 'ML0' 500 | ML0(termname,string) | ^~~ functions.c: In function 'mlcurses_tgetstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ functions.c:509:6: note: in expansion of macro 'r_string' 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ functions.c:509:6: note: in expansion of macro 'r_string' 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END | ^~~~~~~~ functions.c: In function 'mlcurses_tgoto': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ ml_curses.c:112:9: note: in expansion of macro 'r_string' 112 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:510:1: note: in expansion of macro 'ML3' 510 | ML3(tgoto,string,string,int,int) | ^~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ ml_curses.c:112:9: note: in expansion of macro 'r_string' 112 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:510:1: note: in expansion of macro 'ML3' 510 | ML3(tgoto,string,string,int,int) | ^~~ functions.c: In function 'mlcurses_tigetstr': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ functions.c:531:35: note: in expansion of macro 'failwith' 531 | if((s==NULL)||(s==(char * )-1)) failwith("tigetstr"); | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ functions.c:532:3: note: in expansion of macro 'CAMLreturn' 532 | CAMLreturn(copy_string(s)); END | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:532:14: note: in expansion of macro 'copy_string' 532 | CAMLreturn(copy_string(s)); END | ^~~~~~~~~~~ functions.c: In function 'mlcurses_tparm': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ functions.c:554:3: note: in expansion of macro 'r_string' 554 | r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ functions.c:554:3: note: in expansion of macro 'r_string' 554 | r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], | ^~~~~~~~ functions.c: In function 'mlcurses_bool_terminfo_variable': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ functions.c:559:5: note: in expansion of macro 'alloc_tuple' 559 | s=alloc_tuple(3); \ | ^~~~~~~~~~~ functions.c:576:60: note: in expansion of macro 'arrayret' 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:565:8: note: in expansion of macro 'copy_string' 565 | ns=copy_string(""); \ | ^~~~~~~~~~~ functions.c:576:60: note: in expansion of macro 'arrayret' 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:570:21: note: in expansion of macro 'copy_string' 570 | Store_field(s,0,copy_string(nt##names[n])); \ | ^~~~~~~~~~~ functions.c:576:60: note: in expansion of macro 'arrayret' 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:571:21: note: in expansion of macro 'copy_string' 571 | Store_field(s,1,copy_string(nt##codes[n])); \ | ^~~~~~~~~~~ functions.c:576:60: note: in expansion of macro 'arrayret' 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:572:21: note: in expansion of macro 'copy_string' 572 | Store_field(s,2,copy_string(nt##fnames[n])); \ | ^~~~~~~~~~~ functions.c:576:60: note: in expansion of macro 'arrayret' 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~ functions.c: In function 'mlcurses_num_terminfo_variable': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ functions.c:559:5: note: in expansion of macro 'alloc_tuple' 559 | s=alloc_tuple(3); \ | ^~~~~~~~~~~ functions.c:577:59: note: in expansion of macro 'arrayret' 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:565:8: note: in expansion of macro 'copy_string' 565 | ns=copy_string(""); \ | ^~~~~~~~~~~ functions.c:577:59: note: in expansion of macro 'arrayret' 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:570:21: note: in expansion of macro 'copy_string' 570 | Store_field(s,0,copy_string(nt##names[n])); \ | ^~~~~~~~~~~ functions.c:577:59: note: in expansion of macro 'arrayret' 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:571:21: note: in expansion of macro 'copy_string' 571 | Store_field(s,1,copy_string(nt##codes[n])); \ | ^~~~~~~~~~~ functions.c:577:59: note: in expansion of macro 'arrayret' 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:572:21: note: in expansion of macro 'copy_string' 572 | Store_field(s,2,copy_string(nt##fnames[n])); \ | ^~~~~~~~~~~ functions.c:577:59: note: in expansion of macro 'arrayret' 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~ functions.c: In function 'mlcurses_str_terminfo_variable': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ functions.c:559:5: note: in expansion of macro 'alloc_tuple' 559 | s=alloc_tuple(3); \ | ^~~~~~~~~~~ functions.c:578:59: note: in expansion of macro 'arrayret' 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:565:8: note: in expansion of macro 'copy_string' 565 | ns=copy_string(""); \ | ^~~~~~~~~~~ functions.c:578:59: note: in expansion of macro 'arrayret' 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:570:21: note: in expansion of macro 'copy_string' 570 | Store_field(s,0,copy_string(nt##names[n])); \ | ^~~~~~~~~~~ functions.c:578:59: note: in expansion of macro 'arrayret' 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:571:21: note: in expansion of macro 'copy_string' 571 | Store_field(s,1,copy_string(nt##codes[n])); \ | ^~~~~~~~~~~ functions.c:578:59: note: in expansion of macro 'arrayret' 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:475:27: note: in definition of macro 'Store_field' 475 | value caml__temp_val = (val); \ | ^~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ functions.c:572:21: note: in expansion of macro 'copy_string' 572 | Store_field(s,2,copy_string(nt##fnames[n])); \ | ^~~~~~~~~~~ functions.c:578:59: note: in expansion of macro 'arrayret' 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~ functions.c: In function 'mlcurses_unctrl': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ ml_curses.c:106:9: note: in expansion of macro 'r_string' 106 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:596:1: note: in expansion of macro 'ML1' 596 | ML1(unctrl,string,chtype) | ^~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ ml_curses.c:106:9: note: in expansion of macro 'r_string' 106 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:596:1: note: in expansion of macro 'ML1' 596 | ML1(unctrl,string,chtype) | ^~~ functions.c: In function 'mlcurses_keyname': /usr/lib/ocaml/caml/misc.h:56:31: warning: "failwith" is deprecated: use "caml_failwith" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:111:18: note: in expansion of macro 'CAML_DEPRECATED' 111 | #define failwith CAML_DEPRECATED("failwith", "caml_failwith") caml_failwith | ^~~~~~~~~~~~~~~ ml_curses.c:78:19: note: in expansion of macro 'failwith' 78 | if(ret==NULL) failwith("Null pointer"); \ | ^~~~~~~~ ml_curses.c:106:9: note: in expansion of macro 'r_string' 106 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:597:1: note: in expansion of macro 'ML1' 597 | ML1(keyname,string,int) | ^~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "copy_string" is deprecated: use "caml_copy_string" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:79:5: note: in expansion of macro 'CAMLreturn' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:51:21: note: in expansion of macro 'CAML_DEPRECATED' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^~~~~~~~~~~~~~~ ml_curses.c:79:16: note: in expansion of macro 'copy_string' 79 | CAMLreturn(copy_string(ret)); } | ^~~~~~~~~~~ ml_curses.c:106:9: note: in expansion of macro 'r_string' 106 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:597:1: note: in expansion of macro 'ML1' 597 | ML1(keyname,string,int) | ^~~ functions.c: In function 'mlcurses_get_acs_codes': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ functions.c:628:6: note: in expansion of macro 'alloc_tuple' 628 | tr=alloc_tuple(32); | ^~~~~~~~~~~ functions.c: In function 'mlcurses_get_size': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:657:3: note: in expansion of macro 'r_int_int' 657 | r_int_int(ws.ws_row,ws.ws_col); | ^~~~~~~~~ functions.c: In function 'mlcurses_get_size_fd': /usr/lib/ocaml/caml/misc.h:56:31: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:48:21: note: in expansion of macro 'CAML_DEPRECATED' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^~~~~~~~~~~~~~~ ml_curses.c:59:9: note: in expansion of macro 'alloc_tuple' 59 | ret=alloc_tuple(2); \ | ^~~~~~~~~~~ functions.c:671:3: note: in expansion of macro 'r_int_int' 671 | r_int_int(ws.ws_row,ws.ws_col); | ^~~~~~~~~ ml_curses.c: In function 'mlcurses_getch': /usr/lib/ocaml/caml/misc.h:56:31: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:267:32: note: in expansion of macro 'CAML_DEPRECATED' 267 | #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section | ^~~~~~~~~~~~~~~ ml_curses.c:226:4: note: in expansion of macro 'enter_blocking_section' 226 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:268:32: note: in expansion of macro 'CAML_DEPRECATED' 268 | #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section | ^~~~~~~~~~~~~~~ ml_curses.c:228:4: note: in expansion of macro 'leave_blocking_section' 228 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~~~~~~~ ml_curses.c: In function 'mlcurses_wgetch': /usr/lib/ocaml/caml/misc.h:56:31: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:267:32: note: in expansion of macro 'CAML_DEPRECATED' 267 | #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section | ^~~~~~~~~~~~~~~ ml_curses.c:243:4: note: in expansion of macro 'enter_blocking_section' 243 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/misc.h:56:31: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^~~~~~~ /usr/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/compatibility.h:268:32: note: in expansion of macro 'CAML_DEPRECATED' 268 | #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section | ^~~~~~~~~~~~~~~ ml_curses.c:245:4: note: in expansion of macro 'leave_blocking_section' 245 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~~~~~~~ Running[12]: (cd _build/default && /usr/bin/ocamlmklib.opt -g -o curses_stubs ml_curses.o -ldopt -lncursesw) Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -shared -linkall -I . -o curses.cmxs curses.cmxa) Shared cache: enabled-except-user-rules Shared cache location: /home/buildozer/.cache/dune/db Workspace root: /home/buildozer/aports/community/ocaml-curses/src/curses-1.0.10 Auto-detected concurrency: 48 Dune context: { name = "default" ; kind = "default" ; profile = Dev ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } >>> ocaml-curses: Entering fakeroot... libfakeroot internal error: payload not recognized! >>> ocaml-curses-dev*: Running split function dev... 'usr/lib/ocaml/curses/curses.a' -> '/home/buildozer/aports/community/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.a' 'usr/lib/ocaml/curses/libcurses_stubs.a' -> '/home/buildozer/aports/community/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/libcurses_stubs.a' 'usr/lib/ocaml/curses/curses.cmti' -> '/home/buildozer/aports/community/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.cmti' 'usr/lib/ocaml/curses/curses.cmt' -> '/home/buildozer/aports/community/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.cmt' 'usr/lib/ocaml/curses/curses.ml' -> '/home/buildozer/aports/community/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.ml' 'usr/lib/ocaml/curses/curses.mli' -> '/home/buildozer/aports/community/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.mli' >>> ocaml-curses-dev*: Preparing subpackage ocaml-curses-dev... >>> ocaml-curses-dev*: Stripping binaries >>> ocaml-curses-dev*: Running postcheck for ocaml-curses-dev >>> ocaml-curses*: Running postcheck for ocaml-curses >>> ocaml-curses*: Preparing package ocaml-curses... >>> ocaml-curses*: Stripping binaries >>> ocaml-curses*: Scanning shared objects >>> ocaml-curses-dev*: Scanning shared objects >>> ocaml-curses-dev*: Tracing dependencies... ocaml-curses=1.0.10-r2 >>> ocaml-curses-dev*: Package size: 1011.1 KB >>> ocaml-curses-dev*: Compressing data... >>> ocaml-curses-dev*: Create checksum... >>> ocaml-curses-dev*: Create ocaml-curses-dev-1.0.10-r2.apk >>> ocaml-curses*: Tracing dependencies... ocaml4-impl:Stdlib:29fc6b4fd90dc91235156e20d0575996 ocaml4-impl:Stdlib__Hashtbl:898b52cc6092451df01bc3a7ed405ede ocaml4-impl:Stdlib__List:9fa021918ce9b6b5c0a1f584e3adf2af ocaml4-intf:CamlinternalFormatBasics:8f8f634558798ee408df3c50a5539b15 ocaml4-intf:Stdlib:79b0e9d3b6f7fed07eb3cc2abb961b91 ocaml4-intf:Stdlib__Bigarray:994a14f10d5ae081663b52b790ee11d3 ocaml4-intf:Stdlib__Complex:4555217c759e89d65daa8f682eb09b35 ocaml4-intf:Stdlib__Either:26845df28d19584687a38a1ab814c3f9 ocaml4-intf:Stdlib__Hashtbl:34c0fdd524bf2a75e4d5af64a6d34401 ocaml4-intf:Stdlib__List:ee222542f6f8195441543b8b399b64b9 ocaml4-intf:Stdlib__Seq:b63511032211eae4b567ba313cd72962 ocaml4-intf:Unix:d81af7730241956ddaf1c2d19ed2cb1c so:libc.musl-x86_64.so.1 so:libncursesw.so.6 >>> ocaml-curses*: Package size: 470.9 KB >>> ocaml-curses*: Compressing data... >>> ocaml-curses*: Create checksum... >>> ocaml-curses*: Create ocaml-curses-1.0.10-r2.apk >>> ocaml-curses: Build complete at Tue, 21 Oct 2025 06:52:13 +0000 elapsed time 0h 0m 7s >>> ocaml-curses: Cleaning up srcdir >>> ocaml-curses: Cleaning up pkgdir >>> ocaml-curses: Uninstalling dependencies... ( 1/20) Purging .makedepends-ocaml-curses (20251021.065207) ( 2/20) Purging dune (3.20.2-r0) ( 3/20) Purging ncurses-dev (6.5_p20251010-r0) ( 4/20) Purging libncurses++ (6.5_p20251010-r0) ( 5/20) Purging libpanelw (6.5_p20251010-r0) ( 6/20) Purging ocaml-csexp-dev (1.5.1-r3) ( 7/20) Purging ocaml-csexp (1.5.1-r3) ( 8/20) Purging dune-configurator (3.20.2-r0) ( 9/20) Purging git-perl (2.51.1-r1) (10/20) Purging perl-git (2.51.1-r1) (11/20) Purging perl-error (0.17030-r0) (12/20) Purging libformw (6.5_p20251010-r0) (13/20) Purging libmenuw (6.5_p20251010-r0) (14/20) Purging ocaml-abuild-helper (4.14.2-r2) (15/20) Purging ocaml (4.14.2-r2) (16/20) Purging ocaml-runtime (4.14.2-r2) (17/20) Purging rpm-scripts (4.19.1.1-r3) (18/20) Purging bash (5.3.3-r1) bash-5.3.3-r1.pre-deinstall: Executing script... (19/20) Purging perl (5.42.0-r0) (20/20) Purging libbz2 (1.0.8-r6) busybox-1.37.0-r24.trigger: Executing script... OK: 441 MiB in 107 packages >>> ocaml-curses: Updating the community/x86_64 repository index... >>> ocaml-curses: Signing the index...