Build:
- 0
2026-06-24 11:05.43: New job: build glMLite.0.03.53 (381449da8cb0)
2026-06-24 11:05.43: Waiting for resource in pool day11-builds
2026-06-24 11:13.02: Got resource from pool day11-builds
2026-06-24 11:13.02: [profile full] build glMLite.0.03.53
2026-06-24 11:13.02: build glMLite.0.03.53 (381449da8cb0)
=== DEPENDENCIES (6 transitive) ===
conf-libjpeg.1 bd10b86c6b69
conf-pkg-config.5 d5de2c6a88f9
ocaml.4.14.4 b047fb9251f4
ocaml-base-compiler.4.14.4 d3b7ccb2c6fb
ocaml-config.2 2d9c209f5590
ocamlfind.1.9.8 214dd418ac02
=== STDOUT ===
Processing: [default: loading data]
The following system packages will first need to be installed:
freeglut3-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "freeglut3-dev"
- 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 ... 18285 files and directories currently installed.)
- Preparing to unpack .../00-libglvnd0_1.6.0-1_amd64.deb ...
- Unpacking libglvnd0:amd64 (1.6.0-1) ...
- Selecting previously unselected package libdrm-common.
- Preparing to unpack .../01-libdrm-common_2.4.114-1_all.deb ...
- Unpacking libdrm-common (2.4.114-1) ...
- Selecting previously unselected package libdrm2:amd64.
- Preparing to unpack .../02-libdrm2_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm2:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libglapi-mesa:amd64.
- Preparing to unpack .../03-libglapi-mesa_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libglapi-mesa:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libx11-xcb1:amd64.
- Preparing to unpack .../04-libx11-xcb1_2%3a1.8.4-2+deb12u2_amd64.deb ...
- Unpacking libx11-xcb1:amd64 (2:1.8.4-2+deb12u2) ...
- 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-randr0:amd64.
- Preparing to unpack .../09-libxcb-randr0_1.15-1_amd64.deb ...
- Unpacking libxcb-randr0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-shm0:amd64.
- Preparing to unpack .../10-libxcb-shm0_1.15-1_amd64.deb ...
- Unpacking libxcb-shm0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-sync1:amd64.
- Preparing to unpack .../11-libxcb-sync1_1.15-1_amd64.deb ...
- Unpacking libxcb-sync1:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-xfixes0:amd64.
- Preparing to unpack .../12-libxcb-xfixes0_1.15-1_amd64.deb ...
- Unpacking libxcb-xfixes0:amd64 (1.15-1) ...
- Selecting previously unselected package libxfixes3:amd64.
- Preparing to unpack .../13-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 .../14-libxshmfence1_1.3-1_amd64.deb ...
- Unpacking libxshmfence1:amd64 (1.3-1) ...
- Selecting previously unselected package libxxf86vm1:amd64.
- Preparing to unpack .../15-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 .../16-libdrm-amdgpu1_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-amdgpu1:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libpciaccess0:amd64.
- Preparing to unpack .../17-libpciaccess0_0.17-2_amd64.deb ...
- Unpacking libpciaccess0:amd64 (0.17-2) ...
- Selecting previously unselected package libdrm-intel1:amd64.
- Preparing to unpack .../18-libdrm-intel1_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-intel1:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libdrm-nouveau2:amd64.
- Preparing to unpack .../19-libdrm-nouveau2_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-nouveau2:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libdrm-radeon1:amd64.
- Preparing to unpack .../20-libdrm-radeon1_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-radeon1:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libelf1:amd64.
- Preparing to unpack .../21-libelf1_0.188-2.1_amd64.deb ...
- Unpacking libelf1:amd64 (0.188-2.1) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../22-libicu72_72.1-3+deb12u1_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3+deb12u1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../23-libxml2_2.9.14+dfsg-1.3~deb12u5_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u5) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../24-libz3-4_4.8.12-3.1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.8.12-3.1) ...
- Selecting previously unselected package libllvm15:amd64.
- Preparing to unpack .../25-libllvm15_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking libllvm15:amd64 (1:15.0.6-4+b1) ...
- Selecting previously unselected package libsensors-config.
- Preparing to unpack .../26-libsensors-config_1%3a3.6.0-7.1_all.deb ...
- Unpacking libsensors-config (1:3.6.0-7.1) ...
- Selecting previously unselected package libsensors5:amd64.
- Preparing to unpack .../27-libsensors5_1%3a3.6.0-7.1_amd64.deb ...
- Unpacking libsensors5:amd64 (1:3.6.0-7.1) ...
- Selecting previously unselected package libgl1-mesa-dri:amd64.
- Preparing to unpack .../28-libgl1-mesa-dri_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libgl1-mesa-dri:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libglx-mesa0:amd64.
- Preparing to unpack .../29-libglx-mesa0_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libglx-mesa0:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libglx0:amd64.
- Preparing to unpack .../30-libglx0_1.6.0-1_amd64.deb ...
- Unpacking libglx0:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgl1:amd64.
- Preparing to unpack .../31-libgl1_1.6.0-1_amd64.deb ...
- Unpacking libgl1:amd64 (1.6.0-1) ...
- Selecting previously unselected package libxi6:amd64.
- Preparing to unpack .../32-libxi6_2%3a1.8-1+b1_amd64.deb ...
- Unpacking libxi6:amd64 (2:1.8-1+b1) ...
- Selecting previously unselected package libglut3.12:amd64.
- Preparing to unpack .../33-libglut3.12_3.4.0-1_amd64.deb ...
- Unpacking libglut3.12:amd64 (3.4.0-1) ...
- Selecting previously unselected package xorg-sgml-doctools.
- Preparing to unpack .../34-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ...
- Unpacking xorg-sgml-doctools (1:1.11-1.1) ...
- Selecting previously unselected package x11proto-dev.
- Preparing to unpack .../35-x11proto-dev_2022.1-1_all.deb ...
- Unpacking x11proto-dev (2022.1-1) ...
- Selecting previously unselected package libxau-dev:amd64.
- Preparing to unpack .../36-libxau-dev_1%3a1.0.9-1_amd64.deb ...
- Unpacking libxau-dev:amd64 (1:1.0.9-1) ...
- Selecting previously unselected package libxdmcp-dev:amd64.
- Preparing to unpack .../37-libxdmcp-dev_1%3a1.1.2-3_amd64.deb ...
- Unpacking libxdmcp-dev:amd64 (1:1.1.2-3) ...
- Selecting previously unselected package xtrans-dev.
- Preparing to unpack .../38-xtrans-dev_1.4.0-1_all.deb ...
- Unpacking xtrans-dev (1.4.0-1) ...
- Selecting previously unselected package libpthread-stubs0-dev:amd64.
- Preparing to unpack .../39-libpthread-stubs0-dev_0.4-1_amd64.deb ...
- Unpacking libpthread-stubs0-dev:amd64 (0.4-1) ...
- Selecting previously unselected package libxcb1-dev:amd64.
- Preparing to unpack .../40-libxcb1-dev_1.15-1_amd64.deb ...
- Unpacking libxcb1-dev:amd64 (1.15-1) ...
- Selecting previously unselected package libx11-dev:amd64.
- Preparing to unpack .../41-libx11-dev_2%3a1.8.4-2+deb12u2_amd64.deb ...
- Unpacking libx11-dev:amd64 (2:1.8.4-2+deb12u2) ...
- Selecting previously unselected package libglx-dev:amd64.
- Preparing to unpack .../42-libglx-dev_1.6.0-1_amd64.deb ...
- Unpacking libglx-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgl-dev:amd64.
- Preparing to unpack .../43-libgl-dev_1.6.0-1_amd64.deb ...
- Unpacking libgl-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libglvnd-core-dev:amd64.
- Preparing to unpack .../44-libglvnd-core-dev_1.6.0-1_amd64.deb ...
- Unpacking libglvnd-core-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libwayland-server0:amd64.
- Preparing to unpack .../45-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 .../46-libgbm1_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libgbm1:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libwayland-client0:amd64.
- Preparing to unpack .../47-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 .../48-libegl-mesa0_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libegl-mesa0:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libegl1:amd64.
- Preparing to unpack .../49-libegl1_1.6.0-1_amd64.deb ...
- Unpacking libegl1:amd64 (1.6.0-1) ...
- Selecting previously unselected package libegl-dev:amd64.
- Preparing to unpack .../50-libegl-dev_1.6.0-1_amd64.deb ...
- Unpacking libegl-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgles1:amd64.
- Preparing to unpack .../51-libgles1_1.6.0-1_amd64.deb ...
- Unpacking libgles1:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgles2:amd64.
- Preparing to unpack .../52-libgles2_1.6.0-1_amd64.deb ...
- Unpacking libgles2:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgles-dev:amd64.
- Preparing to unpack .../53-libgles-dev_1.6.0-1_amd64.deb ...
- Unpacking libgles-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libopengl0:amd64.
- Preparing to unpack .../54-libopengl0_1.6.0-1_amd64.deb ...
- Unpacking libopengl0:amd64 (1.6.0-1) ...
- Selecting previously unselected package libopengl-dev:amd64.
- Preparing to unpack .../55-libopengl-dev_1.6.0-1_amd64.deb ...
- Unpacking libopengl-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libglvnd-dev:amd64.
- Preparing to unpack .../56-libglvnd-dev_1.6.0-1_amd64.deb ...
- Unpacking libglvnd-dev:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgl1-mesa-dev:amd64.
- Preparing to unpack .../57-libgl1-mesa-dev_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libgl1-mesa-dev:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libglu1-mesa:amd64.
- Preparing to unpack .../58-libglu1-mesa_9.0.2-1.1_amd64.deb ...
- Unpacking libglu1-mesa:amd64 (9.0.2-1.1) ...
- Selecting previously unselected package libglu1-mesa-dev:amd64.
- Preparing to unpack .../59-libglu1-mesa-dev_9.0.2-1.1_amd64.deb ...
- Unpacking libglu1-mesa-dev:amd64 (9.0.2-1.1) ...
- Selecting previously unselected package libxext-dev:amd64.
- Preparing to unpack .../60-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 .../61-x11-common_1%3a7.7+23_all.deb ...
- Unpacking x11-common (1:7.7+23) ...
- Selecting previously unselected package libice6:amd64.
- Preparing to unpack .../62-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 .../63-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 .../64-libxt6_1%3a1.2.1-1.1_amd64.deb ...
- Unpacking libxt6:amd64 (1:1.2.1-1.1) ...
- Selecting previously unselected package libice-dev:amd64.
- Preparing to unpack .../65-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 .../66-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 .../67-libxt-dev_1%3a1.2.1-1.1_amd64.deb ...
- Unpacking libxt-dev:amd64 (1:1.2.1-1.1) ...
- Selecting previously unselected package libglut-dev:amd64.
- Preparing to unpack .../68-libglut-dev_3.4.0-1_amd64.deb ...
- Unpacking libglut-dev:amd64 (3.4.0-1) ...
- Selecting previously unselected package freeglut3-dev:amd64.
- Preparing to unpack .../69-freeglut3-dev_3.4.0-1_amd64.deb ...
- Unpacking freeglut3-dev:amd64 (3.4.0-1) ...
- Setting up libxcb-dri3-0:amd64 (1.15-1) ...
- Setting up libwayland-server0:amd64 (1.21.0-1) ...
- Setting up libx11-xcb1:amd64 (2:1.8.4-2+deb12u2) ...
- Setting up libpciaccess0:amd64 (0.17-2) ...
- Setting up libicu72:amd64 (72.1-3+deb12u1) ...
- Setting up libxcb-xfixes0:amd64 (1.15-1) ...
- Setting up libglvnd-core-dev:amd64 (1.6.0-1) ...
- Setting up libxi6:amd64 (2:1.8-1+b1) ...
- Setting up libglvnd0:amd64 (1.6.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.1) ...
- Setting up libxcb-shm0:amd64 (1.15-1) ...
- Setting up libpthread-stubs0-dev:amd64 (0.4-1) ...
- Setting up libopengl0:amd64 (1.6.0-1) ...
- Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
- Setting up libxcb-present0:amd64 (1.15-1) ...
- Setting up xtrans-dev (1.4.0-1) ...
- Setting up libz3-4:amd64 (4.8.12-3.1) ...
- Setting up libgles2:amd64 (1.6.0-1) ...
- Setting up libxfixes3:amd64 (1:6.0.0-2) ...
- Setting up libxcb-sync1:amd64 (1.15-1) ...
- Setting up libgles1:amd64 (1.6.0-1) ...
- Setting up libsensors5:amd64 (1:3.6.0-7.1) ...
- Setting up libglapi-mesa:amd64 (22.3.6-1+deb12u1) ...
- Setting up libxcb-dri2-0:amd64 (1.15-1) ...
- Setting up libxshmfence1:amd64 (1.3-1) ...
- Setting up libxcb-randr0:amd64 (1.15-1) ...
- Setting up xorg-sgml-doctools (1:1.11-1.1) ...
- Setting up libglu1-mesa:amd64 (9.0.2-1.1) ...
- Setting up libopengl-dev:amd64 (1.6.0-1) ...
- Setting up libdrm-common (2.4.114-1) ...
- Setting up libelf1:amd64 (0.188-2.1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u5) ...
- Setting up libwayland-client0:amd64 (1.21.0-1) ...
- Setting up x11proto-dev (2022.1-1) ...
- Setting up libice6:amd64 (2:1.0.10-1) ...
- Setting up libxau-dev:amd64 (1:1.0.9-1) ...
- Setting up libice-dev:amd64 (2:1.0.10-1) ...
- Setting up libxdmcp-dev:amd64 (1:1.1.2-3) ...
- Setting up libdrm2:amd64 (2.4.114-1+b1) ...
- Setting up libllvm15:amd64 (1:15.0.6-4+b1) ...
- Setting up libsm6:amd64 (2:1.2.3-1) ...
- Setting up libdrm-amdgpu1:amd64 (2.4.114-1+b1) ...
- Setting up libdrm-nouveau2:amd64 (2.4.114-1+b1) ...
- Setting up libxcb1-dev:amd64 (1.15-1) ...
- Setting up libgbm1:amd64 (22.3.6-1+deb12u1) ...
- Setting up libsm-dev:amd64 (2:1.2.3-1) ...
- Setting up libdrm-radeon1:amd64 (2.4.114-1+b1) ...
- Setting up libdrm-intel1:amd64 (2.4.114-1+b1) ...
- Setting up libgl1-mesa-dri:amd64 (22.3.6-1+deb12u1) ...
- Setting up libx11-dev:amd64 (2:1.8.4-2+deb12u2) ...
- Setting up libegl-mesa0:amd64 (22.3.6-1+deb12u1) ...
- Setting up libxt6:amd64 (1:1.2.1-1.1) ...
- Setting up libxext-dev:amd64 (2:1.3.4-1+b1) ...
- Setting up libegl1:amd64 (1.6.0-1) ...
- Setting up libglx-mesa0:amd64 (22.3.6-1+deb12u1) ...
- Setting up libglx0:amd64 (1.6.0-1) ...
- Setting up libgl1:amd64 (1.6.0-1) ...
- Setting up libxt-dev:amd64 (1:1.2.1-1.1) ...
- Setting up libglut3.12:amd64 (3.4.0-1) ...
- Setting up libglx-dev:amd64 (1.6.0-1) ...
- Setting up libgl-dev:amd64 (1.6.0-1) ...
- Setting up libegl-dev:amd64 (1.6.0-1) ...
- Setting up libglu1-mesa-dev:amd64 (9.0.2-1.1) ...
- Setting up libgles-dev:amd64 (1.6.0-1) ...
- Setting up libglvnd-dev:amd64 (1.6.0-1) ...
- Setting up libgl1-mesa-dev:amd64 (22.3.6-1+deb12u1) ...
- Setting up libglut-dev:amd64 (3.4.0-1) ...
- Setting up freeglut3-dev:amd64 (3.4.0-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u14) ...
[glMLite.0.03.53: dl]
[glMLite.0.03.53: extract]
-> retrieved glMLite.0.03.53 (https://opam.ocaml.org/cache)
[glMLite: make]
+ /usr/bin/make (CWD=/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53)
- (cd SRC; /usr/bin/make)
- make[1]: Entering directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- if [ ! -d enums ]; then mkdir enums ; fi
- ocamlc -c -g -o xmlm.cmi xmlm.mli
- ocamlopt -c -g -o xmlm.cmx xmlm.ml
- File "xmlm.ml", line 1128, characters 18-34:
- 1128 | let lowercase = String.lowercase
- ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- ocamlopt -a -g -o xmlm.cmxa xmlm.cmx
- ocamlopt \
- -I . xmlm.cmxa \
- enums_xmlm.ml -o enums.exe
- File "enums_xmlm.ml", line 162, characters 23-44:
- 162 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- File "enums_xmlm.ml", line 170, characters 23-44:
- 170 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- File "enums_xmlm.ml", line 182, characters 23-44:
- 182 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- File "enums_xmlm.ml", line 189, characters 23-44:
- 189 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- ocamlc -c configure.c
- ocamlopt -c configure_boot.ml
- ocamlopt -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 str.cmxa mlpp.ml -o mlpp.exe
- File "mlpp.ml", line 280, characters 6-17:
- 280 | replace_all line macro def
- ^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels str, sub, by were omitted in the application of this function.
- File "mlpp.ml", line 394, characters 23-30:
- 394 | let line = replace line "#define" "" in
- ^^^^^^^
- Warning 6 [labels-omitted]: labels str, sub, by were omitted in the application of this function.
- File "mlpp.ml", line 432, characters 23-30:
- 432 | let line = replace line "#include" "" in
- ^^^^^^^
- Warning 6 [labels-omitted]: labels str, sub, by were omitted in the application of this function.
- File "mlpp.ml", line 463, characters 23-30:
- 463 | let line = replace line "#ifdef" "" in
- ^^^^^^^
- Warning 6 [labels-omitted]: labels str, sub, by were omitted in the application of this function.
- ./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 -c GL.mli
- ocamlc -c GL.ml
- File "GL.ml.pp", line 593, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 594, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 595, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 596, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 597, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 599, characters 43-52:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 601, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 602, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 603, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 604, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 1523, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1524, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1525, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1526, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1527, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1528, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1529, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1530, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1531, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1805, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1806, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1807, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1808, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1809, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1811, characters 46-58:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1813, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1814, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1815, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1816, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- ./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 -c gl.wrap.c
- gl.wrap.c: In function 'ml_glreadpixels_ba_unsafe_native':
- gl.wrap.c:639:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 639 | (GLvoid *) Data_bigarray_val(ba_data) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glreadpixels_ba_native':
- gl.wrap.c:659:13: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead
- 659 | struct caml_bigarray * ba = Bigarray_val(ba_data);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:659:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 659 | struct caml_bigarray * ba = Bigarray_val(ba_data);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:757:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 757 | switch (Bigarray_val(ba_data)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:757:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 757 | switch (Bigarray_val(ba_data)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:759:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 759 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:760:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 760 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:763:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 763 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:764:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 764 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:767:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 767 | case BIGARRAY_INT32:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:768:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 768 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:769:13: warning: "BIGARRAY_COMPLEX32" is deprecated: use "CAML_BA_COMPLEX32" instead
- 769 | case BIGARRAY_COMPLEX32:
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:772:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 772 | case BIGARRAY_INT64:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:773:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 773 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:774:13: warning: "BIGARRAY_COMPLEX64" is deprecated: use "CAML_BA_COMPLEX64" instead
- 774 | case BIGARRAY_COMPLEX64:
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:777:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 777 | case BIGARRAY_CAML_INT:
- | ^~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:778:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 778 | case BIGARRAY_NATIVE_INT:
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:793:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 793 | (GLvoid *) Data_bigarray_val(ba_data) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glbitmap_native':
- gl.wrap.c:841:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 841 | (GLubyte *)Data_bigarray_val(bitmap) ); ret
- | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glselectbuffer_ba':
- gl.wrap.c:1715:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 1715 | select_buffer = (GLuint *) Data_bigarray_val(ba);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:1716:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 1716 | size = Bigarray_val(ba)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glteximage2d_native':
- gl.wrap.c:1944:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 1944 | (const GLvoid *) Data_bigarray_val(pixels) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glteximage1d_native':
- gl.wrap.c:2011:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2011 | (const GLvoid *) Data_bigarray_val(pixels) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glteximage3d_native':
- gl.wrap.c:2049:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2049 | (const GLvoid *) Data_bigarray_val(pixels) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glpolygonstipple_unsafe':
- gl.wrap.c:2088:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2088 | glPolygonStipple( (GLubyte *) Data_bigarray_val(mask) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glpolygonstipple':
- gl.wrap.c:2093:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 2093 | if (Bigarray_val(mask)->dim[0] != 128)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:2095:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2095 | glPolygonStipple( (GLubyte *) Data_bigarray_val(mask) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from gl.wrap.c:45:
- gl.wrap.c: In function 'ml_glgetshaderinfolog':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 4 of 'glGetShaderInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:3251:85: note: in expansion of macro 'String_val'
- 3251 | glGetShaderInfoLog(Shader_object_val(shader), infologLength, &charsWritten, String_val(infoLog));
- | ^~~~~~~~~~
- In file included from /usr/include/GL/gl.h:2050,
- from gl.wrap.c:38:
- /usr/include/GL/glext.h:747:98: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *'
- 747 | GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
- | ~~~~~~~~^~~~~~~
- gl.wrap.c: In function 'ml_glgetprograminfolog':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 4 of 'glGetProgramInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:3272:88: note: in expansion of macro 'String_val'
- 3272 | glGetProgramInfoLog(Shader_program_val(program), infologLength, &charsWritten, String_val(infoLog));
- | ^~~~~~~~~~
- /usr/include/GL/glext.h:745:100: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *'
- 745 | GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
- | ~~~~~~~~^~~~~~~
- ocamlmklib -oc gl_stubs gl.wrap.o -lGL
- ocamlc -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 -c Glu.mli
- ocamlc -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 -c glu.wrap.c
- glu.wrap.c: In function 'ml_glubuild2dmipmaps_native':
- glu.wrap.c:149:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 149 | (void *) Data_bigarray_val(pixel_data) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glu.wrap.c: In function 'ml_glubuild1dmipmaps':
- glu.wrap.c:183:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 183 | (void *) Data_bigarray_val(pixel_data) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glu.wrap.c: In function 'ml_glubuild3dmipmaps_native':
- glu.wrap.c:214:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 214 | (void *) Data_bigarray_val(pixel_data) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glu.wrap.c: In function 'user_glutess_cb_vertex':
- glu.wrap.c:1072:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1072 | closure_f = caml_named_value("GLU callback tess vertex");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_vertex':
- glu.wrap.c:1080:62: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1080 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_VERTEX, user_glutess_cb_vertex );
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | void (*)(void *)
- In file included from glu.wrap.c:31:
- /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 'user_glutess_cb_begin':
- glu.wrap.c:1105:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1105 | closure_f = caml_named_value("GLU callback tess begin");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_begin':
- glu.wrap.c:1111:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1111 | 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 'user_glutess_cb_end':
- glu.wrap.c:1121:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1121 | closure_f = caml_named_value("GLU callback tess end");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_end':
- glu.wrap.c:1127:59: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1127 | 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 'user_glutess_cb_error':
- glu.wrap.c:1153:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1153 | closure_f = caml_named_value("GLU callback tess error");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_error':
- glu.wrap.c:1159:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1159 | 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:977:5: warning: 'strncat' specified bound 76 equals destination size [-Wstringop-overflow=]
- 977 | strncat(err_msg, (char *)estring, 76);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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 -c Glut.mli
- ocamlc -c Glut.ml
- File "Glut.ml.pp", line 184, characters 6-8:
- Warning 6 [labels-omitted]: label value was omitted in the application of this function.
- ./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 -c glut.wrap.c
- In file included from glut.wrap.c:37:
- glut.wrap.c: In function 'ml_glutinit':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- glut.wrap.c:113:21: note: in expansion of macro 'String_val'
- 113 | char *arg = String_val(ml_arg);
- | ^~~~~~~~~~
- glut.wrap.c: In function 'display_closure':
- glut.wrap.c:193:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 193 | closure_f = caml_named_value("GL callback display");
- | ^
- glut.wrap.c: In function 'reshape_closure':
- glut.wrap.c:206:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 206 | closure_f = caml_named_value("GL callback reshape");
- | ^
- glut.wrap.c: In function 'keyboard_closure':
- glut.wrap.c:219:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 219 | closure_f = caml_named_value("GL callback keyboard");
- | ^
- glut.wrap.c: In function 'keyboardup_closure':
- glut.wrap.c:232:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 232 | closure_f = caml_named_value("GL callback keyboard-up");
- | ^
- glut.wrap.c: In function 'passive_closure':
- glut.wrap.c:245:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 245 | closure_f = caml_named_value("GL callback passive");
- | ^
- glut.wrap.c: In function 'motion_closure':
- glut.wrap.c:258:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 258 | closure_f = caml_named_value("GL callback motion");
- | ^
- glut.wrap.c: In function 'mouse_closure':
- glut.wrap.c:288:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 288 | closure_f = caml_named_value("GL callback mouse");
- | ^
- glut.wrap.c: In function 'visibility_closure':
- glut.wrap.c:305:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 305 | closure_f = caml_named_value("GL callback visibility");
- | ^
- glut.wrap.c: In function 'entry_closure':
- glut.wrap.c:322:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 322 | closure_f = caml_named_value("GL callback entry");
- | ^
- glut.wrap.c: In function 'special_closure':
- glut.wrap.c:338:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 338 | closure_f = caml_named_value("GL callback special");
- | ^
- glut.wrap.c: In function 'specialup_closure':
- glut.wrap.c:354:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 354 | closure_f = caml_named_value("GL callback special-up");
- | ^
- glut.wrap.c: In function 'idle_closure':
- glut.wrap.c:367:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 367 | closure_f = caml_named_value("GL callback idle");
- | ^
- glut.wrap.c: In function 'glutTimerFunc_cb':
- glut.wrap.c:388:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead
- 388 | leave_blocking_section();
- | ^~~~~~~~~~~~~~~~~
- glut.wrap.c:389:13: warning: "callback" is deprecated: use "caml_callback" instead
- 389 | callback( caml_glutTimerFunc_cb, (value) idx );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glut.wrap.c:390:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead
- 390 | enter_blocking_section();
- | ^~~~~~~~~~~~~~~~~
- glut.wrap.c: In function 'menu_closure':
- glut.wrap.c:407:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 407 | closure_f = caml_named_value("GL callback menu");
- | ^
- 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 -c vertArray.mli
- ocamlc -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 -c varray.wrap.c
- varray.wrap.c: In function 'ml_glinterleavedarrays':
- varray.wrap.c:226:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 226 | pointer = (GLvoid *) Data_bigarray_val(pointer_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gldrawelements':
- varray.wrap.c:242:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 242 | indices = (GLvoid *) Data_bigarray_val(indices_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:251:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 251 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:251:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 251 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:253:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 253 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:258:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 258 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:263:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 263 | case BIGARRAY_CAML_INT: // 31- or 63-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:264:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 264 | case BIGARRAY_NATIVE_INT: // 32- or 64-bit (platform-native) integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:269:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 269 | case BIGARRAY_INT32: // 32-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:285:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 285 | case BIGARRAY_INT64: // 64-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gldrawrangeelements_native':
- varray.wrap.c:323:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 323 | indices = (GLvoid *) Data_bigarray_val(indices_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:332:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 332 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:332:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 332 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:334:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 334 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:339:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 339 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:344:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 344 | case BIGARRAY_CAML_INT: // 31- or 63-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:345:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 345 | case BIGARRAY_NATIVE_INT: // 32- or 64-bit (platform-native) integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glvertexpointer':
- varray.wrap.c:402:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 402 | switch (Bigarray_val(vertex_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:402:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 402 | switch (Bigarray_val(vertex_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:404:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 404 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:405:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 405 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:407:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 407 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:408:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 408 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:410:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 410 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:411:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 411 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:413:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 413 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:414:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 414 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:416:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 416 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:417:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 417 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:426:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 426 | if (Bigarray_val(vertex_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:429:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 429 | dim = Bigarray_val(vertex_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:432:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 432 | else pointer = (GLvoid *) Data_bigarray_val(vertex_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gltexcoordpointer':
- varray.wrap.c:485:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 485 | switch (Bigarray_val(texcoord_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:485:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 485 | switch (Bigarray_val(texcoord_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:487:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 487 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:488:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 488 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:490:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 490 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:491:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 491 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:493:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 493 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:494:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 494 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:496:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 496 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:497:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 497 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:499:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 499 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:500:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 500 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:509:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 509 | if (Bigarray_val(texcoord_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:512:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 512 | dim = Bigarray_val(texcoord_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:515:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 515 | else pointer = (GLvoid *) Data_bigarray_val(texcoord_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glnormalpointer':
- varray.wrap.c:573:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 573 | switch (Bigarray_val(normal_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:573:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 573 | switch (Bigarray_val(normal_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:575:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 575 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:576:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 576 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:578:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 578 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:579:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 579 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:581:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 581 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:582:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 582 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:584:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 584 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:585:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 585 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:587:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 587 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:588:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 588 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:597:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 597 | if (Bigarray_val(normal_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:600:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 600 | dim = Bigarray_val(normal_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:603:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 603 | else pointer = (GLvoid *) Data_bigarray_val(normal_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glindexpointer':
- varray.wrap.c:660:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 660 | switch (Bigarray_val(index_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:660:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 660 | switch (Bigarray_val(index_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:662:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 662 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:663:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 663 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:665:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 665 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:666:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 666 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:668:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 668 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:669:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 669 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:671:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 671 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:672:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 672 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:674:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 674 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:675:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 675 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:684:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 684 | if (Bigarray_val(index_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:687:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 687 | dim = Bigarray_val(index_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:690:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 690 | else pointer = (GLvoid *) Data_bigarray_val(index_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glcolorpointer':
- varray.wrap.c:757:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 757 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:757:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 757 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:759:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 759 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:760:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 760 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:762:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 762 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:763:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 763 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:765:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 765 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:766:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 766 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:768:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 768 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:769:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 769 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:771:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 771 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:772:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 772 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:781:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 781 | if (Bigarray_val(color_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:784:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 784 | dim = Bigarray_val(color_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:787:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 787 | else pointer = (GLvoid *) Data_bigarray_val(color_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glsecondarycolorpointer':
- varray.wrap.c:835:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 835 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:835:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 835 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:837:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 837 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:838:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 838 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:840:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 840 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:841:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 841 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:843:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 843 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:844:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 844 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:846:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 846 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:847:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 847 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:849:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 849 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:850:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 850 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:859:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 859 | if (Bigarray_val(color_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:862:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 862 | dim = Bigarray_val(color_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:865:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 865 | else pointer = (GLvoid *) Data_bigarray_val(color_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glvertexattribpointer_native':
- varray.wrap.c:906:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 906 | (GLvoid *) Data_bigarray_val(pointer)
- | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gledgeflagpointer':
- varray.wrap.c:962:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 962 | glEdgeFlagPointer( Int_val(stride), (GLvoid *) Data_bigarray_val(pointer) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ocamlmklib -o vertArray varray.wrap.o -lGL -L"/home/opam/.opam/default/lib/ocaml"
- ocamlmklib -o vertArray vertArray.cmo -lGL -L"/home/opam/.opam/default/lib/ocaml"
- ocamlopt -c GL.ml
- File "GL.ml.pp", line 593, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 594, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 595, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 596, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 597, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 599, characters 43-52:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 601, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 602, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 603, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 604, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 1523, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1524, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1525, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1526, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1527, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1528, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1529, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1530, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1531, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1805, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1806, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1807, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1808, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1809, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1811, characters 46-58:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1813, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1814, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1815, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1816, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- ocamlopt -a -o GL.cmxa -cclib -lgl_stubs -cclib "-lGL" GL.cmx
- ocamlopt -c Glu.ml
- ocamlmklib -o Glu Glu.cmx -lGLU
- ocamlopt -c Glut.ml
- File "Glut.ml.pp", line 184, characters 6-8:
- Warning 6 [labels-omitted]: label value was omitted in the application of this function.
- ocamlmklib -o Glut Glut.cmx -lglut
- ocamlopt -c vertArray.ml
- ocamlmklib -o vertArray vertArray.cmx -lGL -L"/home/opam/.opam/default/lib/ocaml"
- ocamlc -c jpeg_loader.ml
- ocamlc -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:155:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead
- 155 | img_ba = alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT, 3, NULL, dims);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- loader-libjpeg-mem.c:155:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- loader-libjpeg-mem.c:155:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead
- 155 | img_ba = alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT, 3, NULL, dims);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- loader-libjpeg-mem.c:156:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 156 | image = Data_bigarray_val(img_ba);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- loader-libjpeg.c: In function 'load_jpeg_from_file':
- loader-libjpeg.c:96:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead
- 96 | img_ba = alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT, 3, NULL, dims);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- loader-libjpeg.c:96:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- loader-libjpeg.c:96:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead
- 96 | img_ba = alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT, 3, NULL, dims);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- loader-libjpeg.c:97:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 97 | image = Data_bigarray_val(img_ba);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ocamlmklib -o jpeg_loader loader-libjpeg.o -lGL -L"/home/opam/.opam/default/lib/ocaml" -ljpeg
- ocamlmklib -o jpeg_loader jpeg_loader.cmo -lGL -L"/home/opam/.opam/default/lib/ocaml" -ljpeg
- ocamlopt -c jpeg_loader.ml
- ocamlmklib -o jpeg_loader jpeg_loader.cmx -lGL -L"/home/opam/.opam/default/lib/ocaml" -ljpeg
- (/usr/bin/make vbo_byte -f Makefile.VBO)
- make[2]: Entering directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- ocamlopt \
- -I . xmlm.cmxa \
- enums_xmlm.ml -o enums.exe
- File "enums_xmlm.ml", line 162, characters 23-44:
- 162 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- File "enums_xmlm.ml", line 170, characters 23-44:
- 170 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- File "enums_xmlm.ml", line 182, characters 23-44:
- 182 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- File "enums_xmlm.ml", line 189, characters 23-44:
- 189 | Invalid_argument "index out of bounds" ->
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 11.5)
- ./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 -c VBO.mli
- ocamlc -c VBO.ml
- File "VBO.ml.pp", line 104, characters 31-40:
- Warning 6 [labels-omitted]: label ba was omitted in the application of this function.
- ./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 -c vbo.wrap.c
- vbo.wrap.c: In function 'ml_glbufferdata':
- vbo.wrap.c:160:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 160 | (GLvoid *) Data_bigarray_val(data),
- | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c: In function 'ml_glbuffersubdata':
- vbo.wrap.c:186:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 186 | (GLvoid *) Data_bigarray_val(data) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c: In function 'ml_glmapbuffer':
- vbo.wrap.c:213:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead
- 213 | bo_ba = alloc_bigarray( BIGARRAY_FLOAT32 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:213:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 213 | bo_ba = alloc_bigarray( BIGARRAY_FLOAT32 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:213:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead
- 213 | bo_ba = alloc_bigarray( BIGARRAY_FLOAT32 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:213:13: warning: "BIGARRAY_EXTERNAL" is deprecated: use "CAML_BA_EXTERNAL" instead
- vbo.wrap.c: In function 'mapped_buffer_blit':
- vbo.wrap.c:247:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 247 | memcpy( (void *)ptr, (void *)Data_bigarray_val(ba), Long_val(len) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c: In function 'mapped_buffer_blit_ofs':
- vbo.wrap.c:253:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 253 | memcpy( ((void *)ptr) + offset, ((void *)Data_bigarray_val(ba)) + offset, Long_val(len) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c: In function 'ml_ba_elem_size':
- vbo.wrap.c:314:13: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead
- 314 | struct caml_bigarray * ba = Bigarray_val(_ba);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:314:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 314 | struct caml_bigarray * ba = Bigarray_val(_ba);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:316:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 316 | switch (ba->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:318:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 318 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- vbo.wrap.c:319:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 319 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~
- vbo.wrap.c:322:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 322 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- vbo.wrap.c:323:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 323 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~
- vbo.wrap.c:326:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 326 | case BIGARRAY_INT32:
- | ^~~~~~~~~~~~~~~~
- vbo.wrap.c:327:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 327 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- vbo.wrap.c:330:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 330 | case BIGARRAY_INT64:
- | ^~~~~~~~~~~~~~~~
- vbo.wrap.c:331:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 331 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- vbo.wrap.c:332:13: warning: "BIGARRAY_COMPLEX32" is deprecated: use "CAML_BA_COMPLEX32" instead
- 332 | case BIGARRAY_COMPLEX32:
- | ^~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:335:13: warning: "BIGARRAY_COMPLEX64" is deprecated: use "CAML_BA_COMPLEX64" instead
- 335 | case BIGARRAY_COMPLEX64:
- | ^~~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:338:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 338 | case BIGARRAY_CAML_INT:
- | ^~~~~~~~~~~~~~~~~~~
- vbo.wrap.c:339:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 339 | case BIGARRAY_NATIVE_INT:
- | ^~~~~~~~~~~~~~~~~~~~~
- ocamlmklib -o VBO vbo.wrap.o -L"/home/opam/.opam/default/lib/ocaml" -lGL
- ocamlmklib -o VBO VBO.cmo -L"/home/opam/.opam/default/lib/ocaml" -lGL
- make[2]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- (/usr/bin/make vbo_opt -f Makefile.VBO)
- make[2]: Entering directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- ocamlopt -c VBO.ml
- File "VBO.ml.pp", line 104, characters 31-40:
- Warning 6 [labels-omitted]: label ba was omitted in the application of this function.
- ocamlmklib -o VBO VBO.cmx -L"/home/opam/.opam/default/lib/ocaml" -lGL
- make[2]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- make[1]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
-> compiled glMLite.0.03.53
[glMLite: make install]
+ /usr/bin/make "install" "PREFIX=/home/opam/.opam/default/lib/glMLite" (CWD=/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53)
- (cd SRC; /usr/bin/make install)
- make[1]: Entering directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/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 -c GL.mli
- ocamlopt -c GL.ml
- File "GL.ml.pp", line 593, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 594, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 595, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 596, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 597, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 599, characters 43-52:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 601, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 602, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 603, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 604, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 1523, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1524, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1525, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1526, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1527, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1528, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1529, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1530, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1531, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1805, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1806, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1807, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1808, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1809, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1811, characters 46-58:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1813, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1814, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1815, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1816, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- ./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 -c gl.wrap.c
- gl.wrap.c: In function 'ml_glreadpixels_ba_unsafe_native':
- gl.wrap.c:639:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 639 | (GLvoid *) Data_bigarray_val(ba_data) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glreadpixels_ba_native':
- gl.wrap.c:659:13: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead
- 659 | struct caml_bigarray * ba = Bigarray_val(ba_data);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:659:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 659 | struct caml_bigarray * ba = Bigarray_val(ba_data);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:757:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 757 | switch (Bigarray_val(ba_data)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:757:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 757 | switch (Bigarray_val(ba_data)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:759:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 759 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:760:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 760 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:763:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 763 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:764:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 764 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:767:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 767 | case BIGARRAY_INT32:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:768:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 768 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:769:13: warning: "BIGARRAY_COMPLEX32" is deprecated: use "CAML_BA_COMPLEX32" instead
- 769 | case BIGARRAY_COMPLEX32:
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:772:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 772 | case BIGARRAY_INT64:
- | ^~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:773:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 773 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:774:13: warning: "BIGARRAY_COMPLEX64" is deprecated: use "CAML_BA_COMPLEX64" instead
- 774 | case BIGARRAY_COMPLEX64:
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:777:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 777 | case BIGARRAY_CAML_INT:
- | ^~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:778:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 778 | case BIGARRAY_NATIVE_INT:
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:793:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 793 | (GLvoid *) Data_bigarray_val(ba_data) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glbitmap_native':
- gl.wrap.c:841:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 841 | (GLubyte *)Data_bigarray_val(bitmap) ); ret
- | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glselectbuffer_ba':
- gl.wrap.c:1715:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 1715 | select_buffer = (GLuint *) Data_bigarray_val(ba);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:1716:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 1716 | size = Bigarray_val(ba)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glteximage2d_native':
- gl.wrap.c:1944:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 1944 | (const GLvoid *) Data_bigarray_val(pixels) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glteximage1d_native':
- gl.wrap.c:2011:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2011 | (const GLvoid *) Data_bigarray_val(pixels) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glteximage3d_native':
- gl.wrap.c:2049:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2049 | (const GLvoid *) Data_bigarray_val(pixels) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glpolygonstipple_unsafe':
- gl.wrap.c:2088:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2088 | glPolygonStipple( (GLubyte *) Data_bigarray_val(mask) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c: In function 'ml_glpolygonstipple':
- gl.wrap.c:2093:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 2093 | if (Bigarray_val(mask)->dim[0] != 128)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:2095:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 2095 | glPolygonStipple( (GLubyte *) Data_bigarray_val(mask) ); ret
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from gl.wrap.c:45:
- gl.wrap.c: In function 'ml_glgetshaderinfolog':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 4 of 'glGetShaderInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:3251:85: note: in expansion of macro 'String_val'
- 3251 | glGetShaderInfoLog(Shader_object_val(shader), infologLength, &charsWritten, String_val(infoLog));
- | ^~~~~~~~~~
- In file included from /usr/include/GL/gl.h:2050,
- from gl.wrap.c:38:
- /usr/include/GL/glext.h:747:98: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *'
- 747 | GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
- | ~~~~~~~~^~~~~~~
- gl.wrap.c: In function 'ml_glgetprograminfolog':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 4 of 'glGetProgramInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- gl.wrap.c:3272:88: note: in expansion of macro 'String_val'
- 3272 | glGetProgramInfoLog(Shader_program_val(program), infologLength, &charsWritten, String_val(infoLog));
- | ^~~~~~~~~~
- /usr/include/GL/glext.h:745:100: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *'
- 745 | GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
- | ~~~~~~~~^~~~~~~
- ocamlmklib -oc gl_stubs gl.wrap.o -lGL
- ocamlopt -a -o GL.a -cclib -lgl_stubs -cclib "-lGL" GL.cmx
- ocamlopt -a -o GL.cmxa -cclib -lgl_stubs -cclib "-lGL" GL.cmx
- ocamlc -c Glu.mli
- ocamlopt -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 -c glu.wrap.c
- glu.wrap.c: In function 'ml_glubuild2dmipmaps_native':
- glu.wrap.c:149:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 149 | (void *) Data_bigarray_val(pixel_data) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glu.wrap.c: In function 'ml_glubuild1dmipmaps':
- glu.wrap.c:183:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 183 | (void *) Data_bigarray_val(pixel_data) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glu.wrap.c: In function 'ml_glubuild3dmipmaps_native':
- glu.wrap.c:214:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 214 | (void *) Data_bigarray_val(pixel_data) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glu.wrap.c: In function 'user_glutess_cb_vertex':
- glu.wrap.c:1072:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1072 | closure_f = caml_named_value("GLU callback tess vertex");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_vertex':
- glu.wrap.c:1080:62: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1080 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_VERTEX, user_glutess_cb_vertex );
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | void (*)(void *)
- In file included from glu.wrap.c:31:
- /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 'user_glutess_cb_begin':
- glu.wrap.c:1105:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1105 | closure_f = caml_named_value("GLU callback tess begin");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_begin':
- glu.wrap.c:1111:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1111 | 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 'user_glutess_cb_end':
- glu.wrap.c:1121:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1121 | closure_f = caml_named_value("GLU callback tess end");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_end':
- glu.wrap.c:1127:59: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1127 | 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 'user_glutess_cb_error':
- glu.wrap.c:1153:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1153 | closure_f = caml_named_value("GLU callback tess error");
- | ^
- glu.wrap.c: In function 'ml_glutess_cb_error':
- glu.wrap.c:1159:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
- 1159 | 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:977:5: warning: 'strncat' specified bound 76 equals destination size [-Wstringop-overflow=]
- 977 | strncat(err_msg, (char *)estring, 76);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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 -c Glut.mli
- ocamlopt -c Glut.ml
- File "Glut.ml.pp", line 184, characters 6-8:
- Warning 6 [labels-omitted]: label value was omitted in the application of this function.
- ./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 -c glut.wrap.c
- In file included from glut.wrap.c:37:
- glut.wrap.c: In function 'ml_glutinit':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- glut.wrap.c:113:21: note: in expansion of macro 'String_val'
- 113 | char *arg = String_val(ml_arg);
- | ^~~~~~~~~~
- glut.wrap.c: In function 'display_closure':
- glut.wrap.c:193:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 193 | closure_f = caml_named_value("GL callback display");
- | ^
- glut.wrap.c: In function 'reshape_closure':
- glut.wrap.c:206:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 206 | closure_f = caml_named_value("GL callback reshape");
- | ^
- glut.wrap.c: In function 'keyboard_closure':
- glut.wrap.c:219:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 219 | closure_f = caml_named_value("GL callback keyboard");
- | ^
- glut.wrap.c: In function 'keyboardup_closure':
- glut.wrap.c:232:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 232 | closure_f = caml_named_value("GL callback keyboard-up");
- | ^
- glut.wrap.c: In function 'passive_closure':
- glut.wrap.c:245:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 245 | closure_f = caml_named_value("GL callback passive");
- | ^
- glut.wrap.c: In function 'motion_closure':
- glut.wrap.c:258:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 258 | closure_f = caml_named_value("GL callback motion");
- | ^
- glut.wrap.c: In function 'mouse_closure':
- glut.wrap.c:288:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 288 | closure_f = caml_named_value("GL callback mouse");
- | ^
- glut.wrap.c: In function 'visibility_closure':
- glut.wrap.c:305:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 305 | closure_f = caml_named_value("GL callback visibility");
- | ^
- glut.wrap.c: In function 'entry_closure':
- glut.wrap.c:322:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 322 | closure_f = caml_named_value("GL callback entry");
- | ^
- glut.wrap.c: In function 'special_closure':
- glut.wrap.c:338:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 338 | closure_f = caml_named_value("GL callback special");
- | ^
- glut.wrap.c: In function 'specialup_closure':
- glut.wrap.c:354:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 354 | closure_f = caml_named_value("GL callback special-up");
- | ^
- glut.wrap.c: In function 'idle_closure':
- glut.wrap.c:367:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 367 | closure_f = caml_named_value("GL callback idle");
- | ^
- glut.wrap.c: In function 'glutTimerFunc_cb':
- glut.wrap.c:388:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead
- 388 | leave_blocking_section();
- | ^~~~~~~~~~~~~~~~~
- glut.wrap.c:389:13: warning: "callback" is deprecated: use "caml_callback" instead
- 389 | callback( caml_glutTimerFunc_cb, (value) idx );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- glut.wrap.c:390:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead
- 390 | enter_blocking_section();
- | ^~~~~~~~~~~~~~~~~
- glut.wrap.c: In function 'menu_closure':
- glut.wrap.c:407:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 407 | closure_f = caml_named_value("GL callback menu");
- | ^
- ocamlmklib -o Glut glut.wrap.o -lglut
- ocamlmklib -o Glut Glut.cmx -lglut
- ocamlc -c GL.ml
- File "GL.ml.pp", line 593, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 594, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 595, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 596, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 597, characters 44-53:
- Warning 6 [labels-omitted]: labels light_i, pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 599, characters 43-52:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 601, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 602, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 603, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 604, characters 41-50:
- Warning 6 [labels-omitted]: labels light_i, pname were omitted in the application of this function.
- File "GL.ml.pp", line 1523, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1524, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1525, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1526, characters 30-36:
- Warning 6 [labels-omitted]: labels pname, param were omitted in the application of this function.
- File "GL.ml.pp", line 1527, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1528, characters 44-50:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1529, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1530, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1531, characters 31-37:
- Warning 6 [labels-omitted]: label i was omitted in the application of this function.
- File "GL.ml.pp", line 1805, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1806, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1807, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1808, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1809, characters 39-51:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1811, characters 46-58:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1813, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1814, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1815, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- File "GL.ml.pp", line 1816, characters 44-56:
- Warning 6 [labels-omitted]: label light_i was omitted in the application of this function.
- ocamlc -a -o GL.cma -ccopt "-lGL" -dllib -lgl_stubs GL.cmo
- ocamlc -c Glu.ml
- ocamlmklib -o Glu Glu.cmo -lGLU
- ocamlc -c Glut.ml
- File "Glut.ml.pp", line 184, characters 6-8:
- Warning 6 [labels-omitted]: label value was omitted in the application of this function.
- 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 -c vertArray.mli
- ocamlc -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 -c varray.wrap.c
- varray.wrap.c: In function 'ml_glinterleavedarrays':
- varray.wrap.c:226:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 226 | pointer = (GLvoid *) Data_bigarray_val(pointer_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gldrawelements':
- varray.wrap.c:242:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 242 | indices = (GLvoid *) Data_bigarray_val(indices_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:251:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 251 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:251:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 251 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:253:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 253 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:258:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 258 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:263:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 263 | case BIGARRAY_CAML_INT: // 31- or 63-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:264:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 264 | case BIGARRAY_NATIVE_INT: // 32- or 64-bit (platform-native) integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:269:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 269 | case BIGARRAY_INT32: // 32-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:285:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 285 | case BIGARRAY_INT64: // 64-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gldrawrangeelements_native':
- varray.wrap.c:323:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 323 | indices = (GLvoid *) Data_bigarray_val(indices_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:332:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 332 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:332:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 332 | switch (Bigarray_val(indices_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:334:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 334 | case BIGARRAY_UINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:339:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 339 | case BIGARRAY_UINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:344:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 344 | case BIGARRAY_CAML_INT: // 31- or 63-bit signed integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:345:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 345 | case BIGARRAY_NATIVE_INT: // 32- or 64-bit (platform-native) integers
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glvertexpointer':
- varray.wrap.c:402:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 402 | switch (Bigarray_val(vertex_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:402:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 402 | switch (Bigarray_val(vertex_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:404:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 404 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:405:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 405 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:407:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 407 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:408:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 408 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:410:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 410 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:411:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 411 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:413:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 413 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:414:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 414 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:416:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 416 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:417:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 417 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:426:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 426 | if (Bigarray_val(vertex_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:429:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 429 | dim = Bigarray_val(vertex_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:432:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 432 | else pointer = (GLvoid *) Data_bigarray_val(vertex_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gltexcoordpointer':
- varray.wrap.c:485:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 485 | switch (Bigarray_val(texcoord_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:485:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 485 | switch (Bigarray_val(texcoord_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:487:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 487 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:488:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 488 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:490:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 490 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:491:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 491 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:493:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 493 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:494:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 494 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:496:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 496 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:497:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 497 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:499:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 499 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:500:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 500 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:509:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 509 | if (Bigarray_val(texcoord_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:512:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 512 | dim = Bigarray_val(texcoord_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:515:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 515 | else pointer = (GLvoid *) Data_bigarray_val(texcoord_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glnormalpointer':
- varray.wrap.c:573:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 573 | switch (Bigarray_val(normal_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:573:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 573 | switch (Bigarray_val(normal_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:575:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 575 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:576:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 576 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:578:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 578 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:579:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 579 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:581:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 581 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:582:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 582 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:584:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 584 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:585:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 585 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:587:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 587 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:588:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 588 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:597:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 597 | if (Bigarray_val(normal_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:600:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 600 | dim = Bigarray_val(normal_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:603:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 603 | else pointer = (GLvoid *) Data_bigarray_val(normal_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glindexpointer':
- varray.wrap.c:660:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 660 | switch (Bigarray_val(index_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:660:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 660 | switch (Bigarray_val(index_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:662:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 662 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:663:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 663 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:665:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 665 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:666:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 666 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:668:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 668 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:669:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 669 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:671:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 671 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:672:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 672 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:674:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 674 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:675:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 675 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:684:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 684 | if (Bigarray_val(index_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:687:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 687 | dim = Bigarray_val(index_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:690:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 690 | else pointer = (GLvoid *) Data_bigarray_val(index_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glcolorpointer':
- varray.wrap.c:757:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 757 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:757:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 757 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:759:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 759 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:760:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 760 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:762:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 762 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:763:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 763 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:765:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 765 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:766:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 766 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:768:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 768 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:769:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 769 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:771:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 771 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:772:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 772 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:781:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 781 | if (Bigarray_val(color_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:784:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 784 | dim = Bigarray_val(color_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:787:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 787 | else pointer = (GLvoid *) Data_bigarray_val(color_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glsecondarycolorpointer':
- varray.wrap.c:835:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 835 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:835:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
- 835 | switch (Bigarray_val(color_array)->flags & BIGARRAY_KIND_MASK)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:837:13: warning: "BIGARRAY_SINT8" is deprecated: use "CAML_BA_SINT8" instead
- 837 | case BIGARRAY_SINT8:
- | ^~~~~~~~~~~~~~~~
- varray.wrap.c:838:13: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead
- 838 | case BIGARRAY_UINT8: size = 1; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:840:13: warning: "BIGARRAY_SINT16" is deprecated: use "CAML_BA_SINT16" instead
- 840 | case BIGARRAY_SINT16:
- | ^~~~~~~~~~~~~~~~~
- varray.wrap.c:841:13: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead
- 841 | case BIGARRAY_UINT16: size = 2; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:843:13: warning: "BIGARRAY_FLOAT32" is deprecated: use "CAML_BA_FLOAT32" instead
- 843 | case BIGARRAY_FLOAT32:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:844:13: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead
- 844 | case BIGARRAY_INT32: size = 4; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:846:13: warning: "BIGARRAY_FLOAT64" is deprecated: use "CAML_BA_FLOAT64" instead
- 846 | case BIGARRAY_FLOAT64:
- | ^~~~~~~~~~~~~~~~~~
- varray.wrap.c:847:13: warning: "BIGARRAY_INT64" is deprecated: use "CAML_BA_INT64" instead
- 847 | case BIGARRAY_INT64: size = 8; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:849:13: warning: "BIGARRAY_CAML_INT" is deprecated: use "CAML_BA_CAML_INT" instead
- 849 | case BIGARRAY_CAML_INT: size = sizeof(intnat) /* SIZEOF_LONG */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:850:13: warning: "BIGARRAY_NATIVE_INT" is deprecated: use "CAML_BA_NATIVE_INT" instead
- 850 | case BIGARRAY_NATIVE_INT: size = sizeof(intnat) /* SIZEOF_INT */; break;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:859:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 859 | if (Bigarray_val(color_array)->num_dims != 1)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:862:13: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
- 862 | dim = Bigarray_val(color_array)->dim[0];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c:865:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 865 | else pointer = (GLvoid *) Data_bigarray_val(color_array);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_glvertexattribpointer_native':
- varray.wrap.c:906:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 906 | (GLvoid *) Data_bigarray_val(pointer)
- | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- varray.wrap.c: In function 'ml_gledgeflagpointer':
- varray.wrap.c:962:13: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
- 962 | glEdgeFlagPointer( Int_val(stride), (GLvoid *) Data_bigarray_val(pointer) );
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ocamlmklib -o vertArray varray.wrap.o -lGL -L"/home/opam/.opam/default/lib/ocaml"
- ocamlmklib -o vertArray vertArray.cmo -lGL -L"/home/opam/.opam/default/lib/ocaml"
- ocamlopt -c vertArray.ml
- ocamlmklib -o vertArray vertArray.cmx -lGL -L"/home/opam/.opam/default/lib/ocaml"
- ocaml meta.ml \
- -GL_LIBS "-lGL" \
- -GLU_LIBS "-lGLU" \
- -GLUT_LIBS "-lglut" \
- META.in > META
- if [ ! -d /home/opam/.opam/default/lib/glMLite ]; then install -d /home/opam/.opam/default/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/default/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/default/lib/glMLite/; fi; done
- install -m 0644 META /home/opam/.opam/default/lib/glMLite/
- ocamlc -c jpeg_loader.ml
- ocamlmklib -o jpeg_loader jpeg_loader.cmo -lGL -L"/home/opam/.opam/default/lib/ocaml" -ljpeg
- if [ ! -d /home/opam/.opam/default/lib/glMLite ]; then install -d /home/opam/.opam/default/lib/glMLite ; fi
- for file in dlljpeg_loader.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/default/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/default/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 -c FunGL.mli
- ocamlc -c FunGL.ml
- ocamlc -c fungl.wrap.c
- ocamlmklib -o FunGL fungl.wrap.o -lGL
- ocamlmklib -o FunGL FunGL.cmo -lGL
- ocamlopt -c FunGL.ml
- ocamlmklib -o FunGL FunGL.cmx -lGL
- ocamlc -i FunGlut.ml > FunGlut.mli
- File "FunGlut.ml", line 46, characters 9-17:
- 46 | ignore(glutInit Sys.argv);
- ^^^^^^^^
- Warning 6 [labels-omitted]: label argv was omitted in the application of this function.
- File "FunGlut.ml", line 48, characters 25-44:
- 48 | Some display_mode -> glutInitDisplayMode display_mode
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mode was omitted in the application of this function.
- File "FunGlut.ml", line 49, characters 12-31:
- 49 | | None -> glutInitDisplayMode []
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mode was omitted in the application of this function.
- File "FunGlut.ml", line 52, characters 21-39:
- 52 | | width, height -> glutInitWindowSize width height
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels width, height were omitted in the application of this function.
- File "FunGlut.ml", line 55, characters 18-40:
- 55 | | Some(x, y) -> glutInitWindowPosition x y
- ^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels x, y were omitted in the application of this function.
- File "FunGlut.ml", line 59, characters 25-41:
- 59 | Some title -> ignore(glutCreateWindow title)
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label title was omitted in the application of this function.
- File "FunGlut.ml", line 60, characters 19-35:
- 60 | | None -> ignore(glutCreateWindow Sys.argv.(0))
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label title was omitted in the application of this function.
- File "FunGlut.ml", line 71, characters 2-17:
- 71 | glutDisplayFunc (fun () -> app := display !app);
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label display was omitted in the application of this function.
- File "FunGlut.ml", line 74, characters 15-30:
- 74 | | Some cb -> glutReshapeFunc (fun ~width ~height -> app := cb !app ~width ~height)
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label reshape was omitted in the application of this function.
- File "FunGlut.ml", line 77, characters 15-31:
- 77 | | Some cb -> glutKeyboardFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label keyboard was omitted in the application of this function.
- File "FunGlut.ml", line 80, characters 15-33:
- 80 | | Some cb -> glutKeyboardUpFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label keyboard_up was omitted in the application of this function.
- File "FunGlut.ml", line 83, characters 15-30:
- 83 | | Some cb -> glutSpecialFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label special was omitted in the application of this function.
- File "FunGlut.ml", line 86, characters 15-32:
- 86 | | Some cb -> glutSpecialUpFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label special_up was omitted in the application of this function.
- File "FunGlut.ml", line 89, characters 15-28:
- 89 | | Some cb -> glutMouseFunc (fun ~button ~state ~x ~y -> app := cb !app ~button ~state ~x ~y)
- ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mouse was omitted in the application of this function.
- File "FunGlut.ml", line 92, characters 15-29:
- 92 | | Some cb -> glutMotionFunc (fun ~x ~y -> app := cb !app ~x ~y)
- ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label motion was omitted in the application of this function.
- File "FunGlut.ml", line 95, characters 15-36:
- 95 | | Some cb -> glutPassiveMotionFunc (fun ~x ~y -> app := cb !app ~x ~y)
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label passive was omitted in the application of this function.
- File "FunGlut.ml", line 98, characters 15-33:
- 98 | | Some cb -> glutVisibilityFunc (fun ~state -> app := cb !app ~state)
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label visibility was omitted in the application of this function.
- File "FunGlut.ml", line 101, characters 15-28:
- 101 | | Some cb -> glutEntryFunc (fun ~state -> app := cb !app ~state)
- ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label entry was omitted in the application of this function.
- File "FunGlut.ml", line 122, characters 6-18:
- 122 | glutIdleFunc (fun () -> app := idle !app;)
- ^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label idle was omitted in the application of this function.
- ocamlc -c FunGlut.mli
- ocamlc -c FunGlut.ml
- File "FunGlut.ml", line 46, characters 9-17:
- 46 | ignore(glutInit Sys.argv);
- ^^^^^^^^
- Warning 6 [labels-omitted]: label argv was omitted in the application of this function.
- File "FunGlut.ml", line 48, characters 25-44:
- 48 | Some display_mode -> glutInitDisplayMode display_mode
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mode was omitted in the application of this function.
- File "FunGlut.ml", line 49, characters 12-31:
- 49 | | None -> glutInitDisplayMode []
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mode was omitted in the application of this function.
- File "FunGlut.ml", line 52, characters 21-39:
- 52 | | width, height -> glutInitWindowSize width height
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels width, height were omitted in the application of this function.
- File "FunGlut.ml", line 55, characters 18-40:
- 55 | | Some(x, y) -> glutInitWindowPosition x y
- ^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels x, y were omitted in the application of this function.
- File "FunGlut.ml", line 59, characters 25-41:
- 59 | Some title -> ignore(glutCreateWindow title)
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label title was omitted in the application of this function.
- File "FunGlut.ml", line 60, characters 19-35:
- 60 | | None -> ignore(glutCreateWindow Sys.argv.(0))
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label title was omitted in the application of this function.
- File "FunGlut.ml", line 71, characters 2-17:
- 71 | glutDisplayFunc (fun () -> app := display !app);
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label display was omitted in the application of this function.
- File "FunGlut.ml", line 74, characters 15-30:
- 74 | | Some cb -> glutReshapeFunc (fun ~width ~height -> app := cb !app ~width ~height)
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label reshape was omitted in the application of this function.
- File "FunGlut.ml", line 77, characters 15-31:
- 77 | | Some cb -> glutKeyboardFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label keyboard was omitted in the application of this function.
- File "FunGlut.ml", line 80, characters 15-33:
- 80 | | Some cb -> glutKeyboardUpFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label keyboard_up was omitted in the application of this function.
- File "FunGlut.ml", line 83, characters 15-30:
- 83 | | Some cb -> glutSpecialFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label special was omitted in the application of this function.
- File "FunGlut.ml", line 86, characters 15-32:
- 86 | | Some cb -> glutSpecialUpFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label special_up was omitted in the application of this function.
- File "FunGlut.ml", line 89, characters 15-28:
- 89 | | Some cb -> glutMouseFunc (fun ~button ~state ~x ~y -> app := cb !app ~button ~state ~x ~y)
- ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mouse was omitted in the application of this function.
- File "FunGlut.ml", line 92, characters 15-29:
- 92 | | Some cb -> glutMotionFunc (fun ~x ~y -> app := cb !app ~x ~y)
- ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label motion was omitted in the application of this function.
- File "FunGlut.ml", line 95, characters 15-36:
- 95 | | Some cb -> glutPassiveMotionFunc (fun ~x ~y -> app := cb !app ~x ~y)
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label passive was omitted in the application of this function.
- File "FunGlut.ml", line 98, characters 15-33:
- 98 | | Some cb -> glutVisibilityFunc (fun ~state -> app := cb !app ~state)
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label visibility was omitted in the application of this function.
- File "FunGlut.ml", line 101, characters 15-28:
- 101 | | Some cb -> glutEntryFunc (fun ~state -> app := cb !app ~state)
- ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label entry was omitted in the application of this function.
- File "FunGlut.ml", line 122, characters 6-18:
- 122 | glutIdleFunc (fun () -> app := idle !app;)
- ^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label idle was omitted in the application of this function.
- ocamlc -a FunGlut.cmo -o FunGlut.cma
- ocamlopt -a -o FunGlut.cmxa Glut.cmx FunGlut.ml
- File "FunGlut.ml", line 46, characters 9-17:
- 46 | ignore(glutInit Sys.argv);
- ^^^^^^^^
- Warning 6 [labels-omitted]: label argv was omitted in the application of this function.
- File "FunGlut.ml", line 48, characters 25-44:
- 48 | Some display_mode -> glutInitDisplayMode display_mode
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mode was omitted in the application of this function.
- File "FunGlut.ml", line 49, characters 12-31:
- 49 | | None -> glutInitDisplayMode []
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mode was omitted in the application of this function.
- File "FunGlut.ml", line 52, characters 21-39:
- 52 | | width, height -> glutInitWindowSize width height
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels width, height were omitted in the application of this function.
- File "FunGlut.ml", line 55, characters 18-40:
- 55 | | Some(x, y) -> glutInitWindowPosition x y
- ^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels x, y were omitted in the application of this function.
- File "FunGlut.ml", line 59, characters 25-41:
- 59 | Some title -> ignore(glutCreateWindow title)
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label title was omitted in the application of this function.
- File "FunGlut.ml", line 60, characters 19-35:
- 60 | | None -> ignore(glutCreateWindow Sys.argv.(0))
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label title was omitted in the application of this function.
- File "FunGlut.ml", line 71, characters 2-17:
- 71 | glutDisplayFunc (fun () -> app := display !app);
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label display was omitted in the application of this function.
- File "FunGlut.ml", line 74, characters 15-30:
- 74 | | Some cb -> glutReshapeFunc (fun ~width ~height -> app := cb !app ~width ~height)
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label reshape was omitted in the application of this function.
- File "FunGlut.ml", line 77, characters 15-31:
- 77 | | Some cb -> glutKeyboardFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label keyboard was omitted in the application of this function.
- File "FunGlut.ml", line 80, characters 15-33:
- 80 | | Some cb -> glutKeyboardUpFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label keyboard_up was omitted in the application of this function.
- File "FunGlut.ml", line 83, characters 15-30:
- 83 | | Some cb -> glutSpecialFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label special was omitted in the application of this function.
- File "FunGlut.ml", line 86, characters 15-32:
- 86 | | Some cb -> glutSpecialUpFunc (fun ~key ~x ~y -> app := cb !app ~key ~x ~y)
- ^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label special_up was omitted in the application of this function.
- File "FunGlut.ml", line 89, characters 15-28:
- 89 | | Some cb -> glutMouseFunc (fun ~button ~state ~x ~y -> app := cb !app ~button ~state ~x ~y)
- ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label mouse was omitted in the application of this function.
- File "FunGlut.ml", line 92, characters 15-29:
- 92 | | Some cb -> glutMotionFunc (fun ~x ~y -> app := cb !app ~x ~y)
- ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label motion was omitted in the application of this function.
- File "FunGlut.ml", line 95, characters 15-36:
- 95 | | Some cb -> glutPassiveMotionFunc (fun ~x ~y -> app := cb !app ~x ~y)
- ^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label passive was omitted in the application of this function.
- File "FunGlut.ml", line 98, characters 15-33:
- 98 | | Some cb -> glutVisibilityFunc (fun ~state -> app := cb !app ~state)
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label visibility was omitted in the application of this function.
- File "FunGlut.ml", line 101, characters 15-28:
- 101 | | Some cb -> glutEntryFunc (fun ~state -> app := cb !app ~state)
- ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label entry was omitted in the application of this function.
- File "FunGlut.ml", line 122, characters 6-18:
- 122 | glutIdleFunc (fun () -> app := idle !app;)
- ^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label idle was omitted in the application of this function.
- if [ ! -d /home/opam/.opam/default/lib/glMLite ]; then install -d /home/opam/.opam/default/lib/glMLite ; fi
- for file in dllFunGL.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/default/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/default/lib/glMLite/; fi; done
- (/usr/bin/make install -f Makefile.VBO)
- make[2]: Entering directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- ocamlc -c VBO.mli
- ocamlc -c VBO.ml
- File "VBO.ml.pp", line 104, characters 31-40:
- Warning 6 [labels-omitted]: label ba was omitted in the application of this function.
- ocamlmklib -o VBO VBO.cmo -L"/home/opam/.opam/default/lib/ocaml" -lGL
- ocamlopt -c VBO.ml
- File "VBO.ml.pp", line 104, characters 31-40:
- Warning 6 [labels-omitted]: label ba was omitted in the application of this function.
- ocamlmklib -o VBO VBO.cmx -L"/home/opam/.opam/default/lib/ocaml" -lGL
- if [ ! -d /home/opam/.opam/default/lib/glMLite ]; then install -d /home/opam/.opam/default/lib/glMLite ; fi
- for file in dllVBO.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/default/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/default/lib/glMLite/; fi; done
- make[2]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
- make[1]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/glMLite.0.03.53/SRC'
-> installed glMLite.0.03.53
[WARNING] Opam package conf-libjpeg.1 depends on the following system package that can no longer be found: libjpeg-dev
=== STDERR ===
2026-06-24 11:14.32: OK: build glMLite.0.03.53 (runc: 36.1s, disk: 0KB)
2026-06-24 11:14.32: Job succeeded