Building on summer (from freebsd-ocaml-5.0) 2023-10-18 03:31.01 ---> using "b0ee167c73857b60ecf6c06eff6bbe96857a02ac84fefd2b9807cb2eea16bf97" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam")) 2023-10-18 03:31.02 ---> using "58da31f76f3dd28576bb2b11a05c1473a2cbc0bc8e959f83414ab7001888e94f" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q a4349cb398e7d693e3d509914067dc47d1c71782")) 2023-10-18 03:31.02 ---> using "847cbd71d6e243cb26730c6185d78510731de6bc2b4440eaf8f09e2ada29204e" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) No configuration file found, using built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: /usr/home/opam/.profile is already up-to-date. [NOTE] Make sure that /usr/home/opam/.profile is well sourced in your ~/.bashrc. 2023-10-18 03:31.02 ---> using "76fe4e508bf18ac6169aa42d066ca9a1236d6528de4350d6a7fa0ee89b29da2f" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1.0' 'ocaml-base-compiler.5.1.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.1.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.1.0 (https://github.com/ocaml/ocaml/archive/5.1.0.tar.gz) -> installed ocaml-base-compiler.5.1.0 -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.1.0) to update the current shell environment 2023-10-18 03:31.02 ---> using "45001699be8995f4b15be626c3924c9cad054345a4e372d9e7d67e717e7c9603" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-10-18 03:31.02 ---> using "46c9f3ab7d5746063c1ef6a70a58a8d70b9b45d47abb0a64ca248a2dcd32acaa" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"curses.1.0.11\"\ \nopam install -vy \"curses.1.0.11\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"curses.1.0.11\" | grep -q '\"freebsd\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] curses.1.0.11 is not installed. Nothing to do. The following actions will be performed: - install conf-ncurses 1 [required by curses] - install dune 3.11.1 [required by curses] - install conf-pkg-config 3 [required by curses] - install csexp 1.5.2 [required by dune-configurator] - install dune-configurator 3.11.1 [required by curses] - install curses 1.0.11 ===== 6 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/18: Processing 4/18: [curses.1.0.11: http] Processing 5/18: [curses.1.0.11: http] Processing 6/18: [curses.1.0.11: http] Processing 7/18: [curses.1.0.11: http] [conf-pkg-config: pkg-config] -> installed conf-ncurses.1 Processing 8/18: [curses.1.0.11: http] [conf-pkg-config: pkg-config] - usage: pkgconf [OPTIONS] [LIBRARIES] - - basic options: - - --help this message - --about print pkgconf version and license to stdout - --version print supported pkg-config version to stdout - --atleast-pkgconfig-version check whether or not pkgconf is compatible - with a specified pkg-config version - --errors-to-stdout print all errors on stdout instead of stderr - --print-errors ensure all errors are printed - --short-errors be less verbose about some errors - --silence-errors explicitly be silent about errors - --list-all list all known packages - --list-package-names list all known package names - --simulate simulate walking the calculated dependency graph - --no-cache do not cache already seen packages when - walking the dependency graph - --log-file=filename write an audit log to a specified file - --with-path=path adds a directory to the search path - --define-prefix override the prefix variable with one that is guessed based on - the location of the .pc file - --dont-define-prefix do not override the prefix variable under any circumstances - --prefix-variable=varname sets the name of the variable that pkgconf considers - to be the package prefix - --relocate=path relocates a path and exits (mostly for testsuite) - --dont-relocate-paths disables path relocation support - - cross-compilation personality support: - - --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' - --dump-personality dumps details concerning selected personality - - checking specific pkg-config database entries: - - --atleast-version require a specific version of a module - --exact-version require an exact version of a module - --max-version require a maximum version of a module - --exists check whether or not a module exists - --uninstalled check whether or not an uninstalled module will be used - --no-uninstalled never use uninstalled modules when satisfying dependencies - --no-provides do not use 'provides' rules to resolve dependencies - --maximum-traverse-depth maximum allowed depth for dependency graph - --static be more aggressive when computing dependency graph - (for static linking) - --shared use a simplified dependency graph (usually default) - --pure optimize a static dependency graph as if it were a normal - dependency graph - --env-only look only for package entries in PKG_CONFIG_PATH - --ignore-conflicts ignore 'conflicts' rules in modules - --validate validate specific .pc files for correctness - - querying specific pkg-config database fields: - - --define-variable=varname=value define variable 'varname' as 'value' - --variable=varname print specified variable entry to stdout - --cflags print required CFLAGS to stdout - --cflags-only-I print required include-dir CFLAGS to stdout - --cflags-only-other print required non-include-dir CFLAGS to stdout - --libs print required linker flags to stdout - --libs-only-L print required LDPATH linker flags to stdout - --libs-only-l print required LIBNAME linker flags to stdout - --libs-only-other print required other linker flags to stdout - --print-requires print required dependency frameworks to stdout - --print-requires-private print required dependency frameworks for static - linking to stdout - --print-provides print provided dependencies to stdout - --print-variables print all known variables in module to stdout - --digraph print entire dependency graph in graphviz 'dot' format - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/usr/lib entries in libs output - --path show the exact filenames for any matching .pc files - --modversion print the specified module's version to stdout - --internal-cflags do not filter 'internal' cflags from output - - filtering output: - - --msvc-syntax print translatable fragments in MSVC syntax - --fragment-filter=types filter output fragments to the specified types - - report bugs to <https://github.com/pkgconf/pkgconf/issues/new>. -> compiled conf-pkg-config.3 Processing 8/18: [curses.1.0.11: http] -> installed conf-pkg-config.3 Processing 9/18: [curses.1.0.11: http] -> retrieved dune.3.11.1 (cached) Processing 10/18: [curses.1.0.11: http] Processing 11/18: [curses.1.0.11: http] [dune: ocaml 15] -> retrieved dune-configurator.3.11.1 (cached) Processing 11/18: [dune: ocaml 15] -> retrieved csexp.1.5.2 (cached) -> retrieved curses.1.0.11 (https://github.com/mbacarella/curses/archive/refs/tags/1.0.11.tar.gz) + /usr/home/opam/.opam/5.1.0/bin/ocaml "boot/bootstrap.ml" "-j" "15" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 15 - Processing 11/18: [dune: ./_boot/dune.exe build] + /usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1) -> compiled dune.3.11.1 -> installed dune.3.11.1 Processing 13/18: [csexp: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "csexp" "-j" "15" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 -> installed csexp.1.5.2 Processing 15/18: [dune-configurator: rm] + /bin/rm "-rf" "vendor/csexp" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune-configurator.3.11.1) + /bin/rm "-rf" "vendor/pp" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune-configurator.3.11.1) Processing 15/18: [dune-configurator: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "dune-configurator" "-j" "15" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune-configurator.3.11.1) -> compiled dune-configurator.3.11.1 -> installed dune-configurator.3.11.1 Processing 17/18: [curses: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "curses" "-j" "15" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/curses.1.0.11) - (cd _build/default && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -I /usr/home/opam/.opam/5.1.0/lib/ocaml -I /usr/home/opam/.opam/5.1.0/lib/ocaml/unix -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] - ML1(addstr,err,string) - ~~~~^~~~~~~~~~~~~~~~~~ - ml_curses.c:127:16: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~^~~~~~~~~~~~~~ - /usr/include/curses.h:1258:38: note: expanded from macro 'addstr' - #define addstr(str) waddnstr(stdscr,(str),-1) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - ML2(waddstr,err,window,string) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:130:29: note: expanded from macro 'ML2' - { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } - ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:113:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - ML3(mvaddstr,err,int,int,string) - ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:133:16: note: expanded from macro 'ML3' - { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } - ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1328:28: note: expanded from macro 'mvaddstr' - #define mvaddstr(y,x,str) mvwaddstr(stdscr,(y),(x),(str)) - ^ - /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' - #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/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - ML4(mvwaddstr,err,window,int,int,string) - ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:136:16: note: expanded from macro 'ML4' - { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } - ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1257:41: note: expanded from macro 'addnstr' - #define addnstr(str,n) waddnstr(stdscr,(str),(n)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - BEG5 r_err(mvaddnstr(a_int(aa),a_int(ab), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1327:31: note: expanded from macro 'mvaddnstr' - #define mvaddnstr(y,x,str,n) mvwaddnstr(stdscr,(y),(x),(str),(n)) - ^ - /usr/include/curses.h:1306:87: note: expanded from macro 'mvwaddnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - BEG6 r_err(mvwaddnstr(a_window(aa),a_int(ab),a_int(ac), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1306:87: note: expanded from macro 'mvwaddnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:832:59: note: passing argument to parameter here - 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] - BEG1 r_err(getnstr(a_string(aa),caml_string_length(aa))); END - ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - /usr/include/curses.h:1173:41: note: expanded from macro 'getnstr' - #define getnstr(s, n) wgetnstr(stdscr, s, (n)) - ^ - note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1332:31: note: expanded from macro 'mvgetnstr' - #define mvgetnstr(y,x,str,n) mvwgetnstr(stdscr,(y),(x),(str),(n)) - ^ - /usr/include/curses.h:1311:87: note: expanded from macro 'mvwgetnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1311:87: note: expanded from macro 'mvwgetnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - /usr/include/curses.h:1173:41: note: expanded from macro 'getnstr' - #define getnstr(s, n) wgetnstr(stdscr, s, (n)) - ^ - note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1332:31: note: expanded from macro 'mvgetnstr' - #define mvgetnstr(y,x,str,n) mvwgetnstr(stdscr,(y),(x),(str),(n)) - ^ - /usr/include/curses.h:1311:87: note: expanded from macro 'mvwgetnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1311:87: note: expanded from macro 'mvwgetnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:855:53: note: passing argument to parameter here - 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] - s=newterm(a_string(aa),fa,fb); - ^~~~~~~~~~~~ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^~~~~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:750:54: note: passing argument to parameter here - 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] - BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1286:39: note: expanded from macro 'insnstr' - #define insnstr(s,n) winsnstr(stdscr,(s),(n)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1340:29: note: expanded from macro 'mvinsnstr' - #define mvinsnstr(y,x,s,n) mvwinsnstr(stdscr,(y),(x),(s),(n)) - ^ - /usr/include/curses.h:1319:86: note: expanded from macro 'mvwinsnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - BEG4 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1319:86: note: expanded from macro 'mvwinsnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1286:39: note: expanded from macro 'insnstr' - #define insnstr(s,n) winsnstr(stdscr,(s),(n)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - BEG5 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1340:29: note: expanded from macro 'mvinsnstr' - #define mvinsnstr(y,x,s,n) mvwinsnstr(stdscr,(y),(x),(s),(n)) - ^ - /usr/include/curses.h:1319:86: note: expanded from macro 'mvwinsnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - BEG6 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1319:86: note: expanded from macro 'mvwinsnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:865:60: note: passing argument to parameter here - 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] - BEG1 r_err(innstr(a_string(aa),caml_string_length(aa))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1282:37: note: expanded from macro 'innstr' - #define innstr(s,n) winnstr(stdscr,(s),(n)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1338:28: note: expanded from macro 'mvinnstr' - #define mvinnstr(y,x,s,n) mvwinnstr(stdscr,(y),(x),(s),(n)) - ^ - /usr/include/curses.h:1317:84: note: expanded from macro 'mvwinnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1317:84: note: expanded from macro 'mvwinnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1282:37: note: expanded from macro 'innstr' - #define innstr(s,n) winnstr(stdscr,(s),(n)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1338:28: note: expanded from macro 'mvinnstr' - #define mvinnstr(y,x,s,n) mvwinnstr(stdscr,(y),(x),(s),(n)) - ^ - /usr/include/curses.h:1317:84: note: expanded from macro 'mvwinnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:1317:84: note: expanded from macro 'mvwinnstr' - #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' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:423:30: note: expanded from macro 'Val_bool' - #define Val_bool(x) Val_int((x) != 0) - ^ - note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:861:53: note: passing argument to parameter here - 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] - ML1(scr_dump,err,string) - ^~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:43:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:781:50: note: passing argument to parameter here - 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] - ML1(scr_restore,err,string) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:55:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:786:53: note: passing argument to parameter here - 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] - ML1(scr_init,err,string) - ^~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:67:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:782:50: note: passing argument to parameter here - 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] - ML1(scr_set,err,string) - ^~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:79:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:787:49: note: passing argument to parameter here - 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] - ML3(slk_set,err,int,string,int) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:133:29: note: expanded from macro 'ML3' - { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } - ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ - <scratch space>:144:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:804:53: note: passing argument to parameter here - 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] - ML1(tgetflag,bool,string) - ^~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:241:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/term.h:822:50: note: passing argument to parameter here - 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] - ML1(tgetnum,int,string) - ^~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:253:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/term.h:823:49: note: passing argument to parameter here - 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] - ML3(tgoto,string,string,int,int) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:133:18: note: expanded from macro 'ML3' - { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } - ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - <scratch space>:5:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:98:21: note: expanded from macro 'r_string' - { const char *ret=f; \ - ^ - /usr/include/term.h:820:50: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/term.h:796:51: note: passing argument to parameter here - 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] - ML1(setterm,err,string) - ^~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:30:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/term.h:796:51: note: passing argument to parameter here - 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] - 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' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/term.h:795:61: note: passing argument to parameter here - 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] - ML1(putp,err,string) - ^~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:78:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:892:46: note: passing argument to parameter here - 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] - BEG1 r_bool(tigetflag(a_string(aa))>0); END - ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:77:39: note: expanded from macro 'r_bool' - #define r_bool(f) CAMLreturn(Val_bool(f)) - ~~~~~~~~~~~~~~~~~~~~^~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:889:51: note: passing argument to parameter here - 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] - ML1(tigetnum,int,string) - ^~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:127:18: note: expanded from macro 'ML1' - { RA1 r_##tr(f(a_##ta(aa))); } - ~~~~~~~~~^~~~~~~~~~~~ - <scratch space>:130:1: note: expanded from here - a_string - ^ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/curses.h:890:50: note: passing argument to parameter here - 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] - BEG1 char *s=tigetstr(a_string(aa)); - ^~~~~~~~~~~~ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^~~~~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/curses.h:891:53: note: passing argument to parameter here - 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] - r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END - ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:72:39: note: expanded from macro 'r_err' - #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) - ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ - note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:77:47: note: expanded from macro 'Val_long' - #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:419:47: note: expanded from macro 'CAMLreturn' - #define CAMLreturn(result) CAMLreturnT(value, result) - ~~~~~~~~~~~~~~~~~~~^~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/memory.h:414:29: note: expanded from macro 'CAMLreturnT' - type caml__temp_result = (result); \ - ^~~~~~ - /usr/include/term.h:824:47: note: passing argument to parameter here - 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] - r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ml_curses.c:109:21: note: expanded from macro 'a_string' - #define a_string(a) Bytes_val(a) - ^ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:330:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^ - ml_curses.c:98:21: note: expanded from macro 'r_string' - { const char *ret=f; \ - ^ - /usr/include/curses.h:895:50: note: passing argument to parameter here - extern NCURSES_EXPORT(char *) tparm (const char *, ...); /* special */ - ^ - 50 warnings generated. -> compiled curses.1.0.11 -> installed curses.1.0.11 Done. 2023-10-18 03:32.35 ---> saved as "83ba9c2b60643d4104851d8f4f11fd11fb56ffa7f173fd0d3f819a653d4b95ae" Job succeeded