Building on summer (from freebsd) 2023-11-24 03:50.47 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" 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-dev /usr/local/bin/opam")) 2023-11-24 03:50.47 ---> using "a2b22593046b56fadc85e22b0da7b84e903c1f5aa4d42a7c481121ceec28b31f" 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 94fc188d337b3ff337b5f8eea1b8560bad2fcf0e")) 2023-11-24 03:50.47 ---> using "00ee7cfc6c2da01eb8ed751c04bbe83c07b7aff680e0886a3fd728991839e379" 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-11-24 03:50.48 ---> using "88d2b248adeda718ed121b75ef51c509d93af9c36c1fababf59282029bdf788c" 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-11-24 03:50.48 ---> using "99f2be4e06c1e6eed0cfcc605ff5332257fb8168cd63e1eae9708c8da42e4008" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-11-24 03:50.48 ---> using "59fe8a3ce6a9f73310d4b4e3994dfb6b5c2d0fda2624ebc4d13fb73e4d92f73d" from cache /: (env OCAMLPARAM warn-error=+8,_) /: (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 6 packages - install conf-ncurses 1 [required by curses] - install conf-pkg-config 3 [required by curses] - install csexp 1.5.2 [required by dune-configurator] - install curses 1.0.11 - install dune 3.11.1 [required by curses] - install dune-configurator 3.11.1 [required by curses] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/17: Processing 4/17: [curses.1.0.11: http] Processing 5/17: [curses.1.0.11: http] Processing 6/17: [curses.1.0.11: http] Processing 7/17: [curses.1.0.11: http] [conf-pkg-config: pkg-config] -> installed conf-ncurses.1 Processing 8/17: [curses.1.0.11: http] [conf-pkg-config: pkg-config] + /usr/local/bin/pkg-config "--help" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/conf-pkg-config.3) - 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 - --verbose print additional information - --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 - --license print the specified module's license to stdout if known - - 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/17: [curses.1.0.11: http] -> installed conf-pkg-config.3 Processing 9/17: [curses.1.0.11: http] -> retrieved csexp.1.5.2 (cached) Processing 9/17: -> retrieved curses.1.0.11 (https://github.com/mbacarella/curses/archive/refs/tags/1.0.11.tar.gz) -> retrieved dune.3.11.1, dune-configurator.3.11.1 (cached) Processing 10/17: [dune: ocaml 15] + /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 10/17: [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 12/17: [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 14/17: [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 14/17: [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 16/17: [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-11-24 03:51.52 ---> saved as "9e43947a6fac06a0bed690fb6357ce6d60a6f373348ed2279f0add1945756da6" Job succeeded