Building on odawa (from windows-server-2022-amd64-ocaml-4.14.2) 2024-11-11 19:25.56 ---> using "b1ae2ad36af625524288c188f7e099c501706c4119a38e11e1b5610819652cec" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "ln -f /usr/bin/opam-dev.exe /usr/bin/opam.exe")) 2024-11-11 19:25.56 ---> using "4b57a7007c87218b9b3ddcf81f74c22338c638c8bcdfdaa01c2afa888290f021" 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 eecf6d033c6c13a6bda9b445601ddcbaa09dd288")) 2024-11-11 19:25.56 ---> using "916fc88efba39c7529535e5586ef636983924e64382c926374941dfb70826c38" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) User configuration: Updating ~\.bash_profile. [NOTE] Make sure that ~\.bash_profile is well sourced in your ~/.bashrc. Added 9 lines after line 1 in ~\.bash_profile. 2024-11-11 19:25.56 ---> using "7dff50a164197daeb211f43cc31c3b4201b1bd2d0c774a26d6925a430147bec7" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "opam switch create --repositories=default 'default' 'ocaml-base-compiler.4.14.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed arch-x86_64.1 -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-mingw.1 -> retrieved flexdll.0.43 (cached) -> retrieved ocaml-config.3 (cached) -> installed flexdll.0.43 -> installed ocaml-options-vanilla.1 -> retrieved mingw-w64-shims.0.2.0 (cached) -> installed conf-mingw-w64-gcc-x86_64.1 -> installed ocaml-env-mingw64.1 -> installed system-mingw.1 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> installed mingw-w64-shims.0.2.0 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.3 -> installed ocaml.4.14.2 Done. # To update the current shell environment, run: eval $(opam env --switch=default) 2024-11-11 19:25.56 ---> using "ae60b92c2a5a4da67e8935d52ddeae392cd8745a47ba71ee33b6f19f5c2bd60f" from cache /: (run (network host) (shell "opam update --depexts")) 2024-11-11 19:25.56 ---> using "79f391d910b12f0453cbe8a949bb8e140683a166720331d05045e2d73e88ecc9" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "\ \nopam remove -y \"mesh-triangle.0.9.5\"\ \nopam install -vy \"mesh-triangle.0.9.5\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mesh-triangle.0.9.5\" | grep -q '\"windows-server-2022-amd64-ocaml-4.14.2\"'; 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")) Nothing to do. [NOTE] mesh-triangle.0.9.5 is not installed. The following actions will be performed: === install 7 packages - install base-bytes base [required by mesh-triangle] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.16.1 [required by mesh-triangle] - install dune-configurator 3.16.1 [required by mesh] - install mesh 0.9.5 [required by mesh-triangle] - install mesh-triangle 0.9.5 - install ocamlfind 1.9.5 [required by base-bytes] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/19: [csexp.1.5.2: extract] Processing 3/19: [csexp.1.5.2: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 4/19: [csexp.1.5.2: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: http] -> retrieved csexp.1.5.2 (cached) Processing 4/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: http] Processing 5/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: http] [ocamlfind.1.9.5: extract] -> retrieved ocamlfind.1.9.5 (cached) Processing 5/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: http] [ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch Processing 6/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: http] [ocamlfind: patch] Processing 6/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: extract] [ocamlfind: patch] Processing 6/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [mesh.0.9.5, mesh-triangle.0.9.5: extract] [ocamlfind: ./configure C:\Users\opam\AppData\Local\opam\default\bin] -> retrieved mesh.0.9.5, mesh-triangle.0.9.5 (https://github.com/Chris00/mesh/releases/download/0.9.5/mesh-0.9.5.tbz) Processing 6/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [ocamlfind: ./configure C:\Users\opam\AppData\Local\opam\default\bin] + C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5\./configure "-bindir" "C:\\Users\\opam\\AppData\\Local\\opam\\default\\bin" "-sitelib" "C:\\Users\\opam\\AppData\\Local\\opam\\default\\lib" "-mandir" "C:\\Users\\opam\\AppData\\Local\\opam\\default\\man" "-config" "C:\\Users\\opam\\AppData\\Local\\opam\\default\\lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5) - Welcome to findlib version 1.9.5 - Configuring core... - Cygwin build environment found; using .exe as suffix for binaries - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - dynlink: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - runtime_events: not present - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for threads written to site-lib-src/threads/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml - Binaries: /cygdrive/c/Users/opam/AppData/Local/opam/default/bin - Manual pages: /usr/local/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: C:\Users\opam\AppData\Local\opam\default\lib - The configuration file is written to: - findlib config file: C:\Users\opam\AppData\Local\opam\default\lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: C:\Users\opam\AppData\Local\opam\default\bin - Manual pages: C:\Users\opam\AppData\Local\opam\default\man - topfind script: /cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 6/19: [dune.3.16.1, dune-configurator.3.16.1: extract] [ocamlfind: make all] -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) Processing 6/19: [ocamlfind: make all] Processing 7/19: [dune: ocaml 31] [ocamlfind: make all] + C:\cygwin64\bin\make.exe "all" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; /usr/bin/make all ) || exit; done - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="1"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' 'C:\Users\opam\AppData\Local\opam\default\lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;mingw64;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -o ocamlfind.exe -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 256, characters 4-27: - 256 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 266, characters 4-27: - 266 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 278, characters 4-27: - 278 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 291, characters 4-27: - 291 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 305, characters 4-27: - 305 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 317, characters 4-27: - 317 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="1"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' 'C:\Users\opam\AppData\Local\opam\default\lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - /usr/bin/make all-config - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' - USE_CYGPATH="1"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' 'C:\Users\opam\AppData\Local\opam\default\lib' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' Processing 7/19: [dune: ocaml 31] [ocamlfind: make opt] + C:\cygwin64\bin\make.exe "opt" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; /usr/bin/make opt ) || exit; done - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt.exe findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c topfind.ml - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 256, characters 4-27: - 256 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 266, characters 4-27: - 266 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 278, characters 4-27: - 278 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 291, characters 4-27: - 291 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 305, characters 4-27: - 305 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 317, characters 4-27: - 317 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' -> compiled ocamlfind.1.9.5 Processing 7/19: [dune: ocaml 31] Processing 8/19: [dune: ocaml 31] [ocamlfind: make install] + C:\cygwin64\bin\make.exe "install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "C:\Users\opam\AppData\Local\opam\default\lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "/C:\Users\opam\AppData\Local\opam\default\lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi; \ - fi; \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - install -d "C:\Users\opam\AppData\Local\opam\default\bin" - install -d "C:\Users\opam\AppData\Local\opam\default\man" - /usr/bin/make install-config - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' - install -d "`dirname \"C:\Users\opam\AppData\Local\opam\default\lib/findlib.conf\"`" - test -f "C:\Users\opam\AppData\Local\opam\default\lib/findlib.conf" || install -c findlib.conf "C:\Users\opam\AppData\Local\opam\default\lib/findlib.conf" - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' - for p in findlib; do ( cd src/$p; /usr/bin/make install ); done - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "C:\Users\opam\AppData\Local\opam\default\lib/findlib" - install -d "C:\Users\opam\AppData\Local\opam\default\bin" - test 1 -eq 0 || install -d "/cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml" - test 1 -eq 0 || install -c topfind "/cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \ - fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \ - findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \ - META` && \ - install -c $files "C:\Users\opam\AppData\Local\opam\default\lib/findlib/" - f="ocamlfind.exe"; { test -f ocamlfind_opt.exe && f="ocamlfind_opt.exe"; }; \ - install -c $f "C:\Users\opam\AppData\Local\opam\default\bin/ocamlfind.exe" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/cygdrive/c/Users/opam/AppData/Local/opam/default/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "C:\Users\opam\AppData\Local\opam\default\lib/findlib/"; \ - fi - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - /usr/bin/make install-meta - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "C:\Users\opam\AppData\Local\opam\default\lib/$x"; install -c site-lib-src/$x/META "C:\Users\opam\AppData\Local\opam\default\lib/$x/META.tmp" && mv "C:\Users\opam\AppData\Local\opam\default\lib/$x/META.tmp" "C:\Users\opam\AppData\Local\opam\default\lib/$x/META"; done - install -d "C:\Users\opam\AppData\Local\opam\default\lib/findlib"; install -c Makefile.packages "C:\Users\opam\AppData\Local\opam\default\lib/findlib/Makefile.packages" - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; /usr/bin/make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "C:\Users\opam\AppData\Local\opam\default\bin" - /usr/bin/make install-doc - make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' - install -d "C:\Users\opam\AppData\Local\opam\default\man/man1" "C:\Users\opam\AppData\Local\opam\default\man/man3" "C:\Users\opam\AppData\Local\opam\default\man/man5" - install -c doc/ref-man/ocamlfind.1 "C:\Users\opam\AppData\Local\opam\default\man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "C:\Users\opam\AppData\Local\opam\default\man/man5" - make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/ocamlfind.1.9.5' [WARNING] .install file is missing .exe extension for src/findlib/ocamlfind [WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt [WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe [WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe [WARNING] C:\Users\opam\AppData\Local\opam\default\bin\safe_camlp4 is a script; the command won't be available -> installed ocamlfind.1.9.5 Processing 8/19: [dune: ocaml 31] Processing 9/19: [dune: ocaml 31] -> installed base-bytes.base Processing 10/19: [dune: ocaml 31] + C:\Users\opam\AppData\Local\opam\default\bin\ocaml.exe "boot/bootstrap.ml" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - .\.duneboot.exe -j 31 - Processing 10/19: [dune: ./_boot/dune.exe build] + C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 12/19: [csexp: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "csexp" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\csexp.1.5.2) -> compiled csexp.1.5.2 -> installed csexp.1.5.2 Processing 14/19: [dune-configurator: rm] + C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) + C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) Processing 14/19: [dune-configurator: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) -> compiled dune-configurator.3.16.1 -> installed dune-configurator.3.16.1 Processing 16/19: [mesh: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "mesh" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\mesh.0.9.5) -> compiled mesh.0.9.5 -> installed mesh.0.9.5 Processing 18/19: [mesh-triangle: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "mesh-triangle" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\mesh-triangle.0.9.5) - (cd _build/default/triangle && C:\Users\opam\AppData\Local\opam\default\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -DTRILIBRARY -DEXTERNAL_TEST -DANSI_DECLARATORS -O3 -march=native -fPIC -DPIC -g -I C:/Users/opam/AppData/Local/opam/default/lib/ocaml -I C:\Users\opam\AppData\Local\opam\default\lib\bytes -I C:\Users\opam\AppData\Local\opam\default\lib\mesh -o libtriangle_stubs.o -c libtriangle_stubs.c) - In file included from libtriangle_stubs.c:28: - triangle.c: In function 'printtriangle': - triangle.c:3678:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3678 | printf("triangle x%lx with orientation %d:\n", (unsigned long) t->tri, - | ^ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:3680:3: note: in expansion of macro 'decode' - 3680 | decode(t->tri[0], printtri); - | ^~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:3680:3: note: in expansion of macro 'decode' - 3680 | decode(t->tri[0], printtri); - | ^~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:3680:3: note: in expansion of macro 'decode' - 3680 | decode(t->tri[0], printtri); - | ^~~~~~ - triangle.c:3684:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3684 | printf(" [0] = x%lx %d\n", (unsigned long) printtri.tri, - | ^ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:3687:3: note: in expansion of macro 'decode' - 3687 | decode(t->tri[1], printtri); - | ^~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:3687:3: note: in expansion of macro 'decode' - 3687 | decode(t->tri[1], printtri); - | ^~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:3687:3: note: in expansion of macro 'decode' - 3687 | decode(t->tri[1], printtri); - | ^~~~~~ - triangle.c:3691:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3691 | printf(" [1] = x%lx %d\n", (unsigned long) printtri.tri, - | ^ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:3694:3: note: in expansion of macro 'decode' - 3694 | decode(t->tri[2], printtri); - | ^~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:3694:3: note: in expansion of macro 'decode' - 3694 | decode(t->tri[2], printtri); - | ^~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:3694:3: note: in expansion of macro 'decode' - 3694 | decode(t->tri[2], printtri); - | ^~~~~~ - triangle.c:3698:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3698 | printf(" [2] = x%lx %d\n", (unsigned long) printtri.tri, - | ^ - triangle.c:3707:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3707 | (t->orient + 1) % 3 + 3, (unsigned long) printvertex, - | ^ - triangle.c:3714:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3714 | (t->orient + 2) % 3 + 3, (unsigned long) printvertex, - | ^ - triangle.c:3721:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3721 | t->orient + 3, (unsigned long) printvertex, - | ^ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:3725:5: note: in expansion of macro 'sdecode' - 3725 | sdecode(t->tri[6], printsh); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:3725:5: note: in expansion of macro 'sdecode' - 3725 | sdecode(t->tri[6], printsh); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:3725:5: note: in expansion of macro 'sdecode' - 3725 | sdecode(t->tri[6], printsh); - | ^~~~~~~ - triangle.c:3727:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3727 | printf(" [6] = x%lx %d\n", (unsigned long) printsh.ss, - | ^ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:3730:5: note: in expansion of macro 'sdecode' - 3730 | sdecode(t->tri[7], printsh); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:3730:5: note: in expansion of macro 'sdecode' - 3730 | sdecode(t->tri[7], printsh); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:3730:5: note: in expansion of macro 'sdecode' - 3730 | sdecode(t->tri[7], printsh); - | ^~~~~~~ - triangle.c:3732:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3732 | printf(" [7] = x%lx %d\n", (unsigned long) printsh.ss, - | ^ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:3735:5: note: in expansion of macro 'sdecode' - 3735 | sdecode(t->tri[8], printsh); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:3735:5: note: in expansion of macro 'sdecode' - 3735 | sdecode(t->tri[8], printsh); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:3735:5: note: in expansion of macro 'sdecode' - 3735 | sdecode(t->tri[8], printsh); - | ^~~~~~~ - triangle.c:3737:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3737 | printf(" [8] = x%lx %d\n", (unsigned long) printsh.ss, - | ^ - triangle.c: In function 'printsubseg': - triangle.c:3773:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3773 | (unsigned long) s->ss, s->ssorient, mark(*s)); - | ^ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:3774:3: note: in expansion of macro 'sdecode' - 3774 | sdecode(s->ss[0], printsh); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:3774:3: note: in expansion of macro 'sdecode' - 3774 | sdecode(s->ss[0], printsh); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:3774:3: note: in expansion of macro 'sdecode' - 3774 | sdecode(s->ss[0], printsh); - | ^~~~~~~ - triangle.c:3778:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3778 | printf(" [0] = x%lx %d\n", (unsigned long) printsh.ss, - | ^ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:3781:3: note: in expansion of macro 'sdecode' - 3781 | sdecode(s->ss[1], printsh); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:3781:3: note: in expansion of macro 'sdecode' - 3781 | sdecode(s->ss[1], printsh); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:3781:3: note: in expansion of macro 'sdecode' - 3781 | sdecode(s->ss[1], printsh); - | ^~~~~~~ - triangle.c:3785:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3785 | printf(" [1] = x%lx %d\n", (unsigned long) printsh.ss, - | ^ - triangle.c:3794:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3794 | 2 + s->ssorient, (unsigned long) printvertex, - | ^ - triangle.c:3801:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3801 | 3 - s->ssorient, (unsigned long) printvertex, - | ^ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:3804:3: note: in expansion of macro 'decode' - 3804 | decode(s->ss[6], printtri); - | ^~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:3804:3: note: in expansion of macro 'decode' - 3804 | decode(s->ss[6], printtri); - | ^~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:3804:3: note: in expansion of macro 'decode' - 3804 | decode(s->ss[6], printtri); - | ^~~~~~ - triangle.c:3808:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3808 | printf(" [6] = x%lx %d\n", (unsigned long) printtri.tri, - | ^ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:3811:3: note: in expansion of macro 'decode' - 3811 | decode(s->ss[7], printtri); - | ^~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:3811:3: note: in expansion of macro 'decode' - 3811 | decode(s->ss[7], printtri); - | ^~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:3811:3: note: in expansion of macro 'decode' - 3811 | decode(s->ss[7], printtri); - | ^~~~~~ - triangle.c:3815:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3815 | printf(" [7] = x%lx %d\n", (unsigned long) printtri.tri, - | ^ - triangle.c:3824:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3824 | 4 + s->ssorient, (unsigned long) printvertex, - | ^ - triangle.c:3831:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3831 | 5 - s->ssorient, (unsigned long) printvertex, - | ^ - triangle.c: In function 'poolrestart': - triangle.c:3902:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 3902 | alignptr = (unsigned long) (pool->nowblock + 1); - | ^ - triangle.c:3904:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 3904 | pool->nextitem = (VOID *) - | ^ - triangle.c: In function 'poolalloc': - triangle.c:4036:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4036 | alignptr = (unsigned long) (pool->nowblock + 1); - | ^ - triangle.c:4038:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4038 | pool->nextitem = (VOID *) - | ^ - triangle.c: In function 'traversalinit': - triangle.c:4100:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4100 | alignptr = (unsigned long) (pool->pathblock + 1); - | ^ - triangle.c:4102:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4102 | pool->pathitem = (VOID *) - | ^ - triangle.c: In function 'traverse': - triangle.c:4144:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4144 | alignptr = (unsigned long) (pool->pathblock + 1); - | ^ - triangle.c:4146:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4146 | pool->pathitem = (VOID *) - | ^ - triangle.c: In function 'dummyinit': - triangle.c:4206:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4206 | alignptr = (unsigned long) m->dummytribase; - | ^ - triangle.c:4207:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4207 | m->dummytri = (triangle *) - | ^ - triangle.c:4229:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4229 | alignptr = (unsigned long) m->dummysubbase; - | ^ - triangle.c:4230:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4230 | m->dummysub = (subseg *) - | ^ - triangle.c: In function 'getvertex': - triangle.c:4587:13: warning: "getblock" is deprecated: use "caml_getblock" instead - 4587 | VOID **getblock; - | ^~~~~~ - triangle.c:4592:13: warning: "getblock" is deprecated: use "caml_getblock" instead - 4592 | getblock = m->vertices.firstblock; - | ^~~~~~~~~~~~~~~~~~~~~~~~ - triangle.c:4597:13: warning: "getblock" is deprecated: use "caml_getblock" instead - 4597 | getblock = (VOID **) *getblock; - | ^~~~~~~~~~~~~~~~~~~~~~~ - triangle.c:4597:13: warning: "getblock" is deprecated: use "caml_getblock" instead - triangle.c:4600:13: warning: "getblock" is deprecated: use "caml_getblock" instead - 4600 | getblock = (VOID **) *getblock; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - triangle.c:4600:13: warning: "getblock" is deprecated: use "caml_getblock" instead - triangle.c:4606:13: warning: "getblock" is deprecated: use "caml_getblock" instead - 4606 | alignptr = (unsigned long) (getblock + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangle.c:4606:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4606 | alignptr = (unsigned long) (getblock + 1); - | ^ - triangle.c:4607:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4607 | foundvertex = (char *) (alignptr + (unsigned long) m->vertices.alignbytes - - | ^ - triangle.c: In function 'checkmesh': - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6736:7: note: in expansion of macro 'sym' - 6736 | sym(triangleloop, oppotri); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6736:7: note: in expansion of macro 'sym' - 6736 | sym(triangleloop, oppotri); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6736:7: note: in expansion of macro 'sym' - 6736 | sym(triangleloop, oppotri); - | ^~~ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6739:9: note: in expansion of macro 'sym' - 6739 | sym(oppotri, oppooppotri); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6739:9: note: in expansion of macro 'sym' - 6739 | sym(oppotri, oppooppotri); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6739:9: note: in expansion of macro 'sym' - 6739 | sym(oppotri, oppooppotri); - | ^~~ - triangle.c: In function 'checkdelaunay': - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6829:7: note: in expansion of macro 'sym' - 6829 | sym(triangleloop, oppotri); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6829:7: note: in expansion of macro 'sym' - 6829 | sym(triangleloop, oppotri); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:6829:7: note: in expansion of macro 'sym' - 6829 | sym(triangleloop, oppotri); - | ^~~ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:6847:9: note: in expansion of macro 'tspivot' - 6847 | tspivot(triangleloop, opposubseg); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:6847:9: note: in expansion of macro 'tspivot' - 6847 | tspivot(triangleloop, opposubseg); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:6847:9: note: in expansion of macro 'tspivot' - 6847 | tspivot(triangleloop, opposubseg); - | ^~~~~~~ - triangle.c: In function 'enqueuebadtri': - triangle.c:950:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:7027:21: note: in expansion of macro 'encode' - 7027 | newbad->poortri = encode(*enqtri); - | ^~~~~~ - triangle.c:950:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:7027:21: note: in expansion of macro 'encode' - 7027 | newbad->poortri = encode(*enqtri); - | ^~~~~~ - triangle.c: In function 'checkseg4encroach': - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:1289:3: note: in expansion of macro 'decode' - 1289 | decode(ptr, otri) - | ^~~~~~ - triangle.c:7124:3: note: in expansion of macro 'stpivot' - 7124 | stpivot(*testsubseg, neighbortri); - | ^~~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:1289:3: note: in expansion of macro 'decode' - 1289 | decode(ptr, otri) - | ^~~~~~ - triangle.c:7124:3: note: in expansion of macro 'stpivot' - 7124 | stpivot(*testsubseg, neighbortri); - | ^~~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:1289:3: note: in expansion of macro 'decode' - 1289 | decode(ptr, otri) - | ^~~~~~ - triangle.c:7124:3: note: in expansion of macro 'stpivot' - 7124 | stpivot(*testsubseg, neighbortri); - | ^~~~~~~ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:1289:3: note: in expansion of macro 'decode' - 1289 | decode(ptr, otri) - | ^~~~~~ - triangle.c:7151:3: note: in expansion of macro 'stpivot' - 7151 | stpivot(testsym, neighbortri); - | ^~~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:1289:3: note: in expansion of macro 'decode' - 1289 | decode(ptr, otri) - | ^~~~~~ - triangle.c:7151:3: note: in expansion of macro 'stpivot' - 7151 | stpivot(testsym, neighbortri); - | ^~~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:1289:3: note: in expansion of macro 'decode' - 1289 | decode(ptr, otri) - | ^~~~~~ - triangle.c:7151:3: note: in expansion of macro 'stpivot' - 7151 | stpivot(testsym, neighbortri); - | ^~~~~~~ - triangle.c:1170:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:7184:34: note: in expansion of macro 'sencode' - 7184 | encroachedseg->encsubseg = sencode(*testsubseg); - | ^~~~~~~ - triangle.c:1170:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:7184:34: note: in expansion of macro 'sencode' - 7184 | encroachedseg->encsubseg = sencode(*testsubseg); - | ^~~~~~~ - triangle.c:1170:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:7188:34: note: in expansion of macro 'sencode' - 7188 | encroachedseg->encsubseg = sencode(testsym); - | ^~~~~~~ - triangle.c:1170:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:7188:34: note: in expansion of macro 'sencode' - 7188 | encroachedseg->encsubseg = sencode(testsym); - | ^~~~~~~ - triangle.c: In function 'testtriangle': - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7326:7: note: in expansion of macro 'tspivot' - 7326 | tspivot(tri1, testsub); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7326:7: note: in expansion of macro 'tspivot' - 7326 | tspivot(tri1, testsub); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7326:7: note: in expansion of macro 'tspivot' - 7326 | tspivot(tri1, testsub); - | ^~~~~~~ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:1007:3: note: in expansion of macro 'symself' - 1007 | symself(otri); \ - | ^~~~~~~ - triangle.c:7331:11: note: in expansion of macro 'oprevself' - 7331 | oprevself(tri1); - | ^~~~~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:1007:3: note: in expansion of macro 'symself' - 1007 | symself(otri); \ - | ^~~~~~~ - triangle.c:7331:11: note: in expansion of macro 'oprevself' - 7331 | oprevself(tri1); - | ^~~~~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:1007:3: note: in expansion of macro 'symself' - 1007 | symself(otri); \ - | ^~~~~~~ - triangle.c:7331:11: note: in expansion of macro 'oprevself' - 7331 | oprevself(tri1); - | ^~~~~~~~~ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7332:11: note: in expansion of macro 'tspivot' - 7332 | tspivot(tri1, testsub); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7332:11: note: in expansion of macro 'tspivot' - 7332 | tspivot(tri1, testsub); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7332:11: note: in expansion of macro 'tspivot' - 7332 | tspivot(tri1, testsub); - | ^~~~~~~ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:1019:3: note: in expansion of macro 'symself' - 1019 | symself(otri); \ - | ^~~~~~~ - triangle.c:7339:11: note: in expansion of macro 'dnextself' - 7339 | dnextself(tri2); - | ^~~~~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:1019:3: note: in expansion of macro 'symself' - 1019 | symself(otri); \ - | ^~~~~~~ - triangle.c:7339:11: note: in expansion of macro 'dnextself' - 7339 | dnextself(tri2); - | ^~~~~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:1019:3: note: in expansion of macro 'symself' - 1019 | symself(otri); \ - | ^~~~~~~ - triangle.c:7339:11: note: in expansion of macro 'dnextself' - 7339 | dnextself(tri2); - | ^~~~~~~~~ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7340:11: note: in expansion of macro 'tspivot' - 7340 | tspivot(tri2, testsub); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7340:11: note: in expansion of macro 'tspivot' - 7340 | tspivot(tri2, testsub); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7340:11: note: in expansion of macro 'tspivot' - 7340 | tspivot(tri2, testsub); - | ^~~~~~~ - triangle.c: In function 'makevertexmap': - triangle.c:950:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:1324:45: note: in definition of macro 'setvertex2tri' - 1324 | ((triangle *) (vx))[m->vertex2triindex] = value - | ^~~~~ - triangle.c:7419:29: note: in expansion of macro 'encode' - 7419 | setvertex2tri(triorg, encode(triangleloop)); - | ^~~~~~ - triangle.c:950:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:1324:45: note: in definition of macro 'setvertex2tri' - 1324 | ((triangle *) (vx))[m->vertex2triindex] = value - | ^~~~~ - triangle.c:7419:29: note: in expansion of macro 'encode' - 7419 | setvertex2tri(triorg, encode(triangleloop)); - | ^~~~~~ - triangle.c: In function 'preciselocate': - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7578:5: note: in expansion of macro 'sym' - 7578 | sym(backtracktri, *searchtri); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7578:5: note: in expansion of macro 'sym' - 7578 | sym(backtracktri, *searchtri); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7578:5: note: in expansion of macro 'sym' - 7578 | sym(backtracktri, *searchtri); - | ^~~ - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7582:7: note: in expansion of macro 'tspivot' - 7582 | tspivot(backtracktri, checkedge); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7582:7: note: in expansion of macro 'tspivot' - 7582 | tspivot(backtracktri, checkedge); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7582:7: note: in expansion of macro 'tspivot' - 7582 | tspivot(backtracktri, checkedge); - | ^~~~~~~ - triangle.c: In function 'locate': - triangle.c:7724:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 7724 | alignptr = (unsigned long) (sampleblock + 1); - | ^ - triangle.c:7725:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 7725 | firsttri = (char *) (alignptr + - | ^ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:7777:5: note: in expansion of macro 'symself' - 7777 | symself(*searchtri); - | ^~~~~~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:7777:5: note: in expansion of macro 'symself' - 7777 | symself(*searchtri); - | ^~~~~~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:966:3: note: in expansion of macro 'decode' - 966 | decode(ptr, otri); - | ^~~~~~ - triangle.c:7777:5: note: in expansion of macro 'symself' - 7777 | symself(*searchtri); - | ^~~~~~~ - triangle.c: In function 'insertsubseg': - triangle.c:1161:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1161 | (osub).ssorient = (int) ((unsigned long) (sptr) & (unsigned long) 1l); \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7835:3: note: in expansion of macro 'tspivot' - 7835 | tspivot(*tri, newsubseg); - | ^~~~~~~ - triangle.c:1163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1163 | ((unsigned long) (sptr) & ~ (unsigned long) 3l) - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7835:3: note: in expansion of macro 'tspivot' - 7835 | tspivot(*tri, newsubseg); - | ^~~~~~~ - triangle.c:1162:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1162 | (osub).ss = (subseg *) \ - | ^ - triangle.c:1282:3: note: in expansion of macro 'sdecode' - 1282 | sdecode(sptr, osub) - | ^~~~~~~ - triangle.c:7835:3: note: in expansion of macro 'tspivot' - 7835 | tspivot(*tri, newsubseg); - | ^~~~~~~ - triangle.c:1170:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:1294:46: note: in expansion of macro 'sencode' - 1294 | (otri).tri[6 + (otri).orient] = (triangle) sencode(osub); \ - | ^~~~~~~ - triangle.c:7847:5: note: in expansion of macro 'tsbond' - 7847 | tsbond(*tri, newsubseg); - | ^~~~~~ - triangle.c:1170:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:1294:46: note: in expansion of macro 'sencode' - 1294 | (otri).tri[6 + (otri).orient] = (triangle) sencode(osub); \ - | ^~~~~~~ - triangle.c:7847:5: note: in expansion of macro 'tsbond' - 7847 | tsbond(*tri, newsubseg); - | ^~~~~~ - triangle.c:950:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:1295:45: note: in expansion of macro 'encode' - 1295 | (osub).ss[6 + (osub).ssorient] = (subseg) encode(otri) - | ^~~~~~ - triangle.c:7847:5: note: in expansion of macro 'tsbond' - 7847 | tsbond(*tri, newsubseg); - | ^~~~~~ - triangle.c:950:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:1295:45: note: in expansion of macro 'encode' - 1295 | (osub).ss[6 + (osub).ssorient] = (subseg) encode(otri) - | ^~~~~~ - triangle.c:7847:5: note: in expansion of macro 'tsbond' - 7847 | tsbond(*tri, newsubseg); - | ^~~~~~ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7848:5: note: in expansion of macro 'sym' - 7848 | sym(*tri, oppotri); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7848:5: note: in expansion of macro 'sym' - 7848 | sym(*tri, oppotri); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7848:5: note: in expansion of macro 'sym' - 7848 | sym(*tri, oppotri); - | ^~~ - triangle.c:1170:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:1294:46: note: in expansion of macro 'sencode' - 1294 | (otri).tri[6 + (otri).orient] = (triangle) sencode(osub); \ - | ^~~~~~~ - triangle.c:7850:5: note: in expansion of macro 'tsbond' - 7850 | tsbond(oppotri, newsubseg); - | ^~~~~~ - triangle.c:1170:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1170 | (subseg) ((unsigned long) (osub).ss | (unsigned long) (osub).ssorient) - | ^ - triangle.c:1294:46: note: in expansion of macro 'sencode' - 1294 | (otri).tri[6 + (otri).orient] = (triangle) sencode(osub); \ - | ^~~~~~~ - triangle.c:7850:5: note: in expansion of macro 'tsbond' - 7850 | tsbond(oppotri, newsubseg); - | ^~~~~~ - triangle.c:950:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:1295:45: note: in expansion of macro 'encode' - 1295 | (osub).ss[6 + (osub).ssorient] = (subseg) encode(otri) - | ^~~~~~ - triangle.c:7850:5: note: in expansion of macro 'tsbond' - 7850 | tsbond(oppotri, newsubseg); - | ^~~~~~ - triangle.c:950:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 950 | (triangle) ((unsigned long) (otri).tri | (unsigned long) (otri).orient) - | ^ - triangle.c:1295:45: note: in expansion of macro 'encode' - 1295 | (osub).ss[6 + (osub).ssorient] = (subseg) encode(otri) - | ^~~~~~ - triangle.c:7850:5: note: in expansion of macro 'tsbond' - 7850 | tsbond(oppotri, newsubseg); - | ^~~~~~ - triangle.c: In function 'flip': - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7937:3: note: in expansion of macro 'sym' - 7937 | sym(*flipedge, top); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7937:3: note: in expansion of macro 'sym' - 7937 | sym(*flipedge, top); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7937:3: note: in expansion of macro 'sym' - 7937 | sym(*flipedge, top); - | ^~~ - triangle.c:941:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 941 | (otri).orient = (int) ((unsigned long) (ptr) & (unsigned long) 3l); \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7957:3: note: in expansion of macro 'sym' - 7957 | sym(topleft, toplcasing); - | ^~~ - triangle.c:943:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 943 | ((unsigned long) (ptr) ^ (unsigned long) (otri).orient) - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - 962 | decode(ptr, otri2); - | ^~~~~~ - triangle.c:7957:3: note: in expansion of macro 'sym' - 7957 | sym(topleft, toplcasing); - | ^~~ - triangle.c:942:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 942 | (otri).tri = (triangle *) \ - | ^ - triangle.c:962:3: note: in expansion of macro 'decode' - ...TRUNCATED BY DUNE... - triangulate_stub.c:161:13: warning: "BIGARRAY_FORTRAN_LAYOUT" is deprecated: use "CAML_BA_FORTRAN_LAYOUT" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:37: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:161:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "BIGARRAY_FORTRAN_LAYOUT" is deprecated: use "CAML_BA_FORTRAN_LAYOUT" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:165:41: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 165 | 2, vor.normlist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - In file included from libtriangle_stubs.c:121: - triangulate_stub.c: In function 'triangulate_c_layout': - triangulate_stub.c:15:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 15 | ba = BA_METHOD(mesh_in, meth_point); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:15:13: warning: "callback" is deprecated: use "caml_callback" instead - 15 | ba = BA_METHOD(mesh_in, meth_point); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:18:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 18 | ba = BA_METHOD(mesh_in, meth_point_attribute); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:18:13: warning: "callback" is deprecated: use "caml_callback" instead - 18 | ba = BA_METHOD(mesh_in, meth_point_attribute); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:21:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 21 | ba = BA_METHOD(mesh_in, meth_point_marker); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:21:13: warning: "callback" is deprecated: use "caml_callback" instead - 21 | ba = BA_METHOD(mesh_in, meth_point_marker); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:28:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 28 | ba = BA_METHOD(mesh_in, meth_triangle); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:28:13: warning: "callback" is deprecated: use "caml_callback" instead - 28 | ba = BA_METHOD(mesh_in, meth_triangle); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:39:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 39 | ba = BA_METHOD(mesh_in, meth_triangle_attribute); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:39:13: warning: "callback" is deprecated: use "caml_callback" instead - 39 | ba = BA_METHOD(mesh_in, meth_triangle_attribute); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:42:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 42 | in.trianglearealist = VEC_OF_BA(Bigarray_val(triangle_area)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:46:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 46 | ba = BA_METHOD(mesh_in, mesh_segment); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:46:13: warning: "callback" is deprecated: use "caml_callback" instead - 46 | ba = BA_METHOD(mesh_in, mesh_segment); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:49:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 49 | ba = BA_METHOD(mesh_in, meth_segment_marker); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:49:13: warning: "callback" is deprecated: use "caml_callback" instead - 49 | ba = BA_METHOD(mesh_in, meth_segment_marker); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:56:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 56 | ba = BA_METHOD(mesh_in, meth_hole); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:56:13: warning: "callback" is deprecated: use "caml_callback" instead - 56 | ba = BA_METHOD(mesh_in, meth_hole); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:59:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead - 59 | ba = BA_METHOD(mesh_in, meth_region); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:59:13: warning: "callback" is deprecated: use "caml_callback" instead - 59 | ba = BA_METHOD(mesh_in, meth_region); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'triangulate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 290 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:86:15: note: in expansion of macro 'String_val' - 86 | triangulate(String_val(switches), &in, &out, &vor); - | ^~~~~~~~~~ - triangle.c:15669:24: note: expected 'char *' but argument is of type 'const char *' - 15669 | void triangulate(char *triswitches, struct triangulateio *in, - | ~~~~~~^~~~~~~~~~~ - triangulate_stub.c:95:13: warning: "alloc" is deprecated: use "caml_alloc" instead - 95 | tuple = alloc(14, 0); - | ^~~~~~~~~~~ - triangulate_stub.c:101:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 101 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:101:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 101 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:101:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - 101 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:101:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 101 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:102:42: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 102 | 2, out.pointlist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:106:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 106 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:106:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 106 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:106:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - 106 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:106:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 106 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:107:51: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 107 | 2, out.pointattributelist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:111:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:111:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:111:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:111:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:111:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:111:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:111:44: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:111:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:111:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:111:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:111:44: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:111:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 111 | COPY_BA_INT(vba, 1, out.pointmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:116:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:116:41: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:116:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:116:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:116:41: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:116:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 116 | COPY_BA_INT(vba, 2, out.trianglelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:120:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 120 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:120:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 120 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:120:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - 120 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:120:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 120 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:121:54: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 121 | 2, out.triangleattributelist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:125:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:125:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:125:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:125:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:125:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:125:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:125:41: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:125:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:125:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:125:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:125:41: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:125:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 125 | COPY_BA_INT(vba, 2, out.neighborlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:130:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:130:40: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:130:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:130:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:130:40: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:130:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 130 | COPY_BA_INT(vba, 2, out.segmentlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:134:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:134:46: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:134:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:134:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:134:46: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:134:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 134 | COPY_BA_INT(vba, 1, out.segmentmarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:139:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:139:37: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:139:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:139:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:139:37: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:139:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 139 | COPY_BA_INT(vba, 2, out.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:143:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:143:43: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:143:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:143:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:143:43: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:143:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 143 | COPY_BA_INT(vba, 1, out.edgemarkerlist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:150:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 150 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:150:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 150 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:150:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - 150 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:150:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 150 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:151:42: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 151 | 2, vor.pointlist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:155:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 155 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:155:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 155 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:155:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - 155 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:155:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 155 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:156:51: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 156 | 2, vor.pointattributelist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:161:13: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:161:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:161:37: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:92:71: note: in definition of macro 'COPY_BA_INT' - 92 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:161:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:161:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - triangulate_stub.c:161:37: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~ - | | - | long int * - libtriangle_stubs.c:98:69: note: in definition of macro 'COPY_BA_INT' - 98 | vba = alloc_bigarray(BIGARRAY_CAML_INT | LAYOUT, numdims, NULL, dims); \ - | ^~~~ - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - triangulate_stub.c:161:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead - 161 | COPY_BA_INT(vba, 2, vor.edgelist, dims); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:164:13: warning: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead - 164 | vba = alloc_bigarray(PREC | LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - triangulate_stub.c:165:41: warning: passing argument 4 of 'caml_ba_alloc' from incompatible pointer type [-Wincompatible-pointer-types] - 165 | 2, vor.normlist, dims); - | ^~~~ - | | - | long int * - C:/Users/opam/AppData/Local/opam/default/lib/ocaml/caml/bigarray.h:113:66: note: expected 'intnat *' {aka 'long long int *'} but argument is of type 'long int *' - 113 | caml_ba_alloc(int flags, int num_dims, void * data, intnat * dim); - | ~~~~~~~~~^~~ - libtriangle_stubs.c: In function 'triunsuitable': - libtriangle_stubs.c:133:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 133 | closure = caml_named_value("triunsuitable_callback"); - | ^ - libtriangle_stubs.c:143:13: warning: "callbackN" is deprecated: use "caml_callbackN" instead - 143 | CAMLreturn(Bool_val(callbackN(*closure, NARGS_TRIUNSUITABLE, args))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -> compiled mesh-triangle.0.9.5 -> installed mesh-triangle.0.9.5 Done. # To update the current shell environment, run: eval $(opam env) 2024-11-11 19:27.34 ---> saved as "d757d9d518780dd6280cef896eeebc4c191b0d08d7ca9d64657503f2d641b736" Job succeeded