=>> Building devel/ocaml-sdl build started at Sat Mar 30 10:34:04 GMT 2024 port directory: /usr/ports/devel/ocaml-sdl package name: ocaml-sdl-0.9.1_6 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 1629 Mar 13 17:24 /usr/ports/devel/ocaml-sdl/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: 18 ---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/18/.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-sdl-0.9.1_6: DOCS=on: Build and/or install documentation SDL_GFX=on: Enable SDL_gfx support SDL_IMAGE=on: Enable SDL_image support SDL_MIXER=on: Enable SDL_mixer support SDL_TTF=on: Enable SDL_ttf support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-lablgldir=/usr/local/lib/ocaml/site-lib/lablGL --with-sdl-prefix=/usr/local --with-installdir=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work/.cache HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/ocaml-sdl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/ocaml-sdl/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OCAMLFIND_DESTDIR="/wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib" OCAMLFIND_LDCONF="/dev/null" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work/.cache HOME=/wrkdirs/usr/ports/devel/ocaml-sdl/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/ocaml-sdl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/ocaml-sdl/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/sdl" EXAMPLESDIR="share/examples/sdl" DATADIR="share/sdl" WWWDIR="www/sdl" ETCDIR="etc/sdl" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sdl DOCSDIR=/usr/local/share/doc/ocaml/sdl EXAMPLESDIR=/usr/local/share/examples/sdl WWWDIR=/usr/local/www/sdl ETCDIR=/usr/local/etc/sdl --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 sdl 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-sdl-0.9.1_6 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-sdl-0.9.1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ocaml-sdl-0.9.1_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl 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-sdl-0.9.1_6 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl 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-sdl-0.9.1_6 for building => SHA256 Checksum OK for ocamlsdl-0.9.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-sdl-0.9.1_6 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-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlc - found ===> Returning to build of ocaml-sdl-0.9.1_6 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl 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-sdl-0.9.1_6 for building ===> Extracting for ocaml-sdl-0.9.1_6 => SHA256 Checksum OK for ocamlsdl-0.9.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ocaml-sdl-0.9.1_6 ===> Applying FreeBSD patches for ocaml-sdl-0.9.1_6 from /usr/ports/devel/ocaml-sdl/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-sdl-0.9.1_6 depends on package: ocaml-lablgl>0 - not found ===> Installing existing package /packages/All/ocaml-lablgl-1.05_6,1.pkg [pkg-builder.dan.net.uk] Installing ocaml-lablgl-1.05_6,1... [pkg-builder.dan.net.uk] `-- Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] | `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | | `-- Installing libglvnd-1.7.0... [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 libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libGLU-9.0.2_2: ..... done [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 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] | | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | | `-- Extracting libXrender-0.9.10_2: ....... done [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 [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 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 [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 libXScrnSaver-1.2.4_1... [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] | | `-- 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 [pkg-builder.dan.net.uk] Extracting ocaml-lablgl-1.05_6,1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== 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. ===== 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). ===== Message from ocaml-lablgl-1.05_6,1: -- ===> NOTICE: The ocaml-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 ===> ocaml-sdl-0.9.1_6 depends on package: ocaml-lablgl>0 - found ===> Returning to build of ocaml-sdl-0.9.1_6 ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlfind - not found ===> Installing existing package /packages/All/ocaml-findlib-1.9.6_2.pkg [pkg-builder.dan.net.uk] Installing ocaml-findlib-1.9.6_2... [pkg-builder.dan.net.uk] Extracting ocaml-findlib-1.9.6_2: .......... done ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlfind - found ===> Returning to build of ocaml-sdl-0.9.1_6 ===> ocaml-sdl-0.9.1_6 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-sdl-0.9.1_6 depends on package: gmake>=4.4.1 - found ===> Returning to build of ocaml-sdl-0.9.1_6 ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg-builder.dan.net.uk] Installing sdl-1.2.15_17,2... [pkg-builder.dan.net.uk] `-- Installing aalib-1.4.r5_14... [pkg-builder.dan.net.uk] `-- Extracting aalib-1.4.r5_14: .......... done [pkg-builder.dan.net.uk] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib 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 ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of ocaml-sdl-0.9.1_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_gfx.so - not found ===> Installing existing package /packages/All/sdl_gfx-2.0.26.pkg [pkg-builder.dan.net.uk] Installing sdl_gfx-2.0.26... [pkg-builder.dan.net.uk] Extracting sdl_gfx-2.0.26: .......... done ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so) ===> Returning to build of ocaml-sdl-0.9.1_6 ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_13.pkg [pkg-builder.dan.net.uk] Installing sdl_image-1.2.12_13... [pkg-builder.dan.net.uk] `-- Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] `-- Extracting jpeg-turbo-3.0.2: .......... done [pkg-builder.dan.net.uk] `-- Installing png-1.6.43... [pkg-builder.dan.net.uk] `-- Extracting png-1.6.43: .......... done [pkg-builder.dan.net.uk] `-- Installing tiff-4.4.0_3... [pkg-builder.dan.net.uk] | `-- Installing jbigkit-2.1_2... [pkg-builder.dan.net.uk] | `-- Extracting jbigkit-2.1_2: .......... done [pkg-builder.dan.net.uk] | `-- Installing libdeflate-1.19... [pkg-builder.dan.net.uk] | `-- Extracting libdeflate-1.19: .......... done [pkg-builder.dan.net.uk] | `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting tiff-4.4.0_3: .......... done [pkg-builder.dan.net.uk] `-- Installing webp-1.3.2_1... [pkg-builder.dan.net.uk] | `-- Installing giflib-5.2.1_1... [pkg-builder.dan.net.uk] | `-- Extracting giflib-5.2.1_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting webp-1.3.2_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl_image-1.2.12_13: ....... done ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of ocaml-sdl-0.9.1_6 ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_14.pkg [pkg-builder.dan.net.uk] Installing sdl_mixer-1.2.12_14... [pkg-builder.dan.net.uk] `-- Installing flac-1.4.3_1,1... [pkg-builder.dan.net.uk] | `-- Installing libogg-1.3.5,4... [pkg-builder.dan.net.uk] | `-- Extracting libogg-1.3.5,4: .......... done [pkg-builder.dan.net.uk] `-- Extracting flac-1.4.3_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libmikmod-3.3.11.1_2... [pkg-builder.dan.net.uk] `-- Extracting libmikmod-3.3.11.1_2: .......... done [pkg-builder.dan.net.uk] `-- Installing libvorbis-1.3.7_2,3... [pkg-builder.dan.net.uk] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg-builder.dan.net.uk] `-- Installing smpeg-0.4.4_18... [pkg-builder.dan.net.uk] `-- Extracting smpeg-0.4.4_18: .......... done [pkg-builder.dan.net.uk] `-- Installing timidity-0.2i_1... [pkg-builder.dan.net.uk] `-- Extracting timidity-0.2i_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl_mixer-1.2.12_14: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity 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 ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of ocaml-sdl-0.9.1_6 ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_ttf.so - not found ===> Installing existing package /packages/All/sdl_ttf-2.0.11_8.pkg [pkg-builder.dan.net.uk] Installing sdl_ttf-2.0.11_8... [pkg-builder.dan.net.uk] Extracting sdl_ttf-2.0.11_8: ........ done ===> ocaml-sdl-0.9.1_6 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so) ===> Returning to build of ocaml-sdl-0.9.1_6 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ocaml-sdl-0.9.1_6 configure: loading site script /usr/ports/Templates/config.site checking for ocamlc... ocamlc OCaml version is 4.14.1 OCaml library path is /usr/local/lib/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocaml... ocaml checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamlbuild... no checking for ocamlfind... ocamlfind checking OCaml Sys.os_type... Unix checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for ranlib... ranlib checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... no checking for alloca... yes checking for inline... inline checking for a BSD-compatible install... /usr/bin/install -c checking for OCaml module lablGL... /usr/local/lib/ocaml/site-lib/lablGL checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking SDL_ttf.h usability... yes checking SDL_ttf.h presence... yes checking for SDL_ttf.h... yes checking for TTF_OpenFontRW in -lSDL_ttf... yes checking SDL_image.h usability... yes checking SDL_image.h presence... yes checking for SDL_image.h... yes checking for IMG_ReadXPMFromArray in -lSDL_image... yes checking SDL_mixer.h usability... yes checking SDL_mixer.h presence... yes checking for SDL_mixer.h... yes checking for Mix_QuickLoad_WAV in -lSDL_mixer... yes checking SDL_gfxPrimitives.h usability... yes checking SDL_gfxPrimitives.h presence... yes checking for SDL_gfxPrimitives.h... yes checking for pixelColor in -lSDL_gfx... yes configure: creating ./config.status config.status: creating META config.status: creating makefile.platform config.status: creating makefile.config.gcc config.status: creating src/config.h Configure summary: LablGL yes SDL_image yes SDL_mixer yes SDL_tff yes SDL_gfx yes Configure finished, type 'make' to build. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ocaml-sdl-0.9.1_6 gmake -C src all gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/ocaml-sdl/work/ocamlsdl-0.9.1/src' making deps... ocamlc.opt sdl.mli ocamlc.opt -c -g sdl.ml ocamlc.opt sdlcdrom.mli ocamlc.opt -c -g sdlcdrom.ml File "sdlcdrom.ml", line 86, characters 2-16: 86 | cd_play_tracks cdrom (num - 1) 0 1 0;; ^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels start_track, start_frame, num_tracks, num_frames were omitted in the application of this function. ocamlc.opt sdltimer.mli ocamlc.opt -c -g sdltimer.ml File "sdltimer.ml", line 26, characters 0-65: 26 | external get_ticks : unit -> int = "sdltimer_get_ticks" "noalloc" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: [@@noalloc] should be used instead of "noalloc" ocamlc.opt sdljoystick.mli ocamlc.opt -c -g sdljoystick.ml ocamlc.opt sdlkey.mli ocamlc.opt -c -g sdlkey.ml ocamlc.opt sdlmouse.mli ocamlc.opt -c -g sdlmouse.ml File "sdlmouse.ml", line 55, characters 9-23: 55 | then s.[7-i] <- '@' ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set/BytesLabels.set instead. ocamlc.opt sdlevent.mli ocamlc.opt -c -g sdlevent.ml ocamlc.opt sdlvideo.mli ocamlc.opt -c -g sdlvideo.ml File "sdlvideo.ml", lines 210-211, characters 0-33: 210 | external must_lock : surface -> bool 211 | = "ml_SDL_MustLock" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" File "sdlvideo.ml", lines 214-215, characters 0-38: 214 | external unlock : surface -> unit 215 | = "ml_SDL_UnlockSurface" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" ocamlc.opt sdlwm.mli ocamlc.opt -c -g sdlwm.ml ocamlc.opt -I /usr/local/lib/ocaml/site-lib/lablGL sdlgl.mli ocamlc.opt -c -I /usr/local/lib/ocaml/site-lib/lablGL -g sdlgl.ml ocamlmklib -v -o sdl -oc sdlstub sdl.cmo sdlcdrom.cmo sdltimer.cmo sdljoystick.cmo sdlkey.cmo sdlmouse.cmo sdlevent.cmo sdlvideo.cmo sdlwm.cmo sdlgl.cmo -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread Unknown option -pthread + /usr/local/bin/ocamlc -a -o sdl.cma sdl.cmo sdlcdrom.cmo sdltimer.cmo sdljoystick.cmo sdlkey.cmo sdlmouse.cmo sdlevent.cmo sdlvideo.cmo sdlwm.cmo sdlgl.cmo -dllib -lsdlstub -cclib -lsdlstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL ocamlc.opt sdlttf.mli ocamlc.opt -c -g sdlttf.ml ocamlmklib -v -o sdlttf -oc sdlttfstub sdlttf.cmo -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_ttf Unknown option -pthread + /usr/local/bin/ocamlc -a -o sdlttf.cma sdlttf.cmo -dllib -lsdlttfstub -cclib -lsdlttfstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_ttf ocamlc.opt sdlloader.mli ocamlc.opt -c -g sdlloader.ml ocamlmklib -v -o sdlloader -oc sdlloaderstub sdlloader.cmo -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_image Unknown option -pthread + /usr/local/bin/ocamlc -a -o sdlloader.cma sdlloader.cmo -dllib -lsdlloaderstub -cclib -lsdlloaderstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_image ocamlc.opt sdlmixer.mli ocamlc.opt -c -g sdlmixer.ml ocamlmklib -v -o sdlmixer -oc sdlmixerstub sdlmixer.cmo -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer Unknown option -pthread + /usr/local/bin/ocamlc -a -o sdlmixer.cma sdlmixer.cmo -dllib -lsdlmixerstub -cclib -lsdlmixerstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_mixer ocamlc.opt sdlgfx.mli ocamlc.opt -c -g sdlgfx.ml ocamlmklib -v -o sdlgfx -oc sdlgfxstub sdlgfx.cmo -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_gfx Unknown option -pthread + /usr/local/bin/ocamlc -a -o sdlgfx.cma sdlgfx.cmo -dllib -lsdlgfxstub -cclib -lsdlgfxstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_gfx ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdl_stub.c In file included from sdl_stub.c:30: In file included from /usr/local/include/SDL/SDL.h:32: /usr/local/include/SDL/SDL_audio.h:91:17: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from sdl_stub.c:30: In file included from /usr/local/include/SDL/SDL.h:42: /usr/local/include/SDL/SDL_timer.h:86:77: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] extern DECLSPEC int SDLCALL SDL_SetTimer(Uint32 interval, SDL_TimerCallback callback); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from sdl_stub.c:30: In file included from /usr/local/include/SDL/SDL.h:42: /usr/local/include/SDL/SDL_timer.h:109:88: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval, SDL_NewTimerCallback callback, void *param); ^ /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)) ^ :175:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from sdl_stub.c:32: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdl_stub.c:32: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :179:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdl_stub.c:32: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :183:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdl_stub.c:78:5: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*caml_named_value("SDL_init_exception"), ^ /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)) ^ :187:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdl_stub.c:99:5: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*caml_named_value("SDL_init_exception"), ^ /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)) ^ :191:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdl_stub.c:131:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :4:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdl_stub.c:142:22: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] mlsize_t namelen = string_length(name); ^ /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)) ^ :8:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ sdl_stub.c:143:21: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] mlsize_t vallen = string_length(val); ^ /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)) ^ :12:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ sdl_stub.c:144:14: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] char * s = stat_alloc(namelen + 1 + vallen + 1); ^ /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)) ^ :16:6: note: expanded from here GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" ^ sdl_stub.c:154:24: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] if (putenv(s) == -1) raise_out_of_memory(); ^ /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)) ^ :20:6: note: expanded from here GCC warning "\"raise_out_of_memory\" is deprecated: use \"caml_raise_out_of_memory\" instead" ^ 13 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlcdrom_stub.c In file included from sdlcdrom_stub.c:24: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlcdrom_stub.c:24: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlcdrom_stub.c:24: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlcdrom_stub.c:45:15: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cdrom_exn = caml_named_value("SDLcdrom_exception"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlcdrom_stub.c:46:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*cdrom_exn, msg); ^ /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)) ^ :175:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdlcdrom_stub.c:56:15: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cdrom_exn = caml_named_value("SDLcdrom_nocd"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlcdrom_stub.c:57:3: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] raise_constant(*cdrom_exn); ^ /usr/local/lib/ocaml/caml/compatibility.h:108:24: note: expanded from macro 'raise_constant' #define raise_constant CAML_DEPRECATED("raise_constant", "caml_raise_constant") caml_raise_constant ^ /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)) ^ :179:6: note: expanded from here GCC warning "\"raise_constant\" is deprecated: use \"caml_raise_constant\" instead" ^ sdlcdrom_stub.c:83:10: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] return copy_string((char *)name); ^ /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)) ^ :183:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ sdlcdrom_stub.c:191:9: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] a = alloc(cd->numtracks, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ ^ /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)) ^ :199:6: note: expanded from here GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" ^ sdlcdrom_stub.c:194:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] t = alloc_small(4, 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)) ^ :3:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlcdrom_stub.c:204:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(4, 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)) ^ :7:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 11 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdltimer_stub.c In file included from sdltimer_stub.c:24: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdltimer_stub.c:24: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdltimer_stub.c:24: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdltimer_stub.c:33: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)) ^ :175:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ sdltimer_stub.c:35: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)) ^ :179:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ 5 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdljoystick_stub.c In file included from sdljoystick_stub.c:24: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdljoystick_stub.c:24: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdljoystick_stub.c:24: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdljoystick_stub.c:39:18: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] joystick_exn = caml_named_value("SDLjoystick_exception"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdljoystick_stub.c:40:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*joystick_exn, msg); ^ /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)) ^ :175:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdljoystick_stub.c:44:33: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] ML_1(SDL_JoystickName, Int_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)) ^ sdljoystick_stub.c:79:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 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)) ^ :195:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 7 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlkey_stub.c In file included from sdlkey_stub.c:5: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlkey_stub.c:5: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlkey_stub.c:5: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlkey_stub.c:9:10: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] return copy_string(SDL_GetKeyName(Int_val(key))); ^ /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)) ^ :175:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ sdlkey_stub.c:31:13: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead [-W#pragma-messages] value v = alloc_bigarray(BIGARRAY_UINT8 | ^ /usr/local/lib/ocaml/caml/compatibility.h:342:24: note: expanded from macro 'alloc_bigarray' #define alloc_bigarray CAML_DEPRECATED("alloc_bigarray", "caml_ba_alloc") caml_ba_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)) ^ :179:6: note: expanded from here GCC warning "\"alloc_bigarray\" is deprecated: use \"caml_ba_alloc\" instead" ^ sdlkey_stub.c:31:28: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-W#pragma-messages] value v = alloc_bigarray(BIGARRAY_UINT8 | ^ /usr/local/lib/ocaml/caml/compatibility.h:319:24: note: expanded from macro 'BIGARRAY_UINT8' #define BIGARRAY_UINT8 CAML_DEPRECATED("BIGARRAY_UINT8", "CAML_BA_UINT8") CAML_BA_UINT8 ^ /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)) ^ :183:6: note: expanded from here GCC warning "\"BIGARRAY_UINT8\" is deprecated: use \"CAML_BA_UINT8\" instead" ^ sdlkey_stub.c:32:7: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead [-W#pragma-messages] BIGARRAY_C_LAYOUT | ^ /usr/local/lib/ocaml/caml/compatibility.h:330:27: note: expanded from macro 'BIGARRAY_C_LAYOUT' #define BIGARRAY_C_LAYOUT CAML_DEPRECATED("BIGARRAY_C_LAYOUT", "CAML_BA_C_LAYOUT") CAML_BA_C_LAYOUT ^ /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)) ^ :187:6: note: expanded from here GCC warning "\"BIGARRAY_C_LAYOUT\" is deprecated: use \"CAML_BA_C_LAYOUT\" instead" ^ sdlkey_stub.c:33:7: warning: "BIGARRAY_EXTERNAL" is deprecated: use "CAML_BA_EXTERNAL" instead [-W#pragma-messages] BIGARRAY_EXTERNAL, 1, data, &llen); ^ /usr/local/lib/ocaml/caml/compatibility.h:334:27: note: expanded from macro 'BIGARRAY_EXTERNAL' #define BIGARRAY_EXTERNAL CAML_DEPRECATED("BIGARRAY_EXTERNAL", "CAML_BA_EXTERNAL") CAML_BA_EXTERNAL ^ /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)) ^ :191:6: note: expanded from here GCC warning "\"BIGARRAY_EXTERNAL\" is deprecated: use \"CAML_BA_EXTERNAL\" instead" ^ 8 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlmouse_stub.c In file included from sdlmouse_stub.c:4: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlmouse_stub.c:4: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlmouse_stub.c:4: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlmouse_stub.c:39:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = 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)) ^ :186:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlmouse_stub.c:55:10: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-W#pragma-messages] struct caml_bigarray *b_data = Bigarray_val(data); ^ /usr/local/lib/ocaml/caml/compatibility.h:339:23: note: expanded from macro 'caml_bigarray' #define caml_bigarray CAML_DEPRECATED("caml_bigarray", "caml_ba_array") caml_ba_array ^ /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)) ^ :192:6: note: expanded from here GCC warning "\"caml_bigarray\" is deprecated: use \"caml_ba_array\" instead" ^ sdlmouse_stub.c:55:34: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-W#pragma-messages] struct caml_bigarray *b_data = Bigarray_val(data); ^ /usr/local/lib/ocaml/caml/compatibility.h:340:22: note: expanded from macro 'Bigarray_val' #define Bigarray_val CAML_DEPRECATED("Bigarray_val", "Caml_ba_array_val") Caml_ba_array_val ^ /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)) ^ :196:6: note: expanded from here GCC warning "\"Bigarray_val\" is deprecated: use \"Caml_ba_array_val\" instead" ^ sdlmouse_stub.c:56:10: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-W#pragma-messages] struct caml_bigarray *b_mask = Bigarray_val(mask); ^ /usr/local/lib/ocaml/caml/compatibility.h:339:23: note: expanded from macro 'caml_bigarray' #define caml_bigarray CAML_DEPRECATED("caml_bigarray", "caml_ba_array") caml_ba_array ^ /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)) ^ :200:6: note: expanded from here GCC warning "\"caml_bigarray\" is deprecated: use \"caml_ba_array\" instead" ^ sdlmouse_stub.c:56:34: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-W#pragma-messages] struct caml_bigarray *b_mask = Bigarray_val(mask); ^ /usr/local/lib/ocaml/caml/compatibility.h:340:22: note: expanded from macro 'Bigarray_val' #define Bigarray_val CAML_DEPRECATED("Bigarray_val", "Caml_ba_array_val") Caml_ba_array_val ^ /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 "\"Bigarray_val\" is deprecated: use \"Caml_ba_array_val\" instead" ^ sdlmouse_stub.c:62:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Sdl_mouse.create_cursor: wrong data/mask format"); ^ /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)) ^ :7:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlmouse_stub.c:70:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :32:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlmouse_stub.c:103:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :50:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlmouse_stub.c:121:14: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead [-W#pragma-messages] b_data = alloc_bigarray_dims(BIGARRAY_UINT8 | ^ /usr/local/lib/ocaml/caml/compatibility.h:343:29: note: expanded from macro 'alloc_bigarray_dims' #define alloc_bigarray_dims CAML_DEPRECATED("alloc_bigarray_dims", "caml_ba_alloc_dims") caml_ba_alloc_dims ^ /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 "\"alloc_bigarray_dims\" is deprecated: use \"caml_ba_alloc_dims\" instead" ^ sdlmouse_stub.c:121:34: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-W#pragma-messages] b_data = alloc_bigarray_dims(BIGARRAY_UINT8 | ^ /usr/local/lib/ocaml/caml/compatibility.h:319:24: note: expanded from macro 'BIGARRAY_UINT8' #define BIGARRAY_UINT8 CAML_DEPRECATED("BIGARRAY_UINT8", "CAML_BA_UINT8") CAML_BA_UINT8 ^ /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 "\"BIGARRAY_UINT8\" is deprecated: use \"CAML_BA_UINT8\" instead" ^ sdlmouse_stub.c:122:6: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead [-W#pragma-messages] BIGARRAY_C_LAYOUT | ^ /usr/local/lib/ocaml/caml/compatibility.h:330:27: note: expanded from macro 'BIGARRAY_C_LAYOUT' #define BIGARRAY_C_LAYOUT CAML_DEPRECATED("BIGARRAY_C_LAYOUT", "CAML_BA_C_LAYOUT") CAML_BA_C_LAYOUT ^ /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)) ^ :75:6: note: expanded from here GCC warning "\"BIGARRAY_C_LAYOUT\" is deprecated: use \"CAML_BA_C_LAYOUT\" instead" ^ sdlmouse_stub.c:123:6: warning: "BIGARRAY_EXTERNAL" is deprecated: use "CAML_BA_EXTERNAL" instead [-W#pragma-messages] BIGARRAY_EXTERNAL, ^ /usr/local/lib/ocaml/caml/compatibility.h:334:27: note: expanded from macro 'BIGARRAY_EXTERNAL' #define BIGARRAY_EXTERNAL CAML_DEPRECATED("BIGARRAY_EXTERNAL", "CAML_BA_EXTERNAL") CAML_BA_EXTERNAL ^ /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)) ^ :79:6: note: expanded from here GCC warning "\"BIGARRAY_EXTERNAL\" is deprecated: use \"CAML_BA_EXTERNAL\" instead" ^ sdlmouse_stub.c:127:14: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead [-W#pragma-messages] b_mask = alloc_bigarray_dims(BIGARRAY_UINT8 | ^ /usr/local/lib/ocaml/caml/compatibility.h:343:29: note: expanded from macro 'alloc_bigarray_dims' #define alloc_bigarray_dims CAML_DEPRECATED("alloc_bigarray_dims", "caml_ba_alloc_dims") caml_ba_alloc_dims ^ /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)) ^ :83:6: note: expanded from here GCC warning "\"alloc_bigarray_dims\" is deprecated: use \"caml_ba_alloc_dims\" instead" ^ sdlmouse_stub.c:127:34: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-W#pragma-messages] b_mask = alloc_bigarray_dims(BIGARRAY_UINT8 | ^ /usr/local/lib/ocaml/caml/compatibility.h:319:24: note: expanded from macro 'BIGARRAY_UINT8' #define BIGARRAY_UINT8 CAML_DEPRECATED("BIGARRAY_UINT8", "CAML_BA_UINT8") CAML_BA_UINT8 ^ /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)) ^ :87:6: note: expanded from here GCC warning "\"BIGARRAY_UINT8\" is deprecated: use \"CAML_BA_UINT8\" instead" ^ sdlmouse_stub.c:128:6: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead [-W#pragma-messages] BIGARRAY_C_LAYOUT | ^ /usr/local/lib/ocaml/caml/compatibility.h:330:27: note: expanded from macro 'BIGARRAY_C_LAYOUT' #define BIGARRAY_C_LAYOUT CAML_DEPRECATED("BIGARRAY_C_LAYOUT", "CAML_BA_C_LAYOUT") CAML_BA_C_LAYOUT ^ /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)) ^ :91:6: note: expanded from here GCC warning "\"BIGARRAY_C_LAYOUT\" is deprecated: use \"CAML_BA_C_LAYOUT\" instead" ^ sdlmouse_stub.c:129:6: warning: "BIGARRAY_EXTERNAL" is deprecated: use "CAML_BA_EXTERNAL" instead [-W#pragma-messages] BIGARRAY_EXTERNAL, ^ /usr/local/lib/ocaml/caml/compatibility.h:334:27: note: expanded from macro 'BIGARRAY_EXTERNAL' #define BIGARRAY_EXTERNAL CAML_DEPRECATED("BIGARRAY_EXTERNAL", "CAML_BA_EXTERNAL") CAML_BA_EXTERNAL ^ /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)) ^ :95:6: note: expanded from here GCC warning "\"BIGARRAY_EXTERNAL\" is deprecated: use \"CAML_BA_EXTERNAL\" instead" ^ sdlmouse_stub.c:134:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(6, 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)) ^ :99:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 20 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlevent_stub.c In file included from sdlevent_stub.c:24: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlevent_stub.c:24: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlevent_stub.c:24: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlevent_stub.c:34:9: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] exn = caml_named_value("sdlevent_exn"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlevent_stub.c:40:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*exn, msg); ^ /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)) ^ :176:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdlevent_stub.c:75:11: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] table = caml_named_value("rev_keycode_table"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlevent_stub.c:86:11: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] table = caml_named_value("keycode_table"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlevent_stub.c:99:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(6, 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)) ^ :191:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:109:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, tag); ^ /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)) ^ :195:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:134:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(2, 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)) ^ :3:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:137:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 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)) ^ :7:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:146:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(6, 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)) ^ :11:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:153:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 3); ^ /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)) ^ :15:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:159:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(5, 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)) ^ :19:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:166:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, tag); ^ /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)) ^ :23:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:170:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :27:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:174:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 6); ^ /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)) ^ :31:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:178:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(4, 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)) ^ :35:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:183:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 7); ^ /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)) ^ :39:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:187:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :43:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:191:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 8); ^ /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)) ^ :47:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:196:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :51:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:201:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, tag); ^ /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)) ^ :55:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:211:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 11); ^ /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)) ^ :59:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlevent_stub.c:219:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 12); ^ /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" ^ sdlevent_stub.c:323:3: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("SDLEvent_of_value"); ^ /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)) ^ :68:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlevent_stub.c:406: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)) ^ :25:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ sdlevent_stub.c:408: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)) ^ :29:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlevent_stub.c:418: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)) ^ :33:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ sdlevent_stub.c:420: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)) ^ :37:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ 30 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlvideo_stub.c In file included from sdlvideo_stub.c:6: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlvideo_stub.c:6: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlvideo_stub.c:6: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlvideo_stub.c:70:7: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] s = alloc_custom(&sdl_surface_ops, ^ /usr/local/lib/ocaml/caml/compatibility.h:82:22: note: expanded from macro 'alloc_custom' #define alloc_custom CAML_DEPRECATED("alloc_custom", "caml_alloc_custom") caml_alloc_custom ^ /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)) ^ :195:6: note: expanded from here GCC warning "\"alloc_custom\" is deprecated: use \"caml_alloc_custom\" instead" ^ sdlvideo_stub.c:81:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 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)) ^ :200:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:97:15: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] video_exn = caml_named_value("SDLvideo2_exception"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlvideo_stub.c:103:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*video_exn, msg); ^ /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)) ^ :205:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdlvideo_stub.c:111:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] value v = alloc_small(4, 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)) ^ :2:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:145:7: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] v = alloc(17, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ ^ /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)) ^ :27:6: note: expanded from here GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" ^ sdlvideo_stub.c:149:21: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] Store_field(v, 3, copy_int32(fmt->Rmask)); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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)) ^ sdlvideo_stub.c:150:21: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] Store_field(v, 4, copy_int32(fmt->Gmask)); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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)) ^ sdlvideo_stub.c:151:21: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] Store_field(v, 5, copy_int32(fmt->Bmask)); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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)) ^ sdlvideo_stub.c:152:21: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] Store_field(v, 6, copy_int32(fmt->Amask)); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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)) ^ sdlvideo_stub.c:161:21: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] Store_field(v,15, copy_int32(fmt->colorkey)); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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)) ^ sdlvideo_stub.c:214:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("surface not palettized"); ^ /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)) ^ :52:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlvideo_stub.c:226:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("surface not palettized"); ^ /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)) ^ :56:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlvideo_stub.c:228:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("out of bounds palette access"); ^ /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)) ^ :60:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlvideo_stub.c:230:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = 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)) ^ :64:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:249:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("surface not palettized"); ^ /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)) ^ :68:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlvideo_stub.c:251:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("out of bounds palette access"); ^ /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)) ^ :72:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlvideo_stub.c:273:12: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] result = alloc_small(10, 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)) ^ :76:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:298:10: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] return copy_string(buff); ^ /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)) ^ :80:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ sdlvideo_stub.c:322:11: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(2, 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)) ^ :4:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:327:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(1, 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)) ^ :8:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:348:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(6, 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)) ^ :25:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:438:10: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] return copy_int32(p); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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 "\"copy_int32\" is deprecated: use \"caml_copy_int32\" instead" ^ sdlvideo_stub.c:448:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = 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)) ^ :34:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:464:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] c = 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)) ^ :49:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:468:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 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)) ^ :53:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlvideo_stub.c:518:10: warning: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-W#pragma-messages] struct caml_bigarray *barr = Bigarray_val(pixels); ^ /usr/local/lib/ocaml/caml/compatibility.h:339:23: note: expanded from macro 'caml_bigarray' #define caml_bigarray CAML_DEPRECATED("caml_bigarray", "caml_ba_array") caml_ba_array ^ /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 "\"caml_bigarray\" is deprecated: use \"caml_ba_array\" instead" ^ sdlvideo_stub.c:518:32: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-W#pragma-messages] struct caml_bigarray *barr = Bigarray_val(pixels); ^ /usr/local/lib/ocaml/caml/compatibility.h:340:22: note: expanded from macro 'Bigarray_val' #define Bigarray_val CAML_DEPRECATED("Bigarray_val", "Caml_ba_array_val") Caml_ba_array_val ^ /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)) ^ :62:6: note: expanded from here GCC warning "\"Bigarray_val\" is deprecated: use \"Caml_ba_array_val\" instead" ^ sdlvideo_stub.c:599:10: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] return copy_int32(surf->format->colorkey); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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 "\"copy_int32\" is deprecated: use \"caml_copy_int32\" instead" ^ sdlvideo_stub.c:715:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("wrong pixel format"); ^ /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)) ^ :71:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlvideo_stub.c:720:15: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-W#pragma-messages] b_flag |= BIGARRAY_UINT8; break; ^ /usr/local/lib/ocaml/caml/compatibility.h:319:24: note: expanded from macro 'BIGARRAY_UINT8' #define BIGARRAY_UINT8 CAML_DEPRECATED("BIGARRAY_UINT8", "CAML_BA_UINT8") CAML_BA_UINT8 ^ /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)) ^ :75:6: note: expanded from here GCC warning "\"BIGARRAY_UINT8\" is deprecated: use \"CAML_BA_UINT8\" instead" ^ sdlvideo_stub.c:723:15: warning: "BIGARRAY_UINT16" is deprecated: use "CAML_BA_UINT16" instead [-W#pragma-messages] b_flag |= BIGARRAY_UINT16; break; ^ /usr/local/lib/ocaml/caml/compatibility.h:321:25: note: expanded from macro 'BIGARRAY_UINT16' #define BIGARRAY_UINT16 CAML_DEPRECATED("BIGARRAY_UINT16", "CAML_BA_UINT16") CAML_BA_UINT16 ^ /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)) ^ :79:6: note: expanded from here GCC warning "\"BIGARRAY_UINT16\" is deprecated: use \"CAML_BA_UINT16\" instead" ^ sdlvideo_stub.c:726:15: warning: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-W#pragma-messages] b_flag |= BIGARRAY_UINT8; break; ^ /usr/local/lib/ocaml/caml/compatibility.h:319:24: note: expanded from macro 'BIGARRAY_UINT8' #define BIGARRAY_UINT8 CAML_DEPRECATED("BIGARRAY_UINT8", "CAML_BA_UINT8") CAML_BA_UINT8 ^ /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)) ^ :83:6: note: expanded from here GCC warning "\"BIGARRAY_UINT8\" is deprecated: use \"CAML_BA_UINT8\" instead" ^ sdlvideo_stub.c:729:15: warning: "BIGARRAY_INT32" is deprecated: use "CAML_BA_INT32" instead [-W#pragma-messages] b_flag |= BIGARRAY_INT32; break; ^ /usr/local/lib/ocaml/caml/compatibility.h:322:24: note: expanded from macro 'BIGARRAY_INT32' #define BIGARRAY_INT32 CAML_DEPRECATED("BIGARRAY_INT32", "CAML_BA_INT32") CAML_BA_INT32 ^ /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)) ^ :87:6: note: expanded from here GCC warning "\"BIGARRAY_INT32\" is deprecated: use \"CAML_BA_INT32\" instead" ^ sdlvideo_stub.c:733:13: warning: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead [-W#pragma-messages] b_flag |= BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL ; ^ /usr/local/lib/ocaml/caml/compatibility.h:330:27: note: expanded from macro 'BIGARRAY_C_LAYOUT' #define BIGARRAY_C_LAYOUT CAML_DEPRECATED("BIGARRAY_C_LAYOUT", "CAML_BA_C_LAYOUT") CAML_BA_C_LAYOUT ^ /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 "\"BIGARRAY_C_LAYOUT\" is deprecated: use \"CAML_BA_C_LAYOUT\" instead" ^ sdlvideo_stub.c:733:33: warning: "BIGARRAY_EXTERNAL" is deprecated: use "CAML_BA_EXTERNAL" instead [-W#pragma-messages] b_flag |= BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL ; ^ /usr/local/lib/ocaml/caml/compatibility.h:334:27: note: expanded from macro 'BIGARRAY_EXTERNAL' #define BIGARRAY_EXTERNAL CAML_DEPRECATED("BIGARRAY_EXTERNAL", "CAML_BA_EXTERNAL") CAML_BA_EXTERNAL ^ /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 "\"BIGARRAY_EXTERNAL\" is deprecated: use \"CAML_BA_EXTERNAL\" instead" ^ sdlvideo_stub.c:734:10: warning: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead [-W#pragma-messages] return alloc_bigarray(b_flag, 1, surf->pixels, &dim); ^ /usr/local/lib/ocaml/caml/compatibility.h:342:24: note: expanded from macro 'alloc_bigarray' #define alloc_bigarray CAML_DEPRECATED("alloc_bigarray", "caml_ba_alloc") caml_ba_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)) ^ :12:6: note: expanded from here GCC warning "\"alloc_bigarray\" is deprecated: use \"caml_ba_alloc\" instead" ^ sdlvideo_stub.c:795:10: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] return copy_int32(pixel); ^ /usr/local/lib/ocaml/caml/compatibility.h:172:20: note: expanded from macro 'copy_int32' #define copy_int32 CAML_DEPRECATED("copy_int32", "caml_copy_int32") caml_copy_int32 ^ /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 "\"copy_int32\" is deprecated: use \"caml_copy_int32\" instead" ^ sdlvideo_stub.c:805:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = 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)) ^ :20:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 42 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlwm_stub.c In file included from sdlwm_stub.c:3: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlwm_stub.c:3: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlwm_stub.c:3: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlwm_stub.c:16:8: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] s1 = copy_string(title); ^ /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)) ^ :188:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ sdlwm_stub.c:17:8: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] s2 = copy_string(icon); ^ /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)) ^ :192:6: note: expanded from here GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" ^ sdlwm_stub.c:18:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 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)) ^ :196:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 6 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlgl_stub.c In file included from sdlgl_stub.c:4: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlgl_stub.c:4: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlgl_stub.c:4: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlgl_stub.c:13: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)) ^ :175:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ sdlgl_stub.c:15: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)) ^ :179:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlgl_stub.c:53:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] a = alloc_small(1, i); ^ /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)) ^ :195:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlgl_stub.c:75:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] raw = alloc_small (SIZE_RAW+1, 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)) ^ :2:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 7 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " common.c In file included from common.c:28: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from common.c:28: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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" ^ In file included from common.c:28: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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" ^ common.c:41:5: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] m=alloc_small(2,Tag_cons); ^ /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)) ^ :114:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ common.c:67:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument ("ml_lookup_from_c"); ^ /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)) ^ :119:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ common.c:80:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument ("ml_lookup_to_c"); ^ /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)) ^ :123:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ common.c:89:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] value v = alloc_small(1, Abstract_tag); ^ /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)) ^ :127:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ common.c:104:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = alloc_small(1, 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)) ^ :150:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 8 warnings generated. ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlrwops_stub.c In file included from sdlrwops_stub.c:4: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlrwops_stub.c:4: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlrwops_stub.c:4: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlrwops_stub.c:75:3: warning: "remove_global_root" is deprecated: use "caml_remove_global_root" instead [-W#pragma-messages] remove_global_root(base); ^ /usr/local/lib/ocaml/caml/compatibility.h:139:28: note: expanded from macro 'remove_global_root' #define remove_global_root CAML_DEPRECATED("remove_global_root", "caml_remove_global_root") caml_remove_global_root ^ /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 "\"remove_global_root\" is deprecated: use \"caml_remove_global_root\" instead" ^ sdlrwops_stub.c:76:3: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] stat_free(pdata); ^ /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)) ^ :179:6: note: expanded from here GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" ^ sdlrwops_stub.c:86:3: warning: "stat_free" is deprecated: use "caml_stat_free" instead [-W#pragma-messages] stat_free(rwops); ^ /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)) ^ :183:6: note: expanded from here GCC warning "\"stat_free\" is deprecated: use \"caml_stat_free\" instead" ^ sdlrwops_stub.c:95:11: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] rwops = stat_alloc(sizeof *rwops); ^ /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)) ^ :187:6: note: expanded from here GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" ^ sdlrwops_stub.c:96:11: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead [-W#pragma-messages] pdata = stat_alloc(sizeof *pdata); ^ /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)) ^ :191:6: note: expanded from here GCC warning "\"stat_alloc\" is deprecated: use \"caml_stat_alloc\" instead" ^ sdlrwops_stub.c:105:3: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead [-W#pragma-messages] register_global_root(base); ^ /usr/local/lib/ocaml/caml/compatibility.h:138:30: note: expanded from macro 'register_global_root' #define register_global_root CAML_DEPRECATED("register_global_root", "caml_register_global_root") caml_register_global_root ^ /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 "\"register_global_root\" is deprecated: use \"caml_register_global_root\" instead" ^ sdlrwops_stub.c:107:16: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] pdata->max = string_length(buff); ^ /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)) ^ :8:6: note: expanded from here GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" ^ 10 warnings generated. ocamlmklib -v -o sdl -oc sdlstub sdl_stub.o sdlcdrom_stub.o sdltimer_stub.o sdljoystick_stub.o sdlkey_stub.o sdlmouse_stub.o sdlevent_stub.o sdlvideo_stub.o sdlwm_stub.o sdlgl_stub.o common.o sdlrwops_stub.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread Unknown option -pthread + cc -shared -o ./dllsdlstub.so sdl_stub.o sdlcdrom_stub.o sdltimer_stub.o sdljoystick_stub.o sdlkey_stub.o sdlmouse_stub.o sdlevent_stub.o sdlvideo_stub.o sdlwm_stub.o sdlgl_stub.o common.o sdlrwops_stub.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL + ar rcs ./libsdlstub.a sdl_stub.o sdlcdrom_stub.o sdltimer_stub.o sdljoystick_stub.o sdlkey_stub.o sdlmouse_stub.o sdlevent_stub.o sdlvideo_stub.o sdlwm_stub.o sdlgl_stub.o common.o sdlrwops_stub.o ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlttf_stub.c In file included from sdlttf_stub.c:24: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlttf_stub.c:24: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlttf_stub.c:24: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlttf_stub.c:59:7: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] v = alloc_custom(&sdl_ttf_ops, sizeof(*b), 0, 1); ^ /usr/local/lib/ocaml/caml/compatibility.h:82:22: note: expanded from macro 'alloc_custom' #define alloc_custom CAML_DEPRECATED("alloc_custom", "caml_alloc_custom") caml_alloc_custom ^ /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 "\"alloc_custom\" is deprecated: use \"caml_alloc_custom\" instead" ^ sdlttf_stub.c:76:13: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ttf_exn = caml_named_value("SDLttf_exception"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlttf_stub.c:77:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*ttf_exn, msg); ^ /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)) ^ :179:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdlttf_stub.c:183:40: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] ML_1(TTF_FontFaceFamilyName, SDL_FONT, 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)) ^ sdlttf_stub.c:184:39: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] ML_1(TTF_FontFaceStyleName, SDL_FONT, 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)) ^ sdlttf_stub.c:199:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 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)) ^ :3:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlttf_stub.c:318:13: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] result = alloc(4, 0); ^ /usr/local/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ ^ /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 "\"alloc\" is deprecated: use \"caml_alloc\" instead" ^ sdlttf_stub.c:335:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] v = alloc_small(2, 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)) ^ :11:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ 11 warnings generated. ocamlmklib -v -o sdlttf -oc sdlttfstub sdlttf_stub.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_ttf Unknown option -pthread + cc -shared -o ./dllsdlttfstub.so sdlttf_stub.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL -lSDL_ttf + ar rcs ./libsdlttfstub.a sdlttf_stub.o ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlloader_stub.c In file included from sdlloader_stub.c:27: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlloader_stub.c:27: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlloader_stub.c:27: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlloader_stub.c:38:16: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] loader_exn = caml_named_value("SDLloader_exception"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlloader_stub.c:44:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*loader_exn, msg); ^ /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)) ^ :175:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdlloader_stub.c:51: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)) ^ :179:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ sdlloader_stub.c:53: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)) ^ :183:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ 7 warnings generated. ocamlmklib -v -o sdlloader -oc sdlloaderstub sdlloader_stub.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_image Unknown option -pthread + cc -shared -o ./dllsdlloaderstub.so sdlloader_stub.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL -lSDL_image + ar rcs ./libsdlloaderstub.a sdlloader_stub.o ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlmixer_stub.c In file included from sdlmixer_stub.c:28: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlmixer_stub.c:28: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :167:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlmixer_stub.c:28: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :171:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ sdlmixer_stub.c:62:15: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] mixer_exn = caml_named_value("SDLmixer_exception"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdlmixer_stub.c:68:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] raise_with_string(*mixer_exn, msg); ^ /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)) ^ :175:6: note: expanded from here GCC warning "\"raise_with_string\" is deprecated: use \"caml_raise_with_string\" instead" ^ sdlmixer_stub.c:118:7: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] r = 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)) ^ :179:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlmixer_stub.c:155:12: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] query = 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)) ^ :183:6: note: expanded from here GCC warning "\"alloc_small\" is deprecated: use \"caml_alloc_small\" instead" ^ sdlmixer_stub.c:252:5: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] raise_out_of_memory(); ^ /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)) ^ :187:6: note: expanded from here GCC warning "\"raise_out_of_memory\" is deprecated: use \"caml_raise_out_of_memory\" instead" ^ sdlmixer_stub.c:312:5: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages] raise_not_found(); ^ /usr/local/lib/ocaml/caml/compatibility.h:119:25: note: expanded from macro 'raise_not_found' #define raise_not_found CAML_DEPRECATED("raise_not_found", "caml_raise_not_found") caml_raise_not_found ^ /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 "\"raise_not_found\" is deprecated: use \"caml_raise_not_found\" instead" ^ sdlmixer_stub.c:327:5: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages] raise_not_found(); ^ /usr/local/lib/ocaml/caml/compatibility.h:119:25: note: expanded from macro 'raise_not_found' #define raise_not_found CAML_DEPRECATED("raise_not_found", "caml_raise_not_found") caml_raise_not_found ^ /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 "\"raise_not_found\" is deprecated: use \"caml_raise_not_found\" instead" ^ sdlmixer_stub.c:336:5: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages] raise_not_found(); ^ /usr/local/lib/ocaml/caml/compatibility.h:119:25: note: expanded from macro 'raise_not_found' #define raise_not_found CAML_DEPRECATED("raise_not_found", "caml_raise_not_found") caml_raise_not_found ^ /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 "\"raise_not_found\" is deprecated: use \"caml_raise_not_found\" instead" ^ sdlmixer_stub.c:400:10: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] return copy_double(Mix_Volume(Int_val(chn), -1) / (double) MIX_MAX_VOLUME); ^ /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)) ^ :14:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ sdlmixer_stub.c:406:10: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] return copy_double(Mix_VolumeChunk(SDL_CHUNK(chunk), -1) / (double) MIX_MAX_VOLUME); ^ /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)) ^ :18:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ sdlmixer_stub.c:412:10: warning: "copy_double" is deprecated: use "caml_copy_double" instead [-W#pragma-messages] return copy_double(Mix_VolumeMusic(-1) / (double) MIX_MAX_VOLUME); ^ /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)) ^ :22:6: note: expanded from here GCC warning "\"copy_double\" is deprecated: use \"caml_copy_double\" instead" ^ sdlmixer_stub.c:524:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Sdlmixer.fading_channel"); ^ /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)) ^ :26:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlmixer_stub.c:553:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Sdlmixer.paused_channel"); ^ /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)) ^ :30:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ sdlmixer_stub.c:594:5: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] invalid_argument("Sdlmixer.playing_channel"); ^ /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)) ^ :34:6: note: expanded from here GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" ^ 17 warnings generated. ocamlmklib -v -o sdlmixer -oc sdlmixerstub sdlmixer_stub.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer Unknown option -pthread + cc -shared -o ./dllsdlmixerstub.so sdlmixer_stub.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL -lSDL_mixer + ar rcs ./libsdlmixerstub.a sdlmixer_stub.o ocamlc.opt -ccopt "-I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sdlgfx_stub.c In file included from sdlgfx_stub.c:6: ./common.h:72:9: warning: 'Val_none' macro redefined [-Wmacro-redefined] #define Val_none Val_unit ^ /usr/local/lib/ocaml/caml/mlvalues.h:403:9: note: previous definition is here #define Val_none Val_int(0) ^ In file included from sdlgfx_stub.c:6: ./common.h:96:6: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] void enter_blocking_section(void); ^ /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)) ^ :168:6: note: expanded from here GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead" ^ In file included from sdlgfx_stub.c:6: ./common.h:97:6: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] void leave_blocking_section(void); ^ /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)) ^ :172:6: note: expanded from here GCC warning "\"leave_blocking_section\" is deprecated: use \"caml_leave_blocking_section\" instead" ^ 3 warnings generated. ocamlmklib -v -o sdlgfx -oc sdlgfxstub sdlgfx_stub.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_gfx Unknown option -pthread + cc -shared -o ./dllsdlgfxstub.so sdlgfx_stub.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL -lSDL_gfx + ar rcs ./libsdlgfxstub.a sdlgfx_stub.o ocamlopt.opt -c -unsafe sdl.ml ocamlopt.opt -c -unsafe sdlcdrom.ml File "sdlcdrom.ml", line 86, characters 2-16: 86 | cd_play_tracks cdrom (num - 1) 0 1 0;; ^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels start_track, start_frame, num_tracks, num_frames were omitted in the application of this function. ocamlopt.opt -c -unsafe sdltimer.ml File "sdltimer.ml", line 26, characters 0-65: 26 | external get_ticks : unit -> int = "sdltimer_get_ticks" "noalloc" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: [@@noalloc] should be used instead of "noalloc" ocamlopt.opt -c -unsafe sdljoystick.ml ocamlopt.opt -c -unsafe sdlkey.ml ocamlopt.opt -c -unsafe sdlmouse.ml File "sdlmouse.ml", line 55, characters 9-23: 55 | then s.[7-i] <- '@' ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.unsafe_set ocamlopt.opt -c -unsafe sdlevent.ml ocamlopt.opt -c -unsafe sdlvideo.ml File "sdlvideo.ml", lines 210-211, characters 0-33: 210 | external must_lock : surface -> bool 211 | = "ml_SDL_MustLock" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" File "sdlvideo.ml", lines 214-215, characters 0-38: 214 | external unlock : surface -> unit 215 | = "ml_SDL_UnlockSurface" "noalloc" Alert deprecated: [@@noalloc] should be used instead of "noalloc" ocamlopt.opt -c -unsafe sdlwm.ml ocamlopt.opt -c -I /usr/local/lib/ocaml/site-lib/lablGL -unsafe sdlgl.ml ocamlmklib -v -o sdl -oc sdlstub sdl.cmx sdlcdrom.cmx sdltimer.cmx sdljoystick.cmx sdlkey.cmx sdlmouse.cmx sdlevent.cmx sdlvideo.cmx sdlwm.cmx sdlgl.cmx -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread Unknown option -pthread + /usr/local/bin/ocamlopt -a -o sdl.cmxa sdl.cmx sdlcdrom.cmx sdltimer.cmx sdljoystick.cmx sdlkey.cmx sdlmouse.cmx sdlevent.cmx sdlvideo.cmx sdlwm.cmx sdlgl.cmx -cclib -lsdlstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL ocamlopt.opt -c -unsafe sdlttf.ml ocamlmklib -v -o sdlttf -oc sdlttfstub sdlttf.cmx -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_ttf Unknown option -pthread + /usr/local/bin/ocamlopt -a -o sdlttf.cmxa sdlttf.cmx -cclib -lsdlttfstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_ttf ocamlopt.opt -c -unsafe sdlloader.ml ocamlmklib -v -o sdlloader -oc sdlloaderstub sdlloader.cmx -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_image Unknown option -pthread + /usr/local/bin/ocamlopt -a -o sdlloader.cmxa sdlloader.cmx -cclib -lsdlloaderstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_image ocamlopt.opt -c -unsafe sdlmixer.ml ocamlmklib -v -o sdlmixer -oc sdlmixerstub sdlmixer.cmx -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer Unknown option -pthread + /usr/local/bin/ocamlopt -a -o sdlmixer.cmxa sdlmixer.cmx -cclib -lsdlmixerstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_mixer ocamlopt.opt -c -unsafe sdlgfx.ml ocamlmklib -v -o sdlgfx -oc sdlgfxstub sdlgfx.cmx -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_gfx Unknown option -pthread + /usr/local/bin/ocamlopt -a -o sdlgfx.cmxa sdlgfx.cmx -cclib -lsdlgfxstub -ccopt -Wl,-rpath,/usr/local/lib -cclib -L/usr/local/lib -cclib -lSDL -cclib -lSDL_gfx gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/ocaml-sdl/work/ocamlsdl-0.9.1/src' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlc - found ===> ocaml-sdl-0.9.1_6 depends on file: /usr/local/bin/ocamlfind - found ===> ocaml-sdl-0.9.1_6 depends on executable: indexinfo - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ocaml-sdl-0.9.1_6 ===> Generating temporary packing list gmake -C src install gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/ocaml-sdl/work/ocamlsdl-0.9.1/src' ocamlfind install sdl ../META \ *.cma lib*.a *.cmi *.mli \ *.cmxa sdl*.a *.cmx \ dll*.so Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/dllsdlttfstub.so Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/dllsdlstub.so Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/dllsdlmixerstub.so Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/dllsdlloaderstub.so Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/dllsdlgfxstub.so Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlwm.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlvideo.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlttf.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdltimer.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmouse.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmixer.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlloader.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlkey.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdljoystick.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgl.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgfx.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlevent.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlcdrom.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdl.cmx Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlttf.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmixer.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlloader.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgfx.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdl.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlttf.cmxa Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmixer.cmxa Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlloader.cmxa Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgfx.cmxa Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdl.cmxa Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlwm.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlvideo.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlttf.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdltimer.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmouse.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmixer.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlloader.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlkey.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdljoystick.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgl.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgfx.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlevent.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlcdrom.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdl.mli Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlwm.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlvideo.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlttf.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdltimer.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmouse.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmixer.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlloader.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlkey.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdljoystick.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgl.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgfx.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlevent.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlcdrom.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdl.cmi Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/libsdlttfstub.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/libsdlstub.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/libsdlmixerstub.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/libsdlloaderstub.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/libsdlgfxstub.a Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlttf.cma Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlmixer.cma Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlloader.cma Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdlgfx.cma Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/sdl.cma Updated /dev/null Installed /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/lib/ocaml/site-lib/sdl/META gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/ocaml-sdl/work/ocamlsdl-0.9.1/src' install -m 0644 /wrkdirs/usr/ports/devel/ocaml-sdl/work/ocamlsdl-0.9.1/doc/ocamlsdl.info /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/share/info install -m 0644 /wrkdirs/usr/ports/devel/ocaml-sdl/work/ocamlsdl-0.9.1/doc/html/* /wrkdirs/usr/ports/devel/ocaml-sdl/work/stage/usr/local/share/doc/ocaml/sdl ====> 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-30T10:34:04+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-sdl-0.9.1_6 ===> Building ocaml-sdl-0.9.1_6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ocaml-sdl-0.9.1_6 build of devel/ocaml-sdl | ocaml-sdl-0.9.1_6 ended at Sat Mar 30 10:37:46 GMT 2024 build time: 00:03:47