=>> Building graphics/ocaml-lablgl build started at Thu Mar 28 06:10:58 GMT 2024 port directory: /usr/ports/graphics/ocaml-lablgl package name: ocaml-lablgl-1.05_6,1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2848 Mar 13 17:24 /usr/ports/graphics/ocaml-lablgl/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 8025aa10ce Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 17 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/17/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ocaml-lablgl-1.05_6,1: DOCS=on: Build and/or install documentation THREADS=on: Threaded Tcl/Tk (must match lang/ocaml) ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/.cache HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/.cache HOME=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OCAML_SITELIBDIR="lib/ocaml/site-lib" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ocaml/lablgl" EXAMPLESDIR="share/examples/ocaml/lablgl" DATADIR="share/lablgl" WWWDIR="www/lablgl" ETCDIR="etc/lablgl" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/lablgl DOCSDIR=/usr/local/share/doc/ocaml/lablgl EXAMPLESDIR=/usr/local/share/examples/ocaml/lablgl WWWDIR=/usr/local/www/lablgl ETCDIR=/usr/local/etc/lablgl --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lablgl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ocaml-lablgl-1.05_6,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lablgl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ocaml-lablgl-1.05_6,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lablgl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ocaml-lablgl-1.05_6,1 for building => SHA256 Checksum OK for lablgl-1.05.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/ocamlc - not found ===> Installing existing package /packages/All/ocaml-4.14.1.pkg [pkg-builder.dan.net.uk] Installing ocaml-4.14.1... [pkg-builder.dan.net.uk] Extracting ocaml-4.14.1: .......... done ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/ocamlc - found ===> Returning to build of ocaml-lablgl-1.05_6,1 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/labltk - not found ===> Installing existing package /packages/All/ocaml-labltk-8.06.12.pkg [pkg-builder.dan.net.uk] Installing ocaml-labltk-8.06.12... [pkg-builder.dan.net.uk] `-- Installing tcl86-8.6.14_1... [pkg-builder.dan.net.uk] `-- Extracting tcl86-8.6.14_1: .......... done [pkg-builder.dan.net.uk] `-- Installing tk86-8.6.14_1... [pkg-builder.dan.net.uk] | `-- Installing fontconfig-2.15.0_2,1... [pkg-builder.dan.net.uk] | | `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] | | `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] | | `-- Extracting freetype2-2.13.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting fontconfig-2.15.0_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXScrnSaver-1.2.4_1... [pkg-builder.dan.net.uk] | | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXScrnSaver-1.2.4_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXft-2.3.7_1... [pkg-builder.dan.net.uk] | | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] | `-- Extracting libXft-2.3.7_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting tk86-8.6.14_1: .......... done [pkg-builder.dan.net.uk] Extracting ocaml-labltk-8.06.12: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/labltk - found ===> Returning to build of ocaml-lablgl-1.05_6,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lablgl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ocaml-lablgl-1.05_6,1 for building ===> Extracting for ocaml-lablgl-1.05_6,1 => SHA256 Checksum OK for lablgl-1.05.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/labltk - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ocaml-lablgl-1.05_6,1 ===> Applying FreeBSD patches for ocaml-lablgl-1.05_6,1 from /usr/ports/graphics/ocaml-lablgl/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/camlp4 - not found ===> Installing existing package /packages/All/ocaml-camlp4-4.14+1.pkg [pkg-builder.dan.net.uk] Installing ocaml-camlp4-4.14+1... [pkg-builder.dan.net.uk] Extracting ocaml-camlp4-4.14+1: .......... done ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/camlp4 - found ===> Returning to build of ocaml-lablgl-1.05_6,1 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/labltk - found ===> ocaml-lablgl-1.05_6,1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> ocaml-lablgl-1.05_6,1 depends on package: gmake>=4.4.1 - found ===> Returning to build of ocaml-lablgl-1.05_6,1 ===> ocaml-lablgl-1.05_6,1 depends on package: xorgproto>=0 - found ===> ocaml-lablgl-1.05_6,1 depends on package: xorgproto>=0 - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg-builder.dan.net.uk] Installing libXmu-1.1.4,1... [pkg-builder.dan.net.uk] `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] Extracting libXmu-1.1.4,1: .......... done ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of ocaml-lablgl-1.05_6,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-lablgl-1.05_6,1 depends on shared library: libGL.so - not found ===> Installing existing package /packages/All/libglvnd-1.7.0.pkg [pkg-builder.dan.net.uk] Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] Extracting libglvnd-1.7.0: .......... done ===> ocaml-lablgl-1.05_6,1 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> Returning to build of ocaml-lablgl-1.05_6,1 ===> ocaml-lablgl-1.05_6,1 depends on shared library: libGLU.so - not found ===> Installing existing package /packages/All/libGLU-9.0.2_2.pkg [pkg-builder.dan.net.uk] Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] Extracting libGLU-9.0.2_2: ..... done ===> ocaml-lablgl-1.05_6,1 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> Returning to build of ocaml-lablgl-1.05_6,1 ===> ocaml-lablgl-1.05_6,1 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.2.1.pkg [pkg-builder.dan.net.uk] Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] `-- Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXi-1.8_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] Extracting freeglut-3.2.1: .......... done ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> ocaml-lablgl-1.05_6,1 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of ocaml-lablgl-1.05_6,1 ===> ocaml-lablgl-1.05_6,1 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so) ===> ocaml-lablgl-1.05_6,1 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ocaml-lablgl-1.05_6,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ocaml-lablgl-1.05_6,1 cd src && gmake all LIBDIR="/usr/local/lib/ocaml" gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' ocamlc -pp camlp4o var2def.ml -o var2def File "var2def.ml", line 19, characters 5-11: 19 | open Genlex ^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "var2def.ml", line 24, characters 17-34: 24 | let s = lexer (Stream.of_channel stdin) in ^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", lines 26-42, characters 20-32: 26 | ....................match s with parser 27 | [< ' Ident tag >] -> 28 | print_string "#define MLTAG_"; 29 | print_string tag; 30 | print_string "\tVal_int("; ... 39 | print_string ")\n" 40 | | [< ' Kwd "->"; ' Ident _ >] -> () 41 | | [< ' Kwd "$$" >] -> () 42 | | [< >] -> raise End_of_file Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", lines 26-42, characters 20-32: 26 | ....................match s with parser 27 | [< ' Ident tag >] -> 28 | print_string "#define MLTAG_"; 29 | print_string tag; 30 | print_string "\tVal_int("; ... 39 | print_string ")\n" 40 | | [< ' Kwd "->"; ' Ident _ >] -> () 41 | | [< ' Kwd "$$" >] -> () 42 | | [< >] -> raise End_of_file Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", line 27, characters 9-20: 27 | [< ' Ident tag >] -> ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", line 40, characters 9-19: 40 | | [< ' Kwd "->"; ' Ident _ >] -> () ^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", line 40, characters 21-30: 40 | | [< ' Kwd "->"; ' Ident _ >] -> () ^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", line 40, characters 21-30: 40 | | [< ' Kwd "->"; ' Ident _ >] -> () ^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", line 40, characters 9-19: 40 | | [< ' Kwd "->"; ' Ident _ >] -> () ^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2def.ml", line 41, characters 9-19: 41 | | [< ' Kwd "$$" >] -> () ^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. ocamlc -pp camlp4o var2switch.ml -o var2switch File "var2switch.ml", line 5, characters 5-11: 5 | open Genlex ^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "var2switch.ml", line 15, characters 17-34: 15 | let s = lexer (Stream.of_channel stdin) in ^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", lines 16-29, characters 20-32: 16 | ....................match s with parser 17 | [< ' Ident tag >] -> 18 | incr tag_number; 19 | print_string (if !table then " {MLTAG_" else " case MLTAG_"); 20 | print_string tag; ... 26 | in print_string name; 27 | print_string (if !table then "},\n" else ";\n") 28 | | [< ' Kwd "$$" >] -> raise End_of_file 29 | | [< >] -> raise End_of_file Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", lines 16-29, characters 20-32: 16 | ....................match s with parser 17 | [< ' Ident tag >] -> 18 | incr tag_number; 19 | print_string (if !table then " {MLTAG_" else " case MLTAG_"); 20 | print_string tag; ... 26 | in print_string name; 27 | print_string (if !table then "},\n" else ";\n") 28 | | [< ' Kwd "$$" >] -> raise End_of_file 29 | | [< >] -> raise End_of_file Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", line 17, characters 9-20: 17 | [< ' Ident tag >] -> ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", lines 23-25, characters 3-46: 23 | ...match s with parser 24 | [< ' Kwd "->" ; ' Ident name >] -> name 25 | | [< >] -> !prefix ^ String.uppercase tag Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", lines 23-25, characters 3-46: 23 | ...match s with parser 24 | [< ' Kwd "->" ; ' Ident name >] -> name 25 | | [< >] -> !prefix ^ String.uppercase tag Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", line 24, characters 10-20: 24 | [< ' Kwd "->" ; ' Ident name >] -> name ^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", line 24, characters 23-35: 24 | [< ' Kwd "->" ; ' Ident name >] -> name ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", line 24, characters 23-35: 24 | [< ' Kwd "->" ; ' Ident name >] -> name ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", line 24, characters 10-20: 24 | [< ' Kwd "->" ; ' Ident name >] -> name ^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "var2switch.ml", line 25, characters 26-42: 25 | | [< >] -> !prefix ^ String.uppercase tag ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uppercase Use String.uppercase_ascii/StringLabels.uppercase_ascii instead. File "var2switch.ml", line 28, characters 9-19: 28 | | [< ' Kwd "$$" >] -> raise End_of_file ^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. gmake lablgl.cma gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' ocamlrun ../src/var2def < gl_tags.var > gl_tags.h ocamlrun ../src/var2switch -table GL_ < gl_tags.var > gl_tags.c ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include" ml_gl.c ml_gl.c:36:14: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] gl_exn = caml_named_value("glerror"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_gl.c:37:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*gl_exn, (char*)errmsg); ^ /usr/local/lib/ocaml/caml/compatibility.h:110:27: note: expanded from macro 'raise_with_string' #define raise_with_string CAML_DEPRECATED("raise_with_string", "caml_raise_with_string") caml_raise_with_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :86:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ ml_gl.c:43:12: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] return copy_string ((char*) str); ^ /usr/local/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :90:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ ml_gl.c:64:17: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] tag_table = stat_alloc (TABLE_SIZE * sizeof(struct record)); ^ /usr/local/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :94:6: note: expanded from here GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" ^ ml_gl.c:225:8: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ML_1_ (glGetString, GLenum_val, copy_string_check) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ml_gl.h:65:16: note: expanded from macro 'ML_1_' { return conv (cname (conv1(arg1))); } ^~~~~~~~~~~~~~~~~~~ ml_gl.c:40:38: note: passing argument to parameter 'str' here value copy_string_check (const char *str) ^ ml_gl.c:271:38: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] if (Int_val(n) >= GL_MAX_LIGHTS) invalid_argument ("Gl.light"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :138:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_gl.c:674:31: warning: passing 'int *' to parameter of type 'GLuint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ML_2 (glGenTextures, Int_val, Int_raw) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./ml_gl.h:28:23: note: expanded from macro 'ML_2' { cname (conv1(arg1), conv2(arg2)); return Val_unit; } ^~~~~~~~~~~ ./ml_raw.h:18:22: note: expanded from macro 'Int_raw' #define Int_raw(raw) ((int *) Addr_raw(raw)) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/GL/gl.h:1302:57: note: passing argument to parameter 'textures' here GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^ ml_gl.c:717:15: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] glCallLists (string_length(Field(indexes,1)), ^ /usr/local/lib/ocaml/caml/compatibility.h:289:23: note: expanded from macro 'string_length' #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :2:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ 8 warnings generated. ocamlrun ../src/var2def < glu_tags.var > glu_tags.h ocamlrun ../src/var2switch GLU_ < glu_tags.var > glu_tags.c ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include" ml_glu.c ml_glu.c:96:8: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ML_1_ (gluGetString, GLUenum_val, copy_string_check) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ml_gl.h:65:16: note: expanded from macro 'ML_1_' { return conv (cname (conv1(arg1))); } ^~~~~~~~~~~~~~~~~~~ ./ml_gl.h:10:38: note: passing argument to parameter 'str' here value copy_string_check (const char *str); ^ ml_glu.c:105:19: warning: "alloc_final" is deprecated: use "caml_alloc_final" instead [-W#pragma-messages] value struc = alloc_final (2, ml_gluDeleteNurbsRenderer, 1, 32); ^ /usr/local/lib/ocaml/caml/compatibility.h:50:21: note: expanded from macro 'alloc_final' #define alloc_final CAML_DEPRECATED("alloc_final", "caml_alloc_final") caml_alloc_final ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :100:6: note: expanded from here GCC warning "\"alloc_final\" is deprecated: use \"caml_alloc_final\" instead" ^ ml_glu.c:112:19: warning: "alloc_final" is deprecated: use "caml_alloc_final" instead [-W#pragma-messages] value struc = alloc_final (2, ml_gluDeleteQuadric, 1, 32); ^ /usr/local/lib/ocaml/caml/compatibility.h:50:21: note: expanded from macro 'alloc_final' #define alloc_final CAML_DEPRECATED("alloc_final", "caml_alloc_final") caml_alloc_final ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :104:6: note: expanded from here GCC warning "\"alloc_final\" is deprecated: use \"caml_alloc_final\" instead" ^ ml_glu.c:244:12: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] win0 = copy_double(winX); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :125:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glu.c:245:12: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] win1 = copy_double(winY); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :129:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glu.c:246:12: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] win2 = copy_double(winZ); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :133:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glu.c:247:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] win = alloc_small(3, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :137:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ ml_glu.c:299:12: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] obj0 = copy_double(objX); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :161:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glu.c:300:12: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] obj1 = copy_double(objY); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :2:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glu.c:301:12: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] obj2 = copy_double(objZ); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :6:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glu.c:302:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] obj = alloc_small (3, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :10:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 11 warnings generated. ocamlrun ../src/var2def < raw_tags.var > raw_tags.h ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include" ml_raw.c ml_raw.c:19:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] extern void invalid_argument (char *) Noreturn; ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :86:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:20:13: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] extern void raise_out_of_memory (void) Noreturn; ^ /usr/local/lib/ocaml/caml/compatibility.h:114:29: note: expanded from macro 'raise_out_of_memory' #define raise_out_of_memory CAML_DEPRECATED("raise_out_of_memory", "caml_raise_out_of_memory") caml_raise_out_of_memory ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :90:6: note: expanded from here GCC warning "\"raise_out_of_memory\" is deprecated: use \"caml_raise_out_of_memory\" instead" ^ ml_raw.c:55:2: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument (msg); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :94:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:92:21: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] if (l<0 || s<0) invalid_argument("Raw.read"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :98:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:93:11: warning: "alloc_shr" is deprecated: use "caml_alloc_shr" instead [-W#pragma-messages] ret = alloc_shr (l, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:228:19: note: expanded from macro 'alloc_shr' #define alloc_shr CAML_DEPRECATED("alloc_shr", "caml_alloc_shr") caml_alloc_shr ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :102:6: note: expanded from here GCC warning "\"alloc_shr\" is deprecated: use \"caml_alloc_shr\" instead" ^ ml_raw.c:164:2: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Raw.read_string"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :116:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:165:11: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] ret = alloc_string (l); ^ /usr/local/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :120:6: note: expanded from here GCC warning "\"alloc_string\" is deprecated: use \"caml_alloc_string\" instead" ^ ml_raw.c:173:13: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] int l = string_length(data); ^ /usr/local/lib/ocaml/caml/compatibility.h:289:23: note: expanded from macro 'string_length' #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :125:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ ml_raw.c:176:2: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Raw.write_string"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :129:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:218:14: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] if (s<0) invalid_argument("Raw.write"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :133:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:276:9: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] return copy_double ((double) Float_raw(raw)[i]); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :4:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_raw.c:278:9: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] return copy_double (Double_raw(raw)[i]); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :8:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_raw.c:288:21: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] if (l<0 || s<0) invalid_argument("Raw.read_float"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :12:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:289:11: warning: "alloc_shr" is deprecated: use "caml_alloc_shr" instead [-W#pragma-messages] ret = alloc_shr (l*sizeof(double)/sizeof(value), Double_array_tag); ^ /usr/local/lib/ocaml/caml/compatibility.h:228:19: note: expanded from macro 'alloc_shr' #define alloc_shr CAML_DEPRECATED("alloc_shr", "caml_alloc_shr") caml_alloc_shr ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :16:6: note: expanded from here GCC warning "\"alloc_shr\" is deprecated: use \"caml_alloc_shr\" instead" ^ ml_raw.c:320:14: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] if (s<0) invalid_argument("Raw.write_float"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :20:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:431:16: warning: "copy_nativeint" is deprecated: use "caml_copy_nativeint" instead [-W#pragma-messages] return copy_nativeint (Int_raw(raw)[i]); ^ /usr/local/lib/ocaml/caml/compatibility.h:177:24: note: expanded from macro 'copy_nativeint' #define copy_nativeint CAML_DEPRECATED("copy_nativeint", "caml_copy_nativeint") caml_copy_nativeint ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :24:6: note: expanded from here GCC warning "\"copy_nativeint\" is deprecated: use \"caml_copy_nativeint\" instead" ^ ml_raw.c:434:16: warning: "copy_nativeint" is deprecated: use "caml_copy_nativeint" instead [-W#pragma-messages] return copy_nativeint (Long_raw(raw)[i]); ^ /usr/local/lib/ocaml/caml/compatibility.h:177:24: note: expanded from macro 'copy_nativeint' #define copy_nativeint CAML_DEPRECATED("copy_nativeint", "caml_copy_nativeint") caml_copy_nativeint ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :28:6: note: expanded from here GCC warning "\"copy_nativeint\" is deprecated: use \"caml_copy_nativeint\" instead" ^ ml_raw.c:466:9: warning: "alloc_shr" is deprecated: use "caml_alloc_shr" instead [-W#pragma-messages] data = alloc_shr ((size-1)/sizeof(value)+2, Abstract_tag); ^ /usr/local/lib/ocaml/caml/compatibility.h:228:19: note: expanded from macro 'alloc_shr' #define alloc_shr CAML_DEPRECATED("alloc_shr", "caml_alloc_shr") caml_alloc_shr ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :42:6: note: expanded from here GCC warning "\"alloc_shr\" is deprecated: use \"caml_alloc_shr\" instead" ^ ml_raw.c:468:19: warning: "alloc_shr" is deprecated: use "caml_alloc_shr" instead [-W#pragma-messages] } else data = alloc_shr ((size-1)/sizeof(value)+1, Abstract_tag); ^ /usr/local/lib/ocaml/caml/compatibility.h:228:19: note: expanded from macro 'alloc_shr' #define alloc_shr CAML_DEPRECATED("alloc_shr", "caml_alloc_shr") caml_alloc_shr ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :46:6: note: expanded from here GCC warning "\"alloc_shr\" is deprecated: use \"caml_alloc_shr\" instead" ^ ml_raw.c:469:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] raw = alloc_small (SIZE_RAW,0); ^ /usr/local/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :50:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ ml_raw.c:486:9: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] data = stat_alloc (size+sizeof(long)); ^ /usr/local/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :55:6: note: expanded from here GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" ^ ml_raw.c:488:19: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] } else data = stat_alloc (size); ^ /usr/local/lib/ocaml/caml/compatibility.h:231:20: note: expanded from macro 'stat_alloc' #define stat_alloc CAML_DEPRECATED("stat_alloc", "caml_stat_alloc") caml_stat_alloc ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :59:6: note: expanded from here GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" ^ ml_raw.c:489:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] raw = alloc_small (SIZE_RAW, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:47:21: note: expanded from macro 'alloc_small' #define alloc_small CAML_DEPRECATED("alloc_small", "caml_alloc_small") caml_alloc_small ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :63:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ ml_raw.c:500:40: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] if (Static_raw(raw) != Val_int(1)) invalid_argument ("Raw.free_static"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :67:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_raw.c:501:5: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] stat_free (Void_raw(raw)); ^ /usr/local/lib/ocaml/caml/compatibility.h:232:19: note: expanded from macro 'stat_free' #define stat_free CAML_DEPRECATED("stat_free", "caml_stat_free") caml_stat_free ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :71:6: note: expanded from here GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" ^ 25 warnings generated. ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include" ml_glarray.c In file included from ml_glarray.c:14: In file included from /usr/local/include/GL/gl.h:2050: /usr/local/include/GL/glext.h:2445:69: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :86:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ml_glarray.c:14: In file included from /usr/local/include/GL/gl.h:2050: /usr/local/include/GL/glext.h:3050:75: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :90:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ml_glarray.c:14: In file included from /usr/local/include/GL/gl.h:2050: /usr/local/include/GL/glext.h:5399:75: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam); ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :94:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ 3 warnings generated. ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include" ml_glutess.c ml_glutess.c:98:8: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] xx = copy_double(x); yy = copy_double(y); zz = copy_double(z); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :108:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glutess.c:98:29: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] xx = copy_double(x); yy = copy_double(y); zz = copy_double(z); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :112:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glutess.c:98:50: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] xx = copy_double(x); yy = copy_double(y); zz = copy_double(z); ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :116:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ ml_glutess.c:99:10: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] vert = alloc_tuple(3); ^ /usr/local/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :120:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ ml_glutess.c:103:10: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] cons = alloc_tuple(2); ^ /usr/local/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :124:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ ml_glutess.c:106:3: warning: "modify" is deprecated: use "caml_modify" instead [-W#pragma-messages] modify(&Field(root,0), cons); ^ /usr/local/lib/ocaml/caml/compatibility.h:230:16: note: expanded from macro 'modify' #define modify CAML_DEPRECATED("modify", "caml_modify") caml_modify ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :128:6: note: expanded from here GCC warning "\"modify\" is deprecated: use \"caml_modify\" instead" ^ ml_glutess.c:112:16: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] value cons = alloc_tuple(2); ^ /usr/local/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :133:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ ml_glutess.c:115:3: warning: "modify" is deprecated: use "caml_modify" instead [-W#pragma-messages] modify(&Field(*prim,kind), cons); ^ /usr/local/lib/ocaml/caml/compatibility.h:230:16: note: expanded from macro 'modify' #define modify CAML_DEPRECATED("modify", "caml_modify") caml_modify ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :137:6: note: expanded from here GCC warning "\"modify\" is deprecated: use \"caml_modify\" instead" ^ ml_glutess.c:198:9: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] res = alloc_tuple(3); ^ /usr/local/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :4:6: note: expanded from here GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" ^ 9 warnings generated. ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include" ml_shader.c ocamlc -c -w s -I +site-lib/labltk -I +labltk raw.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk raw.ml File "raw.ml", line 24, characters 13-15: 24 | if pos < 0 or (pos+len) * size > raw.size then invalid_arg "Raw.sub"; ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlc -c -w s -I +site-lib/labltk -I +labltk gl.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk gl.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glLight.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glLight.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glList.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glList.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glMap.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glMap.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glMat.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glMat.ml File "glMat.ml", line 73, characters 10-22: 73 | let m = Array.create 4 [||] in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. ocamlc -c -w s -I +site-lib/labltk -I +labltk glMisc.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glMisc.ml File "glMisc.ml", line 26, characters 15-17: 26 | if plane < 0 or plane > 5 then invalid_arg "Gl.clip_plane"; ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlc -c -w s -I +site-lib/labltk -I +labltk glPix.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glPix.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glClear.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glClear.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glTex.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glTex.ml File "glTex.ml", line 111, characters 12-24: 111 | let arr = Array.create len Nativeint.zero in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. File "glTex.ml", line 116, characters 23-35: 116 | let gen_texture () = (gen_textures 1).(0) ^^^^^^^^^^^^ Warning 6 [labels-omitted]: label len was omitted in the application of this function. ocamlc -c -w s -I +site-lib/labltk -I +labltk glDraw.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glDraw.ml File "glDraw.ml", line 30, characters 28-30: 30 | if GlPix.height img <> 32 or GlPix.width img <> 32 ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlc -c -w s -I +site-lib/labltk -I +labltk glFunc.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glFunc.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk gluMisc.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk gluMisc.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk gluNurbs.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk gluNurbs.ml File "gluNurbs.ml", line 57, characters 23-25: 57 | if tl <> cl + torder or (sl - sorder) * target_size target <> tstride ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlc -c -w s -I +site-lib/labltk -I +labltk gluQuadric.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk gluQuadric.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk gluTess.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk gluTess.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk gluMat.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk gluMat.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glArray.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glArray.ml ocamlc -c -w s -I +site-lib/labltk -I +labltk glShader.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk glShader.ml ocamlmklib -o lablgl ml_gl.o ml_glu.o ml_raw.o ml_glarray.o ml_glutess.o ml_shader.o raw.cmo gl.cmo glLight.cmo glList.cmo glMap.cmo glMat.cmo glMisc.cmo glPix.cmo glClear.cmo glTex.cmo glDraw.cmo glFunc.cmo gluMisc.cmo gluNurbs.cmo gluQuadric.cmo gluTess.cmo gluMat.cmo glArray.cmo glShader.cmo -lGL -lGLU -L/usr/local/lib -lXext -lXmu -lX11 gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' cd Togl/src && gmake all gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition ocamlc -c -w s -I +site-lib/labltk -I +labltk -I ../../src togl.mli ocamlc -c -w s -I +site-lib/labltk -I +labltk -I ../../src togl.ml ocamlrun ../../src/var2def < togl_tags.var > togl_tags.h ocamlrun ../../src/var2switch TOGL_ < togl_tags.var > togl_tags.c ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../../src -ITogl -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I. -I/usr/local/include" ml_togl.c ml_togl.c:32:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument ("Unknown Togl tag"); ^ /usr/local/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :96:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ ml_togl.c:38:20: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] value ml_msg = copy_string(msg); ^ /usr/local/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :100:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ ml_togl.c:39:12: warning: initializing 'value *' (aka 'long *') with an expression of type 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] value *prerr = caml_named_value("togl_prerr"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:46:12: warning: initializing 'value *' (aka 'long *') with an expression of type 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] value *interp = caml_named_value("cltclinterp"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:50:7: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*caml_named_value("tkerror"), "Togl_Init failed"); ^ /usr/local/lib/ocaml/caml/compatibility.h:110:27: note: expanded from macro 'raise_with_string' #define raise_with_string CAML_DEPRECATED("raise_with_string", "caml_raise_with_string") caml_raise_with_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :104:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ ml_togl.c:89:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK (CreateFunc) ^ ml_togl.c:78:3: note: expanded from macro 'CALLBACK' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :109:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:90:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK (DisplayFunc) ^ ml_togl.c:78:3: note: expanded from macro 'CALLBACK' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :114:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:91:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK (ReshapeFunc) ^ ml_togl.c:78:3: note: expanded from macro 'CALLBACK' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :119:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:92:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK (DestroyFunc) ^ ml_togl.c:78:3: note: expanded from macro 'CALLBACK' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :124:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:93:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK (TimerFunc) ^ ml_togl.c:78:3: note: expanded from macro 'CALLBACK' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :129:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:94:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK (OverlayDisplayFunc) ^ ml_togl.c:78:3: note: expanded from macro 'CALLBACK' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :134:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:95:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] CALLBACK_const (RenderFunc) ^ ml_togl.c:81:3: note: expanded from macro 'CALLBACK_const' { callback (Field(*callbacks, func), Val_addr(togl)); } ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :139:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ml_togl.c:97:1: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ENABLER (CreateFunc) ^~~~~~~~~~~~~~~~~~~~ ml_togl.c:85:36: note: expanded from macro 'ENABLER' { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:98:1: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ENABLER (DisplayFunc) ^~~~~~~~~~~~~~~~~~~~~ ml_togl.c:85:36: note: expanded from macro 'ENABLER' { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:99:1: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ENABLER (ReshapeFunc) ^~~~~~~~~~~~~~~~~~~~~ ml_togl.c:85:36: note: expanded from macro 'ENABLER' { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:100:1: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ENABLER (DestroyFunc) ^~~~~~~~~~~~~~~~~~~~~ ml_togl.c:85:36: note: expanded from macro 'ENABLER' { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:101:1: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ENABLER (TimerFunc) ^~~~~~~~~~~~~~~~~~~ ml_togl.c:85:36: note: expanded from macro 'ENABLER' { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:102:1: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ENABLER (OverlayDisplayFunc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:85:36: note: expanded from macro 'ENABLER' { if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:107:30: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] ML_1_ (Togl_Ident, Addr_val, copy_string) ^ /usr/local/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ ml_togl.c:143:38: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (callbacks == NULL) callbacks = caml_named_value ("togl_callbacks"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ml_togl.c:147:9: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*caml_named_value("tkerror"), ^ /usr/local/lib/ocaml/caml/compatibility.h:110:27: note: expanded from macro 'raise_with_string' #define raise_with_string CAML_DEPRECATED("raise_with_string", "caml_raise_with_string") caml_raise_with_string ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :24:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ 21 warnings generated. cd Togl && \ ocamlc -verbose -c -ccopt "-DTOGL_X11 -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../../src -ITogl -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I. -I/usr/local/include" togl.c + cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -c -DTOGL_X11 -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../../src -ITogl -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I. -I/usr/local/include -I'/usr/local/lib/ocaml' 'togl.c' ocamlmklib -o togl togl.cmo ml_togl.o Togl/togl.o -lGL -lGLU -L/usr/local/lib -ltk86 -ltcl86 -lpthread -L/usr/local/lib -lXext -lXmu -lX11 ocamlmktop -I . -I +site-lib/labltk -I +labltk -I ../../src -o lablgltop \ labltk.cma lablgl.cma togl.cma gmake INSTALLDIR="/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" real-lablgl gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition generate lablgl echo "#!/bin/sh" > lablgl echo "# toplevel with lablGL and Togl" >> lablgl if test -f dlltogl.so; then \ echo 'exec ocaml -I +labltk -I "/usr/local/lib/ocaml/lablGL" lablgl.cma labltk.cma togl.cma $*' >> lablgl; \ else echo 'exec "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL/lablgltop" -I +labltk -I "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" $*' >> lablgl; fi chmod 755 lablgl gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' cd LablGlut/src && gmake gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' ocamlc -c -w s -ccopt "-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I../../src" wrap_glut.c wrap_glut.c:38:3: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] enter_blocking_section (); ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :86:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:40:3: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] leave_blocking_section (); ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :90:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:82:39: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] ML_2_(glutGetColor, Int_val, Int_val, copy_double) ^ /usr/local/lib/ocaml/caml/compatibility.h:131:21: note: expanded from macro 'copy_double' #define copy_double CAML_DEPRECATED("copy_double", "caml_copy_double") caml_copy_double ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ wrap_glut.c:292:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_0(glutDisplayFunc) ^ wrap_glut.c:218:5: note: expanded from macro 'CB_0' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :175:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:292:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:219:5: note: expanded from macro 'CB_0' callback(glut_func##_value, Val_unit); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :3:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:292:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:220:5: note: expanded from macro 'CB_0' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :8:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:293:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_1(glutVisibilityFunc, int, Val_int) ^ wrap_glut.c:227:5: note: expanded from macro 'CB_1' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :21:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:293:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:228:5: note: expanded from macro 'CB_1' callback(glut_func##_value, conv1(arg1)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :25:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:293:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:229:5: note: expanded from macro 'CB_1' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :30:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:294:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_1_(glutCreateMenu,int, Val_int, Val_int) ^ wrap_glut.c:237:5: note: expanded from macro 'CB_1_' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :43:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:294:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:238:5: note: expanded from macro 'CB_1_' callback(glut_func##_value, conv1(arg1)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :47:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:294:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:239:5: note: expanded from macro 'CB_1_' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :52:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:295:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutReshapeFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :65:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:295:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :69:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:295:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :74:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:296:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutKeyboardFunc, unsigned char, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :3:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:296:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :7:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:296:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :12:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:297:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutMotionFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :25:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:297:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :29:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:297:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :34:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:298:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutSpecialFunc, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :47:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:298:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :51:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:298:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :56:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:299:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutPassiveMotionFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :69:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:299:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :73:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:299:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :78:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:300:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_1(glutEntryFunc, int, Val_int) ^ wrap_glut.c:227:5: note: expanded from macro 'CB_1' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :10:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:300:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:228:5: note: expanded from macro 'CB_1' callback(glut_func##_value, conv1(arg1)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :14:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:300:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:229:5: note: expanded from macro 'CB_1' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :19:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:301:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutSpaceballMotionFunc, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :32:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:301:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :36:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:301:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :41:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:302:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutSpaceballRotateFunc, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :54:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:302:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :58:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:302:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :63:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:303:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutSpaceballButtonFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :76:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:303:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :80:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:303:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :4:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:304:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutButtonBoxFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :17:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:304:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :21:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:304:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :26:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:305:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutDialsFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :39:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:305:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :43:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:305:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :48:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:306:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_2(glutTabletMotionFunc, int, Val_int, int, Val_int) ^ wrap_glut.c:246:5: note: expanded from macro 'CB_2' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :61:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:306:1: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] wrap_glut.c:247:5: note: expanded from macro 'CB_2' callback2(glut_func##_value, conv1(arg1), conv2(arg2)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :65:6: note: expanded from here GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" ^ wrap_glut.c:306:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:248:5: note: expanded from macro 'CB_2' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :70:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:307:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_4(glutTabletButtonFunc, int, Val_int, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:266:5: note: expanded from macro 'CB_4' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :2:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:307:1: warning: "callbackN" is deprecated: use "caml_callbackN" instead [-W#pragma-messages] wrap_glut.c:271:5: note: expanded from macro 'CB_4' callbackN (glut_func##_value, 4, args); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:74:19: note: expanded from macro 'callbackN' #define callbackN CAML_DEPRECATED("callbackN", "caml_callbackN") caml_callbackN ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :6:6: note: expanded from here GCC warning "\"callbackN\" is deprecated: use \"caml_callbackN\" instead" ^ wrap_glut.c:307:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:272:5: note: expanded from macro 'CB_4' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :11:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:308:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutMenuStatusFunc, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :24:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:308:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :28:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:308:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :33:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:309:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_0(glutOverlayDisplayFunc) ^ wrap_glut.c:218:5: note: expanded from macro 'CB_0' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :46:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:309:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:219:5: note: expanded from macro 'CB_0' callback(glut_func##_value, Val_unit); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :50:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:309:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:220:5: note: expanded from macro 'CB_0' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :55:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:310:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_4(glutMouseFunc, int, Val_int, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:266:5: note: expanded from macro 'CB_4' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :68:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:310:1: warning: "callbackN" is deprecated: use "caml_callbackN" instead [-W#pragma-messages] wrap_glut.c:271:5: note: expanded from macro 'CB_4' callbackN (glut_func##_value, 4, args); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:74:19: note: expanded from macro 'callbackN' #define callbackN CAML_DEPRECATED("callbackN", "caml_callbackN") caml_callbackN ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :72:6: note: expanded from here GCC warning "\"callbackN\" is deprecated: use \"caml_callbackN\" instead" ^ wrap_glut.c:310:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:272:5: note: expanded from macro 'CB_4' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :77:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:311:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_0(glutIdleFunc) ^ wrap_glut.c:218:5: note: expanded from macro 'CB_0' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :8:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:311:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:219:5: note: expanded from macro 'CB_0' callback(glut_func##_value, Val_unit); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :12:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:311:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:220:5: note: expanded from macro 'CB_0' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :17:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:333:3: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] leave_blocking_section (); ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :28:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:334:3: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback (caml_glutTimerFunc_cb, (value) val); ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :32:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:335:3: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] enter_blocking_section (); ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :36:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:393:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return Val_int(glutBitmapLength(i2font(Int_val(font)), String_val(str))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:292:23: note: expanded from macro 'String_val' #define String_val(x) ((char *) Bp_val(x)) ^ /usr/local/lib/ocaml/caml/mlvalues.h:79:29: note: expanded from macro 'Val_int' #define Val_int(x) Val_long(x) ~~~~~~~~~^~ /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) ^ /usr/local/include/GL/freeglut_std.h:533:77: note: passing argument to parameter 'string' here FGAPI int FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string ); ^ wrap_glut.c:399:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return Val_int(glutStrokeLength(i2font(Int_val(font)), String_val(str))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/local/lib/ocaml/caml/mlvalues.h:292:23: note: expanded from macro 'String_val' #define String_val(x) ((char *) Bp_val(x)) ^ /usr/local/lib/ocaml/caml/mlvalues.h:79:29: note: expanded from macro 'Val_int' #define Val_int(x) Val_long(x) ~~~~~~~~~^~ /usr/local/lib/ocaml/caml/mlvalues.h:75:47: note: expanded from macro 'Val_long' #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) ^ /usr/local/include/GL/freeglut_std.h:534:77: note: passing argument to parameter 'string' here FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string ); ^ wrap_glut.c:402:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_1(glutWindowStatusFunc, int, Val_int) ^ wrap_glut.c:227:5: note: expanded from macro 'CB_1' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :44:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:402:1: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] wrap_glut.c:228:5: note: expanded from macro 'CB_1' callback(glut_func##_value, conv1(arg1)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :48:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ wrap_glut.c:402:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:229:5: note: expanded from macro 'CB_1' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :53:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:407:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutKeyboardUpFunc, unsigned char, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :68:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:407:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :72:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:407:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :77:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:408:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB_3(glutSpecialUpFunc, int, Val_int, int, Val_int, int, Val_int) ^ wrap_glut.c:255:5: note: expanded from macro 'CB_3' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :12:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:408:1: warning: "callback3" is deprecated: use "caml_callback3" instead [-W#pragma-messages] wrap_glut.c:256:5: note: expanded from macro 'CB_3' callback3(glut_func##_value, conv1(arg1), conv2(arg2), conv3(arg3)); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:73:19: note: expanded from macro 'callback3' #define callback3 CAML_DEPRECATED("callback3", "caml_callback3") caml_callback3 ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :16:6: note: expanded from here GCC warning "\"callback3\" is deprecated: use \"caml_callback3\" instead" ^ wrap_glut.c:408:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:257:5: note: expanded from macro 'CB_3' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :21:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ wrap_glut.c:411:1: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] CB__4(glutJoystickFunc, unsigned int, Val_int, int, Val_int, int, Val_int, int, Val_int, Int_val) ^ wrap_glut.c:282:5: note: expanded from macro 'CB__4' leave_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:268:32: note: expanded from macro 'leave_blocking_section' #define leave_blocking_section CAML_DEPRECATED("leave_blocking_section", "caml_leave_blocking_section") caml_leave_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :36:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ wrap_glut.c:411:1: warning: "callbackN" is deprecated: use "caml_callbackN" instead [-W#pragma-messages] wrap_glut.c:287:5: note: expanded from macro 'CB__4' callbackN (glut_func##_value, 4, args); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:74:19: note: expanded from macro 'callbackN' #define callbackN CAML_DEPRECATED("callbackN", "caml_callbackN") caml_callbackN ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :40:6: note: expanded from here GCC warning "\"callbackN\" is deprecated: use \"caml_callbackN\" instead" ^ wrap_glut.c:411:1: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] wrap_glut.c:288:5: note: expanded from macro 'CB__4' enter_blocking_section (); \ ^ /usr/local/lib/ocaml/caml/compatibility.h:267:32: note: expanded from macro 'enter_blocking_section' #define enter_blocking_section CAML_DEPRECATED("enter_blocking_section", "caml_enter_blocking_section") caml_enter_blocking_section ^ /usr/local/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /usr/local/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :45:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ 80 warnings generated. ocamlc -c -w s glut.mli ocamlc -c -w s glut.ml File "glut.ml", line 275, characters 4-24: 275 | _glutInitDisplayMode ^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels double_buffer, index, accum, alpha, depth, stencil, multisample, stereo, luminance were omitted in the application of this function. File "glut.ml", line 372, characters 7-17: 372 | in _setCursor ic ^^^^^^^^^^ Warning 6 [labels-omitted]: label c was omitted in the application of this function. File "glut.ml", line 415, characters 25-36: 415 | let attachMenu ~button = _attachMenu (b2i button);; ^^^^^^^^^^^ Warning 6 [labels-omitted]: label button was omitted in the application of this function. File "glut.ml", line 418, characters 25-36: 418 | let detachMenu ~button = _detachMenu (b2i button);; ^^^^^^^^^^^ Warning 6 [labels-omitted]: label button was omitted in the application of this function. File "glut.ml", line 507, characters 6-8: 507 | cb value); ^^ Warning 6 [labels-omitted]: label value was omitted in the application of this function. File "glut.ml", line 624, characters 7-11: 624 | in _get igtype ;; ^^^^ Warning 6 [labels-omitted]: label igtype was omitted in the application of this function. File "glut.ml", line 626, characters 21-25: 626 | let getBool ~gtype = _get (match gtype with DISPLAY_MODE_POSSIBLE -> 400) <> 0 ^^^^ Warning 6 [labels-omitted]: label igtype was omitted in the application of this function. File "glut.ml", line 648, characters 7-17: 648 | in _deviceGet idgtype;; ^^^^^^^^^^ Warning 6 [labels-omitted]: label idgtype was omitted in the application of this function. File "glut.ml", line 712, characters 31-47: 712 | let bitmapCharacter ~font ~c = _bitmapCharacter (f2i font) c;; ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 715, characters 27-39: 715 | let bitmapWidth ~font ~c = _bitmapWidth (f2i font) c;; ^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 718, characters 31-47: 718 | let strokeCharacter ~font ~c = _strokeCharacter (f2i font) c;; ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 721, characters 27-39: 721 | let strokeWidth ~font ~c = _strokeWidth (f2i font) c;; ^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 766, characters 30-43: 766 | let bitmapLength ~font ~str = _bitmapLength (f2i font) str;; ^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, str were omitted in the application of this function. File "glut.ml", line 769, characters 30-43: 769 | let strokeLength ~font ~str = _strokeLength (f2i font) str;; ^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, str were omitted in the application of this function. File "glut.ml", line 797, characters 30-46: 797 | let ignoreKeyRepeat ~ignore = _ignoreKeyRepeat (if ignore = true then 1 else 0) ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label ignore was omitted in the application of this function. File "glut.ml", line 801, characters 2-15: 801 | _setKeyRepeat (match mode with ^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label mode was omitted in the application of this function. File "glut.ml", line 859, characters 4-16: 859 | _gameModeGet imode;; ^^^^^^^^^^^^ Warning 6 [labels-omitted]: label mode was omitted in the application of this function. ocamlmklib -o lablglut wrap_glut.o glut.cmo -lglut -lGL -lGLU -L/usr/local/lib -lXext -lXmu -lX11 ocamlmktop -I . -I ../../src -o lablgluttop \ lablglut.cma lablgl.cma gmake INSTALLDIR="/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" real-lablglut gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' generate lablglut echo "#!/bin/sh" > lablglut echo "# toplevel with lablGL and LablGlut" >> lablglut if test -f dlllablglut.so; then \ echo 'exec ocaml -I "/usr/local/lib/ocaml/lablGL" lablgl.cma lablglut.cma $*' >> lablglut; \ else echo 'exec "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL/lablgluttop" -I "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" $*' >> lablglut; fi chmod 755 lablglut gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' cd src && gmake opt gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' ocamlopt -c -I +site-lib/labltk -I +labltk raw.ml File "raw.ml", line 24, characters 13-15: 24 | if pos < 0 or (pos+len) * size > raw.size then invalid_arg "Raw.sub"; ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlopt -c -I +site-lib/labltk -I +labltk gl.ml ocamlopt -c -I +site-lib/labltk -I +labltk glLight.ml ocamlopt -c -I +site-lib/labltk -I +labltk glList.ml ocamlopt -c -I +site-lib/labltk -I +labltk glMap.ml ocamlopt -c -I +site-lib/labltk -I +labltk glMat.ml File "glMat.ml", line 73, characters 10-22: 73 | let m = Array.create 4 [||] in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. ocamlopt -c -I +site-lib/labltk -I +labltk glMisc.ml File "glMisc.ml", line 26, characters 15-17: 26 | if plane < 0 or plane > 5 then invalid_arg "Gl.clip_plane"; ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlopt -c -I +site-lib/labltk -I +labltk glPix.ml ocamlopt -c -I +site-lib/labltk -I +labltk glClear.ml ocamlopt -c -I +site-lib/labltk -I +labltk glTex.ml File "glTex.ml", line 111, characters 12-24: 111 | let arr = Array.create len Nativeint.zero in ^^^^^^^^^^^^ Alert deprecated: Stdlib.Array.create Use Array.make/ArrayLabels.make instead. File "glTex.ml", line 116, characters 23-35: 116 | let gen_texture () = (gen_textures 1).(0) ^^^^^^^^^^^^ Warning 6 [labels-omitted]: label len was omitted in the application of this function. ocamlopt -c -I +site-lib/labltk -I +labltk glDraw.ml File "glDraw.ml", line 30, characters 28-30: 30 | if GlPix.height img <> 32 or GlPix.width img <> 32 ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlopt -c -I +site-lib/labltk -I +labltk glFunc.ml ocamlopt -c -I +site-lib/labltk -I +labltk gluMisc.ml ocamlopt -c -I +site-lib/labltk -I +labltk gluNurbs.ml File "gluNurbs.ml", line 57, characters 23-25: 57 | if tl <> cl + torder or (sl - sorder) * target_size target <> tstride ^^ Alert deprecated: Stdlib.or Use (||) instead. ocamlopt -c -I +site-lib/labltk -I +labltk gluQuadric.ml ocamlopt -c -I +site-lib/labltk -I +labltk gluTess.ml ocamlopt -c -I +site-lib/labltk -I +labltk gluMat.ml ocamlopt -c -I +site-lib/labltk -I +labltk glArray.ml ocamlopt -c -I +site-lib/labltk -I +labltk glShader.ml ocamlmklib -o lablgl ml_gl.o ml_glu.o ml_raw.o ml_glarray.o ml_glutess.o ml_shader.o raw.cmx gl.cmx glLight.cmx glList.cmx glMap.cmx glMat.cmx glMisc.cmx glPix.cmx glClear.cmx glTex.cmx glDraw.cmx glFunc.cmx gluMisc.cmx gluNurbs.cmx gluQuadric.cmx gluTess.cmx gluMat.cmx glArray.cmx glShader.cmx -lGL -lGLU -L/usr/local/lib -lXext -lXmu -lX11 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' cd Togl/src && gmake opt gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition ocamlopt -c -I +site-lib/labltk -I +labltk -I ../../src togl.ml ocamlmklib -o togl togl.cmx ml_togl.o Togl/togl.o -lGL -lGLU -L/usr/local/lib -ltk86 -ltcl86 -lpthread -L/usr/local/lib -lXext -lXmu -lX11 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' cd LablGlut/src && gmake opt gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' ocamlopt -c glut.ml File "glut.ml", line 275, characters 4-24: 275 | _glutInitDisplayMode ^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels double_buffer, index, accum, alpha, depth, stencil, multisample, stereo, luminance were omitted in the application of this function. File "glut.ml", line 372, characters 7-17: 372 | in _setCursor ic ^^^^^^^^^^ Warning 6 [labels-omitted]: label c was omitted in the application of this function. File "glut.ml", line 415, characters 25-36: 415 | let attachMenu ~button = _attachMenu (b2i button);; ^^^^^^^^^^^ Warning 6 [labels-omitted]: label button was omitted in the application of this function. File "glut.ml", line 418, characters 25-36: 418 | let detachMenu ~button = _detachMenu (b2i button);; ^^^^^^^^^^^ Warning 6 [labels-omitted]: label button was omitted in the application of this function. File "glut.ml", line 507, characters 6-8: 507 | cb value); ^^ Warning 6 [labels-omitted]: label value was omitted in the application of this function. File "glut.ml", line 624, characters 7-11: 624 | in _get igtype ;; ^^^^ Warning 6 [labels-omitted]: label igtype was omitted in the application of this function. File "glut.ml", line 626, characters 21-25: 626 | let getBool ~gtype = _get (match gtype with DISPLAY_MODE_POSSIBLE -> 400) <> 0 ^^^^ Warning 6 [labels-omitted]: label igtype was omitted in the application of this function. File "glut.ml", line 648, characters 7-17: 648 | in _deviceGet idgtype;; ^^^^^^^^^^ Warning 6 [labels-omitted]: label idgtype was omitted in the application of this function. File "glut.ml", line 712, characters 31-47: 712 | let bitmapCharacter ~font ~c = _bitmapCharacter (f2i font) c;; ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 715, characters 27-39: 715 | let bitmapWidth ~font ~c = _bitmapWidth (f2i font) c;; ^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 718, characters 31-47: 718 | let strokeCharacter ~font ~c = _strokeCharacter (f2i font) c;; ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 721, characters 27-39: 721 | let strokeWidth ~font ~c = _strokeWidth (f2i font) c;; ^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, c were omitted in the application of this function. File "glut.ml", line 766, characters 30-43: 766 | let bitmapLength ~font ~str = _bitmapLength (f2i font) str;; ^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, str were omitted in the application of this function. File "glut.ml", line 769, characters 30-43: 769 | let strokeLength ~font ~str = _strokeLength (f2i font) str;; ^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels font, str were omitted in the application of this function. File "glut.ml", line 797, characters 30-46: 797 | let ignoreKeyRepeat ~ignore = _ignoreKeyRepeat (if ignore = true then 1 else 0) ^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label ignore was omitted in the application of this function. File "glut.ml", line 801, characters 2-15: 801 | _setKeyRepeat (match mode with ^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label mode was omitted in the application of this function. File "glut.ml", line 859, characters 4-16: 859 | _gameModeGet imode;; ^^^^^^^^^^^^ Warning 6 [labels-omitted]: label mode was omitted in the application of this function. ocamlmklib -o lablglut wrap_glut.o glut.cmx -lglut -lGL -lGLU -L/usr/local/lib -lXext -lXmu -lX11 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/bin/labltk - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ocaml-lablgl-1.05_6,1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ocaml-lablgl-1.05_6,1 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05' cd src && gmake install gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' sed -e "s|@LABLGL_MLS@|raw gl glLight glList glMap glMat glMisc glPix glClear glTex glDraw glFunc gluMisc gluNurbs gluQuadric gluTess gluMat glArray glShader|" \ -e "s|@TOGL_MLS@|togl|" \ -e "s|@GLUT_MLS@|glut|" \ -e "s|@GLLIBS@||" \ -e "s|@TKLIBS@||" \ -e "s|@GLUTLIBS@||" < build.ml.in > build.ml if test -d "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL"; then : ; else mkdir -p "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL"; fi install -m 0644 build.ml raw.ml gl.ml glLight.ml glList.ml glMap.ml glMat.ml glMisc.ml glPix.ml glClear.ml glTex.ml glDraw.ml glFunc.ml gluMisc.ml gluNurbs.ml gluQuadric.ml gluTess.ml gluMat.ml glArray.ml glShader.ml raw.mli gl.mli glLight.mli glList.mli glMap.mli glMat.mli glMisc.mli glPix.mli glClear.mli glTex.mli glDraw.mli glFunc.mli gluMisc.mli gluNurbs.mli gluQuadric.mli gluTess.mli gluMat.mli glArray.mli glShader.mli "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" install -m 0644 liblablgl.a "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" cd "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" && ranlib liblablgl.a if test -f dlllablgl.so; then cp dlllablgl.so "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL"; fi install -m 0644 raw.cmi gl.cmi glLight.cmi glList.cmi glMap.cmi glMat.cmi glMisc.cmi glPix.cmi glClear.cmi glTex.cmi glDraw.cmi glFunc.cmi gluMisc.cmi gluNurbs.cmi gluQuadric.cmi gluTess.cmi gluMat.cmi glArray.cmi glShader.cmi lablgl.cma "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' install -m 0644 lablgl.cmxa lablgl.a raw.cmx gl.cmx glLight.cmx glList.cmx glMap.cmx glMat.cmx glMisc.cmx glPix.cmx glClear.cmx glTex.cmx glDraw.cmx glFunc.cmx gluMisc.cmx gluNurbs.cmx gluQuadric.cmx gluTess.cmx gluMat.cmx glArray.cmx glShader.cmx "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" cd "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" && ranlib lablgl.a gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/src' cd Togl/src && gmake install gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition install -m 0644 togl.mli togl.ml libtogl.a "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" cd "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" && ranlib libtogl.a gmake[4]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition cp dlltogl.so "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' install -m 555 lablgl "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/bin" install -m 0644 togl.cmi togl.cma "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" gmake[4]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' Makefile:20: warning: ignoring prerequisites on suffix rule definition install -m 0644 togl.cmxa togl.a togl.cmx "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" cd "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" && ranlib togl.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/Togl/src' cd LablGlut/src && gmake install gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' gmake[3]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' if test -d "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL"; then : ; else mkdir -p "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL"; fi install -m 0644 glut.ml glut.mli "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" install -m 0644 liblablglut.a "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" cd "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" && ranlib liblablglut.a gmake[4]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' cp dlllablglut.so "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' install -m 555 lablglut "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/bin" install -m 0644 glut.cmi lablglut.cma "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" gmake[4]: Entering directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' install -m 0644 lablglut.cmxa lablglut.a glut.cmx "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" cd "/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/lib/ocaml/site-lib/lablGL" && ranlib lablglut.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/LablGlut/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05' install -m 0644 /wrkdirs/usr/ports/graphics/ocaml-lablgl/work/lablgl-1.05/README /wrkdirs/usr/ports/graphics/ocaml-lablgl/work/stage/usr/local/share/doc/ocaml/lablgl ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-03-28T06:10:58+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=8025aa10ce' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ocaml-lablgl-1.05_6,1 ===> Building ocaml-lablgl-1.05_6,1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ocaml-lablgl-1.05_6,1 build of graphics/ocaml-lablgl | ocaml-lablgl-1.05_6,1 ended at Thu Mar 28 06:11:35 GMT 2024 build time: 00:00:37