Building on x86-bm-3.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1) Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam 88273bdcc4bc: Pulling fs layer 88273bdcc4bc: Download complete 88273bdcc4bc: Pull complete Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1 Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1 2022-10-12 13:00.05 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2022-10-12 13:00.05 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" 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 b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f")) 2022-10-12 13:00.05 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2022-10-12 13:00.05 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.02' '4.02.3'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.02.3"} | "ocaml-system" {= "4.02.3"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.02.3 (https://github.com/ocaml/ocaml/archive/4.02.3.tar.gz) -> installed ocaml-base-compiler.4.02.3 -> installed ocaml-config.1 -> installed ocaml.4.02.3 -> installed base-ocamlbuild.base Done. # Run eval $(opam env --switch=4.02) to update the current shell environment 2022-10-12 13:00.05 ---> using "fee83f067c5d854666864e2801d5f55151d002de84713a553f9a5c9aaa777e2c" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB] - Fetched 341 kB in 4s (90.5 kB/s) - Reading package lists... - 2022-10-12 13:00.05 ---> using "e0440d0fedf5fb4137a678467acb283641ddf2a4f6b6286bcf6b39e94b3796be" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: === install 1 package - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (https://github.com/ocaml/ocaml/archive/4.08.1.tar.gz) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2022-10-12 13:00.05 ---> using "b021fb9a62951784e430dafafd9820df1e7311f97a76923b87ab086348253e85" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"glMLite.0.03.51\"\ \nopam install -vy \"glMLite.0.03.51\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"glMLite.0.03.51\" | grep -q '\"debian-unstable\"'; 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] glMLite.0.03.51 is not installed. The following actions will be performed: === install 4 packages - install conf-libjpeg 1 [required by glMLite] - install conf-pkg-config 2 [required by conf-libjpeg] - install glMLite 0.03.51 - install ocamlfind 1.9.5 [required by glMLite] The following system packages will first need to be installed: freeglut3-dev libjpeg-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "freeglut3-dev" "libjpeg-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libglvnd0:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19690 files and directories currently installed.) - Preparing to unpack .../00-libglvnd0_1.5.0-1_amd64.deb ... - Unpacking libglvnd0:amd64 (1.5.0-1) ... - Selecting previously unselected package libdrm-common. - Preparing to unpack .../01-libdrm-common_2.4.113-2_all.deb ... - Unpacking libdrm-common (2.4.113-2) ... - Selecting previously unselected package libdrm2:amd64. - Preparing to unpack .../02-libdrm2_2.4.113-2_amd64.deb ... - Unpacking libdrm2:amd64 (2.4.113-2) ... - Selecting previously unselected package libglapi-mesa:amd64. - Preparing to unpack .../03-libglapi-mesa_22.2.0-1_amd64.deb ... - Unpacking libglapi-mesa:amd64 (22.2.0-1) ... - Selecting previously unselected package libx11-xcb1:amd64. - Preparing to unpack .../04-libx11-xcb1_2%3a1.8.1-2_amd64.deb ... - Unpacking libx11-xcb1:amd64 (2:1.8.1-2) ... - Selecting previously unselected package libxcb-dri2-0:amd64. - Preparing to unpack .../05-libxcb-dri2-0_1.15-1_amd64.deb ... - Unpacking libxcb-dri2-0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-dri3-0:amd64. - Preparing to unpack .../06-libxcb-dri3-0_1.15-1_amd64.deb ... - Unpacking libxcb-dri3-0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-glx0:amd64. - Preparing to unpack .../07-libxcb-glx0_1.15-1_amd64.deb ... - Unpacking libxcb-glx0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-present0:amd64. - Preparing to unpack .../08-libxcb-present0_1.15-1_amd64.deb ... - Unpacking libxcb-present0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-shm0:amd64. - Preparing to unpack .../09-libxcb-shm0_1.15-1_amd64.deb ... - Unpacking libxcb-shm0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-sync1:amd64. - Preparing to unpack .../10-libxcb-sync1_1.15-1_amd64.deb ... - Unpacking libxcb-sync1:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-xfixes0:amd64. - Preparing to unpack .../11-libxcb-xfixes0_1.15-1_amd64.deb ... - Unpacking libxcb-xfixes0:amd64 (1.15-1) ... - Selecting previously unselected package libxfixes3:amd64. - Preparing to unpack .../12-libxfixes3_1%3a6.0.0-2_amd64.deb ... - Unpacking libxfixes3:amd64 (1:6.0.0-2) ... - Selecting previously unselected package libxshmfence1:amd64. - Preparing to unpack .../13-libxshmfence1_1.3-1_amd64.deb ... - Unpacking libxshmfence1:amd64 (1.3-1) ... - Selecting previously unselected package libxxf86vm1:amd64. - Preparing to unpack .../14-libxxf86vm1_1%3a1.1.4-1+b2_amd64.deb ... - Unpacking libxxf86vm1:amd64 (1:1.1.4-1+b2) ... - Selecting previously unselected package libdrm-amdgpu1:amd64. - Preparing to unpack .../15-libdrm-amdgpu1_2.4.113-2_amd64.deb ... - Unpacking libdrm-amdgpu1:amd64 (2.4.113-2) ... - Selecting previously unselected package libdrm-nouveau2:amd64. - Preparing to unpack .../16-libdrm-nouveau2_2.4.113-2_amd64.deb ... - Unpacking libdrm-nouveau2:amd64 (2.4.113-2) ... - Selecting previously unselected package libdrm-radeon1:amd64. - Preparing to unpack .../17-libdrm-radeon1_2.4.113-2_amd64.deb ... - Unpacking libdrm-radeon1:amd64 (2.4.113-2) ... - Selecting previously unselected package libelf1:amd64. - Preparing to unpack .../18-libelf1_0.187-4_amd64.deb ... - Unpacking libelf1:amd64 (0.187-4) ... - Selecting previously unselected package libicu71:amd64. - Preparing to unpack .../19-libicu71_71.1-3_amd64.deb ... - Unpacking libicu71:amd64 (71.1-3) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../20-libxml2_2.9.14+dfsg-1+b1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1+b1) ... - Selecting previously unselected package libz3-4:amd64. - Preparing to unpack .../21-libz3-4_4.8.12-1+b2_amd64.deb ... - Unpacking libz3-4:amd64 (4.8.12-1+b2) ... - Selecting previously unselected package libllvm14:amd64. - Preparing to unpack .../22-libllvm14_1%3a14.0.6-5_amd64.deb ... - Unpacking libllvm14:amd64 (1:14.0.6-5) ... - Selecting previously unselected package libsensors-config. - Preparing to unpack .../23-libsensors-config_1%3a3.6.0-7_all.deb ... - Unpacking libsensors-config (1:3.6.0-7) ... - Selecting previously unselected package libsensors5:amd64. - Preparing to unpack .../24-libsensors5_1%3a3.6.0-7_amd64.deb ... - grep: warning: stray \ before / - grep: warning: stray \ before / - grep: warning: stray \ before / - grep: warning: stray \ before / - Unpacking libsensors5:amd64 (1:3.6.0-7) ... - Selecting previously unselected package libgl1-mesa-dri:amd64. - Preparing to unpack .../25-libgl1-mesa-dri_22.2.0-1_amd64.deb ... - Unpacking libgl1-mesa-dri:amd64 (22.2.0-1) ... - Selecting previously unselected package libglx-mesa0:amd64. - Preparing to unpack .../26-libglx-mesa0_22.2.0-1_amd64.deb ... - Unpacking libglx-mesa0:amd64 (22.2.0-1) ... - Selecting previously unselected package libglx0:amd64. - Preparing to unpack .../27-libglx0_1.5.0-1_amd64.deb ... - Unpacking libglx0:amd64 (1.5.0-1) ... - Selecting previously unselected package libgl1:amd64. - Preparing to unpack .../28-libgl1_1.5.0-1_amd64.deb ... - Unpacking libgl1:amd64 (1.5.0-1) ... - Selecting previously unselected package libxi6:amd64. - Preparing to unpack .../29-libxi6_2%3a1.8-1+b1_amd64.deb ... - Unpacking libxi6:amd64 (2:1.8-1+b1) ... - Selecting previously unselected package freeglut3:amd64. - Preparing to unpack .../30-freeglut3_2.8.1-6_amd64.deb ... - Unpacking freeglut3:amd64 (2.8.1-6) ... - Selecting previously unselected package libglx-dev:amd64. - Preparing to unpack .../31-libglx-dev_1.5.0-1_amd64.deb ... - Unpacking libglx-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libgl-dev:amd64. - Preparing to unpack .../32-libgl-dev_1.5.0-1_amd64.deb ... - Unpacking libgl-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libglvnd-core-dev:amd64. - Preparing to unpack .../33-libglvnd-core-dev_1.5.0-1_amd64.deb ... - Unpacking libglvnd-core-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libwayland-server0:amd64. - Preparing to unpack .../34-libwayland-server0_1.21.0-1_amd64.deb ... - Unpacking libwayland-server0:amd64 (1.21.0-1) ... - Selecting previously unselected package libgbm1:amd64. - Preparing to unpack .../35-libgbm1_22.2.0-1_amd64.deb ... - Unpacking libgbm1:amd64 (22.2.0-1) ... - Selecting previously unselected package libwayland-client0:amd64. - Preparing to unpack .../36-libwayland-client0_1.21.0-1_amd64.deb ... - Unpacking libwayland-client0:amd64 (1.21.0-1) ... - Selecting previously unselected package libegl-mesa0:amd64. - Preparing to unpack .../37-libegl-mesa0_22.2.0-1_amd64.deb ... - Unpacking libegl-mesa0:amd64 (22.2.0-1) ... - Selecting previously unselected package libegl1:amd64. - Preparing to unpack .../38-libegl1_1.5.0-1_amd64.deb ... - Unpacking libegl1:amd64 (1.5.0-1) ... - Selecting previously unselected package libegl-dev:amd64. - Preparing to unpack .../39-libegl-dev_1.5.0-1_amd64.deb ... - Unpacking libegl-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libgles1:amd64. - Preparing to unpack .../40-libgles1_1.5.0-1_amd64.deb ... - Unpacking libgles1:amd64 (1.5.0-1) ... - Selecting previously unselected package libgles2:amd64. - Preparing to unpack .../41-libgles2_1.5.0-1_amd64.deb ... - Unpacking libgles2:amd64 (1.5.0-1) ... - Selecting previously unselected package libgles-dev:amd64. - Preparing to unpack .../42-libgles-dev_1.5.0-1_amd64.deb ... - Unpacking libgles-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libopengl0:amd64. - Preparing to unpack .../43-libopengl0_1.5.0-1_amd64.deb ... - Unpacking libopengl0:amd64 (1.5.0-1) ... - Selecting previously unselected package libopengl-dev:amd64. - Preparing to unpack .../44-libopengl-dev_1.5.0-1_amd64.deb ... - Unpacking libopengl-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libglvnd-dev:amd64. - Preparing to unpack .../45-libglvnd-dev_1.5.0-1_amd64.deb ... - Unpacking libglvnd-dev:amd64 (1.5.0-1) ... - Selecting previously unselected package libgl1-mesa-dev:amd64. - Preparing to unpack .../46-libgl1-mesa-dev_22.2.0-1_amd64.deb ... - Unpacking libgl1-mesa-dev:amd64 (22.2.0-1) ... - Selecting previously unselected package libglu1-mesa:amd64. - Preparing to unpack .../47-libglu1-mesa_9.0.2-1_amd64.deb ... - Unpacking libglu1-mesa:amd64 (9.0.2-1) ... - Selecting previously unselected package libglu1-mesa-dev:amd64. - Preparing to unpack .../48-libglu1-mesa-dev_9.0.2-1_amd64.deb ... - Unpacking libglu1-mesa-dev:amd64 (9.0.2-1) ... - Selecting previously unselected package libxext-dev:amd64. - Preparing to unpack .../49-libxext-dev_2%3a1.3.4-1+b1_amd64.deb ... - Unpacking libxext-dev:amd64 (2:1.3.4-1+b1) ... - Selecting previously unselected package x11-common. - Preparing to unpack .../50-x11-common_1%3a7.7+23_all.deb ... - Unpacking x11-common (1:7.7+23) ... - Selecting previously unselected package libice6:amd64. - Preparing to unpack .../51-libice6_2%3a1.0.10-1_amd64.deb ... - Unpacking libice6:amd64 (2:1.0.10-1) ... - Selecting previously unselected package libsm6:amd64. - Preparing to unpack .../52-libsm6_2%3a1.2.3-1_amd64.deb ... - Unpacking libsm6:amd64 (2:1.2.3-1) ... - Selecting previously unselected package libxt6:amd64. - Preparing to unpack .../53-libxt6_1%3a1.2.1-1_amd64.deb ... - Unpacking libxt6:amd64 (1:1.2.1-1) ... - Selecting previously unselected package libice-dev:amd64. - Preparing to unpack .../54-libice-dev_2%3a1.0.10-1_amd64.deb ... - Unpacking libice-dev:amd64 (2:1.0.10-1) ... - Selecting previously unselected package libsm-dev:amd64. - Preparing to unpack .../55-libsm-dev_2%3a1.2.3-1_amd64.deb ... - Unpacking libsm-dev:amd64 (2:1.2.3-1) ... - Selecting previously unselected package libxt-dev:amd64. - Preparing to unpack .../56-libxt-dev_1%3a1.2.1-1_amd64.deb ... - Unpacking libxt-dev:amd64 (1:1.2.1-1) ... - Selecting previously unselected package freeglut3-dev:amd64. - Preparing to unpack .../57-freeglut3-dev_2.8.1-6_amd64.deb ... - Unpacking freeglut3-dev:amd64 (2.8.1-6) ... - Selecting previously unselected package libglib2.0-0:amd64. - Preparing to unpack .../58-libglib2.0-0_2.74.0-2_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.74.0-2) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../59-libglib2.0-data_2.74.0-2_all.deb ... - Unpacking libglib2.0-data (2.74.0-2) ... - Selecting previously unselected package libjpeg62-turbo-dev:amd64. - Preparing to unpack .../60-libjpeg62-turbo-dev_1%3a2.1.2-1+b1_amd64.deb ... - Unpacking libjpeg62-turbo-dev:amd64 (1:2.1.2-1+b1) ... - Selecting previously unselected package libjpeg-dev:amd64. - Preparing to unpack .../61-libjpeg-dev_1%3a2.1.2-1+b1_amd64.deb ... - Unpacking libjpeg-dev:amd64 (1:2.1.2-1+b1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../62-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../63-shared-mime-info_2.2-1_amd64.deb ... - Unpacking shared-mime-info (2.2-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../64-xdg-user-dirs_0.18-1_amd64.deb ... - Unpacking xdg-user-dirs (0.18-1) ... - Setting up libxcb-dri3-0:amd64 (1.15-1) ... - Setting up libicu71:amd64 (71.1-3) ... - Setting up libwayland-server0:amd64 (1.21.0-1) ... - Setting up libx11-xcb1:amd64 (2:1.8.1-2) ... - Setting up libxcb-xfixes0:amd64 (1.15-1) ... - Setting up libglvnd-core-dev:amd64 (1.5.0-1) ... - Setting up libxi6:amd64 (2:1.8-1+b1) ... - Setting up xdg-user-dirs (0.18-1) ... - Setting up libglib2.0-0:amd64 (2.74.0-2) ... - No schema files found: doing nothing. - Setting up libglvnd0:amd64 (1.5.0-1) ... - Setting up libxcb-glx0:amd64 (1.15-1) ... - Setting up x11-common (1:7.7+23) ... - invoke-rc.d: could not determine current runlevel - invoke-rc.d: policy-rc.d denied execution of restart. - Setting up libsensors-config (1:3.6.0-7) ... - Setting up libxcb-shm0:amd64 (1.15-1) ... - Setting up libopengl0:amd64 (1.5.0-1) ... - Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ... - Setting up libxcb-present0:amd64 (1.15-1) ... - Setting up libz3-4:amd64 (4.8.12-1+b2) ... - Setting up libglib2.0-data (2.74.0-2) ... - Setting up libgles2:amd64 (1.5.0-1) ... - Setting up libjpeg62-turbo-dev:amd64 (1:2.1.2-1+b1) ... - Setting up libxfixes3:amd64 (1:6.0.0-2) ... - Setting up libxcb-sync1:amd64 (1.15-1) ... - Setting up libgles1:amd64 (1.5.0-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libsensors5:amd64 (1:3.6.0-7) ... - Setting up libglapi-mesa:amd64 (22.2.0-1) ... - Setting up libxext-dev:amd64 (2:1.3.4-1+b1) ... - Setting up libxcb-dri2-0:amd64 (1.15-1) ... - Setting up libxshmfence1:amd64 (1.3-1) ... - Setting up libglu1-mesa:amd64 (9.0.2-1) ... - Setting up libopengl-dev:amd64 (1.5.0-1) ... - Setting up libdrm-common (2.4.113-2) ... - Setting up libelf1:amd64 (0.187-4) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1+b1) ... - Setting up libwayland-client0:amd64 (1.21.0-1) ... - Setting up libice6:amd64 (2:1.0.10-1) ... - Setting up libice-dev:amd64 (2:1.0.10-1) ... - Setting up libjpeg-dev:amd64 (1:2.1.2-1+b1) ... - Setting up shared-mime-info (2.2-1) ... - Setting up libllvm14:amd64 (1:14.0.6-5) ... - Setting up libdrm2:amd64 (2.4.113-2) ... - Setting up libsm6:amd64 (2:1.2.3-1) ... - Setting up libdrm-amdgpu1:amd64 (2.4.113-2) ... - Setting up libdrm-nouveau2:amd64 (2.4.113-2) ... - Setting up libgbm1:amd64 (22.2.0-1) ... - Setting up libsm-dev:amd64 (2:1.2.3-1) ... - Setting up libdrm-radeon1:amd64 (2.4.113-2) ... - Setting up libgl1-mesa-dri:amd64 (22.2.0-1) ... - Setting up libegl-mesa0:amd64 (22.2.0-1) ... - Setting up libxt6:amd64 (1:1.2.1-1) ... - Setting up libegl1:amd64 (1.5.0-1) ... - Setting up libglx-mesa0:amd64 (22.2.0-1) ... - Setting up libglx0:amd64 (1.5.0-1) ... - Setting up libgl1:amd64 (1.5.0-1) ... - Setting up libxt-dev:amd64 (1:1.2.1-1) ... - Setting up libglx-dev:amd64 (1.5.0-1) ... - Setting up libgl-dev:amd64 (1.5.0-1) ... - Setting up freeglut3:amd64 (2.8.1-6) ... - Setting up libegl-dev:amd64 (1.5.0-1) ... - Setting up libglu1-mesa-dev:amd64 (9.0.2-1) ... - Setting up libgles-dev:amd64 (1.5.0-1) ... - Setting up libglvnd-dev:amd64 (1.5.0-1) ... - Setting up libgl1-mesa-dev:amd64 (22.2.0-1) ... - Setting up freeglut3-dev:amd64 (2.8.1-6) ... - Processing triggers for libc-bin (2.35-3) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/12: [glMLite.0.03.51: http] Processing 4/12: [glMLite.0.03.51: http] Processing 5/12: [glMLite.0.03.51: http] [conf-pkg-config: pkg-config] -> retrieved ocamlfind.1.9.5 (cached) [ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch Processing 6/12: [glMLite.0.03.51: http] [conf-pkg-config: pkg-config] [ocamlfind: patch] Processing 6/12: [conf-pkg-config: pkg-config] [ocamlfind: patch] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.02/.opam-switch/build/conf-pkg-config.2) - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - -> compiled conf-pkg-config.2 Processing 6/12: [ocamlfind: patch] Processing 7/12: [ocamlfind: patch] [conf-pkg-config: mkdir] Processing 7/12: [ocamlfind: ./configure] [conf-pkg-config: mkdir] -> retrieved glMLite.0.03.51 (http://decapode314.free.fr/ocaml/GL/download/glMLite-0.03.51.tgz) + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.02/lib/pkgconfig" (CWD=/home/opam/.opam/4.02/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 7/12: [ocamlfind: ./configure] Processing 8/12: [conf-libjpeg: pkg-config libjpeg] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "libjpeg" (CWD=/home/opam/.opam/4.02/.opam-switch/build/conf-libjpeg.1) -> compiled conf-libjpeg.1 Processing 8/12: [ocamlfind: ./configure] -> installed conf-libjpeg.1 Processing 9/12: [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.02/bin" "-sitelib" "/home/opam/.opam/4.02/lib" "-mandir" "/home/opam/.opam/4.02/man" "-config" "/home/opam/.opam/4.02/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - Welcome to findlib version 1.9.5 - Configuring core... - 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: found - num: found - ocamlbuild: found (in +ocamlbuild) - 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 graphics written to site-lib-src/graphics/META - Configuration for num written to site-lib-src/num/META - Configuration for num-top written to site-lib-src/num-top/META - Configuration for ocamlbuild written to site-lib-src/ocamlbuild/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: /home/opam/.opam/4.02/lib/ocaml - Binaries: /home/opam/.opam/4.02/bin - Manual pages: /home/opam/.opam/4.02/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.02/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.02/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.02/bin - Manual pages: /home/opam/.opam/4.02/man - topfind script: /home/opam/.opam/4.02/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 9/12: [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.02/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.02/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;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 -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_package_base.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -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 -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c frontend.ml - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.02/lib' \ - >topfind - ocamlc -I +compiler-libs -I +unix -I +dynlink -c num_top_printers.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c num_top_printers.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c num_top.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c num_top.ml - ocamlc -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -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 '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.02/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 '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' Processing 9/12: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -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 -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c frontend.ml - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c topfind.ml - 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 -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 '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' -> compiled ocamlfind.1.9.5 Processing 10/12: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.02/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.02/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 "/home/opam/.opam/4.02/bin" - install -d "/home/opam/.opam/4.02/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - install -d "`dirname \"/home/opam/.opam/4.02/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.02/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.02/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/4.02/lib/findlib" - install -d "/home/opam/.opam/4.02/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.02/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.02/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 "/home/opam/.opam/4.02/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.02/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.02/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.02/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.02/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - for x in bigarray bytes compiler-libs dynlink graphics num num-top ocamlbuild ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.02/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.02/lib/$x/META.tmp" && mv "/home/opam/.opam/4.02/lib/$x/META.tmp" "/home/opam/.opam/4.02/lib/$x/META"; done - install -d "/home/opam/.opam/4.02/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.02/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/4.02/lib/num-top" - install -c num_top.cma num_top.cmi num_top_printers.cmi \ - "/home/opam/.opam/4.02/lib/num-top/" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.02/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - install -d "/home/opam/.opam/4.02/man/man1" "/home/opam/.opam/4.02/man/man3" "/home/opam/.opam/4.02/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.02/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.02/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' -> installed ocamlfind.1.9.5 Processing 11/12: [glMLite: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51) - (cd SRC; make) - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - if [ ! -d enums ]; then mkdir enums ; fi - ocamlc.opt -c -g -o xmlm.cmi xmlm.mli - ocamlopt.opt -g -c -g -o xmlm.cmx xmlm.ml - File "xmlm.ml", line 554, characters 22-24: - Warning 3: deprecated: Pervasives.or - Use (||) instead. - File "xmlm.ml", line 574, characters 18-20: - Warning 3: deprecated: Pervasives.or - Use (||) instead. - File "xmlm.ml", line 771, characters 22-24: - Warning 3: deprecated: Pervasives.or - Use (||) instead. - ocamlopt.opt -g -a -g -o xmlm.cmxa xmlm.cmx - ocamlopt.opt -g \ - -I . xmlm.cmxa \ - enums_xmlm.ml -o enums.exe - ocamlc.opt -c configure.c - ocamlopt.opt -g -c configure_boot.ml - ocamlopt.opt -g -cclib "-lGL" configure.o configure_boot.cmx -o configure.exe - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/primitive.inc.ml .inc.ml` > enums/primitive.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_capability.inc.ml .inc.ml` > enums/gl_capability.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/polygon_mode.inc.ml .inc.ml` > enums/polygon_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/face_mode.inc.ml .inc.ml` > enums/face_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clear_mask.inc.ml .inc.ml` > enums/clear_mask.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_error.inc.ml .inc.ml` > enums/gl_error.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/matrix_mode.inc.ml .inc.ml` > enums/matrix_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shade_mode.inc.ml .inc.ml` > enums/shade_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_param_target.inc.ml .inc.ml` > enums/tex_param_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_func.inc.ml .inc.ml` > enums/gl_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_target.inc.ml .inc.ml` > enums/hint_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_mode.inc.ml .inc.ml` > enums/hint_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/list_mode.inc.ml .inc.ml` > enums/list_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_sfactor.inc.ml .inc.ml` > enums/blend_sfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_dfactor.inc.ml .inc.ml` > enums/blend_dfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map2_target.inc.ml .inc.ml` > enums/map2_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map1_target.inc.ml .inc.ml` > enums/map1_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/render_mode.inc.ml .inc.ml` > enums/render_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/color_material_mode.inc.ml .inc.ml` > enums/color_material_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/enabled_cap.inc.ml .inc.ml` > enums/enabled_cap.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_format.inc.ml .inc.ml` > enums/pixel_data_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/internal_format.inc.ml .inc.ml` > enums/internal_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_type.inc.ml .inc.ml` > enums/pixel_data_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_type.inc.ml .inc.ml` > enums/pixel_buffer_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_format.inc.ml .inc.ml` > enums/pixel_buffer_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/orientation.inc.ml .inc.ml` > enums/orientation.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_binding.inc.ml .inc.ml` > enums/texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_4.inc.ml .inc.ml` > enums/get_integer_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_1.inc.ml .inc.ml` > enums/get_boolean_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_string.inc.ml .inc.ml` > enums/get_string.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_matrix.inc.ml .inc.ml` > enums/get_matrix.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_1.inc.ml .inc.ml` > enums/get_integer_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_3.inc.ml .inc.ml` > enums/get_float_3.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_1.inc.ml .inc.ml` > enums/get_float_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_2.inc.ml .inc.ml` > enums/get_float_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_4.inc.ml .inc.ml` > enums/get_float_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_2.inc.ml .inc.ml` > enums/get_integer_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_4.inc.ml .inc.ml` > enums/get_boolean_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_i.inc.ml .inc.ml` > enums/texture_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_texture_binding.inc.ml .inc.ml` > enums/get_texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_target.inc.ml .inc.ml` > enums/texenv_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_pname.inc.ml .inc.ml` > enums/texenv_pname.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_param.inc.ml .inc.ml` > enums/texenv_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/attrib_bit.inc.ml .inc.ml` > enums/attrib_bit.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/stencil_op.inc.ml .inc.ml` > enums/stencil_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/target_2d.inc.ml .inc.ml` > enums/target_2d.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_i.inc.ml .inc.ml` > enums/pixel_packing_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_b.inc.ml .inc.ml` > enums/pixel_packing_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_i.inc.ml .inc.ml` > enums/pixel_transfer_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f.inc.ml .inc.ml` > enums/pixel_transfer_f.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_b.inc.ml .inc.ml` > enums/pixel_transfer_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f_ARB.inc.ml .inc.ml` > enums/pixel_transfer_f_ARB.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/accum_op.inc.ml .inc.ml` > enums/accum_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode.inc.ml .inc.ml` > enums/blend_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode_ext.inc.ml .inc.ml` > enums/blend_mode_ext.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/op_code.inc.ml .inc.ml` > enums/op_code.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/draw_buffer_mode.inc.ml .inc.ml` > enums/draw_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/read_buffer_mode.inc.ml .inc.ml` > enums/read_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/copy_tex_target.inc.ml .inc.ml` > enums/copy_tex_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_map.inc.ml .inc.ml` > enums/pixel_map.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/min_filter.inc.ml .inc.ml` > enums/min_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mag_filter.inc.ml .inc.ml` > enums/mag_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/wrap_param.inc.ml .inc.ml` > enums/wrap_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord.inc.ml .inc.ml` > enums/tex_coord.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_gen_func.inc.ml .inc.ml` > enums/tex_coord_gen_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_gen_param.inc.ml .inc.ml` > enums/tex_gen_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clip_plane.inc.ml .inc.ml` > enums/clip_plane.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_type.inc.ml .inc.ml` > enums/pixel_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_fun_params.inc.ml .inc.ml` > enums/tex_coord_fun_params.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/buffer_object_target.inc.ml .inc.ml` > enums/buffer_object_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/vbo_usage_pattern.inc.ml .inc.ml` > enums/vbo_usage_pattern.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shader_type.inc.ml .inc.ml` > enums/shader_type.inc.ml - ocamlopt.opt -g str.cmxa mlpp.ml -o mlpp.exe - File "mlpp.ml", line 110, characters 7-20: - Warning 3: deprecated: String.create - Use Bytes.create instead. - ./mlpp.exe -C GL.ml.pp > GL.ml - ./mlpp.exe -D MLI -C GL.ml.pp > GL.mli - ocaml struct_to_sig.ml GL.mli # 's/= struct/: sig/g' - ocamlc.opt -c GL.mli - ocamlc.opt -c GL.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_capability.inc.c .inc.c` > enums/gl_capability.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/polygon_mode.inc.c .inc.c` > enums/polygon_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/face_mode.inc.c .inc.c` > enums/face_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clear_mask.inc.c .inc.c` > enums/clear_mask.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/face_mode.inc-r.c .inc-r.c` > enums/face_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/gl_error.inc-r.c .inc-r.c` > enums/gl_error.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/matrix_mode.inc.c .inc.c` > enums/matrix_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shade_mode.inc.c .inc.c` > enums/shade_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_param_target.inc.c .inc.c` > enums/tex_param_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_func.inc.c .inc.c` > enums/gl_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_target.inc.c .inc.c` > enums/hint_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_mode.inc.c .inc.c` > enums/hint_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/list_mode.inc.c .inc.c` > enums/list_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_sfactor.inc.c .inc.c` > enums/blend_sfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_dfactor.inc.c .inc.c` > enums/blend_dfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map2_target.inc.c .inc.c` > enums/map2_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map1_target.inc.c .inc.c` > enums/map1_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/render_mode.inc.c .inc.c` > enums/render_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/color_material_mode.inc.c .inc.c` > enums/color_material_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/enabled_cap.inc.c .inc.c` > enums/enabled_cap.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_type.inc.c .inc.c` > enums/pixel_data_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_format.inc.c .inc.c` > enums/pixel_data_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/internal_format.inc.c .inc.c` > enums/internal_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/pixel_data_format.inc-r.c .inc-r.c` > enums/pixel_data_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/internal_format.inc-r.c .inc-r.c` > enums/internal_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_type.inc.c .inc.c` > enums/pixel_buffer_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_format.inc.c .inc.c` > enums/pixel_buffer_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/orientation.inc.c .inc.c` > enums/orientation.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_binding.inc.c .inc.c` > enums/texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_4.inc.c .inc.c` > enums/get_integer_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_1.inc.c .inc.c` > enums/get_boolean_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_string.inc.c .inc.c` > enums/get_string.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_matrix.inc.c .inc.c` > enums/get_matrix.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_1.inc.c .inc.c` > enums/get_integer_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_3.inc.c .inc.c` > enums/get_float_3.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_1.inc.c .inc.c` > enums/get_float_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_2.inc.c .inc.c` > enums/get_float_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_4.inc.c .inc.c` > enums/get_float_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_2.inc.c .inc.c` > enums/get_integer_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_4.inc.c .inc.c` > enums/get_boolean_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_i.inc.c .inc.c` > enums/texture_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_texture_binding.inc.c .inc.c` > enums/get_texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shader_type.inc.c .inc.c` > enums/shader_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_target.inc.c .inc.c` > enums/texenv_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_pname.inc.c .inc.c` > enums/texenv_pname.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_param.inc.c .inc.c` > enums/texenv_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/attrib_bit.inc.c .inc.c` > enums/attrib_bit.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/stencil_op.inc.c .inc.c` > enums/stencil_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/target_2d.inc.c .inc.c` > enums/target_2d.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_i.inc.c .inc.c` > enums/pixel_packing_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_b.inc.c .inc.c` > enums/pixel_packing_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_i.inc.c .inc.c` > enums/pixel_transfer_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f.inc.c .inc.c` > enums/pixel_transfer_f.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_b.inc.c .inc.c` > enums/pixel_transfer_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f_ARB.inc.c .inc.c` > enums/pixel_transfer_f_ARB.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/accum_op.inc.c .inc.c` > enums/accum_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode.inc.c .inc.c` > enums/blend_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode_ext.inc.c .inc.c` > enums/blend_mode_ext.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/op_code.inc.c .inc.c` > enums/op_code.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/draw_buffer_mode.inc.c .inc.c` > enums/draw_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/read_buffer_mode.inc.c .inc.c` > enums/read_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/copy_tex_target.inc.c .inc.c` > enums/copy_tex_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_map.inc.c .inc.c` > enums/pixel_map.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/list_mode.inc-r.c .inc-r.c` > enums/list_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/min_filter.inc.c .inc.c` > enums/min_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mag_filter.inc.c .inc.c` > enums/mag_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/wrap_param.inc.c .inc.c` > enums/wrap_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord.inc.c .inc.c` > enums/tex_coord.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_gen_func.inc.c .inc.c` > enums/tex_coord_gen_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_gen_param.inc.c .inc.c` > enums/tex_gen_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clip_plane.inc.c .inc.c` > enums/clip_plane.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_type.inc.c .inc.c` > enums/pixel_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_fun_params.inc.c .inc.c` > enums/tex_coord_fun_params.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/buffer_object_target_arb.inc.c .inc.c` > enums/buffer_object_target_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/vbo_usage_pattern_arb.inc.c .inc.c` > enums/vbo_usage_pattern_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/vbo_usage_pattern_arb.inc-r.c .inc-r.c` > enums/vbo_usage_pattern_arb.inc-r.c - ocamlc.opt -c gl.wrap.c - gl.wrap.c: In function 'ml_glpointparameterf': - gl.wrap.c:123:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 123 | glPointParameterf( pname, Double_val(param) ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:117:12: note: 'pname' was declared here - 117 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glreadpixels_ba_native': - gl.wrap.c:783:12: warning: 'bsize' may be used uninitialized [-Wmaybe-uninitialized] - 783 | if (bsize != rsize) - | ^ - gl.wrap.c:721:20: note: 'bsize' was declared here - 721 | int rsize, bsize; - | ^~~~~ - gl.wrap.c:709:29: warning: 'pixel_size' may be used uninitialized [-Wmaybe-uninitialized] - 709 | c_size = pixel_size * Int_val(width) * Int_val(height); - gl.wrap.c:661:13: note: 'pixel_size' was declared here - 661 | int pixel_size; - | ^~~~~~~~~~ - gl.wrap.c: In function 'ml_gltexparameter1i': - gl.wrap.c:902:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 902 | glTexParameteri( tex_param_target, pname, Long_val(d) ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:896:12: note: 'pname' was declared here - 896 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_gltexparameter1f': - gl.wrap.c:914:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 914 | glTexParameterf( tex_param_target, pname, Double_val(d) ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:907:12: note: 'pname' was declared here - 907 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_gltexparameter_wrap': - gl.wrap.c:928:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 928 | glTexParameteri( tex_param_target, pname, wrap_param ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:920:12: note: 'pname' was declared here - 920 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glevalmesh2': - gl.wrap.c:1244:5: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] - 1244 | glEvalMesh2( mode, - | ^~~~~~~~~~~~~~~~~~ - 1245 | Int_val(i1), - | ~~~~~~~~~~~~ - 1246 | Int_val(i2), - | ~~~~~~~~~~~~ - 1247 | Int_val(j1), - | ~~~~~~~~~~~~ - 1248 | Int_val(j2) ); ret - | ~~~~~~~~~~~~~ - gl.wrap.c:1238:12: note: 'mode' was declared here - 1238 | GLenum mode; - | ^~~~ - gl.wrap.c: In function 'ml_gllight1': - gl.wrap.c:1271:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1271 | glLightf( GL_LIGHT0 + Int_val(light_i), pname, Double_val(param) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1262:12: note: 'pname' was declared here - 1262 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_gllight4_native': - gl.wrap.c:1302:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1302 | glLightfv( GL_LIGHT0 + Int_val(light_i), pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1288:12: note: 'pname' was declared here - 1288 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glgetlight1': - gl.wrap.c:1322:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1322 | glGetLightfv( GL_LIGHT0 + Int_val(light_i), pname, ¶ms ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1313:12: note: 'pname' was declared here - 1313 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glgetlight4': - gl.wrap.c:1361:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1361 | glGetLightfv( GL_LIGHT0 + Int_val(light_i), pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1352:12: note: 'pname' was declared here - 1352 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glLightModel2': - gl.wrap.c:1411:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1411 | glLightModeli( pname, Bool_val(param) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1405:12: note: 'pname' was declared here - 1405 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glmaterial4_native': - gl.wrap.c:1489:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1489 | glMaterialfv( face_mode, pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1471:12: note: 'pname' was declared here - 1471 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glgetmaterial4f': - gl.wrap.c:1511:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1511 | glGetMaterialfv( (face == Val_int(0) ? GL_FRONT : GL_BACK), pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1503:12: note: 'pname' was declared here - 1503 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glfog2': - gl.wrap.c:1735:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1735 | glFogf( pname, Double_val(param) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1727:12: note: 'pname' was declared here - 1727 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glfog1': - gl.wrap.c:1758:5: warning: 'param' may be used uninitialized [-Wmaybe-uninitialized] - 1758 | glFogi( pname, param ); - | ^~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1742:11: note: 'param' was declared here - 1742 | GLint param; - | ^~~~~ - gl.wrap.c:1758:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1758 | glFogi( pname, param ); - | ^~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1741:12: note: 'pname' was declared here - 1741 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glteximage2d_str_native': - gl.wrap.c:1968:5: warning: 'internal_format' may be used uninitialized [-Wmaybe-uninitialized] - 1968 | glTexImage2D( - | ^~~~~~~~~~~~~ - 1969 | target_2d, - | ~~~~~~~~~~ - 1970 | Int_val(level), - | ~~~~~~~~~~~~~~~ - 1971 | Internal_format_val(internal_format), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1972 | Int_val(width), - | ~~~~~~~~~~~~~~~ - 1973 | Int_val(height), - | ~~~~~~~~~~~~~~~~ - 1974 | 0, - | ~~ - 1975 | pixel_data_format, - | ~~~~~~~~~~~~~~~~~~ - 1976 | pixel_data_type, - | ~~~~~~~~~~~~~~~~ - 1977 | //(const GLvoid *) pixels ); ret - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1978 | (const GLvoid *) String_val(pixels) ); ret - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - In file included from gl.wrap.c:60: - gl.wrap.h:31:12: note: 'internal_format' was declared here - 31 | GLint internal_format; - | ^~~~~~~~~~~~~~~ - ocamlmklib -oc gl_stubs gl.wrap.o -lGL - ocamlc.opt -a -o GL.cma -ccopt "-lGL" -dllib -lgl_stubs GL.cmo - ./mlpp.exe -C Glu.ml.pp > Glu.ml - ./mlpp.exe -D MLI -C Glu.ml.pp > Glu.mli - ocaml struct_to_sig.ml Glu.mli # 's/= struct/: sig/g' - ocamlc.opt -c Glu.mli - ocamlc.opt -c Glu.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_error.inc.c .inc.c` > enums/gl_error.inc.c - ocamlc.opt -c glu.wrap.c - glu.wrap.c: In function 'ml_glutess_cb_vertex': - glu.wrap.c:1081:62: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1081 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_VERTEX, user_glutess_cb_vertex ); - | ^~~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(void *) - In file included from glu.wrap.c:32: - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *)' - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glutess_cb_begin': - glu.wrap.c:1112:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1112 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_BEGIN, user_glutess_cb_begin ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glutess_cb_end': - glu.wrap.c:1128:59: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1128 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_END, user_glutess_cb_end ); - | ^~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glutess_cb_error': - glu.wrap.c:1160:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1160 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_ERROR, user_glutess_cb_error ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'default_glutess_cb_error': - glu.wrap.c:978:5: warning: 'strncat' specified bound 76 equals destination size [-Wstringop-overflow=] - 978 | strncat(err_msg, (char *)estring, 76); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glugetstring': - glu.wrap.c:122:12: warning: 'glu_desc' may be used uninitialized [-Wmaybe-uninitialized] - 122 | info = gluGetString( glu_desc ); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:117:12: note: 'glu_desc' was declared here - 117 | GLenum glu_desc; - | ^~~~~~~~ - glu.wrap.c: In function 'ml_gluquadricorientation': - glu.wrap.c:642:5: warning: 'orientation' may be used uninitialized [-Wmaybe-uninitialized] - 642 | gluQuadricOrientation( Gluquadric_val(quad), orientation ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:636:12: note: 'orientation' was declared here - 636 | GLenum orientation; - | ^~~~~~~~~~~ - glu.wrap.c: In function 'ml_gluquadricnormals': - glu.wrap.c:655:5: warning: 'normal' may be used uninitialized [-Wmaybe-uninitialized] - 655 | gluQuadricNormals( Gluquadric_val(quad), normal ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:648:12: note: 'normal' was declared here - 648 | GLenum normal; - | ^~~~~~ - glu.wrap.c: In function 'ml_glugettesswindingrule': - glu.wrap.c:688:5: warning: 'winding' may be used uninitialized [-Wmaybe-uninitialized] - 688 | gluTessProperty( (GLUtesselator *)tess, GLU_TESS_WINDING_RULE, winding ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:680:14: note: 'winding' was declared here - 680 | GLdouble winding; - | ^~~~~~~ - glu.wrap.c: In function 'ml_glunextcontour': - glu.wrap.c:716:5: warning: 't' may be used uninitialized [-Wmaybe-uninitialized] - 716 | gluNextContour( (GLUtesselator *) tess, t ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:707:12: note: 't' was declared here - 707 | GLenum t; - | ^ - ocamlmklib -o Glu glu.wrap.o -lGLU - ocamlmklib -o Glu Glu.cmo -lGLU - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button.inc.ml .inc.ml` > enums/mouse_button.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button_state.inc.ml .inc.ml` > enums/mouse_button_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/init_mode.inc.ml .inc.ml` > enums/init_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/special_key.inc.ml .inc.ml` > enums/special_key.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/game_mode.inc.ml .inc.ml` > enums/game_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/visibility_state.inc.ml .inc.ml` > enums/visibility_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/entry_state.inc.ml .inc.ml` > enums/entry_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_state.inc.ml .inc.ml` > enums/get_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/glut_device.inc.ml .inc.ml` > enums/glut_device.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/cursor_type.inc.ml .inc.ml` > enums/cursor_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/context_profile.inc.ml .inc.ml` > enums/context_profile.inc.ml - ./mlpp.exe -C Glut.ml.pp > Glut.ml - ./mlpp.exe -C Glut.mli.pp > Glut.mli - ocamlc.opt -c Glut.mli - ocamlc.opt -c Glut.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mouse_button.inc.c .inc.c` > enums/mouse_button.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button.inc-r.c .inc-r.c` > enums/mouse_button.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button_state.inc-r.c .inc-r.c` > enums/mouse_button_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/init_mode.inc.c .inc.c` > enums/init_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/special_key.inc-r.c .inc-r.c` > enums/special_key.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/game_mode.inc.c .inc.c` > enums/game_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/visibility_state.inc-r.c .inc-r.c` > enums/visibility_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/entry_state.inc-r.c .inc-r.c` > enums/entry_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_state.inc.c .inc.c` > enums/get_state.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/glut_device.inc.c .inc.c` > enums/glut_device.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/cursor_type.inc.c .inc.c` > enums/cursor_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/context_profile.inc.c .inc.c` > enums/context_profile.inc.c - ocamlc.opt -c glut.wrap.c - glut.wrap.c: In function 'ml_glutentergamemode': - glut.wrap.c:521:48: warning: variable 'st' set but not used [-Wunused-but-set-variable] - 521 | t_val ml_glutentergamemode( value unit ) { int st; st = glutEnterGameMode(); ret } - | ^~ - ocamlmklib -o Glut glut.wrap.o -lglut - ocamlmklib -o Glut Glut.cmo -lglut - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/interleaved_format.inc.ml .inc.ml` > enums/interleaved_format.inc.ml - ./mlpp.exe -C vertArray.ml.pp > vertArray.ml - cp vertArray.ml vertArray.mli - ocaml struct_to_sig.ml vertArray.mli # 's/= struct/: sig/g' - ocamlc.opt -c vertArray.mli - ocamlc.opt -c vertArray.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/interleaved_format.inc.c .inc.c` > enums/interleaved_format.inc.c - ocamlc.opt -c varray.wrap.c - varray.wrap.c: In function 'ml_glenableclientstate': - varray.wrap.c:135:5: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] - 135 | glEnableClientState( cap ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:117:12: note: 'cap' was declared here - 117 | GLenum cap; - | ^~~ - varray.wrap.c: In function 'ml_gldisableclientstate': - varray.wrap.c:161:5: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] - 161 | glDisableClientState( cap ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:143:12: note: 'cap' was declared here - 143 | GLenum cap; - | ^~~ - varray.wrap.c: In function 'ml_gldrawelements': - varray.wrap.c:303:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 303 | glDrawElements( - | ^~~~~~~~~~~~~~~ - 304 | Int_val(mode), - | ~~~~~~~~~~~~~~ - 305 | Int_val(count), - | ~~~~~~~~~~~~~~~ - 306 | type, - | ~~~~~ - 307 | indices ); - | ~~~~~~~~~ - varray.wrap.c:241:12: note: 'type' was declared here - 241 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_gldrawrangeelements_native': - varray.wrap.c:341:16: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 341 | if (type != GL_UNSIGNED_SHORT) - | ^ - varray.wrap.c:322:12: note: 'type' was declared here - 322 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_glvertexpointer': - varray.wrap.c:395:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 395 | switch (data_type) - | ^~~~~~ - varray.wrap.c:385:12: note: 'data_type' was declared here - 385 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:424:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 424 | if (size != _size) - | ^ - varray.wrap.c:382:15: note: '_size' was declared here - 382 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glvertexpointer0': - varray.wrap.c:454:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 454 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:446:12: note: 'data_type' was declared here - 446 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer': - varray.wrap.c:478:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 478 | switch (data_type) - | ^~~~~~ - varray.wrap.c:468:12: note: 'data_type' was declared here - 468 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:507:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 507 | if (size != _size) - | ^ - varray.wrap.c:465:15: note: '_size' was declared here - 465 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer0': - varray.wrap.c:539:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 539 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:530:12: note: 'data_type' was declared here - 530 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer': - varray.wrap.c:565:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 565 | switch (data_type) - | ^~~~~~ - varray.wrap.c:554:12: note: 'data_type' was declared here - 554 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:595:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 595 | if (size != _size) - | ^ - varray.wrap.c:551:15: note: '_size' was declared here - 551 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glnormalpointer0': - varray.wrap.c:627:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 627 | glNormalPointer( data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:617:12: note: 'data_type' was declared here - 617 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer': - varray.wrap.c:652:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 652 | switch (data_type) - | ^~~~~~ - varray.wrap.c:641:12: note: 'data_type' was declared here - 641 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:682:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 682 | if (size != _size) - | ^ - varray.wrap.c:638:15: note: '_size' was declared here - 638 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glindexpointer0': - varray.wrap.c:714:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 714 | glIndexPointer( data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:704:12: note: 'data_type' was declared here - 704 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer': - varray.wrap.c:743:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 743 | switch (data_type) - | ^~~~~~ - varray.wrap.c:729:12: note: 'data_type' was declared here - 729 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:779:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 779 | if (size != _size) - | ^ - varray.wrap.c:726:15: note: '_size' was declared here - 726 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer': - varray.wrap.c:821:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 821 | switch (data_type) - | ^~~~~~ - varray.wrap.c:807:12: note: 'data_type' was declared here - 807 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:857:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 857 | if (size != _size) - | ^ - varray.wrap.c:804:15: note: '_size' was declared here - 804 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_native': - varray.wrap.c:902:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 902 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 903 | Int_val(size), - | ~~~~~~~~~~~~~~ - 904 | data_type, - | ~~~~~~~~~~ - 905 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 906 | Int_val(stride), - | ~~~~~~~~~~~~~~~~ - 907 | (GLvoid *) Data_bigarray_val(pointer) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 908 | ); - | ~ - varray.wrap.c:888:12: note: 'data_type' was declared here - 888 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer0': - varray.wrap.c:934:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 934 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:921:12: note: 'data_type' was declared here - 921 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer0': - varray.wrap.c:954:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 954 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:941:12: note: 'data_type' was declared here - 941 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer0': - varray.wrap.c:996:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 996 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 997 | Int_val(size), - | ~~~~~~~~~~~~~~ - 998 | data_type, - | ~~~~~~~~~~ - 999 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1000 | Int_val(stride), - | ~~~~~~~~~~~~~~~~ - 1001 | (GLvoid *) NULL - | ~~~~~~~~~~~~~~~ - 1002 | ); - | ~ - varray.wrap.c:982:12: note: 'data_type' was declared here - 982 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gldrawelements0': - varray.wrap.c:1019:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1019 | glDrawElements( - | ^~~~~~~~~~~~~~~ - 1020 | Int_val(mode), - | ~~~~~~~~~~~~~~ - 1021 | Int_val(count), - | ~~~~~~~~~~~~~~~ - 1022 | type, - | ~~~~~ - 1023 | (GLvoid *) NULL ); - | ~~~~~~~~~~~~~~~~~ - varray.wrap.c:1012:12: note: 'type' was declared here - 1012 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_glvertexpointer_ofs8': - varray.wrap.c:1039:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1039 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1032:12: note: 'data_type' was declared here - 1032 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexpointer_ofs16': - varray.wrap.c:1051:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1051 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1044:12: note: 'data_type' was declared here - 1044 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexpointer_ofs32': - varray.wrap.c:1063:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1063 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1056:12: note: 'data_type' was declared here - 1056 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer_ofs8': - varray.wrap.c:1078:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1078 | glIndexPointer( data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1070:12: note: 'data_type' was declared here - 1070 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer_ofs16': - varray.wrap.c:1091:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1091 | glIndexPointer( data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1083:12: note: 'data_type' was declared here - 1083 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer_ofs32': - varray.wrap.c:1104:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1104 | glIndexPointer( data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1096:12: note: 'data_type' was declared here - 1096 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer_ofs8': - varray.wrap.c:1118:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1118 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1111:12: note: 'data_type' was declared here - 1111 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer_ofs16': - varray.wrap.c:1130:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1130 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1123:12: note: 'data_type' was declared here - 1123 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer_ofs32': - varray.wrap.c:1142:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1142 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1135:12: note: 'data_type' was declared here - 1135 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer_ofs8': - varray.wrap.c:1161:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1161 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1150:12: note: 'data_type' was declared here - 1150 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer_ofs16': - varray.wrap.c:1177:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1177 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1166:12: note: 'data_type' was declared here - 1166 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer_ofs32': - varray.wrap.c:1193:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1193 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1182:12: note: 'data_type' was declared here - 1182 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer_ofs8': - varray.wrap.c:1212:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1212 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1201:12: note: 'data_type' was declared here - 1201 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer_ofs16': - varray.wrap.c:1228:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1228 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1217:12: note: 'data_type' was declared here - 1217 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer_ofs32': - varray.wrap.c:1244:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1244 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1233:12: note: 'data_type' was declared here - 1233 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer_ofs8': - varray.wrap.c:1260:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1260 | glNormalPointer( data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1252:12: note: 'data_type' was declared here - 1252 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer_ofs16': - varray.wrap.c:1273:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1273 | glNormalPointer( data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1265:12: note: 'data_type' was declared here - 1265 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer_ofs32': - varray.wrap.c:1286:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1286 | glNormalPointer( data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1278:12: note: 'data_type' was declared here - 1278 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gldrawelements_ofs8': - varray.wrap.c:1301:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1301 | glDrawElements( Int_val(mode), Int_val(count), type, (int8_t *)0 + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1295:12: note: 'type' was declared here - 1295 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_gldrawelements_ofs16': - varray.wrap.c:1313:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1313 | glDrawElements( Int_val(mode), Int_val(count), type, (int16_t *)0 + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1307:12: note: 'type' was declared here - 1307 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_gldrawelements_ofs32': - varray.wrap.c:1325:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1325 | glDrawElements( Int_val(mode), Int_val(count), type, (int32_t *)0 + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1319:12: note: 'type' was declared here - 1319 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_ofs8_native': - varray.wrap.c:1365:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1365 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1366 | Int_val(size), - | ~~~~~~~~~~~~~~ - 1367 | data_type, - | ~~~~~~~~~~ - 1368 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1369 | Int_val(stride), - | ~~~~~~~~~~~~~~~~ - 1370 | ((int8_t *)NULL) + Long_val(ofs) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1353:12: note: 'data_type' was declared here - 1353 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_ofs16_native': - varray.wrap.c:1393:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1393 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1394 | Int_val(size), - | ~~~~~~~~~~~~~~ - 1395 | data_type, - | ~~~~~~~~~~ - 1396 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1397 | sizeof(int16_t) * Int_val(stride), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1398 | ((int16_t *)NULL) + Long_val(ofs) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1381:12: note: 'data_type' was declared here - 1381 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_ofs32_native': - varray.wrap.c:1421:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1421 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1422 | Int_val(size), - | ~~~~~~~~~~~~~~ - 1423 | data_type, - | ~~~~~~~~~~ - 1424 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1425 | sizeof(int32_t) * Int_val(stride), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1426 | ((int32_t *)NULL) + Long_val(ofs) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1409:12: note: 'data_type' was declared here - 1409 | GLenum data_type; - | ^~~~~~~~~ - ocamlmklib -o vertArray varray.wrap.o -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray - ocamlmklib -o vertArray vertArray.cmo -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray - ocamlopt.opt -g -c GL.ml - ocamlopt.opt -g -a -o GL.cmxa -cclib -lgl_stubs -cclib "-lGL" GL.cmx - ocamlopt.opt -g -c Glu.ml - ocamlmklib -o Glu Glu.cmx -lGLU - ocamlopt.opt -g -c Glut.ml - ocamlmklib -o Glut Glut.cmx -lglut - ocamlopt.opt -g -c vertArray.ml - ocamlmklib -o vertArray vertArray.cmx -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray - ocamlc.opt -c jpeg_loader.ml - ocamlc.opt -c loader-libjpeg.c - In file included from loader-libjpeg.c:30: - loader-libjpeg-mem.c: In function 'read_jpeg_from_memory': - loader-libjpeg-mem.c:109:9: warning: variable 'format_err' set but not used [-Wunused-but-set-variable] - 109 | int format_err; - | ^~~~~~~~~~ - loader-libjpeg-mem.c:107:9: warning: variable 'output_color_space' set but not used [-Wunused-but-set-variable] - 107 | int output_color_space; - | ^~~~~~~~~~~~~~~~~~ - loader-libjpeg.c: In function 'load_jpeg_from_file': - loader-libjpeg.c:55:9: warning: variable 'format_err' set but not used [-Wunused-but-set-variable] - 55 | int format_err; - | ^~~~~~~~~~ - loader-libjpeg.c:51:9: warning: variable 'output_color_space' set but not used [-Wunused-but-set-variable] - 51 | int output_color_space; - | ^~~~~~~~~~~~~~~~~~ - ocamlmklib -o jpeg_loader loader-libjpeg.o -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -ljpeg - ocamlmklib -o jpeg_loader jpeg_loader.cmo -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -ljpeg - ocamlopt.opt -g -c jpeg_loader.ml - ocamlmklib -o jpeg_loader jpeg_loader.cmx -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -ljpeg - (make vbo_byte -f Makefile.VBO) - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - ocamlopt.opt -g \ - -I . xmlm.cmxa \ - enums_xmlm.ml -o enums.exe - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/buffer_object_target.inc.ml .inc.ml` > enums/buffer_object_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/vbo_usage_pattern.inc.ml .inc.ml` > enums/vbo_usage_pattern.inc.ml - ./mlpp.exe -C VBO.ml.pp > VBO.ml - ./mlpp.exe -D MLI -C VBO.ml.pp > VBO.mli - ocaml struct_to_sig.ml VBO.mli # 's/= struct/: sig/g' - ocamlc.opt -c VBO.mli - ocamlc.opt -c VBO.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/vbo_usage_pattern_arb.inc.c .inc.c` > enums/vbo_usage_pattern_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/buffer_object_target_arb.inc.c .inc.c` > enums/buffer_object_target_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/vbo_usage_pattern_arb.inc-r.c .inc-r.c` > enums/vbo_usage_pattern_arb.inc-r.c - ocamlc.opt -c vbo.wrap.c - In file included from vbo.wrap.c:46: - /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h: In function 'ml_ba_elem_size': - /home/opam/.opam/4.02/lib/ocaml/caml/mlvalues.h:71:27: warning: 'size' may be used uninitialized [-Wmaybe-uninitialized] - 71 | #define Val_long(x) (((intnat)(x) << 1) + 1) - | ^ - vbo.wrap.c:316:9: note: 'size' was declared here - 316 | int size; - | ^~~~ - ocamlmklib -o VBO vbo.wrap.o -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -lGL - ocamlmklib -o VBO VBO.cmo -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -lGL - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - (make vbo_opt -f Makefile.VBO) - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - ocamlopt.opt -g -c VBO.ml - ocamlmklib -o VBO VBO.cmx -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -lGL - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' -> compiled glMLite.0.03.51 Processing 12/12: [glMLite: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "PREFIX=/home/opam/.opam/4.02/lib/glMLite" (CWD=/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51) - (cd SRC; make install) - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/primitive.inc.ml .inc.ml` > enums/primitive.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_capability.inc.ml .inc.ml` > enums/gl_capability.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/polygon_mode.inc.ml .inc.ml` > enums/polygon_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/face_mode.inc.ml .inc.ml` > enums/face_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clear_mask.inc.ml .inc.ml` > enums/clear_mask.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_error.inc.ml .inc.ml` > enums/gl_error.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/matrix_mode.inc.ml .inc.ml` > enums/matrix_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shade_mode.inc.ml .inc.ml` > enums/shade_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_param_target.inc.ml .inc.ml` > enums/tex_param_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_func.inc.ml .inc.ml` > enums/gl_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_target.inc.ml .inc.ml` > enums/hint_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_mode.inc.ml .inc.ml` > enums/hint_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/list_mode.inc.ml .inc.ml` > enums/list_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_sfactor.inc.ml .inc.ml` > enums/blend_sfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_dfactor.inc.ml .inc.ml` > enums/blend_dfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map2_target.inc.ml .inc.ml` > enums/map2_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map1_target.inc.ml .inc.ml` > enums/map1_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/render_mode.inc.ml .inc.ml` > enums/render_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/color_material_mode.inc.ml .inc.ml` > enums/color_material_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/enabled_cap.inc.ml .inc.ml` > enums/enabled_cap.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_format.inc.ml .inc.ml` > enums/pixel_data_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/internal_format.inc.ml .inc.ml` > enums/internal_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_type.inc.ml .inc.ml` > enums/pixel_data_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_type.inc.ml .inc.ml` > enums/pixel_buffer_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_format.inc.ml .inc.ml` > enums/pixel_buffer_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/orientation.inc.ml .inc.ml` > enums/orientation.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_binding.inc.ml .inc.ml` > enums/texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_4.inc.ml .inc.ml` > enums/get_integer_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_1.inc.ml .inc.ml` > enums/get_boolean_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_string.inc.ml .inc.ml` > enums/get_string.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_matrix.inc.ml .inc.ml` > enums/get_matrix.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_1.inc.ml .inc.ml` > enums/get_integer_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_3.inc.ml .inc.ml` > enums/get_float_3.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_1.inc.ml .inc.ml` > enums/get_float_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_2.inc.ml .inc.ml` > enums/get_float_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_4.inc.ml .inc.ml` > enums/get_float_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_2.inc.ml .inc.ml` > enums/get_integer_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_4.inc.ml .inc.ml` > enums/get_boolean_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_i.inc.ml .inc.ml` > enums/texture_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_texture_binding.inc.ml .inc.ml` > enums/get_texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_target.inc.ml .inc.ml` > enums/texenv_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_pname.inc.ml .inc.ml` > enums/texenv_pname.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_param.inc.ml .inc.ml` > enums/texenv_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/attrib_bit.inc.ml .inc.ml` > enums/attrib_bit.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/stencil_op.inc.ml .inc.ml` > enums/stencil_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/target_2d.inc.ml .inc.ml` > enums/target_2d.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_i.inc.ml .inc.ml` > enums/pixel_packing_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_b.inc.ml .inc.ml` > enums/pixel_packing_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_i.inc.ml .inc.ml` > enums/pixel_transfer_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f.inc.ml .inc.ml` > enums/pixel_transfer_f.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_b.inc.ml .inc.ml` > enums/pixel_transfer_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f_ARB.inc.ml .inc.ml` > enums/pixel_transfer_f_ARB.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/accum_op.inc.ml .inc.ml` > enums/accum_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode.inc.ml .inc.ml` > enums/blend_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode_ext.inc.ml .inc.ml` > enums/blend_mode_ext.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/op_code.inc.ml .inc.ml` > enums/op_code.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/draw_buffer_mode.inc.ml .inc.ml` > enums/draw_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/read_buffer_mode.inc.ml .inc.ml` > enums/read_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/copy_tex_target.inc.ml .inc.ml` > enums/copy_tex_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_map.inc.ml .inc.ml` > enums/pixel_map.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/min_filter.inc.ml .inc.ml` > enums/min_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mag_filter.inc.ml .inc.ml` > enums/mag_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/wrap_param.inc.ml .inc.ml` > enums/wrap_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord.inc.ml .inc.ml` > enums/tex_coord.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_gen_func.inc.ml .inc.ml` > enums/tex_coord_gen_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_gen_param.inc.ml .inc.ml` > enums/tex_gen_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clip_plane.inc.ml .inc.ml` > enums/clip_plane.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_type.inc.ml .inc.ml` > enums/pixel_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_fun_params.inc.ml .inc.ml` > enums/tex_coord_fun_params.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shader_type.inc.ml .inc.ml` > enums/shader_type.inc.ml - ./mlpp.exe -C GL.ml.pp > GL.ml - ./mlpp.exe -D MLI -C GL.ml.pp > GL.mli - ocaml struct_to_sig.ml GL.mli # 's/= struct/: sig/g' - ocamlc.opt -c GL.mli - ocamlopt.opt -g -c GL.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_capability.inc.c .inc.c` > enums/gl_capability.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/polygon_mode.inc.c .inc.c` > enums/polygon_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/face_mode.inc.c .inc.c` > enums/face_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clear_mask.inc.c .inc.c` > enums/clear_mask.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/face_mode.inc-r.c .inc-r.c` > enums/face_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/gl_error.inc-r.c .inc-r.c` > enums/gl_error.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/matrix_mode.inc.c .inc.c` > enums/matrix_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shade_mode.inc.c .inc.c` > enums/shade_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_param_target.inc.c .inc.c` > enums/tex_param_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_func.inc.c .inc.c` > enums/gl_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_target.inc.c .inc.c` > enums/hint_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_mode.inc.c .inc.c` > enums/hint_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/list_mode.inc.c .inc.c` > enums/list_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_sfactor.inc.c .inc.c` > enums/blend_sfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_dfactor.inc.c .inc.c` > enums/blend_dfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map2_target.inc.c .inc.c` > enums/map2_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map1_target.inc.c .inc.c` > enums/map1_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/render_mode.inc.c .inc.c` > enums/render_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/color_material_mode.inc.c .inc.c` > enums/color_material_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/enabled_cap.inc.c .inc.c` > enums/enabled_cap.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_type.inc.c .inc.c` > enums/pixel_data_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_format.inc.c .inc.c` > enums/pixel_data_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/internal_format.inc.c .inc.c` > enums/internal_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/pixel_data_format.inc-r.c .inc-r.c` > enums/pixel_data_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/internal_format.inc-r.c .inc-r.c` > enums/internal_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_type.inc.c .inc.c` > enums/pixel_buffer_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_format.inc.c .inc.c` > enums/pixel_buffer_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/orientation.inc.c .inc.c` > enums/orientation.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_binding.inc.c .inc.c` > enums/texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_4.inc.c .inc.c` > enums/get_integer_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_1.inc.c .inc.c` > enums/get_boolean_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_string.inc.c .inc.c` > enums/get_string.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_matrix.inc.c .inc.c` > enums/get_matrix.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_1.inc.c .inc.c` > enums/get_integer_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_3.inc.c .inc.c` > enums/get_float_3.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_1.inc.c .inc.c` > enums/get_float_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_2.inc.c .inc.c` > enums/get_float_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_4.inc.c .inc.c` > enums/get_float_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_2.inc.c .inc.c` > enums/get_integer_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_4.inc.c .inc.c` > enums/get_boolean_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_i.inc.c .inc.c` > enums/texture_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_texture_binding.inc.c .inc.c` > enums/get_texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shader_type.inc.c .inc.c` > enums/shader_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_target.inc.c .inc.c` > enums/texenv_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_pname.inc.c .inc.c` > enums/texenv_pname.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_param.inc.c .inc.c` > enums/texenv_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/attrib_bit.inc.c .inc.c` > enums/attrib_bit.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/stencil_op.inc.c .inc.c` > enums/stencil_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/target_2d.inc.c .inc.c` > enums/target_2d.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_i.inc.c .inc.c` > enums/pixel_packing_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_b.inc.c .inc.c` > enums/pixel_packing_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_i.inc.c .inc.c` > enums/pixel_transfer_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f.inc.c .inc.c` > enums/pixel_transfer_f.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_b.inc.c .inc.c` > enums/pixel_transfer_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f_ARB.inc.c .inc.c` > enums/pixel_transfer_f_ARB.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/accum_op.inc.c .inc.c` > enums/accum_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode.inc.c .inc.c` > enums/blend_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode_ext.inc.c .inc.c` > enums/blend_mode_ext.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/op_code.inc.c .inc.c` > enums/op_code.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/draw_buffer_mode.inc.c .inc.c` > enums/draw_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/read_buffer_mode.inc.c .inc.c` > enums/read_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/copy_tex_target.inc.c .inc.c` > enums/copy_tex_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_map.inc.c .inc.c` > enums/pixel_map.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/list_mode.inc-r.c .inc-r.c` > enums/list_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/min_filter.inc.c .inc.c` > enums/min_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mag_filter.inc.c .inc.c` > enums/mag_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/wrap_param.inc.c .inc.c` > enums/wrap_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord.inc.c .inc.c` > enums/tex_coord.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_gen_func.inc.c .inc.c` > enums/tex_coord_gen_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_gen_param.inc.c .inc.c` > enums/tex_gen_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clip_plane.inc.c .inc.c` > enums/clip_plane.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_type.inc.c .inc.c` > enums/pixel_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_fun_params.inc.c .inc.c` > enums/tex_coord_fun_params.inc.c - ocamlc.opt -c gl.wrap.c - gl.wrap.c: In function 'ml_glpointparameterf': - gl.wrap.c:123:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 123 | glPointParameterf( pname, Double_val(param) ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:117:12: note: 'pname' was declared here - 117 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glreadpixels_ba_native': - gl.wrap.c:783:12: warning: 'bsize' may be used uninitialized [-Wmaybe-uninitialized] - 783 | if (bsize != rsize) - | ^ - gl.wrap.c:721:20: note: 'bsize' was declared here - 721 | int rsize, bsize; - | ^~~~~ - gl.wrap.c:709:29: warning: 'pixel_size' may be used uninitialized [-Wmaybe-uninitialized] - 709 | c_size = pixel_size * Int_val(width) * Int_val(height); - gl.wrap.c:661:13: note: 'pixel_size' was declared here - 661 | int pixel_size; - | ^~~~~~~~~~ - gl.wrap.c: In function 'ml_gltexparameter1i': - gl.wrap.c:902:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 902 | glTexParameteri( tex_param_target, pname, Long_val(d) ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:896:12: note: 'pname' was declared here - 896 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_gltexparameter1f': - gl.wrap.c:914:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 914 | glTexParameterf( tex_param_target, pname, Double_val(d) ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:907:12: note: 'pname' was declared here - 907 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_gltexparameter_wrap': - gl.wrap.c:928:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 928 | glTexParameteri( tex_param_target, pname, wrap_param ); ret - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:920:12: note: 'pname' was declared here - 920 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glevalmesh2': - gl.wrap.c:1244:5: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] - 1244 | glEvalMesh2( mode, - | ^~~~~~~~~~~~~~~~~~ - 1245 | Int_val(i1), - | ~~~~~~~~~~~~ - 1246 | Int_val(i2), - | ~~~~~~~~~~~~ - 1247 | Int_val(j1), - | ~~~~~~~~~~~~ - 1248 | Int_val(j2) ); ret - | ~~~~~~~~~~~~~ - gl.wrap.c:1238:12: note: 'mode' was declared here - 1238 | GLenum mode; - | ^~~~ - gl.wrap.c: In function 'ml_gllight1': - gl.wrap.c:1271:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1271 | glLightf( GL_LIGHT0 + Int_val(light_i), pname, Double_val(param) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1262:12: note: 'pname' was declared here - 1262 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_gllight4_native': - gl.wrap.c:1302:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1302 | glLightfv( GL_LIGHT0 + Int_val(light_i), pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1288:12: note: 'pname' was declared here - 1288 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glgetlight1': - gl.wrap.c:1322:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1322 | glGetLightfv( GL_LIGHT0 + Int_val(light_i), pname, ¶ms ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1313:12: note: 'pname' was declared here - 1313 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glgetlight4': - gl.wrap.c:1361:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1361 | glGetLightfv( GL_LIGHT0 + Int_val(light_i), pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1352:12: note: 'pname' was declared here - 1352 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glLightModel2': - gl.wrap.c:1411:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1411 | glLightModeli( pname, Bool_val(param) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1405:12: note: 'pname' was declared here - 1405 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glmaterial4_native': - gl.wrap.c:1489:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1489 | glMaterialfv( face_mode, pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1471:12: note: 'pname' was declared here - 1471 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glgetmaterial4f': - gl.wrap.c:1511:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1511 | glGetMaterialfv( (face == Val_int(0) ? GL_FRONT : GL_BACK), pname, params ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1503:12: note: 'pname' was declared here - 1503 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glfog2': - gl.wrap.c:1735:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1735 | glFogf( pname, Double_val(param) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1727:12: note: 'pname' was declared here - 1727 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glfog1': - gl.wrap.c:1758:5: warning: 'param' may be used uninitialized [-Wmaybe-uninitialized] - 1758 | glFogi( pname, param ); - | ^~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1742:11: note: 'param' was declared here - 1742 | GLint param; - | ^~~~~ - gl.wrap.c:1758:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 1758 | glFogi( pname, param ); - | ^~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:1741:12: note: 'pname' was declared here - 1741 | GLenum pname; - | ^~~~~ - gl.wrap.c: In function 'ml_glteximage2d_str_native': - gl.wrap.c:1968:5: warning: 'internal_format' may be used uninitialized [-Wmaybe-uninitialized] - 1968 | glTexImage2D( - | ^~~~~~~~~~~~~ - 1969 | target_2d, - | ~~~~~~~~~~ - 1970 | Int_val(level), - | ~~~~~~~~~~~~~~~ - 1971 | Internal_format_val(internal_format), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1972 | Int_val(width), - | ~~~~~~~~~~~~~~~ - 1973 | Int_val(height), - | ~~~~~~~~~~~~~~~~ - 1974 | 0, - | ~~ - 1975 | pixel_data_format, - | ~~~~~~~~~~~~~~~~~~ - 1976 | pixel_data_type, - | ~~~~~~~~~~~~~~~~ - 1977 | //(const GLvoid *) pixels ); ret - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1978 | (const GLvoid *) String_val(pixels) ); ret - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - In file included from gl.wrap.c:60: - gl.wrap.h:31:12: note: 'internal_format' was declared here - 31 | GLint internal_format; - | ^~~~~~~~~~~~~~~ - ocamlmklib -oc gl_stubs gl.wrap.o -lGL - ocamlopt.opt -g -a -o GL.a -cclib -lgl_stubs -cclib "-lGL" GL.cmx - ocamlopt.opt -g -a -o GL.cmxa -cclib -lgl_stubs -cclib "-lGL" GL.cmx - ocamlc.opt -c Glu.mli - ocamlopt.opt -g -c Glu.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_error.inc.c .inc.c` > enums/gl_error.inc.c - ocamlc.opt -c glu.wrap.c - glu.wrap.c: In function 'ml_glutess_cb_vertex': - glu.wrap.c:1081:62: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1081 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_VERTEX, user_glutess_cb_vertex ); - | ^~~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(void *) - In file included from glu.wrap.c:32: - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *)' - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glutess_cb_begin': - glu.wrap.c:1112:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1112 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_BEGIN, user_glutess_cb_begin ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glutess_cb_end': - glu.wrap.c:1128:59: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1128 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_END, user_glutess_cb_end ); - | ^~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glutess_cb_error': - glu.wrap.c:1160:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1160 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_ERROR, user_glutess_cb_error ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'default_glutess_cb_error': - glu.wrap.c:978:5: warning: 'strncat' specified bound 76 equals destination size [-Wstringop-overflow=] - 978 | strncat(err_msg, (char *)estring, 76); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c: In function 'ml_glugetstring': - glu.wrap.c:122:12: warning: 'glu_desc' may be used uninitialized [-Wmaybe-uninitialized] - 122 | info = gluGetString( glu_desc ); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:117:12: note: 'glu_desc' was declared here - 117 | GLenum glu_desc; - | ^~~~~~~~ - glu.wrap.c: In function 'ml_gluquadricorientation': - glu.wrap.c:642:5: warning: 'orientation' may be used uninitialized [-Wmaybe-uninitialized] - 642 | gluQuadricOrientation( Gluquadric_val(quad), orientation ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:636:12: note: 'orientation' was declared here - 636 | GLenum orientation; - | ^~~~~~~~~~~ - glu.wrap.c: In function 'ml_gluquadricnormals': - glu.wrap.c:655:5: warning: 'normal' may be used uninitialized [-Wmaybe-uninitialized] - 655 | gluQuadricNormals( Gluquadric_val(quad), normal ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:648:12: note: 'normal' was declared here - 648 | GLenum normal; - | ^~~~~~ - glu.wrap.c: In function 'ml_glugettesswindingrule': - glu.wrap.c:688:5: warning: 'winding' may be used uninitialized [-Wmaybe-uninitialized] - 688 | gluTessProperty( (GLUtesselator *)tess, GLU_TESS_WINDING_RULE, winding ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:680:14: note: 'winding' was declared here - 680 | GLdouble winding; - | ^~~~~~~ - glu.wrap.c: In function 'ml_glunextcontour': - glu.wrap.c:716:5: warning: 't' may be used uninitialized [-Wmaybe-uninitialized] - 716 | gluNextContour( (GLUtesselator *) tess, t ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - glu.wrap.c:707:12: note: 't' was declared here - 707 | GLenum t; - | ^ - ocamlmklib -o Glu glu.wrap.o -lGLU - ocamlmklib -o Glu Glu.cmx -lGLU - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button.inc.ml .inc.ml` > enums/mouse_button.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button_state.inc.ml .inc.ml` > enums/mouse_button_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/init_mode.inc.ml .inc.ml` > enums/init_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/special_key.inc.ml .inc.ml` > enums/special_key.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/game_mode.inc.ml .inc.ml` > enums/game_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/visibility_state.inc.ml .inc.ml` > enums/visibility_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/entry_state.inc.ml .inc.ml` > enums/entry_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_state.inc.ml .inc.ml` > enums/get_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/glut_device.inc.ml .inc.ml` > enums/glut_device.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/cursor_type.inc.ml .inc.ml` > enums/cursor_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/context_profile.inc.ml .inc.ml` > enums/context_profile.inc.ml - ./mlpp.exe -C Glut.ml.pp > Glut.ml - ./mlpp.exe -C Glut.mli.pp > Glut.mli - ocamlc.opt -c Glut.mli - ocamlopt.opt -g -c Glut.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mouse_button.inc.c .inc.c` > enums/mouse_button.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button.inc-r.c .inc-r.c` > enums/mouse_button.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button_state.inc-r.c .inc-r.c` > enums/mouse_button_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/init_mode.inc.c .inc.c` > enums/init_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/special_key.inc-r.c .inc-r.c` > enums/special_key.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/game_mode.inc.c .inc.c` > enums/game_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/visibility_state.inc-r.c .inc-r.c` > enums/visibility_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/entry_state.inc-r.c .inc-r.c` > enums/entry_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_state.inc.c .inc.c` > enums/get_state.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/glut_device.inc.c .inc.c` > enums/glut_device.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/cursor_type.inc.c .inc.c` > enums/cursor_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/context_profile.inc.c .inc.c` > enums/context_profile.inc.c - ocamlc.opt -c glut.wrap.c - glut.wrap.c: In function 'ml_glutentergamemode': - glut.wrap.c:521:48: warning: variable 'st' set but not used [-Wunused-but-set-variable] - 521 | t_val ml_glutentergamemode( value unit ) { int st; st = glutEnterGameMode(); ret } - | ^~ - ocamlmklib -o Glut glut.wrap.o -lglut - ocamlmklib -o Glut Glut.cmx -lglut - ocamlc.opt -c GL.ml - ocamlc.opt -a -o GL.cma -ccopt "-lGL" -dllib -lgl_stubs GL.cmo - ocamlc.opt -c Glu.ml - ocamlmklib -o Glu Glu.cmo -lGLU - ocamlc.opt -c Glut.ml - ocamlmklib -o Glut Glut.cmo -lglut - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/interleaved_format.inc.ml .inc.ml` > enums/interleaved_format.inc.ml - ./mlpp.exe -C vertArray.ml.pp > vertArray.ml - cp vertArray.ml vertArray.mli - ocaml struct_to_sig.ml vertArray.mli # 's/= struct/: sig/g' - ocamlc.opt -c vertArray.mli - ocamlc.opt -c vertArray.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/interleaved_format.inc.c .inc.c` > enums/interleaved_format.inc.c - ocamlc.opt -c varray.wrap.c - varray.wrap.c: In function 'ml_glenableclientstate': - varray.wrap.c:135:5: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] - 135 | glEnableClientState( cap ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:117:12: note: 'cap' was declared here - 117 | GLenum cap; - | ^~~ - varray.wrap.c: In function 'ml_gldisableclientstate': - varray.wrap.c:161:5: warning: 'cap' may be used uninitialized [-Wmaybe-uninitialized] - 161 | glDisableClientState( cap ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:143:12: note: 'cap' was declared here - 143 | GLenum cap; - | ^~~ - varray.wrap.c: In function 'ml_gldrawelements': - varray.wrap.c:303:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 303 | glDrawElements( - | ^~~~~~~~~~~~~~~ - 304 | Int_val(mode), - | ~~~~~~~~~~~~~~ - 305 | Int_val(count), - | ~~~~~~~~~~~~~~~ - 306 | type, - | ~~~~~ - 307 | indices ); - | ~~~~~~~~~ - varray.wrap.c:241:12: note: 'type' was declared here - 241 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_gldrawrangeelements_native': - varray.wrap.c:341:16: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 341 | if (type != GL_UNSIGNED_SHORT) - | ^ - varray.wrap.c:322:12: note: 'type' was declared here - 322 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_glvertexpointer': - varray.wrap.c:395:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 395 | switch (data_type) - | ^~~~~~ - varray.wrap.c:385:12: note: 'data_type' was declared here - 385 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:424:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 424 | if (size != _size) - | ^ - varray.wrap.c:382:15: note: '_size' was declared here - 382 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glvertexpointer0': - varray.wrap.c:454:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 454 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:446:12: note: 'data_type' was declared here - 446 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer': - varray.wrap.c:478:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 478 | switch (data_type) - | ^~~~~~ - varray.wrap.c:468:12: note: 'data_type' was declared here - 468 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:507:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 507 | if (size != _size) - | ^ - varray.wrap.c:465:15: note: '_size' was declared here - 465 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer0': - varray.wrap.c:539:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 539 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:530:12: note: 'data_type' was declared here - 530 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer': - varray.wrap.c:565:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 565 | switch (data_type) - | ^~~~~~ - varray.wrap.c:554:12: note: 'data_type' was declared here - 554 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:595:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 595 | if (size != _size) - | ^ - varray.wrap.c:551:15: note: '_size' was declared here - 551 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glnormalpointer0': - varray.wrap.c:627:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 627 | glNormalPointer( data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:617:12: note: 'data_type' was declared here - 617 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer': - varray.wrap.c:652:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 652 | switch (data_type) - | ^~~~~~ - varray.wrap.c:641:12: note: 'data_type' was declared here - 641 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:682:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 682 | if (size != _size) - | ^ - varray.wrap.c:638:15: note: '_size' was declared here - 638 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glindexpointer0': - varray.wrap.c:714:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 714 | glIndexPointer( data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:704:12: note: 'data_type' was declared here - 704 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer': - varray.wrap.c:743:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 743 | switch (data_type) - | ^~~~~~ - varray.wrap.c:729:12: note: 'data_type' was declared here - 729 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:779:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 779 | if (size != _size) - | ^ - varray.wrap.c:726:15: note: '_size' was declared here - 726 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer': - varray.wrap.c:821:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 821 | switch (data_type) - | ^~~~~~ - varray.wrap.c:807:12: note: 'data_type' was declared here - 807 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c:857:8: warning: '_size' may be used uninitialized [-Wmaybe-uninitialized] - 857 | if (size != _size) - | ^ - varray.wrap.c:804:15: note: '_size' was declared here - 804 | int size, _size; - | ^~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_native': - varray.wrap.c:902:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 902 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 903 | Int_val(size), - | ~~~~~~~~~~~~~~ - 904 | data_type, - | ~~~~~~~~~~ - 905 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 906 | Int_val(stride), - | ~~~~~~~~~~~~~~~~ - 907 | (GLvoid *) Data_bigarray_val(pointer) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 908 | ); - | ~ - varray.wrap.c:888:12: note: 'data_type' was declared here - 888 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer0': - varray.wrap.c:934:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 934 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:921:12: note: 'data_type' was declared here - 921 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer0': - varray.wrap.c:954:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 954 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), 0 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:941:12: note: 'data_type' was declared here - 941 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer0': - varray.wrap.c:996:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 996 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 997 | Int_val(size), - | ~~~~~~~~~~~~~~ - 998 | data_type, - | ~~~~~~~~~~ - 999 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1000 | Int_val(stride), - | ~~~~~~~~~~~~~~~~ - 1001 | (GLvoid *) NULL - | ~~~~~~~~~~~~~~~ - 1002 | ); - | ~ - varray.wrap.c:982:12: note: 'data_type' was declared here - 982 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gldrawelements0': - varray.wrap.c:1019:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1019 | glDrawElements( - | ^~~~~~~~~~~~~~~ - 1020 | Int_val(mode), - | ~~~~~~~~~~~~~~ - 1021 | Int_val(count), - | ~~~~~~~~~~~~~~~ - 1022 | type, - | ~~~~~ - 1023 | (GLvoid *) NULL ); - | ~~~~~~~~~~~~~~~~~ - varray.wrap.c:1012:12: note: 'type' was declared here - 1012 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_glvertexpointer_ofs8': - varray.wrap.c:1039:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1039 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1032:12: note: 'data_type' was declared here - 1032 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexpointer_ofs16': - varray.wrap.c:1051:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1051 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1044:12: note: 'data_type' was declared here - 1044 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexpointer_ofs32': - varray.wrap.c:1063:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1063 | glVertexPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1056:12: note: 'data_type' was declared here - 1056 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer_ofs8': - varray.wrap.c:1078:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1078 | glIndexPointer( data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1070:12: note: 'data_type' was declared here - 1070 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer_ofs16': - varray.wrap.c:1091:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1091 | glIndexPointer( data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1083:12: note: 'data_type' was declared here - 1083 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glindexpointer_ofs32': - varray.wrap.c:1104:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1104 | glIndexPointer( data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1096:12: note: 'data_type' was declared here - 1096 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer_ofs8': - varray.wrap.c:1118:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1118 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1111:12: note: 'data_type' was declared here - 1111 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer_ofs16': - varray.wrap.c:1130:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1130 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1123:12: note: 'data_type' was declared here - 1123 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gltexcoordpointer_ofs32': - varray.wrap.c:1142:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1142 | glTexCoordPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1135:12: note: 'data_type' was declared here - 1135 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer_ofs8': - varray.wrap.c:1161:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1161 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1150:12: note: 'data_type' was declared here - 1150 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer_ofs16': - varray.wrap.c:1177:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1177 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1166:12: note: 'data_type' was declared here - 1166 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glcolorpointer_ofs32': - varray.wrap.c:1193:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1193 | glColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1182:12: note: 'data_type' was declared here - 1182 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer_ofs8': - varray.wrap.c:1212:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1212 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1201:12: note: 'data_type' was declared here - 1201 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer_ofs16': - varray.wrap.c:1228:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1228 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1217:12: note: 'data_type' was declared here - 1217 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glsecondarycolorpointer_ofs32': - varray.wrap.c:1244:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1244 | glSecondaryColorPointer( Int_val(elem_size), data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1233:12: note: 'data_type' was declared here - 1233 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer_ofs8': - varray.wrap.c:1260:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1260 | glNormalPointer( data_type, Int_val(stride), ((int8_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1252:12: note: 'data_type' was declared here - 1252 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer_ofs16': - varray.wrap.c:1273:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1273 | glNormalPointer( data_type, Int_val(stride), ((int16_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1265:12: note: 'data_type' was declared here - 1265 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glnormalpointer_ofs32': - varray.wrap.c:1286:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1286 | glNormalPointer( data_type, Int_val(stride), ((int32_t *)NULL) + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1278:12: note: 'data_type' was declared here - 1278 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_gldrawelements_ofs8': - varray.wrap.c:1301:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1301 | glDrawElements( Int_val(mode), Int_val(count), type, (int8_t *)0 + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1295:12: note: 'type' was declared here - 1295 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_gldrawelements_ofs16': - varray.wrap.c:1313:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1313 | glDrawElements( Int_val(mode), Int_val(count), type, (int16_t *)0 + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1307:12: note: 'type' was declared here - 1307 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_gldrawelements_ofs32': - varray.wrap.c:1325:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] - 1325 | glDrawElements( Int_val(mode), Int_val(count), type, (int32_t *)0 + Long_val(ofs) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1319:12: note: 'type' was declared here - 1319 | GLenum type; - | ^~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_ofs8_native': - varray.wrap.c:1365:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1365 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1366 | Int_val(size), - | ~~~~~~~~~~~~~~ - 1367 | data_type, - | ~~~~~~~~~~ - 1368 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1369 | Int_val(stride), - | ~~~~~~~~~~~~~~~~ - 1370 | ((int8_t *)NULL) + Long_val(ofs) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1353:12: note: 'data_type' was declared here - 1353 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_ofs16_native': - varray.wrap.c:1393:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1393 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1394 | Int_val(size), - | ~~~~~~~~~~~~~~ - 1395 | data_type, - | ~~~~~~~~~~ - 1396 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1397 | sizeof(int16_t) * Int_val(stride), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1398 | ((int16_t *)NULL) + Long_val(ofs) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1381:12: note: 'data_type' was declared here - 1381 | GLenum data_type; - | ^~~~~~~~~ - varray.wrap.c: In function 'ml_glvertexattribpointer_ofs32_native': - varray.wrap.c:1421:5: warning: 'data_type' may be used uninitialized [-Wmaybe-uninitialized] - 1421 | glVertexAttribPointer( Long_val(index), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1422 | Int_val(size), - | ~~~~~~~~~~~~~~ - 1423 | data_type, - | ~~~~~~~~~~ - 1424 | Bool_val(normalized), - | ~~~~~~~~~~~~~~~~~~~~~ - 1425 | sizeof(int32_t) * Int_val(stride), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1426 | ((int32_t *)NULL) + Long_val(ofs) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - varray.wrap.c:1409:12: note: 'data_type' was declared here - 1409 | GLenum data_type; - | ^~~~~~~~~ - ocamlmklib -o vertArray varray.wrap.o -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray - ocamlmklib -o vertArray vertArray.cmo -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray - ocamlopt.opt -g -c vertArray.ml - ocamlmklib -o vertArray vertArray.cmx -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray - ocaml meta.ml \ - -GL_LIBS "-lGL" \ - -GLU_LIBS "-lGLU" \ - -GLUT_LIBS "-lglut" \ - META.in > META - File "meta.ml", line 9, characters 7-20: - Warning 3: deprecated: String.create - Use Bytes.create instead. - if [ ! -d /home/opam/.opam/4.02/lib/glMLite ]; then install -d /home/opam/.opam/4.02/lib/glMLite ; fi - for file in dllgl_stubs.so dllGlu.so dllGlut.so dllvertArray.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - for file in GL.a GL.cmi GL.cmxa GL.cmx Glu.a Glu.cmi Glu.cmxa Glu.cmx Glut.a Glut.cmi Glut.cmxa Glut.cmx libgl_stubs.a libGlu.a libGlut.a GL.o Glu.o Glut.o GL.cma Glu.cma Glut.cma vertArray.cma vertArray.cmi vertArray.cmxa vertArray.cmx vertArray.a vertArray.o libvertArray.a ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - install -m 0644 META /home/opam/.opam/4.02/lib/glMLite/ - ocamlc.opt -c jpeg_loader.ml - ocamlmklib -o jpeg_loader jpeg_loader.cmo -lGL -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -ljpeg - if [ ! -d /home/opam/.opam/4.02/lib/glMLite ]; then install -d /home/opam/.opam/4.02/lib/glMLite ; fi - for file in dlljpeg_loader.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - for file in jpeg_loader.cma jpeg_loader.cmi jpeg_loader.cmxa jpeg_loader.cmx jpeg_loader.a jpeg_loader.o libjpeg_loader.a ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - ./mlpp.exe -C FunGL.ml.pp > FunGL.ml - ./mlpp.exe -D MLI -C FunGL.ml.pp > FunGL.mli - ocaml struct_to_sig.ml FunGL.mli # 's/= struct/: sig/g' - ocamlc.opt -c FunGL.mli - ocamlc.opt -c FunGL.ml - ocamlc.opt -c fungl.wrap.c - fungl.wrap.c: In function 'c_restore_lightModel': - fungl.wrap.c:270:5: warning: 'pname' may be used uninitialized [-Wmaybe-uninitialized] - 270 | glLightModelfv( pname, (GLfloat *)lightModel_state ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - fungl.wrap.c:262:12: note: 'pname' was declared here - 262 | GLenum pname; - | ^~~~~ - ocamlmklib -o FunGL fungl.wrap.o -lGL - ocamlmklib -o FunGL FunGL.cmo -lGL - ocamlopt.opt -g -c FunGL.ml - ocamlmklib -o FunGL FunGL.cmx -lGL - ocamlc.opt -i FunGlut.ml > FunGlut.mli - ocamlc.opt -c FunGlut.mli - ocamlc.opt -c FunGlut.ml - ocamlc.opt -a FunGlut.cmo -o FunGlut.cma - ocamlopt.opt -g -a -o FunGlut.cmxa Glut.cmx FunGlut.ml - if [ ! -d /home/opam/.opam/4.02/lib/glMLite ]; then install -d /home/opam/.opam/4.02/lib/glMLite ; fi - for file in dllFunGL.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - for file in FunGL.cma FunGL.cmi FunGL.cmxa FunGL.cmx FunGL.a FunGL.o libFunGL.a FunGlut.cma FunGlut.cmi FunGlut.cmxa FunGlut.cmx FunGlut.a FunGlut.o ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - (make install -f Makefile.VBO) - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - ocamlc.opt -c VBO.mli - ocamlc.opt -c VBO.ml - ocamlmklib -o VBO VBO.cmo -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -lGL - ocamlopt.opt -g -c VBO.ml - ocamlmklib -o VBO VBO.cmx -L"/home/opam/.opam/4.02/lib/ocaml" -lbigarray -lGL - if [ ! -d /home/opam/.opam/4.02/lib/glMLite ]; then install -d /home/opam/.opam/4.02/lib/glMLite ; fi - for file in dllVBO.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - for file in VBO.cma VBO.cmi VBO.cmxa VBO.cmx VBO.a VBO.o libVBO.a ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.02/lib/glMLite/; fi; done - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/glMLite.0.03.51/SRC' -> installed glMLite.0.03.51 Done. # Run eval $(opam env) to update the current shell environment 2022-10-12 13:01.51 ---> saved as "ea05bd5e899834cd5baf3c71a767f6b3de61482f17e0e4c21e6a47cf00a13073" Job succeeded