Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-242809-22579/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.11-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-242809-22579/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6BrTUm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf curses-1.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/curses-1.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd curses-1.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NWvbFq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd curses-1.0.11 + dune build --verbose --release -j32 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/BUILD/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Actual targets: - recursive alias @install Running[1]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .curses.objs/byte -I /usr/lib64/ocaml/unix -no-alias-deps -o .curses.objs/byte/curses.cmi -c -intf curses.mli) Running[2]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .discover.eobjs/byte -I /usr/lib64/ocaml/dune-configurator -I /usr/lib64/ocaml/stdune/csexp -I /usr/lib64/ocaml/unix -no-alias-deps -o .discover.eobjs/byte/dune__exe__Discover.cmo -c -impl discover.ml) Running[3]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I .discover.eobjs/byte -I .discover.eobjs/native -I /usr/lib64/ocaml/dune-configurator -I /usr/lib64/ocaml/stdune/csexp -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .discover.eobjs/native/dune__exe__Discover.cmx -c -impl discover.ml) Running[4]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o discover.exe /usr/lib64/ocaml/unix/unix.cmxa /usr/lib64/ocaml/stdune/csexp/csexp.cmxa /usr/lib64/ocaml/dune-configurator/configurator.cmxa .discover.eobjs/native/dune__exe__Discover.cmx) Running[5]: (cd _build/default && ./discover.exe) Running[6]: (cd _build/default && /usr/bin/sh -c 'gcc -O2 -fno-strict-aliasing -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -x c -E _curses.ml') > _build/default/curses.ml Running[7]: (cd _build/default && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_FILE_OFFSET_BITS=64 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H -g -I /usr/lib64/ocaml -I /usr/lib64/ocaml/unix -o ml_curses.o -c ml_curses.c) Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I .curses.objs/byte -I .curses.objs/native -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .curses.objs/native/curses.cmx -c -impl curses.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .curses.objs/byte -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .curses.objs/byte/curses.cmo -c -impl curses.ml) Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -a -o curses.cma -dllib -lcurses_stubs -cclib -lcurses_stubs -cclib -lncursesw -cclib -ltinfo .curses.objs/byte/curses.cmo) Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -a -o curses.cmxa -cclib -lcurses_stubs -cclib -lncursesw -cclib -ltinfo .curses.objs/native/curses.cmx) Output[7]: In file included from ml_curses.c:7: functions.c: In function 'mlcurses_addstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:48:1: note: in expansion of macro 'ML1' 48 | ML1(addstr,err,string) | ^~~ In file included from ml_curses.c:22: /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_waddstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:130:9: note: in expansion of macro 'r_err' 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:130:29: note: in expansion of macro 'a_string' 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ^~ functions.c:49:1: note: in expansion of macro 'ML2' 49 | ML2(waddstr,err,window,string) | ^~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:133:9: note: in expansion of macro 'r_err' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:40: note: in expansion of macro 'a_string' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:50:1: note: in expansion of macro 'ML3' 50 | ML3(mvaddstr,err,int,int,string) | ^~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:136:9: note: in expansion of macro 'r_err' 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:136:51: note: in expansion of macro 'a_string' 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ^~ functions.c:51:1: note: in expansion of macro 'ML4' 51 | ML4(mvwaddstr,err,window,int,int,string) | ^~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_addnstr': functions.c:53:32: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 53 | BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:53:6: note: in expansion of macro 'r_err' 53 | BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_waddnstr': functions.c:55:46: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 55 | BEG4 r_err(waddnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:55:6: note: in expansion of macro 'r_err' 55 | BEG4 r_err(waddnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddnstr': functions.c:58:15: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 58 | a_string(ac)+a_int(ad),a_int(ae))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:57:6: note: in expansion of macro 'r_err' 57 | BEG5 r_err(mvaddnstr(a_int(aa),a_int(ab), | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddnstr_native': functions.c:61:15: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 61 | a_string(ad)+a_int(ae),a_int(af))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:60:6: note: in expansion of macro 'r_err' 60 | BEG6 r_err(mvwaddnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ In file included from ml_curses.c:237: functions.c: In function 'mlcurses_color_content': functions.c:161:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 161 | BEG1 short x,y,z; if(color_content(Int_val(aa),&x,&y,&z)==ERR) | ^~ ml_curses.c:91:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 91 | { CAMLlocal1(ret); AWB(ret); \ | ^ 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_getstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:195:20: note: in expansion of macro 'a_string' 195 | BEG1 r_err(getnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:197:34: note: in expansion of macro 'a_string' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_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),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getnstr': functions.c:204:32: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetnstr': functions.c:206:46: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetnstr': functions.c:208:54: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetnstr_native': functions.c:211:68: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:5: functions.c: In function 'mlcurses_newterm': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'newterm' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:299:13: note: in expansion of macro 'a_string' 299 | s=newterm(a_string(aa),fa,fb); | ^~~~~~~~ /usr/include/curses.h:744:42: note: expected 'const char *' but argument is of type 'unsigned char *' 744 | extern NCURSES_EXPORT(SCREEN *) newterm (const char *,FILE *,FILE *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_insstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:316:20: note: in expansion of macro 'a_string' 316 | BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_winsstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:318:34: note: in expansion of macro 'a_string' 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:320:42: note: in expansion of macro 'a_string' 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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), | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:323:3: note: in expansion of macro 'a_string' 323 | a_string(ad),caml_string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_insnstr': functions.c:325:32: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 325 | BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:325:6: note: in expansion of macro 'r_err' 325 | BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_winsnstr': functions.c:327:46: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 327 | BEG4 r_err(winsnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:327:6: note: in expansion of macro 'r_err' 327 | BEG4 r_err(winsnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsnstr': functions.c:329:54: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 329 | BEG5 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:329:6: note: in expansion of macro 'r_err' 329 | BEG5 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsnstr_native': functions.c:332:15: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 332 | a_string(ad)+a_int(ae),a_int(af))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:331:6: note: in expansion of macro 'r_err' 331 | BEG6 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_instr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:337:19: note: in expansion of macro 'a_string' 337 | BEG1 r_err(innstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:339:33: note: in expansion of macro 'a_string' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_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),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:344:3: note: in expansion of macro 'a_string' 344 | a_string(ad),caml_string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_innstr': functions.c:346:31: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winnstr': functions.c:348:45: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinnstr': functions.c:350:53: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinnstr_native': functions.c:353:15: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 353 | a_string(ad)+a_int(ae),a_int(af))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_scr_dump': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'scr_dump' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:466:1: note: in expansion of macro 'ML1' 466 | ML1(scr_dump,err,string) | ^~~ /usr/include/curses.h:775:38: note: expected 'const char *' but argument is of type 'unsigned char *' 775 | extern NCURSES_EXPORT(int) scr_dump (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_scr_restore': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'scr_restore' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:467:1: note: in expansion of macro 'ML1' 467 | ML1(scr_restore,err,string) | ^~~ /usr/include/curses.h:780:41: note: expected 'const char *' but argument is of type 'unsigned char *' 780 | extern NCURSES_EXPORT(int) scr_restore (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_scr_init': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'scr_init' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:468:1: note: in expansion of macro 'ML1' 468 | ML1(scr_init,err,string) | ^~~ /usr/include/curses.h:776:38: note: expected 'const char *' but argument is of type 'unsigned char *' 776 | extern NCURSES_EXPORT(int) scr_init (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_scr_set': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'scr_set' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:469:1: note: in expansion of macro 'ML1' 469 | ML1(scr_set,err,string) | ^~~ /usr/include/curses.h:781:37: note: expected 'const char *' but argument is of type 'unsigned char *' 781 | extern NCURSES_EXPORT(int) scr_set (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_slk_set': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of 'slk_set' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:133:9: note: in expansion of macro 'r_err' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:29: note: in expansion of macro 'a_string' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:480:1: note: in expansion of macro 'ML3' 480 | ML3(slk_set,err,int,string,int) | ^~~ /usr/include/curses.h:798:41: note: expected 'const char *' but argument is of type 'unsigned char *' 798 | extern NCURSES_EXPORT(int) slk_set (int,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tgetflag': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tgetflag' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:77:25: note: in expansion of macro 'CAMLreturn' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:77:36: note: in expansion of macro 'Val_bool' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_bool' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:506:1: note: in expansion of macro 'ML1' 506 | ML1(tgetflag,bool,string) | ^~~ In file included from ml_curses.c:28: /usr/include/term.h:849:38: note: expected 'const char *' but argument is of type 'unsigned char *' 849 | extern NCURSES_EXPORT(int) tgetflag (const char *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tgetnum': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tgetnum' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:73:25: note: in expansion of macro 'CAMLreturn' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ ml_curses.c:73:36: note: in expansion of macro 'Val_int' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_int' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:507:1: note: in expansion of macro 'ML1' 507 | ML1(tgetnum,int,string) | ^~~ /usr/include/term.h:850:37: note: expected 'const char *' but argument is of type 'unsigned char *' 850 | extern NCURSES_EXPORT(int) tgetnum (const char *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tgoto': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tgoto' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:98:21: note: in definition of macro 'r_string' 98 | { const char *ret=f; \ | ^ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:18: note: in expansion of macro 'a_string' 133 | { 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/include/term.h:847:38: note: expected 'const char *' but argument is of type 'unsigned char *' 847 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_setupterm': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'setupterm' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:515:13: note: in expansion of macro 'r_err' 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:515:29: note: in expansion of macro 'a_string' 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ^~~~~~~~ /usr/include/term.h:824:39: note: expected 'const char *' but argument is of type 'unsigned char *' 824 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_setterm': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'setupterm' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:516:1: note: in expansion of macro 'ML1' 516 | ML1(setterm,err,string) | ^~~ /usr/include/term.h:824:39: note: expected 'const char *' but argument is of type 'unsigned char *' 824 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_restartterm': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'restartterm' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:522:13: note: in expansion of macro 'r_err' 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:522:31: note: in expansion of macro 'a_string' 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ^~~~~~~~ /usr/include/term.h:823:41: note: expected 'const char *' but argument is of type 'unsigned char *' 823 | extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *); | ^ functions.c: In function 'mlcurses_putp': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'putp' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:523:1: note: in expansion of macro 'ML1' 523 | ML1(putp,err,string) | ^~~ /usr/include/curses.h:890:34: note: expected 'const char *' but argument is of type 'unsigned char *' 890 | extern NCURSES_EXPORT(int) putp (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetflag': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tigetflag' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:77:25: note: in expansion of macro 'CAMLreturn' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:77:36: note: in expansion of macro 'Val_bool' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~ functions.c:527:6: note: in expansion of macro 'r_bool' 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ^~~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:527:23: note: in expansion of macro 'a_string' 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ^~~~~~~~ /usr/include/curses.h:887:39: note: expected 'const char *' but argument is of type 'unsigned char *' 887 | extern NCURSES_EXPORT(int) tigetflag (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetnum': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tigetnum' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:73:25: note: in expansion of macro 'CAMLreturn' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ ml_curses.c:73:36: note: in expansion of macro 'Val_int' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_int' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:528:1: note: in expansion of macro 'ML1' 528 | ML1(tigetnum,int,string) | ^~~ /usr/include/curses.h:888:38: note: expected 'const char *' but argument is of type 'unsigned char *' 888 | extern NCURSES_EXPORT(int) tigetnum (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetstr': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tigetstr' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:530:23: note: in expansion of macro 'a_string' 530 | BEG1 char *s=tigetstr(a_string(aa)); | ^~~~~~~~ /usr/include/curses.h:889:41: note: expected 'const char *' but argument is of type 'unsigned char *' 889 | extern NCURSES_EXPORT(char *) tigetstr (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tputs': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tputs' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro 'CAMLreturnT' 415 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro 'Val_long' 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro 'Val_int' 426 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:535:3: note: in expansion of macro 'r_err' 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:535:15: note: in expansion of macro 'a_string' 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ^~~~~~~~ /usr/include/term.h:851:35: note: expected 'const char *' but argument is of type 'unsigned char *' 851 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tparm': /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of 'tparm' differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:98:21: note: in definition of macro 'r_string' 98 | { const char *ret=f; \ | ^ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:554:31: note: in expansion of macro 'a_string' 554 | r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], | ^~~~~~~~ /usr/include/curses.h:893:38: note: expected 'const char *' but argument is of type 'unsigned char *' 893 | extern NCURSES_EXPORT(char *) tparm (const char *, ...); /* special */ | ^~~~~~~~~~~~ Running[12]: (cd _build/default && /usr/bin/ocamlmklib -g -o curses_stubs ml_curses.o -ldopt -lncursesw -ldopt -ltinfo) Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -shared -linkall -I . -o curses.cmxs curses.cmxa) Promoting "_build/default/curses.install" to "curses.install" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZNQ2pF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64 + cd curses-1.0.11 + dune install --destdir=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64 --verbose --release -j32 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/BUILD/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/META Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cma Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmi Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmt Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmti Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmx Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmxa Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.ml Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.mli Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/dune-package Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/libcurses_stubs.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/opam Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmxs Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/doc/curses/CHANGES.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/doc/curses/README.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.11-4.ocs23 --unique-debug-suffix -1.0.11-4.ocs23.x86_64 --unique-debug-src-base ocaml-curses-1.0.11-4.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/curses-1.0.11 extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmxs extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so cpio: _build/default/atomic.ml: Cannot stat: No such file or directory 106 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ocaml-curses-1.0.11-4.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TqfRug + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/share/licenses/ocaml-curses + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/share/licenses/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/share/licenses/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = 863eff5dfef36253ce47dae075db4dd8 ocaml-curses = 1.0.11-4.ocs23 ocaml-curses(x86-64) = 1.0.11-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 1068d69aaa4c252adfddcd00fc621c91 ocaml(Stdlib) = c58cfa3adb194700e6be5ae9791ba7ad ocaml(Stdlib__Bigarray) = cf28a44a06fdd508147cc8be96862398 ocaml(Stdlib__Complex) = 4d1df53b7da7a09d2218033cad9175e3 ocaml(Stdlib__Either) = 20eb2929bc72314d5c1675f8c8844da3 ocaml(Stdlib__Hashtbl) = 6b739a63949d5e37dd39e1337ea759b0 ocaml(Stdlib__List) = 17210de5f334280e60e5c2d3c0d5e710 ocaml(Stdlib__Seq) = be0ddc4fda866826cab6110a33c29bf7 ocaml(Unix) = 1a4f1df4126693e0214ec19a35747734 rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.11-4.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2xk5jp + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/share/licenses/ocaml-curses-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/share/licenses/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64/usr/share/licenses/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = 863eff5dfef36253ce47dae075db4dd8 ocaml-curses-devel = 1.0.11-4.ocs23 ocaml-curses-devel(x86-64) = 1.0.11-4.ocs23 ocamlx(Curses) = 0167b8a27338c52d8b24db11f15106b0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 1068d69aaa4c252adfddcd00fc621c91 ocaml(Stdlib) = c58cfa3adb194700e6be5ae9791ba7ad ocaml(Stdlib__Bigarray) = cf28a44a06fdd508147cc8be96862398 ocaml(Stdlib__Complex) = 4d1df53b7da7a09d2218033cad9175e3 ocaml(Stdlib__Either) = 20eb2929bc72314d5c1675f8c8844da3 ocaml(Stdlib__Hashtbl) = 6b739a63949d5e37dd39e1337ea759b0 ocaml(Stdlib__List) = 17210de5f334280e60e5c2d3c0d5e710 ocaml(Stdlib__Seq) = be0ddc4fda866826cab6110a33c29bf7 ocaml(Unix) = 1a4f1df4126693e0214ec19a35747734 ocamlx(Stdlib) = b288e505044e44eb43a25976bd92ea39 ocamlx(Stdlib__Domain) = f3a9cc411cfa14dca0bed0f3311cdda2 ocamlx(Stdlib__Hashtbl) = 54d327b1bc99e94f07aff8263055ebf0 ocamlx(Stdlib__List) = 433221a564f1d76e65b6e2855cac2a97 ocamlx(Stdlib__Random) = fa18d68a5e01f2ac3174754122534226 Processing files: ocaml-curses-debugsource-1.0.11-4.ocs23.x86_64 Provides: ocaml-curses-debugsource = 1.0.11-4.ocs23 ocaml-curses-debugsource(x86-64) = 1.0.11-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-curses-debuginfo-1.0.11-4.ocs23.x86_64 Provides: debuginfo(build-id) = dcf0bb22680283e0d13cb4aea7fa2a45c4bc19f3 debuginfo(build-id) = eda23b6d9462df446519d28ce211dbcc7914f530 ocaml-curses-debuginfo = 1.0.11-4.ocs23 ocaml-curses-debuginfo(x86-64) = 1.0.11-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(x86-64) = 1.0.11-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.ocs23.x86_64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.11-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.11-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.11-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.11-4.ocs23.x86_64.rpm Child return code was: 0