=>> Building devel/ocaml-curses build started at Sun Sep 28 08:25:24 EDT 2025 port directory: /usr/ports/devel/ocaml-curses package name: ocaml-curses-1.0.11 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: freebsd@dev.thsi.be Makefile datestamp: -rw-r--r-- 1 root wheel 844 Jan 23 2025 /usr/ports/devel/ocaml-curses/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 2ce814c3b714 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 07 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ocaml-curses-1.0.11: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- freebsd@dev.thsi.be --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work/.cache HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/ocaml-curses/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/ocaml-curses/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- DUNE_FREEBSD_STUBLIBS_RELATIVE_TO_LIBDIR=curses XDG_DATA_HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work/.cache HOME=/wrkdirs/usr/ports/devel/ocaml-curses/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/ocaml-curses/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/ocaml-curses/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OCAML_SITELIBDIR="lib/ocaml/site-lib" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ocaml/curses" EXAMPLESDIR="share/examples/curses" DATADIR="share/curses" WWWDIR="www/curses" ETCDIR="etc/curses" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/curses DOCSDIR=/usr/local/share/doc/ocaml/curses EXAMPLESDIR=/usr/local/share/examples/curses WWWDIR=/usr/local/www/curses ETCDIR=/usr/local/etc/curses --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-curses-1.0.11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> ocaml-curses-1.0.11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ocaml-curses-1.0.11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-curses-1.0.11 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-curses-1.0.11 for building => SHA256 Checksum OK for mbacarella-curses-1.0.11_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ocamlc - not found ===> Installing existing package /packages/All/ocaml-4.14.2.pkg [pkg.DaveG.ca] Installing ocaml-4.14.2... [pkg.DaveG.ca] Extracting ocaml-4.14.2: .......... done ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ocamlc - found ===> Returning to build of ocaml-curses-1.0.11 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ocaml-curses-1.0.11 for building ===> Extracting for ocaml-curses-1.0.11 => SHA256 Checksum OK for mbacarella-curses-1.0.11_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ocamlc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ocaml-curses-1.0.11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-curses-1.0.11 depends on package: ocaml-dune>=3.7.1_2 - not found ===> Installing existing package /packages/All/ocaml-dune-3.7.1_3.pkg [pkg.DaveG.ca] Installing ocaml-dune-3.7.1_3... [pkg.DaveG.ca] Extracting ocaml-dune-3.7.1_3: .......... done ===> ocaml-curses-1.0.11 depends on package: ocaml-dune>=3.7.1_2 - found ===> Returning to build of ocaml-curses-1.0.11 ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-curses-1.0.11 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.4.3,1.pkg [pkg.DaveG.ca] Installing pkgconf-2.4.3,1... [pkg.DaveG.ca] Extracting pkgconf-2.4.3,1: .......... done ===> ocaml-curses-1.0.11 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of ocaml-curses-1.0.11 ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ocaml-curses-1.0.11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ocaml-curses-1.0.11 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ocaml-curses-1.0.11 ocamlc .curses.objs/byte/curses.{cmi,cmti} ocamlc .discover.eobjs/byte/dune__exe__Discover.{cmi,cmo,cmt} ocamlopt .discover.eobjs/native/dune__exe__Discover.{cmx,o} ocamlopt discover.exe discover _config.h,c_flags.sexp,c_library_flags.sexp,config.ml sh curses.ml ocamlc .curses.objs/byte/curses.{cmo,cmt} ocamlc curses.cma ocamlopt .curses.objs/native/curses.{cmx,o} ocamlopt curses.{a,cmxa} cc ml_curses.o (cd _build/default && /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -I /usr/local/lib/ocaml -o ml_curses.o -c ml_curses.c) In file included from ml_curses.c:237: ./functions.c:48:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 48 | ML1(addstr,err,string) | ~~~~^~~~~~~~~~~~~~~~~~ ml_curses.c:127:16: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~^~~~~~~~~~~~~~ /usr/include/curses.h:1284:38: note: expanded from macro 'addstr' 1284 | #define addstr(str) waddnstr(stdscr,(str),-1) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:49:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 49 | ML2(waddstr,err,window,string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:130:29: note: expanded from macro 'ML2' 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ :253:1: note: expanded from here 253 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:50:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 50 | ML3(mvaddstr,err,int,int,string) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:133:16: note: expanded from macro 'ML3' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1354:28: note: expanded from macro 'mvaddstr' 1354 | #define mvaddstr(y,x,str) mvwaddstr(stdscr,(y),(x),(str)) | ^ /usr/include/curses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:51:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 51 | ML4(mvwaddstr,err,window,int,int,string) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:136:16: note: expanded from macro 'ML4' 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:53:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 53 | BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1283:41: note: expanded from macro 'addnstr' 1283 | #define addnstr(str,n) waddnstr(stdscr,(str),(n)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:55:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 55 | BEG4 r_err(waddnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:57:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 57 | BEG5 r_err(mvaddnstr(a_int(aa),a_int(ab), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | a_string(ac)+a_int(ad),a_int(ae))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1353:31: note: expanded from macro 'mvaddnstr' 1353 | #define mvaddnstr(y,x,str,n) mvwaddnstr(stdscr,(y),(x),(str),(n)) | ^ /usr/include/curses.h:1332:87: note: expanded from macro 'mvwaddnstr' 1332 | #define mvwaddnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:60:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 60 | BEG6 r_err(mvwaddnstr(a_window(aa),a_int(ab),a_int(ac), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 | a_string(ad)+a_int(ae),a_int(af))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1332:87: note: expanded from macro 'mvwaddnstr' 1332 | #define mvwaddnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:195:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | BEG1 r_err(getnstr(a_string(aa),caml_string_length(aa))); END | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ /usr/include/curses.h:1199:41: note: expanded from macro 'getnstr' 1199 | #define getnstr(s, n) wgetnstr(stdscr, s, (n)) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:197:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:199:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1358:31: note: expanded from macro 'mvgetnstr' 1358 | #define mvgetnstr(y,x,str,n) mvwgetnstr(stdscr,(y),(x),(str),(n)) | ^ /usr/include/curses.h:1337:87: note: expanded from macro 'mvwgetnstr' 1337 | #define mvwgetnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:201:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | caml_string_length(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1337:87: note: expanded from macro 'mvwgetnstr' 1337 | #define mvwgetnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:204:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ /usr/include/curses.h:1199:41: note: expanded from macro 'getnstr' 1199 | #define getnstr(s, n) wgetnstr(stdscr, s, (n)) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:206:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:208:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | a_int(ae))); END | ~~~~~~~~~~~ /usr/include/curses.h:1358:31: note: expanded from macro 'mvgetnstr' 1358 | #define mvgetnstr(y,x,str,n) mvwgetnstr(stdscr,(y),(x),(str),(n)) | ^ /usr/include/curses.h:1337:87: note: expanded from macro 'mvwgetnstr' 1337 | #define mvwgetnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:211:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | a_int(af))); END | ~~~~~~~~~~~ /usr/include/curses.h:1337:87: note: expanded from macro 'mvwgetnstr' 1337 | #define mvwgetnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:867:53: note: passing argument to parameter here 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:299:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | s=newterm(a_string(aa),fa,fb); | ^~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:758:54: note: passing argument to parameter here 758 | extern NCURSES_EXPORT(SCREEN *) newterm (const char *,FILE *,FILE *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:316:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 316 | BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1312:39: note: expanded from macro 'insnstr' 1312 | #define insnstr(s,n) winsnstr(stdscr,(s),(n)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:318:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:320:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1366:29: note: expanded from macro 'mvinsnstr' 1366 | #define mvinsnstr(y,x,s,n) mvwinsnstr(stdscr,(y),(x),(s),(n)) | ^ /usr/include/curses.h:1345:86: note: expanded from macro 'mvwinsnstr' 1345 | #define mvwinsnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:322:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | BEG4 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 323 | a_string(ad),caml_string_length(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1345:86: note: expanded from macro 'mvwinsnstr' 1345 | #define mvwinsnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:325:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1312:39: note: expanded from macro 'insnstr' 1312 | #define insnstr(s,n) winsnstr(stdscr,(s),(n)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:327:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 327 | BEG4 r_err(winsnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:329:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 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:1366:29: note: expanded from macro 'mvinsnstr' 1366 | #define mvinsnstr(y,x,s,n) mvwinsnstr(stdscr,(y),(x),(s),(n)) | ^ /usr/include/curses.h:1345:86: note: expanded from macro 'mvwinsnstr' 1345 | #define mvwinsnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:331:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 331 | BEG6 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | a_string(ad)+a_int(ae),a_int(af))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1345:86: note: expanded from macro 'mvwinsnstr' 1345 | #define mvwinsnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:877:60: note: passing argument to parameter here 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:337:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 337 | BEG1 r_err(innstr(a_string(aa),caml_string_length(aa))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1308:37: note: expanded from macro 'innstr' 1308 | #define innstr(s,n) winnstr(stdscr,(s),(n)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:339:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:341:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1364:28: note: expanded from macro 'mvinnstr' 1364 | #define mvinnstr(y,x,s,n) mvwinnstr(stdscr,(y),(x),(s),(n)) | ^ /usr/include/curses.h:1343:84: note: expanded from macro 'mvwinnstr' 1343 | #define mvwinnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:343:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | a_string(ad),caml_string_length(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1343:84: note: expanded from macro 'mvwinnstr' 1343 | #define mvwinnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:346:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1308:37: note: expanded from macro 'innstr' 1308 | #define innstr(s,n) winnstr(stdscr,(s),(n)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:348:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:350:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 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:1364:28: note: expanded from macro 'mvinnstr' 1364 | #define mvinnstr(y,x,s,n) mvwinnstr(stdscr,(y),(x),(s),(n)) | ^ /usr/include/curses.h:1343:84: note: expanded from macro 'mvwinnstr' 1343 | #define mvwinnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:352:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | a_string(ad)+a_int(ae),a_int(af))); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1343:84: note: expanded from macro 'mvwinnstr' 1343 | #define mvwinnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n))) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:387:30: note: expanded from macro 'Val_bool' 387 | #define Val_bool(x) Val_int((x) != 0) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:873:53: note: passing argument to parameter here 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:466:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | ML1(scr_dump,err,string) | ^~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :36:1: note: expanded from here 36 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:789:50: note: passing argument to parameter here 789 | extern NCURSES_EXPORT(int) scr_dump (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:467:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 467 | ML1(scr_restore,err,string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :52:1: note: expanded from here 52 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:794:53: note: passing argument to parameter here 794 | extern NCURSES_EXPORT(int) scr_restore (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:468:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 468 | ML1(scr_init,err,string) | ^~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :68:1: note: expanded from here 68 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:790:50: note: passing argument to parameter here 790 | extern NCURSES_EXPORT(int) scr_init (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:469:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | ML1(scr_set,err,string) | ^~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :84:1: note: expanded from here 84 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:795:49: note: passing argument to parameter here 795 | extern NCURSES_EXPORT(int) scr_set (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:480:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | ML3(slk_set,err,int,string,int) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:133:29: note: expanded from macro 'ML3' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ :169:1: note: expanded from here 169 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:812:53: note: passing argument to parameter here 812 | extern NCURSES_EXPORT(int) slk_set (int,const char *,int); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:506:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | ML1(tgetflag,bool,string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :37:1: note: expanded from here 37 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/term.h:846:50: note: passing argument to parameter here 846 | extern NCURSES_EXPORT(int) tgetflag (const char *); | ^ In file included from ml_curses.c:237: ./functions.c:507:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | ML1(tgetnum,int,string) | ^~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :53:1: note: expanded from here 53 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/term.h:847:49: note: passing argument to parameter here 847 | extern NCURSES_EXPORT(int) tgetnum (const char *); | ^ In file included from ml_curses.c:237: ./functions.c:510:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | ML3(tgoto,string,string,int,int) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:133:18: note: expanded from macro 'ML3' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :85:1: note: expanded from here 85 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:98:21: note: expanded from macro 'r_string' 98 | { const char *ret=f; \ | ^ /usr/include/term.h:844:50: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ In file included from ml_curses.c:237: ./functions.c:515:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/term.h:819:51: note: passing argument to parameter here 819 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^ In file included from ml_curses.c:237: ./functions.c:516:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 516 | ML1(setterm,err,string) | ^~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :118:1: note: expanded from here 118 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/term.h:819:51: note: passing argument to parameter here 819 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^ In file included from ml_curses.c:237: ./functions.c:522:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/term.h:818:61: note: passing argument to parameter here 818 | extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *); | ^ In file included from ml_curses.c:237: ./functions.c:523:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | ML1(putp,err,string) | ^~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :184:1: note: expanded from here 184 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:904:46: note: passing argument to parameter here 904 | extern NCURSES_EXPORT(int) putp (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:527:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:77:39: note: expanded from macro 'r_bool' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ~~~~~~~~~~~~~~~~~~~~^~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:901:51: note: passing argument to parameter here 901 | extern NCURSES_EXPORT(int) tigetflag (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:528:1: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | ML1(tigetnum,int,string) | ^~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:127:18: note: expanded from macro 'ML1' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ~~~~~~~~~^~~~~~~~~~~~ :252:1: note: expanded from here 252 | a_string | ^ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/curses.h:902:50: note: passing argument to parameter here 902 | extern NCURSES_EXPORT(int) tigetnum (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:530:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 530 | BEG1 char *s=tigetstr(a_string(aa)); | ^~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:903:53: note: passing argument to parameter here 903 | extern NCURSES_EXPORT(char *) tigetstr (const char *); /* implemented */ | ^ In file included from ml_curses.c:237: ./functions.c:535:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:72:39: note: expanded from macro 'r_err' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /usr/local/lib/ocaml/caml/memory.h:467:47: note: expanded from macro 'CAMLreturn' 467 | #define CAMLreturn(result) CAMLreturnT(value, result) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/ocaml/caml/memory.h:462:29: note: expanded from macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ /usr/include/term.h:848:47: note: passing argument to parameter here 848 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^ In file included from ml_curses.c:237: ./functions.c:554:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 554 | r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | t[5],t[6],t[7],t[8],t[9])); END | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_curses.c:109:21: note: expanded from macro 'a_string' 109 | #define a_string(a) Bytes_val(a) | ^ /usr/local/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ^ ml_curses.c:98:21: note: expanded from macro 'r_string' 98 | { const char *ret=f; \ | ^ /usr/include/curses.h:907:50: note: passing argument to parameter here 907 | extern NCURSES_EXPORT(char *) tparm (const char *, ...); /* special */ | ^ 50 warnings generated. ocamlmklib dllcurses_stubs.so,libcurses_stubs.a ocamlopt curses.cmxs =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-curses-1.0.11 depends on file: /usr/local/bin/ocamlc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ocaml-curses-1.0.11 ===> Generating temporary packing list Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/META Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.a Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cma Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cmi Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cmt Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cmti Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cmx Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cmxa Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.ml Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.mli Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/dune-package Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/libcurses_stubs.a Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/opam Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/curses.cmxs Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/share/doc/ocaml/curses/CHANGES.md Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/share/doc/ocaml/curses/README.md Installing /wrkdirs/usr/ports/devel/ocaml-curses/work/stage/usr/local/lib/ocaml/site-lib/curses/dllcurses_stubs.so ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-09-28T12:25:24+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=2ce814c3b714' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ocaml-curses-1.0.11 ===> Building ocaml-curses-1.0.11 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ocaml-curses-1.0.11 build of devel/ocaml-curses | ocaml-curses-1.0.11 ended at Sun Sep 28 08:26:17 EDT 2025 build time: 00:00:55