- github
- ocaml
- opam-repository
- 817e2b
- compilers,4.14,ocamlfind.1.9.5,revdeps,curses.1.0.3
(not at the head of any monitored branch or PR)
2025-03-13 14:03.36: New job: test curses.1.0.3 with ocamlfind.1.9.5, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27618/head (817e2bca6bb374fd7865253f73a8e26703930da1)
on debian-12-ocaml-4.14/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27618/head" && git reset --hard 817e2bca
git fetch origin master
git merge --no-edit 906fb78ee221e4b7676dcd2285fb6d40cbdc59f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn ocamlfind.1.9.5 1.9.5
RUN opam reinstall ocamlfind.1.9.5; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocamlfind.1.9.5' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall curses.1.0.3; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'curses.1.0.3' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test curses.1.0.3) || true
RUN opam reinstall --with-test --verbose curses.1.0.3; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'curses.1.0.3' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-03-13 14:03.36: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0-ocamlfind.1.9.5-curses.1.0.3-817e2bca6bb374fd7865253f73a8e26703930da1"
2025-03-13 14:03.36: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn ocamlfind.1.9.5 1.9.5"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlfind.1.9.5;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocamlfind.1.9.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall curses.1.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test curses.1.0.3) || true"))
(run (shell "opam reinstall --with-test --verbose curses.1.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-13 14:03.36: Waiting for resource in pool OCluster
2025-03-13 16:37.00: Waiting for worker…
2025-03-13 16:38.59: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 95% (21540/22644)
Updating files: 96% (21739/22644)
Updating files: 97% (21965/22644)
Updating files: 98% (22192/22644)
Updating files: 99% (22418/22644)
Updating files: 100% (22644/22644)
Updating files: 100% (22644/22644), done.
HEAD is now at 906fb78ee2 Merge pull request #27594 from mbarbin/dunolint
Merge made by the 'ort' strategy.
packages/ocamlfind/ocamlfind.1.9.5/opam | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(from ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0)
2025-03-13 16:39.13 ---> using "80fd7825ce1a116f8797a39876773ae08c12e9665497e2c87a54f899dfa0710c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-13 16:39.13 ---> using "2f79bcf5e8f633cc179931f47e4478f88e9aac17cfe5e7e859dc3cb46b8830f1" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from 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.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-13 16:39.13 ---> using "b247a5363e2b7a112eea930be80a14ef0483774222bc0faa32ee684629fac6c3" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-03-13 16:39.13 ---> using "738df2896a32e42d0ddd19b6bae8aa0827576b126c1f6655d8ccff0fff105b1f" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2025-03-13 16:39.13 ---> using "d13c11b5fb48861869fac18fc65afc4519c0bda8c165f31f60c9096ea7040513" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 16:39.15 ---> using "bf79031c9bde6b510b33ce29f6f54899aa875129bab60295e83b13d67edc0d4d" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 16:39.15 ---> using "a2e88cbe0b8a7983007a53c9f3785bd4f6c313608e2f040410ae1adfd1aa1c51" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 1s (571 kB/s)
- Reading package lists...
-
2025-03-13 16:39.15 ---> using "b6d64f2b040376d9535f173f2507aad0eda5e91c35cf0f083ee33d2526295e11" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.5 1.9.5"))
ocamlfind is now pinned to version 1.9.5
2025-03-13 16:39.15 ---> using "009ab918fd26c27a6c93e6f8752ede71f76268f6829f5c7f9a198e42a4b1a46e" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlfind.1.9.5;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocamlfind.1.9.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlfind.1.9.5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ocamlfind 1.9.5 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.5 (cached)
-> installed ocamlfind.1.9.5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 16:39.15 ---> using "9a4f255864aea1b3bda3c7df8691aa25275d99cf83df4ca5890ba22397e225e6" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall curses.1.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
curses.1.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install curses 1.0.3
The following system packages will first need to be installed:
libncurses-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libncurses-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libncurses6:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../libncurses6_6.4-4_amd64.deb ...
- Unpacking libncurses6:amd64 (6.4-4) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../libncurses-dev_6.4-4_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.4-4) ...
- Setting up libncurses6:amd64 (6.4-4) ...
- Setting up libncurses-dev:amd64 (6.4-4) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved curses.1.0.3 (http://ocaml.phauna.org/distfiles/ocaml-curses-1.0.3.ogunden1.tar.gz)
-> installed curses.1.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 16:39.41 ---> saved as "995b30fcb44979043062f99939764d0b54cb0c95a16b636b73bb4266fcebee6c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test curses.1.0.3) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile curses 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved curses.1.0.3 (http://ocaml.phauna.org/distfiles/ocaml-curses-1.0.3.ogunden1.tar.gz)
-> removed curses.1.0.3
-> installed curses.1.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 16:40.03 ---> saved as "83079911d8530715dc6b4fc5fc681b60b57f2c025ca9de64e7a1151662078dbc"
/home/opam: (run (shell "opam reinstall --with-test --verbose curses.1.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'curses.1.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile curses 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [curses.1.0.3: extract]
-> retrieved curses.1.0.3 (cached)
Processing 2/4: [curses: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--enable-widec" (CWD=/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3)
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g...
- yes
- checking for gcc option to accept ISO C89... none needed
- checking whether gcc and cc understand -c and -o together... yes
- checking for ranlib... ranlib
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h...
- yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking termios.h usability... yes
- checking termios.h presence... yes
- checking for termios.h... yes
- checking sys/ioctl.h usability...
- yes
- checking sys/ioctl.h presence... yes
- checking for sys/ioctl.h... yes
- checking windows.h usability... no
- checking windows.h presence... no
- checking for windows.h... no
- checking for working ncurses library... found in -lncursesw
- checking for term.h... found in <term.h>
- checking for wide character support in ncurses library... yes
- checking for resizeterm... yes
- checking for resize_term... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating config.ml
- config.status: creating config.h
Processing 2/4: [curses: make byte]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "OCAMLMAKEFILE=OCamlMakefile" "byte" (CWD=/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3)
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3'
- ocamldep curses.mli > ._bcdi/curses.di
- ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d
- ocamldep keys.ml > ._d/keys.d
- ocamlc -c -cc "gcc" -ccopt "-fPIC -g -Wall -DHAVE_CONFIG_H \
- -DPIC \
- -o ml_curses.o " ml_curses.c
- ml_curses.c: In function 'putc_callback':
- ml_curses.c:203:13: warning: "callback_exn" is deprecated: use "caml_callback_exn" instead
- 203 | ret=callback_exn(putc_function,Val_int(c&255));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ml_curses.c:216:
- functions.c: In function 'mlcurses_addchstr':
- functions.c:19:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 19 | BEG1 copie(Wosize_val(aa),0,aa) call(addchstr(t)) END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_waddchstr':
- functions.c:21:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 21 | BEG2 copie(Wosize_val(ab),0,ab) call(waddchstr(a_window(aa),t)) END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mvaddchstr':
- functions.c:23:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 23 | BEG3 copie(Wosize_val(ac),0,ac) call(mvaddchstr(a_int(aa),a_int(ab),t)) END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mvwaddchstr':
- functions.c:25:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 25 | BEG4 copie(Wosize_val(ad),0,ad)
- | ^~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_addchnstr':
- functions.c:29:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 29 | copie(Int_val(ac),i0,aa)
- | ^~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_waddchnstr':
- functions.c:33:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 33 | copie(Int_val(ad),i0,ab)
- | ^~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mvaddchnstr':
- functions.c:37:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 37 | copie(Int_val(ae),i0,ac)
- | ^~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mvwaddchnstr_native':
- functions.c:41:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 41 | copie(Int_val(af),i0,ad)
- | ^~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_color_content':
- functions.c:161:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
- 161 | BEG1 short x,y,z; if(color_content(Int_val(aa),&x,&y,&z)==ERR)
- | ^~
- ml_curses.c:70:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
- 70 | { CAMLlocal1(ret); AWB(ret); \
- | ^
- functions.c:162:13: note: in expansion of macro 'r_int_int_int'
- 162 | x=y=z=-1; r_int_int_int(x,y,z); END
- | ^~~~~~~~~~~~~
- functions.c:162:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 162 | x=y=z=-1; r_int_int_int(x,y,z); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_pair_content':
- functions.c:165:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 165 | r_int_int(x,y); END
- | ^~~~~~~~~
- functions.c: In function 'mlcurses_getstr':
- functions.c:195:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ml_curses.c:7:
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:195:6: note: in expansion of macro 'r_err'
- 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:195:20: note: in expansion of macro 'a_string'
- 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END
- | ^~~~~~~~
- In file included from ml_curses.c:22:
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_wgetstr':
- functions.c:197:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:197:6: note: in expansion of macro 'r_err'
- 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:197:34: note: in expansion of macro 'a_string'
- 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvgetstr':
- functions.c:199:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:199:6: note: in expansion of macro 'r_err'
- 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:199:42: note: in expansion of macro 'a_string'
- 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvwgetstr':
- functions.c:202:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 202 | string_length(ad))); END
- | ^~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:201:6: note: in expansion of macro 'r_err'
- 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad),
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:201:56: note: in expansion of macro 'a_string'
- 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad),
- | ^~~~~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_getnstr':
- functions.c:204:32: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:204:6: note: in expansion of macro 'r_err'
- 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END
- | ^~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_wgetnstr':
- functions.c:206:46: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:206:6: note: in expansion of macro 'r_err'
- 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END
- | ^~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvgetnstr':
- functions.c:208:54: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),
- | ^
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:208:6: note: in expansion of macro 'r_err'
- 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),
- | ^~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvwgetnstr_native':
- functions.c:211:68: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae),
- | ^
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:211:6: note: in expansion of macro 'r_err'
- 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae),
- | ^~~~~
- /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *'
- 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_getyx':
- functions.c:217:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 217 | BEG1 int x,y; getyx(a_window(aa),y,x); r_int_int(y,x); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_getparyx':
- functions.c:219:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 219 | BEG1 int x,y; getparyx(a_window(aa),y,x); r_int_int(y,x); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_getbegyx':
- functions.c:221:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 221 | BEG1 int x,y; getbegyx(a_window(aa),y,x); r_int_int(y,x); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_getmaxyx':
- functions.c:223:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 223 | BEG1 int x,y; getmaxyx(a_window(aa),y,x); r_int_int(y,x); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_newterm':
- functions.c:296:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 296 | r=alloc_tuple(3);
- | ^~~~~~~
- functions.c:300:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 300 | if(s==NULL){ fclose(fa); fclose(fb); failwith("newterm"); }
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_insstr':
- functions.c:315:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 315 | BEG1 r_err(insnstr(a_string(aa),string_length(aa))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_winsstr':
- functions.c:317:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 317 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mvinsstr':
- functions.c:319:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 319 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mvwinsstr':
- functions.c:322:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 322 | a_string(ad),string_length(ad))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_instr':
- functions.c:336:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 336 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:336:6: note: in expansion of macro 'r_err'
- 336 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:336:19: note: in expansion of macro 'a_string'
- 336 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END
- | ^~~~~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_winstr':
- functions.c:338:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 338 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:338:6: note: in expansion of macro 'r_err'
- 338 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:338:33: note: in expansion of macro 'a_string'
- 338 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END
- | ^~~~~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvinstr':
- functions.c:340:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 340 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:340:6: note: in expansion of macro 'r_err'
- 340 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:340:41: note: in expansion of macro 'a_string'
- 340 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END
- | ^~~~~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvwinstr':
- functions.c:343:13: warning: "string_length" is deprecated: use "caml_string_length" instead
- 343 | a_string(ad),string_length(ad))); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:342:6: note: in expansion of macro 'r_err'
- 342 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac),
- | ^~~~~
- ml_curses.c:88:25: note: in expansion of macro 'String_val'
- 88 | #define a_string(a) String_val(a)
- | ^~~~~~~~~~
- functions.c:343:3: note: in expansion of macro 'a_string'
- 343 | a_string(ad),string_length(ad))); END
- | ^~~~~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_innstr':
- functions.c:345:31: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 345 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END
- | ^
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:345:6: note: in expansion of macro 'r_err'
- 345 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END
- | ^~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_winnstr':
- functions.c:347:45: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 347 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:347:6: note: in expansion of macro 'r_err'
- 347 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END
- | ^~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvinnstr':
- functions.c:349:53: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 349 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END
- | ^
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:349:6: note: in expansion of macro 'r_err'
- 349 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END
- | ^~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_mvwinnstr_native':
- functions.c:352:15: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 352 | a_string(ad)+a_int(ae),a_int(af))); END
- | ^
- /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
- 462 | type caml__temp_result = (result); \
- | ^~~~~~
- ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
- 79 | #define Val_int(x) Val_long(x)
- | ^~~~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int'
- 387 | #define Val_bool(x) Val_int((x) != 0)
- | ^~~~~~~
- ml_curses.c:51:36: note: in expansion of macro 'Val_bool'
- 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR))
- | ^~~~~~~~
- functions.c:351:6: note: in expansion of macro 'r_err'
- 351 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac),
- | ^~~~~
- /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *'
- 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */
- | ^~~~~~
- functions.c: In function 'mlcurses_getsyx':
- functions.c:386:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_get_ripoff':
- functions.c:394:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 394 | BEG0 if(ripoff_niv==0) failwith("get_ripoff"); ripoff_niv--;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c:395:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 395 | r_window_int(ripoff_w[ripoff_niv],ripoff_l[ripoff_niv]); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_mousemask':
- functions.c:403:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 403 | BEG1 mmask_t r=1234,n=Int_val(aa); n=mousemask(n,&r); r_int_int(n,r); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_slk_label':
- functions.c:483:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 483 | ML1(slk_label,string,int)
- | ^~~~~~~~~~~~~
- functions.c:483:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 483 | ML1(slk_label,string,int)
- | ^~~~~~~~~~~~~
- functions.c: In function 'mlcurses_longname':
- functions.c:498:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 498 | ML0(longname,string)
- | ^~~~~~~~
- functions.c:498:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 498 | ML0(longname,string)
- | ^~~~~~~~
- functions.c: In function 'mlcurses_termname':
- functions.c:500:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 500 | ML0(termname,string)
- | ^~~~~~~~
- functions.c:500:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 500 | ML0(termname,string)
- | ^~~~~~~~
- functions.c: In function 'mlcurses_tgetstr':
- functions.c:509:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c:509:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_tgoto':
- functions.c:510:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 510 | ML3(tgoto,string,string,int,int)
- | ^~~~~~~~~~~~~~~~~~~~
- functions.c:510:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 510 | ML3(tgoto,string,string,int,int)
- | ^~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_tigetstr':
- functions.c:531:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 531 | if((s==NULL)||(s==(char * )-1)) failwith("tigetstr");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c:532:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 532 | CAMLreturn(copy_string(s)); END
- | ^~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_tparm':
- functions.c:555:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 555 | t[5],t[6],t[7],t[8],t[9])); END
- | ^~~~~~~~~~~~~~~~~~~~~~~
- functions.c:555:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 555 | t[5],t[6],t[7],t[8],t[9])); END
- | ^~~~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_bool_terminfo_variable':
- functions.c:576:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c: In function 'mlcurses_num_terminfo_variable':
- functions.c:577:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c: In function 'mlcurses_str_terminfo_variable':
- functions.c:578:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- functions.c: In function 'mlcurses_unctrl':
- functions.c:596:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 596 | ML1(unctrl,string,chtype)
- | ^~~~~~
- ml_curses.c:77:15: note: in definition of macro 'r_string'
- 77 | { char *ret=f; \
- | ^
- functions.c:596:1: note: in expansion of macro 'ML1'
- 596 | ML1(unctrl,string,chtype)
- | ^~~
- functions.c:596:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 596 | ML1(unctrl,string,chtype)
- | ^~~~~~~~~~~~~
- functions.c:596:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 596 | ML1(unctrl,string,chtype)
- | ^~~~~~~~~~~~~
- functions.c: In function 'mlcurses_keyname':
- functions.c:597:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 597 | ML1(keyname,string,int)
- | ^~~~~~~
- ml_curses.c:77:15: note: in definition of macro 'r_string'
- 77 | { char *ret=f; \
- | ^
- functions.c:597:1: note: in expansion of macro 'ML1'
- 597 | ML1(keyname,string,int)
- | ^~~
- functions.c:597:13: warning: "failwith" is deprecated: use "caml_failwith" instead
- 597 | ML1(keyname,string,int)
- | ^~~~~~~~~~~
- functions.c:597:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
- 597 | ML1(keyname,string,int)
- | ^~~~~~~~~~~
- functions.c: In function 'mlcurses_get_acs_codes':
- functions.c:628:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 628 | tr=alloc_tuple(32);
- | ^~~~~~~~~
- functions.c: In function 'mlcurses_get_size':
- functions.c:657:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 657 | r_int_int(ws.ws_row,ws.ws_col);
- | ^~~~~~~~~~~~~~~~~~~~~
- functions.c: In function 'mlcurses_get_size_fd':
- functions.c:671:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
- 671 | r_int_int(ws.ws_row,ws.ws_col);
- | ^~~~~~~~~~~~~~~~~~~~~
- ml_curses.c: In function 'mlcurses_getch':
- ml_curses.c:226:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead
- 226 | enter_blocking_section();
- | ^~~~~~~~~~~~~~~~
- ml_curses.c:228:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead
- 228 | leave_blocking_section();
- | ^~~~~~~~~~~~~~~~
- ml_curses.c: In function 'mlcurses_wgetch':
- ml_curses.c:243:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead
- 243 | enter_blocking_section();
- | ^~~~~~~~~~~~~~~~
- ml_curses.c:245:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead
- 245 | leave_blocking_section();
- | ^~~~~~~~~~~~~~~~
- ar rcs libcurses_stubs.a ml_curses.o
- ocamlc -c keys.ml
- ocamlc -c curses.mli
- ocamlc -c -pp "gcc -x c -E " curses.ml
- ocamlmklib \
- -o curses_stubs ml_curses.o -lncursesw \
-
- ocamlc -a -dllib dllcurses_stubs.so -custom -cclib -lcurses_stubs -cclib -lncursesw -o curses.cma keys.cmo curses.cmo
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3'
- sed \
- -e 's/@PACKAGE@/curses/' \
- -e 's/@VERSION@/1.0.3/' \
- -e 's/@CURSES@/ncurses/' \
- < META.in > META
- ranlib *.a
Processing 2/4: [curses: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "OCAMLMAKEFILE=OCamlMakefile" "opt" (CWD=/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3)
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3'
- ocamldep -native curses.mli > ._ncdi/curses.di
- make[1]: 'libcurses_stubs.a' is up to date.
- ocamlopt -c keys.ml
- ocamlopt -c -pp "gcc -x c -E " curses.ml
- ocamlopt -a -cclib -lcurses_stubs -cclib -lncursesw -o curses.cmxa keys.cmx curses.cmx
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3'
- ranlib *.a
-> compiled curses.1.0.3
Processing 3/4: [curses: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "curses"
- Removed /home/opam/.opam/4.14/lib/curses/META
- Removed /home/opam/.opam/4.14/lib/stublibs/dllcurses_stubs.so.owner
- Removed /home/opam/.opam/4.14/lib/stublibs/dllcurses_stubs.so
- Removed /home/opam/.opam/4.14/lib/curses
-> removed curses.1.0.3
Processing 4/4: [curses: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "OCAMLMAKEFILE=OCamlMakefile" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3)
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3'
- make[1]: 'libcurses_stubs.a' is up to date.
- ocamlc -a -dllib dllcurses_stubs.so -custom -cclib -lcurses_stubs -cclib -lncursesw -o curses.cma keys.cmo curses.cmo
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/curses.1.0.3'
- ranlib *.a
-
- Installing library with ocamlfind
- ocamlfind install curses META curses.mli curses.cmi keys.cmi curses.cma curses.cmxa curses.a libcurses_stubs.a dllcurses_stubs.so
- Installed /home/opam/.opam/4.14/lib/curses/libcurses_stubs.a
- Installed /home/opam/.opam/4.14/lib/curses/curses.a
- Installed /home/opam/.opam/4.14/lib/curses/curses.cmxa
- Installed /home/opam/.opam/4.14/lib/curses/curses.cma
- Installed /home/opam/.opam/4.14/lib/curses/keys.cmi
- Installed /home/opam/.opam/4.14/lib/curses/curses.cmi
- Installed /home/opam/.opam/4.14/lib/curses/curses.mli
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcurses_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcurses_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/curses/META
-
- Installation successful.
-> installed curses.1.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 16:40.26 ---> saved as "433efd1959d51ee9273c4b905ec5186b9a4c42ad02a82fcd39e467b1a351f2a7"
Job succeeded
2025-03-13 16:41.51: Job succeeded