=> Building games/adgali build started at Sat Oct 8 21:49:00 PDT 2016 port directory: /usr/ports/games/adgali building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../09//usr/ports/games/adgali/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=adgali-0.2.4_15 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for adgali-0.2.4_15: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --enable-compile-optim=no --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/games/adgali XDG_CONFIG_HOME=/wrkdirs/games/adgali HOME=/wrkdirs/games/adgali TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/games/adgali XDG_CONFIG_HOME=/wrkdirs/games/adgali HOME=/wrkdirs/games/adgali TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -lexecinfo" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/adgali" EXAMPLESDIR="share/examples/adgali" DATADIR="share/adgali" WWWDIR="www/adgali" ETCDIR="etc/adgali" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/adgali DOCSDIR=/usr/local/share/doc/adgali EXAMPLESDIR=/usr/local/share/examples/adgali WWWDIR=/usr/local/www/adgali ETCDIR=/usr/local/etc/adgali --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The adgali 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===> adgali-0.2.4_15 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> adgali-0.2.4_15 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of adgali-0.2.4_15 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The adgali 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by adgali-0.2.4_15 for building =========================================================================== =================================================== ===> NOTICE: The adgali 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by adgali-0.2.4_15 for building => SHA256 Checksum OK for adgali-0.2.4.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The adgali 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by adgali-0.2.4_15 for building ===> Extracting for adgali-0.2.4_15 => SHA256 Checksum OK for adgali-0.2.4.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for adgali-0.2.4_15 ===> Applying ports patches for adgali-0.2.4_15 ===> Applying DragonFly patches for adgali-0.2.4_15 =========================================================================== =================================================== ===> adgali-0.2.4_15 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_7,2.txz Installing sdl-1.2.15_7,2... `-- Installing libXrender-0.9.9... | `-- Installing xproto-7.0.28... | `-- Extracting xproto-7.0.28: .......... done | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | `-- Extracting libX11-1.6.3,1: .......... done `-- Extracting libXrender-0.9.9: .......... done `-- Installing libXrandr-1.5.0... | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: .... done | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done `-- Extracting libXrandr-1.5.0: .......... done `-- Installing libGLU-9.0.0_2... | `-- Installing libGL-11.2.2... | | `-- Installing expat-2.2.0... | | `-- Extracting expat-2.2.0: .......... done | | `-- Installing dri2proto-2.8... | | `-- Extracting dri2proto-2.8: .... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing libXfixes-5.0.1_3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.1_3: .......... done | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Extracting libXdamage-1.1.4_3: ...... done | | `-- Installing libdevq-0.0.2_1... | | `-- Extracting libdevq-0.0.2_1: ....... done | | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Extracting libXxf86vm-1.1.4_1: .......... done | | `-- Installing libdrm-2.4.66,1... | | `-- Installing libpciaccess-0.13.4... | | | `-- Installing pciids-20160621... | | | `-- Extracting pciids-20160621: ..... done | | `-- Extracting libpciaccess-0.13.4: ...... done | | `-- Extracting libdrm-2.4.66,1: .......... done | | `-- Installing libelf-0.8.13_1... | | `-- Installing gettext-runtime-0.19.8.1... | | | `-- Installing indexinfo-0.2.5... | | | `-- Extracting indexinfo-0.2.5: .... done | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | | `-- Extracting libelf-0.8.13_1: .......... done | | `-- Installing libxshmfence-1.2... | | `-- Extracting libxshmfence-1.2: ......... done | | `-- Installing libglapi-11.2.2... | | `-- Installing libXvMC-1.0.9... | | | `-- Installing libXv-1.0.10_3,1... | | | `-- Installing videoproto-2.3.2... | | | `-- Extracting videoproto-2.3.2: ...... done | | | `-- Extracting libXv-1.0.10_3,1: .......... done | | `-- Extracting libXvMC-1.0.9: .......... done | | `-- Extracting libglapi-11.2.2: ... done | `-- Extracting libGL-11.2.2: .......... done `-- Extracting libGLU-9.0.0_2: ...... done `-- Installing aalib-1.4.r5_11... | `-- Installing ncurses-6.0_5... | `-- Extracting ncurses-6.0_5: .......... done `-- Extracting aalib-1.4.r5_11: .......... done Extracting sdl-1.2.15_7,2: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from aalib-1.4.r5_11: ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from sdl-1.2.15_7,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". ------------------------------------------------------------------------------ ===> adgali-0.2.4_15 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of adgali-0.2.4_15 ===> adgali-0.2.4_15 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... Extracting gmake-4.2.1_1: .......... done ===> adgali-0.2.4_15 depends on executable: gmake - found ===> Returning to build of adgali-0.2.4_15 ===> adgali-0.2.4_15 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.11_4.txz Installing libXpm-3.5.11_4... `-- Installing libXt-1.1.5,1... | `-- Installing libSM-1.2.2_3,1... | | `-- Installing libICE-1.0.9_1,1... | | `-- Extracting libICE-1.0.9_1,1: .......... done | `-- Extracting libSM-1.2.2_3,1: .......... done `-- Extracting libXt-1.1.5,1: .......... done Extracting libXpm-3.5.11_4: .......... done ===> adgali-0.2.4_15 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of adgali-0.2.4_15 =========================================================================== =================================================== ===> adgali-0.2.4_15 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.23.txz Installing png-1.6.23... Extracting png-1.6.23: .......... done ===> adgali-0.2.4_15 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of adgali-0.2.4_15 ===> adgali-0.2.4_15 depends on shared library: libtiff.so - not found ===> Installing existing package /packages/All/tiff-4.0.6_2.txz Installing tiff-4.0.6_2... `-- Installing jbigkit-2.1_1... `-- Extracting jbigkit-2.1_1: .......... done `-- Installing jpeg-turbo-1.4.2... `-- Extracting jpeg-turbo-1.4.2: .......... done Extracting tiff-4.0.6_2: .......... done ===> adgali-0.2.4_15 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so) ===> Returning to build of adgali-0.2.4_15 ===> adgali-0.2.4_15 depends on shared library: libfreetype.so - not found ===> Installing existing package /packages/All/freetype2-2.6.3.txz Installing freetype2-2.6.3... Extracting freetype2-2.6.3: .......... done ===> adgali-0.2.4_15 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> Returning to build of adgali-0.2.4_15 ===> adgali-0.2.4_15 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> adgali-0.2.4_15 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) =========================================================================== =================================================== ===> Configuring for adgali-0.2.4_15 configure: loading site script /usr/ports/Templates/config.site sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command sed: 1: "$!s/$/\\n/;H;$ {x;s/\n/ ...": extra characters at the end of p command checking build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 checking target system type... x86_64-portbld-dragonfly4.6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cpp 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 dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc static flag works... yes checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly4.6 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly4.6 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking whether gmake sets $(MAKE)... (cached) yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking dependency style of cc... (cached) gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... (cached) gcc3 checking for inline... inline checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for bison... no checking for byacc... byacc checking for working alloca.h... no checking for alloca... yes checking whether byte ordering is big endian... no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for math.h... (cached) yes checking for ctype.h... (cached) yes checking for stdarg.h... (cached) yes checking for sys/types.h... (cached) yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking for elf.h... (cached) yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for backtrace_symbols... yes checking for struct sigcontext... no checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking for long long... (cached) yes checking for char... (cached) yes checking size of char... 1 checking for short... (cached) yes checking size of short... 2 checking for long... (cached) yes checking size of long... 8 checking for int... (cached) yes checking size of int... 4 checking for void *... yes checking size of void *... 8 checking for long long... (cached) yes checking size of long long... 8 checking for unistd.h... (cached) yes checking for memcpy... (cached) yes checking for memset... (cached) yes checking for pow... yes checking for strchr... yes checking for strpbrk... (cached) yes checking for strstr... yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for setjmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking what warning flags to pass to the C compiler... -Wall checking if the optimization is enable for the C compiler... checking if the debug mode is enable for the C compiler... checking which processor flag to use for the gnu compiler... checking which processor extensions to use for the gnu compiler... checking what language compliance flags to pass to the C compiler... checking whether to enable maintainer-specific portions of Makefiles... no checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for JPG - version >= 6b... yes checking for TIF - version >= 3.0... yes checking for PNG - version >= 1.0.3... yes checking for freetype-config... /usr/local/bin/freetype-config checking for TTF - version >= 2.1.7... yes checking for dl headers... yes checking for dlopen in -ldl... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/input/Makefile config.status: creating src/lowlevel/Makefile config.status: creating src/input/imageio/Makefile config.status: creating src/input/fontio/Makefile config.status: creating src/input/trueio/Makefile config.status: creating src/manage/Makefile config.status: creating src/module/Makefile config.status: creating src/core/Makefile config.status: creating src/plane/Makefile config.status: creating src/text/Makefile config.status: creating test/Makefile config.status: creating tools/Makefile config.status: creating src/include/agl_endian.h config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for adgali-0.2.4_15 gmake[1]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake all-recursive gmake[2]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' Making all in src gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src' Making all in input gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' Making all in trueio gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio' if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fhandle.lo -MD -MP -MF ".deps/agl_fhandle.Tpo" -c -o agl_fhandle.lo agl_fhandle.c; \ then mv -f ".deps/agl_fhandle.Tpo" ".deps/agl_fhandle.Plo"; else rm -f ".deps/agl_fhandle.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fmem.lo -MD -MP -MF ".deps/agl_fmem.Tpo" -c -o agl_fmem.lo agl_fmem.c; \ then mv -f ".deps/agl_fmem.Tpo" ".deps/agl_fmem.Plo"; else rm -f ".deps/agl_fmem.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fnull.lo -MD -MP -MF ".deps/agl_fnull.Tpo" -c -o agl_fnull.lo agl_fnull.c; \ then mv -f ".deps/agl_fnull.Tpo" ".deps/agl_fnull.Plo"; else rm -f ".deps/agl_fnull.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fstream.lo -MD -MP -MF ".deps/agl_fstream.Tpo" -c -o agl_fstream.lo agl_fstream.c; \ then mv -f ".deps/agl_fstream.Tpo" ".deps/agl_fstream.Plo"; else rm -f ".deps/agl_fstream.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_file.lo -MD -MP -MF ".deps/agl_file.Tpo" -c -o agl_file.lo agl_file.c; \ then mv -f ".deps/agl_file.Tpo" ".deps/agl_file.Plo"; else rm -f ".deps/agl_file.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fmem.lo -MD -MP -MF .deps/agl_fmem.Tpo -c agl_fmem.c -fPIC -DPIC -o .libs/agl_fmem.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fhandle.lo -MD -MP -MF .deps/agl_fhandle.Tpo -c agl_fhandle.c -fPIC -DPIC -o .libs/agl_fhandle.o agl_fmem.c: In function 'fmem_is': agl_fmem.c:71:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &mem); ^ In file included from agl_fmem.c:53:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fmem.c:71:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &mem); ^ In file included from ../../include/agl_private.h:98:0, from agl_fmem.c:53: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fmem.c:74:3: note: in expansion of macro 'agl_error' agl_error("MEM: unable to get mem desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fmem.c:79:3: note: in expansion of macro 'agl_error' agl_error("MEM: unable to get mem desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fmem.c:82:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &size); ^ In file included from agl_fmem.c:53:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fmem.c:82:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &size); ^ In file included from ../../include/agl_private.h:98:0, from agl_fmem.c:53: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fmem.c:85:3: note: in expansion of macro 'agl_error' agl_error("MEM: unable to get mem desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fmem.c: In function 'fmem_open': agl_fmem.c:102:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &mem); ^ In file included from agl_fmem.c:53:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fmem.c:102:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &mem); ^ In file included from ../../include/agl_private.h:98:0, from agl_fmem.c:53: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fmem.c:105:3: note: in expansion of macro 'agl_error' agl_error("MEM: unable to get mem desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fmem.c:110:3: note: in expansion of macro 'agl_error' agl_error("MEM: unable to get mem desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fmem.c:113:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &size); ^ In file included from agl_fmem.c:53:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fmem.c:113:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &size); ^ In file included from ../../include/agl_private.h:98:0, from agl_fmem.c:53: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fmem.c:116:3: note: in expansion of macro 'agl_error' agl_error("MEM: unable to get mem desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fmem.c:122:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fmem.c:127:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fmem.c:136:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fmem.c: In function 'fmem_seek': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fmem.c:175:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_file.lo -MD -MP -MF .deps/agl_file.Tpo -c agl_file.c -fPIC -DPIC -o .libs/agl_file.o agl_fhandle.c: In function 'fhandle_is': agl_fhandle.c:55:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &handle); ^ In file included from agl_fhandle.c:44:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fhandle.c:55:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &handle); ^ In file included from ../../include/agl_private.h:98:0, from agl_fhandle.c:44: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fhandle.c:58:3: note: in expansion of macro 'agl_error' agl_error("HANDLE: unable to get handle desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fhandle.c: In function 'fhandle_open': agl_fhandle.c:74:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &handle); ^ In file included from agl_fhandle.c:44:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fhandle.c:74:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &handle); ^ In file included from ../../include/agl_private.h:98:0, from agl_fhandle.c:44: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fhandle.c:77:3: note: in expansion of macro 'agl_error' agl_error("HANDLE: unable to get handle desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fhandle.c:83:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fhandle.c:88:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fhandle.c: In function 'fhandle_seek': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fhandle.c:111:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fhandle.c: In function 'fhandle_read': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fhandle.c:132:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fhandle.c:141:4: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fhandle.c: In function 'fhandle_write': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fhandle.c:165:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fhandle.c:174:4: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ In file included from ../../include/agl_private.h:98:0, from agl_file.c:44: agl_file.c: In function 'file_open': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_file.c:76:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_file.c:86:3: note: in expansion of macro 'agl_error' agl_error("cannot open file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_file.c:91:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_file.c:96:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_file.c: In function 'file_seek': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_file.c:125:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_file.c: In function 'file_read': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_file.c:148:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_file.c: In function 'file_write': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_file.c:171:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fmem.lo -MD -MP -MF .deps/agl_fmem.Tpo -c agl_fmem.c -o agl_fmem.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fnull.lo -MD -MP -MF .deps/agl_fnull.Tpo -c agl_fnull.c -fPIC -DPIC -o .libs/agl_fnull.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fhandle.lo -MD -MP -MF .deps/agl_fhandle.Tpo -c agl_fhandle.c -o agl_fhandle.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_file.lo -MD -MP -MF .deps/agl_file.Tpo -c agl_file.c -o agl_file.o >/dev/null 2>&1 In file included from ../../include/agl_private.h:98:0, from agl_fnull.c:42: agl_fnull.c: In function 'fnull_open': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fnull.c:66:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fnull.c:71:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fnull.lo -MD -MP -MF .deps/agl_fnull.Tpo -c agl_fnull.c -o agl_fnull.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fstream.lo -MD -MP -MF .deps/agl_fstream.Tpo -c agl_fstream.c -fPIC -DPIC -o .libs/agl_fstream.o if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_trueio.lo -MD -MP -MF ".deps/agl_trueio.Tpo" -c -o agl_trueio.lo agl_trueio.c; \ then mv -f ".deps/agl_trueio.Tpo" ".deps/agl_trueio.Plo"; else rm -f ".deps/agl_trueio.Tpo"; exit 1; fi agl_fstream.c: In function 'fstream_is': agl_fstream.c:67:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &stream); ^ In file included from agl_fstream.c:55:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fstream.c:67:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &stream); ^ In file included from ../../include/agl_private.h:98:0, from agl_fstream.c:55: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fstream.c:70:3: note: in expansion of macro 'agl_error' agl_error("STREAM: unable to get stream desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fstream.c: In function 'fstream_open': agl_fstream.c:87:17: warning: pointer targets in passing argument 1 of 'agl_getnum' differ in signedness [-Wpointer-sign] p = agl_getnum(name, &stream); ^ In file included from agl_fstream.c:55:0: ../../include/agl_private.h:113:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *agl_getnum(unsigned char *ch, long *value); ^ agl_fstream.c:87:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = agl_getnum(name, &stream); ^ In file included from ../../include/agl_private.h:98:0, from agl_fstream.c:55: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fstream.c:90:3: note: in expansion of macro 'agl_error' agl_error("STREAM: unable to get stream desc"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fstream.c:96:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_fstream.c:101:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fstream.c: In function 'fstream_seek': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fstream.c:129:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fstream.c: In function 'fstream_read': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fstream.c:152:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_fstream.c: In function 'fstream_write': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_fstream.c:175:2: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fstream.lo -MD -MP -MF .deps/agl_fstream.Tpo -c agl_fstream.c -o agl_fstream.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_trueio.lo -MD -MP -MF .deps/agl_trueio.Tpo -c agl_trueio.c -fPIC -DPIC -o .libs/agl_trueio.o In file included from ../../include/agl_private.h:98:0, from agl_trueio.c:44: agl_trueio.c: In function 'agl_iosvarsubs': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_trueio.c:60:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_trueio.c:70:4: note: in expansion of macro 'agl_error' agl_error("$ at end of string"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_trueio.c:80:4: note: in expansion of macro 'agl_error' agl_error("$ without a variable name"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_trueio.c:87:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_trueio.c:94:4: note: in expansion of macro 'agl_error2' agl_error2("variable %s not found or error", var); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_trueio.c:102:4: note: in expansion of macro 'agl_error2' agl_error2("variable %s is not of type ELEM", var); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_trueio.c:119:4: note: in expansion of macro 'agl_error2' agl_error2("variable %s is from an unknown type", var); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_trueio.c: In function 'agl_ios_open': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_trueio.c:149:3: note: in expansion of macro 'agl_error' agl_error("unable to analyse address"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_trueio.c:175:7: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_trueio.c:191:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_trueio.c:219:4: note: in expansion of macro 'agl_error2' agl_error2("loader %s not found", ptype); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_trueio.c:236:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_trueio.c:249:4: note: in expansion of macro 'agl_error2' agl_error2("bad file type: %s", str); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_trueio.c:258:4: note: in expansion of macro 'agl_error' agl_error("unable to open file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_trueio.c:136:9: warning: variable 'last' set but not used [-Wunused-but-set-variable] int j, last; ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_trueio.lo -MD -MP -MF .deps/agl_trueio.Tpo -c agl_trueio.c -o agl_trueio.o >/dev/null 2>&1 /bin/sh ../../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libtrueio.la agl_fhandle.lo agl_fmem.lo agl_fnull.lo agl_fstream.lo agl_file.lo agl_trueio.lo -lm ar cru .libs/libtrueio.a .libs/agl_fhandle.o .libs/agl_fmem.o .libs/agl_fnull.o .libs/agl_fstream.o .libs/agl_file.o .libs/agl_trueio.o ranlib .libs/libtrueio.a creating libtrueio.la (cd .libs && rm -f libtrueio.la && ln -s ../libtrueio.la libtrueio.la) gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio' Making all in imageio gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio' if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gifio.lo -MD -MP -MF ".deps/agl_gifio.Tpo" -c -o agl_gifio.lo agl_gifio.c; \ then mv -f ".deps/agl_gifio.Tpo" ".deps/agl_gifio.Plo"; else rm -f ".deps/agl_gifio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bmpio.lo -MD -MP -MF ".deps/agl_bmpio.Tpo" -c -o agl_bmpio.lo agl_bmpio.c; \ then mv -f ".deps/agl_bmpio.Tpo" ".deps/agl_bmpio.Plo"; else rm -f ".deps/agl_bmpio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_jpgio.lo -MD -MP -MF ".deps/agl_jpgio.Tpo" -c -o agl_jpgio.lo agl_jpgio.c; \ then mv -f ".deps/agl_jpgio.Tpo" ".deps/agl_jpgio.Plo"; else rm -f ".deps/agl_jpgio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pcxio.lo -MD -MP -MF ".deps/agl_pcxio.Tpo" -c -o agl_pcxio.lo agl_pcxio.c; \ then mv -f ".deps/agl_pcxio.Tpo" ".deps/agl_pcxio.Plo"; else rm -f ".deps/agl_pcxio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pngio.lo -MD -MP -MF ".deps/agl_pngio.Tpo" -c -o agl_pngio.lo agl_pngio.c; \ then mv -f ".deps/agl_pngio.Tpo" ".deps/agl_pngio.Plo"; else rm -f ".deps/agl_pngio.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gifio.lo -MD -MP -MF .deps/agl_gifio.Tpo -c agl_gifio.c -fPIC -DPIC -o .libs/agl_gifio.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pcxio.lo -MD -MP -MF .deps/agl_pcxio.Tpo -c agl_pcxio.c -fPIC -DPIC -o .libs/agl_pcxio.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bmpio.lo -MD -MP -MF .deps/agl_bmpio.Tpo -c agl_bmpio.c -fPIC -DPIC -o .libs/agl_bmpio.o In file included from ../../include/agl_private.h:98:0, from agl_gifio.c:50: agl_gifio.c: In function 'agl_loadgif': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:125:3: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:131:3: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:136:3: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:149:5: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:162:4: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:170:5: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:181:8: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:191:5: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:202:7: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:216:5: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gifio.c:223:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:258:7: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:277:8: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:298:7: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gifio.c:354:4: note: in expansion of macro 'agl_error' agl_error("Error reading the GIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_jpgio.lo -MD -MP -MF .deps/agl_jpgio.Tpo -c agl_jpgio.c -fPIC -DPIC -o .libs/agl_jpgio.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pngio.lo -MD -MP -MF .deps/agl_pngio.Tpo -c agl_pngio.c -fPIC -DPIC -o .libs/agl_pngio.o In file included from ../../include/agl_private.h:98:0, from agl_pcxio.c:51: agl_pcxio.c: In function 'agl_loadpcx': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:104:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:109:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:127:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pcxio.c:134:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:164:8: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:173:9: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:248:4: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:254:4: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pcxio.c:261:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pcxio.c:269:5: note: in expansion of macro 'agl_error' agl_error("Error reading the PCX file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_pcxio.c:92:6: warning: variable 'first' set but not used [-Wunused-but-set-variable] int first; ^ In file included from ../../include/agl_private.h:98:0, from agl_pngio.c:51: agl_pngio.c: In function 'agl_loadpng': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pngio.c:96:3: note: in expansion of macro 'agl_error' agl_error("png_create_read_struct error"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pngio.c:104:3: note: in expansion of macro 'agl_error' agl_error("png_create_info error"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pngio.c:111:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PNG file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pngio.c:158:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pngio.c:165:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pngio.c:176:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PNG file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ In file included from ../../include/agl_private.h:98:0, from agl_bmpio.c:51: agl_bmpio.c: In function 'agl_loadbmp': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:112:3: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:118:3: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:126:3: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:139:4: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:151:4: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:160:3: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:198:3: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:207:3: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_bmpio.c:213:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:226:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:247:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:256:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:266:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:276:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_bmpio.c:325:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:354:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:405:8: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:419:9: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:458:9: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:513:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bmpio.c:523:5: note: in expansion of macro 'agl_error' agl_error("Error reading the BMP file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_bmpio.c:98:6: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size, offset, hsize, colormap_size; ^ In file included from ../../include/agl_private.h:98:0, from agl_jpgio.c:51: agl_jpgio.c: In function 'fill_input_buffer': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_jpgio.c:148:4: note: in expansion of macro 'agl_error' agl_error("Error reading the TIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_jpgio.c: In function 'agl_loadjpg': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_jpgio.c:286:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_jpgio.c:293:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gifio.lo -MD -MP -MF .deps/agl_gifio.Tpo -c agl_gifio.c -o agl_gifio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pcxio.lo -MD -MP -MF .deps/agl_pcxio.Tpo -c agl_pcxio.c -o agl_pcxio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_jpgio.lo -MD -MP -MF .deps/agl_jpgio.Tpo -c agl_jpgio.c -o agl_jpgio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pngio.lo -MD -MP -MF .deps/agl_pngio.Tpo -c agl_pngio.c -o agl_pngio.o >/dev/null 2>&1 if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_ppmio.lo -MD -MP -MF ".deps/agl_ppmio.Tpo" -c -o agl_ppmio.lo agl_ppmio.c; \ then mv -f ".deps/agl_ppmio.Tpo" ".deps/agl_ppmio.Plo"; else rm -f ".deps/agl_ppmio.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bmpio.lo -MD -MP -MF .deps/agl_bmpio.Tpo -c agl_bmpio.c -o agl_bmpio.o >/dev/null 2>&1 if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_tgaio.lo -MD -MP -MF ".deps/agl_tgaio.Tpo" -c -o agl_tgaio.lo agl_tgaio.c; \ then mv -f ".deps/agl_tgaio.Tpo" ".deps/agl_tgaio.Plo"; else rm -f ".deps/agl_tgaio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_tifio.lo -MD -MP -MF ".deps/agl_tifio.Tpo" -c -o agl_tifio.lo agl_tifio.c; \ then mv -f ".deps/agl_tifio.Tpo" ".deps/agl_tifio.Plo"; else rm -f ".deps/agl_tifio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_rgbtxt.lo -MD -MP -MF ".deps/agl_rgbtxt.Tpo" -c -o agl_rgbtxt.lo agl_rgbtxt.c; \ then mv -f ".deps/agl_rgbtxt.Tpo" ".deps/agl_rgbtxt.Plo"; else rm -f ".deps/agl_rgbtxt.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_tifio.lo -MD -MP -MF .deps/agl_tifio.Tpo -c agl_tifio.c -fPIC -DPIC -o .libs/agl_tifio.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_ppmio.lo -MD -MP -MF .deps/agl_ppmio.Tpo -c agl_ppmio.c -fPIC -DPIC -o .libs/agl_ppmio.o In file included from ../../include/agl_private.h:98:0, from agl_tifio.c:51: agl_tifio.c: In function 'agl_loadtif': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tifio.c:147:3: note: in expansion of macro 'agl_error' agl_error("Error reading the TIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_tifio.c:157:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_tifio.c:161:35: warning: passing argument 4 of 'TIFFReadRGBAImage' from incompatible pointer type [-Wincompatible-pointer-types] if (TIFFReadRGBAImage(tif, w, h, new_image->pix->pixels, 0) == 0) ^ In file included from agl_tifio.c:56:0: /usr/local/include/tiffio.h:427:12: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'long unsigned int *' extern int TIFFReadRGBAImage(TIFF*, uint32, uint32, uint32*, int); ^ In file included from ../../include/agl_private.h:98:0, from agl_tifio.c:51: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tifio.c:163:3: note: in expansion of macro 'agl_error' agl_error("Error reading the TIF file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ In file included from ../../include/agl_private.h:98:0, from agl_ppmio.c:51: agl_ppmio.c: In function 'agl_loadppm': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:128:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:133:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:138:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:145:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:155:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:160:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:166:4: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_ppmio.c:172:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:189:6: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:203:6: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:232:7: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:239:6: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:256:7: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:262:7: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:268:7: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:278:7: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_ppmio.c:286:3: note: in expansion of macro 'agl_error' agl_error("Error reading the PPM file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_xpmio.lo -MD -MP -MF ".deps/agl_xpmio.Tpo" -c -o agl_xpmio.lo agl_xpmio.c; \ then mv -f ".deps/agl_xpmio.Tpo" ".deps/agl_xpmio.Plo"; else rm -f ".deps/agl_xpmio.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_tifio.lo -MD -MP -MF .deps/agl_tifio.Tpo -c agl_tifio.c -o agl_tifio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_rgbtxt.lo -MD -MP -MF .deps/agl_rgbtxt.Tpo -c agl_rgbtxt.c -fPIC -DPIC -o .libs/agl_rgbtxt.o cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_tgaio.lo -MD -MP -MF .deps/agl_tgaio.Tpo -c agl_tgaio.c -fPIC -DPIC -o .libs/agl_tgaio.o if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_xcfio.lo -MD -MP -MF ".deps/agl_xcfio.Tpo" -c -o agl_xcfio.lo agl_xcfio.c; \ then mv -f ".deps/agl_xcfio.Tpo" ".deps/agl_xcfio.Plo"; else rm -f ".deps/agl_xcfio.Tpo"; exit 1; fi In file included from ../../include/agl_private.h:98:0, from agl_tgaio.c:51: agl_tgaio.c: In function 'agl_loadtga': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:130:3: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:139:3: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_tgaio.c:163:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:174:7: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:185:7: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:199:7: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:212:7: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:223:6: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:232:4: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:289:3: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_tgaio.c:298:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:328:8: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:363:8: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:371:8: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_tgaio.c:387:8: note: in expansion of macro 'agl_error' agl_error("Error reading the TGA file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_ppmio.lo -MD -MP -MF .deps/agl_ppmio.Tpo -c agl_ppmio.c -o agl_ppmio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_rgbtxt.lo -MD -MP -MF .deps/agl_rgbtxt.Tpo -c agl_rgbtxt.c -o agl_rgbtxt.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_tgaio.lo -MD -MP -MF .deps/agl_tgaio.Tpo -c agl_tgaio.c -o agl_tgaio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_xcfio.lo -MD -MP -MF .deps/agl_xcfio.Tpo -c agl_xcfio.c -fPIC -DPIC -o .libs/agl_xcfio.o In file included from ../../include/agl_private.h:98:0, from agl_xcfio.c:42: agl_xcfio.c: In function 'allocate_tiles': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_xcfio.c:171:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c:187:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tiles[k].data = (char *) agl_malloc(sizeof(char) * tile_width * tile_height * bpp); ^ In file included from ../../include/agl_private.h:98:0, from agl_xcfio.c:42: ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_xcfio.c:190:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'new_layer': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:221:3: note: in expansion of macro 'agl_error' agl_error("Couldn't allocate layer.\n"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_xpmio.lo -MD -MP -MF .deps/agl_xpmio.Tpo -c agl_xpmio.c -fPIC -DPIC -o .libs/agl_xpmio.o agl_xcfio.c: In function 'xcf_load_image_props': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1239:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1252:5: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1271:6: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1280:5: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'xcf_load_layer_props': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1315:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1327:5: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'xcf_load_tile_rle': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1390:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1486:2: note: in expansion of macro 'agl_error' agl_error("bogus rle?"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'xcf_load_level': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1511:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1536:4: note: in expansion of macro 'agl_error' agl_error("Not enough tiles found in level\n"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1544:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1562:5: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1575:4: note: in expansion of macro 'agl_error' agl_error("unimplemented compression algorithm"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1582:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_xcfio.c:1591:3: note: in expansion of macro 'agl_error2' agl_error2("encountered garbage after reading level: %lu\n", offset); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c:1502:6: warning: variable 'fail' set but not used [-Wunused-but-set-variable] int fail; ^ In file included from ../../include/agl_private.h:98:0, from agl_xcfio.c:42: agl_xcfio.c: In function 'xcf_load_hierarchy': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1612:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1625:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'xcf_load_channel_props': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1665:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1675:5: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'read_tiles_into_data': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1765:7: note: in expansion of macro 'agl_error' agl_error("There's nothing to see here. 2 bpp without colormap not implemented yet.\n"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'xcf_load_channel': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1799:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1819:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'xcf_load_layer': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1904:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:1931:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'flatten_image': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_xcfio.c:2033:4: note: in expansion of macro 'agl_error2' agl_error2("Unknown layer mode: %i. Skipping.\n", l->mode); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c: In function 'agl_loadxcf': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:2082:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:2091:3: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_xcfio.c:2098:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imageio.lo -MD -MP -MF ".deps/agl_imageio.Tpo" -c -o agl_imageio.lo agl_imageio.c; \ then mv -f ".deps/agl_imageio.Tpo" ".deps/agl_imageio.Plo"; else rm -f ".deps/agl_imageio.Tpo"; exit 1; fi ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:2107:4: note: in expansion of macro 'agl_error' agl_error("Error reading the xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xcfio.c:2121:4: note: in expansion of macro 'agl_error' agl_error("invalid xcf file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_xcfio.c:2049:17: warning: variable 'layers' set but not used [-Wunused-but-set-variable] Layer *layer, *layers, *last_layer; ^ In file included from ../../include/agl_private.h:98:0, from agl_xpmio.c:61: agl_xpmio.c: In function 'agl_loadxpm': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xpmio.c:184:4: note: in expansion of macro 'agl_error' agl_error("xpm read error"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xpmio.c:198:4: note: in expansion of macro 'agl_error' agl_error("xpm line malformed. unable to load file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xpmio.c:223:6: note: in expansion of macro 'agl_error' agl_error("invalid or unsupported xpm format"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_xpmio.c:231:6: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_xpmio.c:241:7: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_xpmio.c:308:7: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_xpmio.c:319:6: note: in expansion of macro 'agl_error' agl_error("malformed xpm file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imageio.lo -MD -MP -MF .deps/agl_imageio.Tpo -c agl_imageio.c -fPIC -DPIC -o .libs/agl_imageio.o In file included from ../../include/agl_private.h:98:0, from agl_imageio.c:51: agl_imageio.c: In function 'agl_imgioload': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_imageio.c:70:3: note: in expansion of macro 'agl_error' agl_error("can't load image"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_imageio.c:81:5: note: in expansion of macro 'agl_error' agl_error("can't load image"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_imageio.c:93:3: note: in expansion of macro 'agl_error' agl_error("can't load image"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imageio.lo -MD -MP -MF .deps/agl_imageio.Tpo -c agl_imageio.c -o agl_imageio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_xpmio.lo -MD -MP -MF .deps/agl_xpmio.Tpo -c agl_xpmio.c -o agl_xpmio.o >/dev/null 2>&1 agl_xcfio.c:2048:13: warning: 'new_image' may be used uninitialized in this function [-Wmaybe-uninitialized] agl_image *new_image; ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_xcfio.lo -MD -MP -MF .deps/agl_xcfio.Tpo -c agl_xcfio.c -o agl_xcfio.o >/dev/null 2>&1 /bin/sh ../../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libimageio.la agl_gifio.lo agl_bmpio.lo agl_jpgio.lo agl_pcxio.lo agl_pngio.lo agl_ppmio.lo agl_tgaio.lo agl_tifio.lo agl_rgbtxt.lo agl_xpmio.lo agl_xcfio.lo agl_imageio.lo -lm ar cru .libs/libimageio.a .libs/agl_gifio.o .libs/agl_bmpio.o .libs/agl_jpgio.o .libs/agl_pcxio.o .libs/agl_pngio.o .libs/agl_ppmio.o .libs/agl_tgaio.o .libs/agl_tifio.o .libs/agl_rgbtxt.o .libs/agl_xpmio.o .libs/agl_xcfio.o .libs/agl_imageio.o ranlib .libs/libimageio.a creating libimageio.la (cd .libs && rm -f libimageio.la && ln -s ../libimageio.la libimageio.la) gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio' Making all in fontio gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio' if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_ttfio.lo -MD -MP -MF ".deps/agl_ttfio.Tpo" -c -o agl_ttfio.lo agl_ttfio.c; \ then mv -f ".deps/agl_ttfio.Tpo" ".deps/agl_ttfio.Plo"; else rm -f ".deps/agl_ttfio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bfontio.lo -MD -MP -MF ".deps/agl_bfontio.Tpo" -c -o agl_bfontio.lo agl_bfontio.c; \ then mv -f ".deps/agl_bfontio.Tpo" ".deps/agl_bfontio.Plo"; else rm -f ".deps/agl_bfontio.Tpo"; exit 1; fi if /bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fontio.lo -MD -MP -MF ".deps/agl_fontio.Tpo" -c -o agl_fontio.lo agl_fontio.c; \ then mv -f ".deps/agl_fontio.Tpo" ".deps/agl_fontio.Plo"; else rm -f ".deps/agl_fontio.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bfontio.lo -MD -MP -MF .deps/agl_bfontio.Tpo -c agl_bfontio.c -fPIC -DPIC -o .libs/agl_bfontio.o In file included from ../../include/agl_private.h:98:0, from agl_bfontio.c:51: agl_bfontio.c: In function 'agl_bfntopen': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_bfontio.c:180:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_bfontio.c:189:4: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:196:3: note: in expansion of macro 'agl_error' agl_error("not a bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:201:3: note: in expansion of macro 'agl_error' agl_error("not a bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_bfontio.c:206:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:211:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_bfontio.c:219:4: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:229:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:234:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:239:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:244:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:249:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:254:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:259:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:265:3: note: in expansion of macro 'agl_error' agl_error("unable to open font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:273:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:278:3: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_bfontio.c:287:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:303:4: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:310:4: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:317:4: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:324:4: note: in expansion of macro 'agl_error' agl_error("invalid bitmap font file"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_bfontio.c: In function 'agl_bfntloadglyph': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:76:119: note: in expansion of macro 'agl_error' #define agl_error4(s, v1, v2, v3) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2, v3); agl_error(err2buf);} while(0) ^ agl_bfontio.c:348:2: note: in expansion of macro 'agl_error4' agl_error4("Character \"%c\", %d, %x does not exist in font file", ch, ch, ch); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_bfontio.c: In function 'agl_bfntblit': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_bfontio.c:371:3: note: in expansion of macro 'agl_error' agl_error("unable to draw character"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_ttfio.lo -MD -MP -MF .deps/agl_ttfio.Tpo -c agl_ttfio.c -fPIC -DPIC -o .libs/agl_ttfio.o In file included from ../../include/agl_private.h:98:0, from agl_ttfio.c:51: agl_ttfio.c: In function 'agl_ttferror': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_ttfio.c:97:3: note: in expansion of macro 'agl_error3' agl_error3("%s: %s", msg, perr->err_msg); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_ttfio.c:99:3: note: in expansion of macro 'agl_error2' agl_error2("%s: Unknown FreeType error", msg); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_ttfio.c: In function 'agl_ttfsread': agl_ttfio.c:109:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (char *) &buf; ^ In file included from ../../include/agl_private.h:98:0, from agl_ttfio.c:51: agl_ttfio.c: In function 'agl_ttfopen': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_ttfio.c:220:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_ttfio.c:240:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_ttfio.c: In function 'agl_ttfloadglyph': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_ttfio.c:362:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_ttfio.lo -MD -MP -MF .deps/agl_ttfio.Tpo -c agl_ttfio.c -o agl_ttfio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fontio.lo -MD -MP -MF .deps/agl_fontio.Tpo -c agl_fontio.c -fPIC -DPIC -o .libs/agl_fontio.o In file included from ../../include/agl_private.h:98:0, from agl_fontio.c:43: agl_fontio.c: In function 'agl_fontioload': ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fontio.c:61:3: note: in expansion of macro 'agl_error' agl_error("can't load font"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fontio.c:73:5: note: in expansion of macro 'agl_error' agl_error("can't load font"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_fontio.c:85:3: note: in expansion of macro 'agl_error' agl_error("can't load font"); ^ ../../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_fontio.lo -MD -MP -MF .deps/agl_fontio.Tpo -c agl_fontio.c -o agl_fontio.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bfontio.lo -MD -MP -MF .deps/agl_bfontio.Tpo -c agl_bfontio.c -o agl_bfontio.o >/dev/null 2>&1 /bin/sh ../../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libfontio.la agl_ttfio.lo agl_bfontio.lo agl_fontio.lo -lm ar cru .libs/libfontio.a .libs/agl_ttfio.o .libs/agl_bfontio.o .libs/agl_fontio.o ranlib .libs/libfontio.a creating libfontio.la (cd .libs && rm -f libfontio.la && ln -s ../libfontio.la libfontio.la) gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libinput.la imageio/libimageio.la trueio/libtrueio.la fontio/libfontio.la -lm mkdir .libs rm -fr .libs/libinput.lax mkdir .libs/libinput.lax rm -fr .libs/libinput.lax/libimageio.a mkdir .libs/libinput.lax/libimageio.a (cd .libs/libinput.lax/libimageio.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio/.libs/libimageio.a) rm -fr .libs/libinput.lax/libtrueio.a mkdir .libs/libinput.lax/libtrueio.a (cd .libs/libinput.lax/libtrueio.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio/.libs/libtrueio.a) rm -fr .libs/libinput.lax/libfontio.a mkdir .libs/libinput.lax/libfontio.a (cd .libs/libinput.lax/libfontio.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio/.libs/libfontio.a) ar cru .libs/libinput.a .libs/libinput.lax/libimageio.a/agl_pngio.o .libs/libinput.lax/libimageio.a/agl_rgbtxt.o .libs/libinput.lax/libimageio.a/agl_tgaio.o .libs/libinput.lax/libimageio.a/agl_xcfio.o .libs/libinput.lax/libimageio.a/agl_pcxio.o .libs/libinput.lax/libimageio.a/agl_gifio.o .libs/libinput.lax/libimageio.a/agl_xpmio.o .libs/libinput.lax/libimageio.a/agl_ppmio.o .libs/libinput.lax/libimageio.a/agl_tifio.o .libs/libinput.lax/libimageio.a/agl_jpgio.o .libs/libinput.lax/libimageio.a/agl_imageio.o .libs/libinput.lax/libimageio.a/agl_bmpio.o .libs/libinput.lax/libtrueio.a/agl_fhandle.o .libs/libinput.lax/libtrueio.a/agl_fnull.o .libs/libinput.lax/libtrueio.a/agl_fstream.o .libs/libinput.lax/libtrueio.a/agl_file.o .libs/libinput.lax/libtrueio.a/agl_trueio.o .libs/libinput.lax/libtrueio.a/agl_fmem.o .libs/libinput.lax/libfontio.a/agl_bfontio.o .libs/libinput.lax/libfontio.a/agl_fontio.o .libs/libinput.lax/libfontio.a/agl_ttfio.o ranlib .libs/libinput.a rm -fr .libs/libinput.lax creating libinput.la (cd .libs && rm -f libinput.la && ln -s ../libinput.la libinput.la) gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' Making all in plane gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/plane' if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_channel.lo -MD -MP -MF ".deps/agl_channel.Tpo" -c -o agl_channel.lo agl_channel.c; \ then mv -f ".deps/agl_channel.Tpo" ".deps/agl_channel.Plo"; else rm -f ".deps/agl_channel.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_image.lo -MD -MP -MF ".deps/agl_image.Tpo" -c -o agl_image.lo agl_image.c; \ then mv -f ".deps/agl_image.Tpo" ".deps/agl_image.Plo"; else rm -f ".deps/agl_image.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imglist.lo -MD -MP -MF ".deps/agl_imglist.Tpo" -c -o agl_imglist.lo agl_imglist.c; \ then mv -f ".deps/agl_imglist.Tpo" ".deps/agl_imglist.Plo"; else rm -f ".deps/agl_imglist.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pix.lo -MD -MP -MF ".deps/agl_pix.Tpo" -c -o agl_pix.lo agl_pix.c; \ then mv -f ".deps/agl_pix.Tpo" ".deps/agl_pix.Plo"; else rm -f ".deps/agl_pix.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_font.lo -MD -MP -MF ".deps/agl_font.Tpo" -c -o agl_font.lo agl_font.c; \ then mv -f ".deps/agl_font.Tpo" ".deps/agl_font.Plo"; else rm -f ".deps/agl_font.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_channel.lo -MD -MP -MF .deps/agl_channel.Tpo -c agl_channel.c -fPIC -DPIC -o .libs/agl_channel.o In file included from ../include/agl_private.h:98:0, from agl_channel.c:49: agl_channel.c: In function 'agl_channew': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:71:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:83:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_channel.c: In function 'agl_chandup': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:125:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:135:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_channel.c: In function 'agl_frompixmap': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:212:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:222:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:233:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_channel.c:245:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_channel.c:388:4: note: in expansion of macro 'agl_error' agl_error("invalid type of transformation"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_channel.c: In function 'agl_topixmap': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_channel.c:703:5: note: in expansion of macro 'agl_error' agl_error("invalid type of transformation"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_channel.c:877:7: note: in expansion of macro 'agl_error' agl_error("invalid type of transformation"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_channel.c:1151:6: note: in expansion of macro 'agl_error' agl_error("invalid type of transformation"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pix.lo -MD -MP -MF .deps/agl_pix.Tpo -c agl_pix.c -fPIC -DPIC -o .libs/agl_pix.o cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_image.lo -MD -MP -MF .deps/agl_image.Tpo -c agl_image.c -fPIC -DPIC -o .libs/agl_image.o In file included from ../include/agl_private.h:98:0, from agl_pix.c:55: agl_pix.c: In function 'agl_pixnew': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pix.c:66:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pix.c:78:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_pix.c: In function 'agl_pixdup': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pix.c:112:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_pix.c:123:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_pix.c: In function 'agl_pixtranscat': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pix.c:888:3: note: in expansion of macro 'agl_error' agl_error("invalid type of transformation"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ In file included from ../include/agl_private.h:98:0, from agl_image.c:51: agl_image.c: In function 'agl_imgnew': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_image.c:61:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_image.c:68:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_image.c: In function 'agl_imgdup': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_image.c:105:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_image.c:112:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_image.c:123:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_image.c:136:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_font.lo -MD -MP -MF .deps/agl_font.Tpo -c agl_font.c -fPIC -DPIC -o .libs/agl_font.o cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imglist.lo -MD -MP -MF .deps/agl_imglist.Tpo -c agl_imglist.c -fPIC -DPIC -o .libs/agl_imglist.o In file included from ../include/agl_private.h:98:0, from agl_font.c:51: agl_font.c: In function 'agl_fontnew': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_font.c:62:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_image.lo -MD -MP -MF .deps/agl_image.Tpo -c agl_image.c -o agl_image.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_font.lo -MD -MP -MF .deps/agl_font.Tpo -c agl_font.c -o agl_font.o >/dev/null 2>&1 agl_pix.c: In function 'agl_pixtransalpha': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_pix.c:1883:3: note: in expansion of macro 'agl_error' agl_error("invalid type of transformation"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imglist.lo -MD -MP -MF .deps/agl_imglist.Tpo -c agl_imglist.c -o agl_imglist.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_basedraw.lo -MD -MP -MF ".deps/agl_basedraw.Tpo" -c -o agl_basedraw.lo agl_basedraw.c; \ then mv -f ".deps/agl_basedraw.Tpo" ".deps/agl_basedraw.Plo"; else rm -f ".deps/agl_basedraw.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_basedraw.lo -MD -MP -MF .deps/agl_basedraw.Tpo -c agl_basedraw.c -fPIC -DPIC -o .libs/agl_basedraw.o agl_basedraw.c: In function 'agl_rectangle': agl_basedraw.c:1205:6: warning: unused variable 'k' [-Wunused-variable] int k; ^ agl_basedraw.c: In function 'agl_linealpha': agl_basedraw.c:71:100: warning: 'al' may be used uninitialized in this function [-Wmaybe-uninitialized] ((unsigned char *)(dst))[1] = (((long)(((unsigned char *)(src))[1] - ((unsigned char *)(dst))[1]) * al) >> 8) + ((unsigned char *)(dst))[1], \ ^ agl_basedraw.c:404:7: note: 'al' was declared here long al; ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_channel.lo -MD -MP -MF .deps/agl_channel.Tpo -c agl_channel.c -o agl_channel.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_basedraw.lo -MD -MP -MF .deps/agl_basedraw.Tpo -c agl_basedraw.c -o agl_basedraw.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_pix.lo -MD -MP -MF .deps/agl_pix.Tpo -c agl_pix.c -o agl_pix.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libplane.la agl_channel.lo agl_image.lo agl_imglist.lo agl_pix.lo agl_font.lo agl_basedraw.lo -lm ar cru .libs/libplane.a .libs/agl_channel.o .libs/agl_image.o .libs/agl_imglist.o .libs/agl_pix.o .libs/agl_font.o .libs/agl_basedraw.o ranlib .libs/libplane.a creating libplane.la (cd .libs && rm -f libplane.la && ln -s ../libplane.la libplane.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/plane' Making all in lowlevel gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel' if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_sdl.lo -MD -MP -MF ".deps/agl_sdl.Tpo" -c -o agl_sdl.lo agl_sdl.c; \ then mv -f ".deps/agl_sdl.Tpo" ".deps/agl_sdl.Plo"; else rm -f ".deps/agl_sdl.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_sdl.lo -MD -MP -MF .deps/agl_sdl.Tpo -c agl_sdl.c -fPIC -DPIC -o .libs/agl_sdl.o In file included from ../include/agl_private.h:98:0, from agl_sdl.c:42: agl_sdl.c: In function 'agl_sublayercreate': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_sdl.c:61:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_sdl.c: In function 'agl_sublayerinit': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_sdl.c:88:3: note: in expansion of macro 'agl_error' agl_error("can't init sublayer"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_sdl.c:95:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_sdl.c:102:3: note: in expansion of macro 'agl_error' agl_error("can't init sublayer"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_sdl.c: In function 'agl_sublayergetvidsz': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_sdl.c:182:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_sdl.c:188:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_sdl.c: In function 'agl_sublayersetvid': ../include/agl_error.h:65:56: warning: passing argument 4 of '_agl_fatal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_fatal(s) _agl_fatal(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_sdl.c:234:3: note: in expansion of macro 'agl_fatal' agl_fatal("can't init video surface"); ^ ../include/agl_error.h:54:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_fatal(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_sdl.lo -MD -MP -MF .deps/agl_sdl.Tpo -c agl_sdl.c -o agl_sdl.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o liblowlevel.la agl_sdl.lo -lm ar cru .libs/liblowlevel.a .libs/agl_sdl.o ranlib .libs/liblowlevel.a creating liblowlevel.la (cd .libs && rm -f liblowlevel.la && ln -s ../liblowlevel.la liblowlevel.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel' Making all in core gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/core' if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_cache.lo -MD -MP -MF ".deps/agl_cache.Tpo" -c -o agl_cache.lo agl_cache.c; \ then mv -f ".deps/agl_cache.Tpo" ".deps/agl_cache.Plo"; else rm -f ".deps/agl_cache.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_elem.lo -MD -MP -MF ".deps/agl_elem.Tpo" -c -o agl_elem.lo agl_elem.c; \ then mv -f ".deps/agl_elem.Tpo" ".deps/agl_elem.Plo"; else rm -f ".deps/agl_elem.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_linklib.lo -MD -MP -MF ".deps/agl_linklib.Tpo" -c -o agl_linklib.lo agl_linklib.c; \ then mv -f ".deps/agl_linklib.Tpo" ".deps/agl_linklib.Plo"; else rm -f ".deps/agl_linklib.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_event.lo -MD -MP -MF ".deps/agl_event.Tpo" -c -o agl_event.lo agl_event.c; \ then mv -f ".deps/agl_event.Tpo" ".deps/agl_event.Plo"; else rm -f ".deps/agl_event.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_hash.lo -MD -MP -MF ".deps/agl_hash.Tpo" -c -o agl_hash.lo agl_hash.c; \ then mv -f ".deps/agl_hash.Tpo" ".deps/agl_hash.Plo"; else rm -f ".deps/agl_hash.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_elem.lo -MD -MP -MF .deps/agl_elem.Tpo -c agl_elem.c -fPIC -DPIC -o .libs/agl_elem.o cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_cache.lo -MD -MP -MF .deps/agl_cache.Tpo -c agl_cache.c -fPIC -DPIC -o .libs/agl_cache.o agl_cache.c: In function 'agl_cacheexit': agl_cache.c:68:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ In file included from ../include/agl_private.h:98:0, from agl_cache.c:52: agl_cache.c: In function 'agl_cacheobjevent': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_cache.c:169:3: note: in expansion of macro 'agl_error3' agl_error3("object %s : event failed: %d", pobj->name, event); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_cache.c: In function 'agl_cacheobjget': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_cache.c:187:3: note: in expansion of macro 'agl_error2' agl_error2("variable %s not found in cache", name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_cache.c:194:4: note: in expansion of macro 'agl_error' agl_error("object load/update event failed"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_cache.c: In function 'agl_objnew': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_cache.c:250:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_cache.c: In function 'agl_objcreate': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_cache.c:302:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_cache.c:310:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_cache.c: In function 'agl_objdelete': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_cache.c:362:4: note: in expansion of macro 'agl_error' agl_error("parent object flush event failed"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_cache.c:369:4: note: in expansion of macro 'agl_error' agl_error("object deletion failed"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_cache.c:384:3: note: in expansion of macro 'agl_error' agl_error("object deletion failed"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_cache.c:354:14: warning: variable 'cacheroot' set but not used [-Wunused-but-set-variable] agl_object *cacheroot; ^ In file included from ../include/agl_private.h:98:0, from agl_elem.c:41: agl_elem.c: In function 'agl_defnsubrecur': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:76:4: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pdef->vtype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:101:4: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pdef->itype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_elem.c: In function 'agl_defnvcmp': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:174:4: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pv->vtype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_elem.c: In function 'agl_defnicmp': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:233:5: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pv->itype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_elem.c: In function 'agl_defnindex': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:301:5: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pv->itype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_elem.c: In function 'agl_defnaddrecur': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:334:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:354:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:365:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:373:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:455:3: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pv->vtype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:481:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:492:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_elem.c:500:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_elem.c:582:4: note: in expansion of macro 'agl_error2' agl_error2("unknown type %d", pv->itype & AGL_STYPEALL); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_cache.lo -MD -MP -MF .deps/agl_cache.Tpo -c agl_cache.c -o agl_cache.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_linklib.lo -MD -MP -MF .deps/agl_linklib.Tpo -c agl_linklib.c -fPIC -DPIC -o .libs/agl_linklib.o In file included from ../include/agl_private.h:98:0, from agl_linklib.c:61: agl_linklib.c: In function 'agl_loadobj': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_linklib.c:145:3: note: in expansion of macro 'agl_error3' agl_error3("Failed loading %s: %s", libfile, loaderror); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_linklib.c: In function 'agl_loadfunc': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_linklib.c:207:3: note: in expansion of macro 'agl_error3' agl_error3("Failed loading %s: %s", name, loaderror); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_hash.lo -MD -MP -MF .deps/agl_hash.Tpo -c agl_hash.c -fPIC -DPIC -o .libs/agl_hash.o if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_module.lo -MD -MP -MF ".deps/agl_module.Tpo" -c -o agl_module.lo agl_module.c; \ then mv -f ".deps/agl_module.Tpo" ".deps/agl_module.Plo"; else rm -f ".deps/agl_module.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_linklib.lo -MD -MP -MF .deps/agl_linklib.Tpo -c agl_linklib.c -o agl_linklib.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_rect.lo -MD -MP -MF ".deps/agl_rect.Tpo" -c -o agl_rect.lo agl_rect.c; \ then mv -f ".deps/agl_rect.Tpo" ".deps/agl_rect.Plo"; else rm -f ".deps/agl_rect.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_event.lo -MD -MP -MF .deps/agl_event.Tpo -c agl_event.c -fPIC -DPIC -o .libs/agl_event.o agl_event.c: In function 'agl_event': agl_event.c:53:17: warning: variable 'contain' set but not used [-Wunused-but-set-variable] agl_container *contain; ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_event.lo -MD -MP -MF .deps/agl_event.Tpo -c agl_event.c -o agl_event.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_video.lo -MD -MP -MF ".deps/agl_video.Tpo" -c -o agl_video.lo agl_video.c; \ then mv -f ".deps/agl_video.Tpo" ".deps/agl_video.Plo"; else rm -f ".deps/agl_video.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_module.lo -MD -MP -MF .deps/agl_module.Tpo -c agl_module.c -fPIC -DPIC -o .libs/agl_module.o In file included from ../include/agl_private.h:98:0, from agl_module.c:52: agl_module.c: In function 'agl_modregister': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_module.c:101:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_module.c:116:4: note: in expansion of macro 'agl_error' agl_error(" Unable to initialise module"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_module.c:130:4: note: in expansion of macro 'agl_error2' agl_error2("caller module %s has no caller function", pcal->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_module.c:136:4: note: in expansion of macro 'agl_error3' agl_error3("caller module %s failed initialising called module %s", pcal->name, pcurmod->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_module.c:150:6: note: in expansion of macro 'agl_error2' agl_error2("caller module %s has no caller function", pcurmod->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_module.c:156:6: note: in expansion of macro 'agl_error3' agl_error3("caller module %s failed initialising called module %s", pcurmod->name, pmod->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_module.c:89:31: warning: variable 'pprev' set but not used [-Wunused-but-set-variable] agl_module *pmod, *pcurmod, *pprev; ^ In file included from ../include/agl_private.h:98:0, from agl_module.c:52: agl_module.c: In function 'agl_modderegister': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_module.c:194:4: note: in expansion of macro 'agl_error' agl_error("error during object release; aborting"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_module.c:202:4: note: in expansion of macro 'agl_error' agl_error("error during object release; aborting"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_module.c:215:4: note: in expansion of macro 'agl_error2' agl_error2("unknown caller module %s", pcal->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_module.c:220:4: note: in expansion of macro 'agl_error2' agl_error2("caller module %s has no caller function", pcal->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_module.c:225:4: note: in expansion of macro 'agl_error3' agl_error3("caller module %s failed de-registering called module %s", pcal->name, pmod->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_module.c:240:6: note: in expansion of macro 'agl_error2' agl_error2("caller module %s has no caller function", name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_module.c:245:6: note: in expansion of macro 'agl_error3' agl_error3("caller module %s failed de-registering called module %s", name, pref->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_module.c:263:4: note: in expansion of macro 'agl_error' agl_error("error during object release; aborting"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_module.c: In function 'agl_modinit': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_module.c:286:4: note: in expansion of macro 'agl_error' agl_error("unable to initialise module system"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_module.c: In function 'agl_modexit': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_module.c:302:4: note: in expansion of macro 'agl_error' agl_error("unable to free module system"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_rect.lo -MD -MP -MF .deps/agl_rect.Tpo -c agl_rect.c -fPIC -DPIC -o .libs/agl_rect.o In file included from ../include/agl_private.h:98:0, from agl_rect.c:43: agl_rect.c: In function 'agl_rectcreate': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_rect.c:53:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_rect.c: In function 'agl_rectlistcreate': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_rect.c:133:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_rect.c: In function 'agl_rectlistunion': agl_rect.c:331:16: warning: variable 'dest' set but not used [-Wunused-but-set-variable] agl_rectlist *dest, *next; ^ agl_rect.c: In function 'agl_rectlistsepar': agl_rect.c:192:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ agl_rect.c: In function 'agl_rectlistvunion': agl_rect.c:197:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ agl_rect.c: In function 'agl_rectlisthunion': agl_rect.c:202:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_video.lo -MD -MP -MF .deps/agl_video.Tpo -c agl_video.c -fPIC -DPIC -o .libs/agl_video.o cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_rect.lo -MD -MP -MF .deps/agl_rect.Tpo -c agl_rect.c -o agl_rect.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_video.lo -MD -MP -MF .deps/agl_video.Tpo -c agl_video.c -o agl_video.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_subr.lo -MD -MP -MF ".deps/agl_subr.Tpo" -c -o agl_subr.lo agl_subr.c; \ then mv -f ".deps/agl_subr.Tpo" ".deps/agl_subr.Plo"; else rm -f ".deps/agl_subr.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_zone.lo -MD -MP -MF ".deps/agl_zone.Tpo" -c -o agl_zone.lo agl_zone.c; \ then mv -f ".deps/agl_zone.Tpo" ".deps/agl_zone.Plo"; else rm -f ".deps/agl_zone.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_module.lo -MD -MP -MF .deps/agl_module.Tpo -c agl_module.c -o agl_module.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_zone.lo -MD -MP -MF .deps/agl_zone.Tpo -c agl_zone.c -fPIC -DPIC -o .libs/agl_zone.o In file included from ../include/agl_private.h:98:0, from agl_zone.c:42: agl_zone.c: In function 'agl_zonefill': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:52:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_zone.c: In function 'agl_zonecreate': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:96:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:101:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_zone.c: In function 'agl_zoneattachunder': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:134:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:147:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_zone.c: In function 'agl_zoneattachupper': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:168:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_zone.c:181:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_subr.lo -MD -MP -MF .deps/agl_subr.Tpo -c agl_subr.c -fPIC -DPIC -o .libs/agl_subr.o cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_hash.lo -MD -MP -MF .deps/agl_hash.Tpo -c agl_hash.c -o agl_hash.o >/dev/null 2>&1 In file included from ../include/agl_private.h:98:0, from agl_subr.c:60: agl_subr.c: In function 'agl_getnum': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_subr.c:210:5: note: in expansion of macro 'agl_error2' agl_error2("illegal lexical type (%d)", type); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_subr.c:221:2: note: in expansion of macro 'agl_error' agl_error("unexpected break"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_zone.lo -MD -MP -MF .deps/agl_zone.Tpo -c agl_zone.c -o agl_zone.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_subr.lo -MD -MP -MF .deps/agl_subr.Tpo -c agl_subr.c -o agl_subr.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_elem.lo -MD -MP -MF .deps/agl_elem.Tpo -c agl_elem.c -o agl_elem.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libcore.la agl_cache.lo agl_elem.lo agl_linklib.lo agl_event.lo agl_hash.lo agl_module.lo agl_rect.lo agl_video.lo agl_subr.lo agl_zone.lo -lm ar cru .libs/libcore.a .libs/agl_cache.o .libs/agl_elem.o .libs/agl_linklib.o .libs/agl_event.o .libs/agl_hash.o .libs/agl_module.o .libs/agl_rect.o .libs/agl_video.o .libs/agl_subr.o .libs/agl_zone.o ranlib .libs/libcore.a creating libcore.la (cd .libs && rm -f libcore.la && ln -s ../libcore.la libcore.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/core' Making all in manage gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/manage' if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gram.lo -MD -MP -MF ".deps/agl_gram.Tpo" -c -o agl_gram.lo agl_gram.c; \ then mv -f ".deps/agl_gram.Tpo" ".deps/agl_gram.Plo"; else rm -f ".deps/agl_gram.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gramcode.lo -MD -MP -MF ".deps/agl_gramcode.Tpo" -c -o agl_gramcode.lo agl_gramcode.c; \ then mv -f ".deps/agl_gramcode.Tpo" ".deps/agl_gramcode.Plo"; else rm -f ".deps/agl_gramcode.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gram.lo -MD -MP -MF .deps/agl_gram.Tpo -c agl_gram.c -fPIC -DPIC -o .libs/agl_gram.o In file included from ../include/agl_private.h:98:0, from agl_gram.y:54: agl_gram.c: In function 'aglparse': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_gram.y:108:23: note: in expansion of macro 'agl_error3' #define aglerror(str) agl_error3("grammar: %s at line %d", str, ((agl_analyse *)analyse)->lineno) ^ agl_gram.y:66:17: note: in expansion of macro 'aglerror' #define yyerror aglerror ^ agl_gram.c:1381:2: note: in expansion of macro 'yyerror' yyerror ("syntax error"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_gram.y:108:23: note: in expansion of macro 'agl_error3' #define aglerror(str) agl_error3("grammar: %s at line %d", str, ((agl_analyse *)analyse)->lineno) ^ agl_gram.y:66:17: note: in expansion of macro 'aglerror' #define yyerror aglerror ^ agl_gram.c:1480:3: note: in expansion of macro 'yyerror' yyerror ("parser stack overflow"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gramcode.lo -MD -MP -MF .deps/agl_gramcode.Tpo -c agl_gramcode.c -fPIC -DPIC -o .libs/agl_gramcode.o In file included from ../include/agl_private.h:98:0, from agl_gramcode.c:60: agl_gramcode.c: In function 'agl_createsymb': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:216:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:232:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:241:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'get_char': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:299:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:308:5: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:315:6: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:407:4: note: in expansion of macro 'agl_error2' agl_error2("illegal number autom (%d)", autom); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agllex': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:446:3: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:503:10: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:531:8: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:565:6: note: in expansion of macro 'agl_error2' agl_error2("illegal number autom (%d)", autom); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:575:7: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:600:7: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:746:6: note: in expansion of macro 'agl_error' agl_error("bad switch state"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:758:5: note: in expansion of macro 'agl_error2' agl_error2("illegal lexical type (%d)", type); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:766:4: note: in expansion of macro 'agl_error' agl_error("lexical analysis error"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:769:5: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:778:5: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:792:5: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:807:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c:814:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pval->val.vu.str = ptr; ^ In file included from ../include/agl_private.h:98:0, from agl_gramcode.c:60: ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:821:4: note: in expansion of macro 'agl_error' agl_error("IO error"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:825:5: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:141:22: note: in expansion of macro 'agl_error' #define agl_ioserr() agl_error("input/output error") ^ agl_gramcode.c:832:5: note: in expansion of macro 'agl_ioserr' agl_ioserr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:839:5: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c:843:34: warning: pointer targets in passing argument 2 of 'agl_searchkeyw' differ in signedness [-Wpointer-sign] ret = agl_searchkeyw(analyse, string, &pval->keyw); ^ agl_gramcode.c:126:1: note: expected 'char *' but argument is of type 'unsigned char *' agl_searchkeyw(agl_analyse * anal, char *s, agl_modelem ** pkeyw) ^ agl_gramcode.c:854:34: warning: pointer targets in passing argument 2 of 'agl_searchdefn' differ in signedness [-Wpointer-sign] ret = agl_searchdefn(analyse, string, &pval->defn); ^ agl_gramcode.c:152:1: note: expected 'char *' but argument is of type 'unsigned char *' agl_searchdefn(agl_analyse * anal, char *s, agl_moddefn ** pdefn) ^ agl_gramcode.c:865:33: warning: pointer targets in passing argument 2 of 'agl_searchmod' differ in signedness [-Wpointer-sign] ret = agl_searchmod(analyse, string, &pval->mod); ^ agl_gramcode.c:105:1: note: expected 'char *' but argument is of type 'unsigned char *' agl_searchmod(agl_analyse * anal, char *s, agl_module ** pmod) ^ agl_gramcode.c:876:34: warning: pointer targets in passing argument 2 of 'agl_createsymb' differ in signedness [-Wpointer-sign] ret = agl_createsymb(analyse, string, &pval->sym); ^ agl_gramcode.c:199:1: note: expected 'char *' but argument is of type 'unsigned char *' agl_createsymb(agl_analyse * analyse, char *s, agl_gramsymb ** psymb) ^ In file included from ../include/agl_private.h:98:0, from agl_gramcode.c:60: ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:892:2: note: in expansion of macro 'agl_error' agl_error("unexpected break"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_gramnewinst': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_gramcode.c:907:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_keywstmt2': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1009:3: note: in expansion of macro 'agl_error2' agl_error2("object %s already declared", s->u.symb->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_keywadd': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1055:3: note: in expansion of macro 'agl_error2' agl_error2("object %s never defined", s->u.symb->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1067:4: note: in expansion of macro 'agl_error2' agl_error2("object %s not found or error", s->u.symb->val.vu.ref.name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1074:3: note: in expansion of macro 'agl_error' agl_error("object of invalid type"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1080:3: note: in expansion of macro 'agl_error2' agl_error2("object %s : event failed", pobj->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_keywlike': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1123:4: note: in expansion of macro 'agl_error2' agl_error2("object %s not found or error", s->u.symb->val.vu.ref.name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1128:3: note: in expansion of macro 'agl_error' agl_error("object of invalid type"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_validstr': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1200:4: note: in expansion of macro 'agl_error' agl_error("invalid state"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_keywend': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1239:5: note: in expansion of macro 'agl_error2' agl_error2("validation string error in %s", anal->curmodule->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1246:5: note: in expansion of macro 'agl_error3' agl_error3("The statement %s named %s is not valid", anal->curmodule->name, anal->cursymb->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1257:5: note: in expansion of macro 'agl_error3' agl_error3("The statement %s named %s is not valid", anal->curmodule->name, anal->cursymb->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_ieval': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1281:3: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1292:3: note: in expansion of macro 'agl_error2' agl_error2("cannot evaluate: %d", s->type); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1299:4: note: in expansion of macro 'agl_error2' agl_error2("cannot evaluate: %d", s->type); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1307:4: note: in expansion of macro 'agl_error2' agl_error2("cannot evaluate: %d", s->type); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1312:4: note: in expansion of macro 'agl_error2' agl_error2("cannot evaluate: %d", s->type); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_listcrnpush': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1347:4: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_indicescrnpush': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1382:4: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_keywindex': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1405:3: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1412:3: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_keywassign': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1464:3: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1475:3: note: in expansion of macro 'agl_error' agl_error("indexdoes not exist"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1492:4: note: in expansion of macro 'agl_error3' agl_error3("cannot add element for %s from %s cannot be created", s->u.keyw->name, anal->cursymb->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:74:111: note: in expansion of macro 'agl_error' #define agl_error3(s, v1, v2) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1, v2); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1498:3: note: in expansion of macro 'agl_error3' agl_error3("invalid type of %s from %s cannot be created", s->u.keyw->name, anal->cursymb->name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_gramcode.c: In function 'agl_gramhash': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1515:3: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_gramcode.c:1522:3: note: in expansion of macro 'agl_error' agl_error("stack empty"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gram.lo -MD -MP -MF .deps/agl_gram.Tpo -c agl_gram.c -o agl_gram.o >/dev/null 2>&1 agl_gramcode.c: In function 'agl_ieval': ../include/agl_error.h:72:61: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_gramcode.c:1272:17: note: 's' was declared here agl_graminstr *s; ^ agl_gramcode.c: In function 'agl_listcrnpush': agl_gramcode.c:1352:22: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] s->u.val.vu.list = &v->u.val; ^ agl_gramcode.c: In function 'agl_indicescrnpush': agl_gramcode.c:1387:24: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] cur->u.val.vu.list = &v->u.val; ^ agl_gramcode.c: In function 'agl_keywindex': agl_gramcode.c:944:18: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] anal->stacklist = s; ^ agl_gramcode.c:1397:17: note: 'v' was declared here agl_graminstr *v; ^ agl_gramcode.c:1423:7: warning: 'idx' may be used uninitialized in this function [-Wmaybe-uninitialized] pidx = pidx->vu.list; ^ agl_gramcode.c: In function 'agl_gramhash': agl_gramcode.c:1528:17: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] v->u.val.itype = h->u.val.vtype; ^ agl_gramcode.c:1528:27: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] v->u.val.itype = h->u.val.vtype; ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_gramcode.lo -MD -MP -MF .deps/agl_gramcode.Tpo -c agl_gramcode.c -o agl_gramcode.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libmanage.la agl_gram.lo agl_gramcode.lo -lm ar cru .libs/libmanage.a .libs/agl_gram.o .libs/agl_gramcode.o ranlib .libs/libmanage.a creating libmanage.la (cd .libs && rm -f libmanage.la && ln -s ../libmanage.la libmanage.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/manage' Making all in text gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/text' if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_text.lo -MD -MP -MF ".deps/agl_text.Tpo" -c -o agl_text.lo agl_text.c; \ then mv -f ".deps/agl_text.Tpo" ".deps/agl_text.Plo"; else rm -f ".deps/agl_text.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_text.lo -MD -MP -MF .deps/agl_text.Tpo -c agl_text.c -fPIC -DPIC -o .libs/agl_text.o In file included from ../include/agl_private.h:98:0, from agl_text.c:41: agl_text.c: In function 'agl_putc': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_text.c:55:4: note: in expansion of macro 'agl_error' agl_error("unable to find character in character set"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_text.c:70:3: note: in expansion of macro 'agl_error' agl_error("unable to draw character"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_text.c: In function 'agl_puts': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_text.c:115:6: note: in expansion of macro 'agl_error' agl_error("unable to find character in character set"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_text.c:122:5: note: in expansion of macro 'agl_error' agl_error("unable to draw character"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_text.c: In function 'agl_printf': agl_text.c:144:20: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] count = vsnprintf(str, 0, fmt, ap); ^ In file included from ../include/agl_ios.h:52:0, from ../include/agl.h:78, from ../include/agl_private.h:100, from agl_text.c:41: /usr/include/stdio.h:226:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int vsnprintf(char * __restrict, size_t, const char * __restrict, ^ In file included from ../include/agl_private.h:98:0, from agl_text.c:41: ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_text.c:149:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_text.c:153:16: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] if (vsnprintf(str, count + 1, fmt, ap) != count) ^ In file included from ../include/agl_ios.h:52:0, from ../include/agl.h:78, from ../include/agl_private.h:100, from agl_text.c:41: /usr/include/stdio.h:226:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int vsnprintf(char * __restrict, size_t, const char * __restrict, ^ In file included from ../include/agl_private.h:98:0, from agl_text.c:41: ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_text.c:155:3: note: in expansion of macro 'agl_error' agl_error("string troncated"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_text.c:163:3: note: in expansion of macro 'agl_error' agl_error("printing failed"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_text.lo -MD -MP -MF .deps/agl_text.Tpo -c agl_text.c -o agl_text.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libtext.la agl_text.lo -lm ar cru .libs/libtext.a .libs/agl_text.o ranlib .libs/libtext.a creating libtext.la (cd .libs && rm -f libtext.la && ln -s ../libtext.la libtext.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/text' Making all in module gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/module' if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modelem.lo -MD -MP -MF ".deps/agl_modelem.Tpo" -c -o agl_modelem.lo agl_modelem.c; \ then mv -f ".deps/agl_modelem.Tpo" ".deps/agl_modelem.Plo"; else rm -f ".deps/agl_modelem.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modimage.lo -MD -MP -MF ".deps/agl_modimage.Tpo" -c -o agl_modimage.lo agl_modimage.c; \ then mv -f ".deps/agl_modimage.Tpo" ".deps/agl_modimage.Plo"; else rm -f ".deps/agl_modimage.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modchannel.lo -MD -MP -MF ".deps/agl_modchannel.Tpo" -c -o agl_modchannel.lo agl_modchannel.c; \ then mv -f ".deps/agl_modchannel.Tpo" ".deps/agl_modchannel.Plo"; else rm -f ".deps/agl_modchannel.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modelem.lo -MD -MP -MF .deps/agl_modelem.Tpo -c agl_modelem.c -fPIC -DPIC -o .libs/agl_modelem.o cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modimage.lo -MD -MP -MF .deps/agl_modimage.Tpo -c agl_modimage.c -fPIC -DPIC -o .libs/agl_modimage.o In file included from ../include/agl_private.h:98:0, from agl_modelem.c:49: agl_modelem.c: In function 'agl_elemload': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_modelem.c:70:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_modelem.c: In function 'agl_elemdepevt': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:117:3: note: in expansion of macro 'agl_error2' agl_error2("event %d not catched by the module", event); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_modelem.c: In function 'agl_getelem': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:200:5: note: in expansion of macro 'agl_error2' agl_error2("object %s not found or error", psrc->vu.ref.name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:221:5: note: in expansion of macro 'agl_error2' agl_error2("object %s is not a string, double or integer", psrc->vu.ref.name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:230:3: note: in expansion of macro 'agl_error2' agl_error2("object has unknown type: %d ", psrc->vtype); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:256:5: note: in expansion of macro 'agl_error2' agl_error2("object %s not found or error", psrc->iu.ref.name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:277:5: note: in expansion of macro 'agl_error2' agl_error2("object %s is not a string, double or integer", psrc->vu.ref.name); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modelem.c:286:3: note: in expansion of macro 'agl_error2' agl_error2("object has unknown type: %d ", psrc->itype); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ In file included from ../include/agl_private.h:98:0, from agl_modimage.c:52: agl_modimage.c: In function 'agl_imgload': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:91:4: note: in expansion of macro 'agl_error' agl_error("could'nt get elemtype value"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:105:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load image: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:112:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load image: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:123:7: note: in expansion of macro 'agl_error' agl_error("unable to dup image"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:128:6: note: in expansion of macro 'agl_error' agl_error("unexpected type"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:132:5: note: in expansion of macro 'agl_error' agl_error("invalid object reference"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:143:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load image: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:150:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load alpha: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:155:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load alpha: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:169:7: note: in expansion of macro 'agl_error' agl_error("unable to dup image"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:174:7: note: in expansion of macro 'agl_error' agl_error("unable to load alpha:"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:184:7: note: in expansion of macro 'agl_error' agl_error("unable to dup channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:189:6: note: in expansion of macro 'agl_error' agl_error("unexpected type"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:193:5: note: in expansion of macro 'agl_error' agl_error("invalid object reference"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:200:5: note: in expansion of macro 'agl_error' agl_error("unable to apply color key"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:208:5: note: in expansion of macro 'agl_error' agl_error("object is not a list"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:215:6: note: in expansion of macro 'agl_error' agl_error("could'nt get elemtype value"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:224:6: note: in expansion of macro 'agl_error' agl_error("not the same color space"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:229:6: note: in expansion of macro 'agl_error' agl_error("this channel is already loaded"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:238:7: note: in expansion of macro 'agl_error2' agl_error2("unable to load image: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:245:7: note: in expansion of macro 'agl_error2' agl_error2("unable to load channel: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:250:7: note: in expansion of macro 'agl_error2' agl_error2("unable to load channel: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:263:8: note: in expansion of macro 'agl_error' agl_error("unable to dup image"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:268:8: note: in expansion of macro 'agl_error' agl_error("unable to load channel:"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:278:8: note: in expansion of macro 'agl_error' agl_error("unable to dup channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:283:7: note: in expansion of macro 'agl_error' agl_error("unexpected type"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:287:6: note: in expansion of macro 'agl_error' agl_error("invalid object reference"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:292:4: note: in expansion of macro 'agl_error2' agl_error2("parameter %d not known", pobj->defidx[i]); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:302:4: note: in expansion of macro 'agl_error' agl_error("unable to create image"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_modimage.c:327:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:337:3: note: in expansion of macro 'agl_error' agl_error("unable to put channels"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_modimage.c: In function 'agl_imgdepevt': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modimage.c:383:4: note: in expansion of macro 'agl_error' agl_error("unable to load img"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modimage.c:393:3: note: in expansion of macro 'agl_error2' agl_error2("event %d not catched by the module", event); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_modimage.c:82:20: warning: array subscript is above array bounds [-Warray-bounds] ch[1] = ch[2] = ch[3] = NULL; ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modelem.lo -MD -MP -MF .deps/agl_modelem.Tpo -c agl_modelem.c -o agl_modelem.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modchannel.lo -MD -MP -MF .deps/agl_modchannel.Tpo -c agl_modchannel.c -fPIC -DPIC -o .libs/agl_modchannel.o In file included from ../include/agl_private.h:98:0, from agl_modchannel.c:48: agl_modchannel.c: In function 'agl_channelload': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:77:4: note: in expansion of macro 'agl_error' agl_error("could'nt get elemtype value"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modchannel.c:89:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load image: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modchannel.c:96:6: note: in expansion of macro 'agl_error2' agl_error2("unable to load alpha: %s", elem.vu.str); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:107:7: note: in expansion of macro 'agl_error' agl_error("unable to dup image"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:116:7: note: in expansion of macro 'agl_error' agl_error("unable to dup channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:121:6: note: in expansion of macro 'agl_error' agl_error("unexpected type"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:125:5: note: in expansion of macro 'agl_error' agl_error("invalid object reference"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:134:5: note: in expansion of macro 'agl_error' agl_error("IMAGE_CHANNEL is not a number"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modchannel.c:139:4: note: in expansion of macro 'agl_error2' agl_error2("parameter %d not known", pobj->defidx[i]); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:148:4: note: in expansion of macro 'agl_error' agl_error("image defined where a channel is already loaded"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:156:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:163:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:170:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:177:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:184:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:191:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:198:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:205:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:212:5: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:217:4: note: in expansion of macro 'agl_error' agl_error("invalid value for IMAGE_CHANNEl field"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_modchannel.c: In function 'agl_channeldepevt': ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_modchannel.c:262:4: note: in expansion of macro 'agl_error' agl_error("unable to load channel"); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ ../include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ ../include/agl_error.h:72:103: note: in expansion of macro 'agl_error' #define agl_error2(s, v1) do {char err2buf[AGL_ERROR_SIZE]; snprintf(err2buf, AGL_ERROR_SIZE, s, v1); agl_error(err2buf);} while(0) ^ agl_modchannel.c:272:3: note: in expansion of macro 'agl_error2' agl_error2("event %d not catched by the module", event); ^ ../include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modimage.lo -MD -MP -MF .deps/agl_modimage.Tpo -c agl_modimage.c -o agl_modimage.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_modchannel.lo -MD -MP -MF .deps/agl_modchannel.Tpo -c agl_modchannel.c -o agl_modchannel.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libmodule.la agl_modelem.lo agl_modimage.lo agl_modchannel.lo -lm ar cru .libs/libmodule.a .libs/agl_modelem.o .libs/agl_modimage.o .libs/agl_modchannel.o ranlib .libs/libmodule.a creating libmodule.la (cd .libs && rm -f libmodule.la && ln -s ../libmodule.la libmodule.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/module' gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src' if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_main.lo -MD -MP -MF ".deps/agl_main.Tpo" -c -o agl_main.lo agl_main.c; \ then mv -f ".deps/agl_main.Tpo" ".deps/agl_main.Plo"; else rm -f ".deps/agl_main.Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_moduletab.lo -MD -MP -MF ".deps/agl_moduletab.Tpo" -c -o agl_moduletab.lo agl_moduletab.c; \ then mv -f ".deps/agl_moduletab.Tpo" ".deps/agl_moduletab.Plo"; else rm -f ".deps/agl_moduletab.Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_error.lo -MD -MP -MF ".deps/agl_error.Tpo" -c -o agl_error.lo agl_error.c; \ then mv -f ".deps/agl_error.Tpo" ".deps/agl_error.Plo"; else rm -f ".deps/agl_error.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_main.lo -MD -MP -MF .deps/agl_main.Tpo -c agl_main.c -fPIC -DPIC -o .libs/agl_main.o cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_moduletab.lo -MD -MP -MF .deps/agl_moduletab.Tpo -c agl_moduletab.c -fPIC -DPIC -o .libs/agl_moduletab.o In file included from include/agl_private.h:98:0, from agl_main.c:48: agl_main.c: In function 'agl_init': include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_main.c:72:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:78:3: note: in expansion of macro 'agl_error' agl_error("sublayer initialization failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:84:3: note: in expansion of macro 'agl_error' agl_error("module initialization failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:90:3: note: in expansion of macro 'agl_error' agl_error("cache initialization failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ agl_main.c: In function 'agl_exit': include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:128:3: note: in expansion of macro 'agl_error' agl_error("cache initialization failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:134:3: note: in expansion of macro 'agl_error' agl_error("module exit failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:139:3: note: in expansion of macro 'agl_error' agl_error("sublayer exit failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_main.c:145:3: note: in expansion of macro 'agl_error' agl_error("memory garbage failed"); ^ include/agl_error.h:55:13: note: expected 'char *' but argument is of type 'const char *' extern void _agl_error(char *message, char *file, int line, char *function); ^ cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_main.lo -MD -MP -MF .deps/agl_main.Tpo -c agl_main.c -o agl_main.o >/dev/null 2>&1 cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_error.lo -MD -MP -MF .deps/agl_error.Tpo -c agl_error.c -fPIC -DPIC -o .libs/agl_error.o cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_moduletab.lo -MD -MP -MF .deps/agl_moduletab.Tpo -c agl_moduletab.c -o agl_moduletab.o >/dev/null 2>&1 In file included from include/agl_private.h:98:0, from agl_error.c:54: agl_error.c: In function 'agl_msg': include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_error.c:242:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ agl_error.c:167:1: note: expected 'char *' but argument is of type 'const char *' _agl_error(char *string, char *file, int line, char *function) ^ In file included from include/agl_private.h:98:0, from agl_error.c:54: agl_error.c: In function 'agl_getlasterror': include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_error.c:294:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ agl_error.c:167:1: note: expected 'char *' but argument is of type 'const char *' _agl_error(char *string, char *file, int line, char *function) ^ In file included from include/agl_private.h:98:0, from agl_error.c:54: include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_error.c:301:4: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ agl_error.c:167:1: note: expected 'char *' but argument is of type 'const char *' _agl_error(char *string, char *file, int line, char *function) ^ In file included from include/agl_private.h:98:0, from agl_error.c:54: agl_error.c: In function 'agl_geterror': include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ include/agl_error.h:131:22: note: in expansion of macro 'agl_error' #define agl_memerr() agl_error("out of memory") ^ agl_error.c:331:3: note: in expansion of macro 'agl_memerr' agl_memerr(); ^ agl_error.c:167:1: note: expected 'char *' but argument is of type 'const char *' _agl_error(char *string, char *file, int line, char *function) ^ agl_error.c: In function '_agl_malloc': agl_error.c:361:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, 120, "%ld in %s at line %d, function %s", size, file, line, function); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:363:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, 120, "%ld in %s at line %d", size, file, line); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:365:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] stsz = ((strlen(str) + 4) & ~3); ^ In file included from agl_error.c:50:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ agl_error.c:377:77: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy((char *) pmem + sizeof(agl_memalloc) + usz + sizeof(unsigned long), str); ^ In file included from agl_error.c:50:0: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^ agl_error.c: In function '_agl_calloc': agl_error.c:419:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, 120, "%ld in %s at line %d, function %s", size, file, line, function); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:421:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, 120, "%ld in %s at line %d", size, file, line); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:423:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] stsz = ((strlen(str) + 4) & ~3); ^ In file included from agl_error.c:50:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ agl_error.c:435:77: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy((char *) pmem + sizeof(agl_memalloc) + usz + sizeof(unsigned long), str); ^ In file included from agl_error.c:50:0: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^ agl_error.c: In function '_agl_realloc': agl_error.c:479:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, 120, "%ld in %s at line %d, function %s", size, file, line, function); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:481:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, 120, "%ld in %s at line %d", size, file, line); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:483:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] stsz = ((strlen(str) + 4) & ~3); ^ In file included from agl_error.c:50:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ agl_error.c:530:78: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy((char *) pmem1 + sizeof(agl_memalloc) + usz + sizeof(unsigned long), str); ^ In file included from agl_error.c:50:0: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^ agl_error.c: In function '_agl_free': agl_error.c:596:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pt = (char *) (lptr + 1); ^ agl_error.c:620:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] stsz = strlen(pt); ^ In file included from agl_error.c:50:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ agl_error.c:622:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(pt, stsz, "%ld in %s at line %d, function %s", pmem->size, file, line, function); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c:624:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(pt, stsz, "%ld in %s at line %d", pmem->size, file, line); ^ In file included from include/agl_ios.h:52:0, from include/agl.h:78, from include/agl_private.h:100, from agl_error.c:54: /usr/include/stdio.h:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ agl_error.c: In function 'agl_memgarbage': agl_error.c:666:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pt = (char *) (lptr + 1); ^ In file included from include/agl_private.h:98:0, from agl_error.c:54: agl_error.c: In function 'agl_initparachute': include/agl_error.h:66:56: warning: passing argument 4 of '_agl_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define agl_error(s) _agl_error(s, __FILE__, __LINE__, __PRETTY_FUNCTION__) ^ agl_error.c:1276:4: note: in expansion of macro 'agl_error' agl_error("unable to set signal handler"); ^ agl_error.c:167:1: note: expected 'char *' but argument is of type 'const char *' _agl_error(char *string, char *file, int line, char *function) ^ agl_error.c: At top level: agl_error.c:783:1: warning: 'agl_print_lib_list' defined but not used [-Wunused-function] agl_print_lib_list(agl_proc_tables * ptabs) ^ agl_error.c:837:1: warning: 'agl_print_my_backtrace' defined but not used [-Wunused-function] agl_print_my_backtrace(agl_proc_tables * ptabs, long *ebp, long *esp, long *eip) ^ cc -DHAVE_CONFIG_H -I. -I. -I.. -I include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_error.lo -MD -MP -MF .deps/agl_error.Tpo -c agl_error.c -o agl_error.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o libadgali.la -rpath /usr/local/lib -release 0.2 -version-info 0:4:0 agl_main.lo agl_moduletab.lo agl_error.lo input/libinput.la plane/libplane.la lowlevel/liblowlevel.la core/libcore.la module/libmodule.la manage/libmanage.la text/libtext.la -ljpeg -lz -ltiff -ljpeg -lpng -lz -L/usr/local/lib -lfreetype -ldl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm cc -shared .libs/agl_main.o .libs/agl_moduletab.o .libs/agl_error.o -Wl,--whole-archive input/.libs/libinput.a plane/.libs/libplane.a lowlevel/.libs/liblowlevel.a core/.libs/libcore.a module/.libs/libmodule.a manage/.libs/libmanage.a text/.libs/libtext.a -Wl,--no-whole-archive -L/usr/local/lib -lexecinfo -ltiff -ljpeg -lpng -lz -lfreetype -ldl -lSDL -pthread -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libadgali-0.2.so.0 -o .libs/libadgali-0.2.so.0.0.4 (cd .libs && rm -f libadgali-0.2.so.0 && ln -s libadgali-0.2.so.0.0.4 libadgali-0.2.so.0) (cd .libs && rm -f libadgali.so && ln -s libadgali-0.2.so.0.0.4 libadgali.so) rm -fr .libs/libadgali.lax mkdir .libs/libadgali.lax rm -fr .libs/libadgali.lax/libinput.a mkdir .libs/libadgali.lax/libinput.a (cd .libs/libadgali.lax/libinput.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/input/.libs/libinput.a) rm -fr .libs/libadgali.lax/libplane.a mkdir .libs/libadgali.lax/libplane.a (cd .libs/libadgali.lax/libplane.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/plane/.libs/libplane.a) rm -fr .libs/libadgali.lax/liblowlevel.a mkdir .libs/libadgali.lax/liblowlevel.a (cd .libs/libadgali.lax/liblowlevel.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel/.libs/liblowlevel.a) rm -fr .libs/libadgali.lax/libcore.a mkdir .libs/libadgali.lax/libcore.a (cd .libs/libadgali.lax/libcore.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/core/.libs/libcore.a) rm -fr .libs/libadgali.lax/libmodule.a mkdir .libs/libadgali.lax/libmodule.a (cd .libs/libadgali.lax/libmodule.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/module/.libs/libmodule.a) rm -fr .libs/libadgali.lax/libmanage.a mkdir .libs/libadgali.lax/libmanage.a (cd .libs/libadgali.lax/libmanage.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/manage/.libs/libmanage.a) rm -fr .libs/libadgali.lax/libtext.a mkdir .libs/libadgali.lax/libtext.a (cd .libs/libadgali.lax/libtext.a && ar x /wrkdirs/games/adgali/adgali-0.2.4/src/text/.libs/libtext.a) ar cru .libs/libadgali.a agl_main.o agl_moduletab.o agl_error.o .libs/libadgali.lax/libinput.a/agl_ttfio.o .libs/libadgali.lax/libinput.a/agl_fmem.o .libs/libadgali.lax/libinput.a/agl_bmpio.o .libs/libadgali.lax/libinput.a/agl_fhandle.o .libs/libadgali.lax/libinput.a/agl_pngio.o .libs/libadgali.lax/libinput.a/agl_file.o .libs/libadgali.lax/libinput.a/agl_rgbtxt.o .libs/libadgali.lax/libinput.a/agl_fstream.o .libs/libadgali.lax/libinput.a/agl_trueio.o .libs/libadgali.lax/libinput.a/agl_jpgio.o .libs/libadgali.lax/libinput.a/agl_imageio.o .libs/libadgali.lax/libinput.a/agl_bfontio.o .libs/libadgali.lax/libinput.a/agl_tifio.o .libs/libadgali.lax/libinput.a/agl_tgaio.o .libs/libadgali.lax/libinput.a/agl_ppmio.o .libs/libadgali.lax/libinput.a/agl_fontio.o .libs/libadgali.lax/libinput.a/agl_fnull.o .libs/libadgali.lax/libinput.a/agl_xpmio.o .libs/libadgali.lax/libinput.a/agl_xcfio.o .libs/libadgali.lax/libinput.a/agl_pcxio.o .libs/libadgali.lax/libinput.a/agl_gifio.o .libs/libadgali.lax/libplane.a/agl_font.o .libs/libadgali.lax/libplane.a/agl_pix.o .libs/libadgali.lax/libplane.a/agl_imglist.o .libs/libadgali.lax/libplane.a/agl_basedraw.o .libs/libadgali.lax/libplane.a/agl_image.o .libs/libadgali.lax/libplane.a/agl_channel.o .libs/libadgali.lax/liblowlevel.a/agl_sdl.o .libs/libadgali.lax/libcore.a/agl_event.o .libs/libadgali.lax/libcore.a/agl_subr.o .libs/libadgali.lax/libcore.a/agl_hash.o .libs/libadgali.lax/libcore.a/agl_module.o .libs/libadgali.lax/libcore.a/agl_linklib.o .libs/libadgali.lax/libcore.a/agl_cache.o .libs/libadgali.lax/libcore.a/agl_video.o .libs/libadgali.lax/libcore.a/agl_elem.o .libs/libadgali.lax/libcore.a/agl_zone.o .libs/libadgali.lax/libcore.a/agl_rect.o .libs/libadgali.lax/libmodule.a/agl_modelem.o .libs/libadgali.lax/libmodule.a/agl_modimage.o .libs/libadgali.lax/libmodule.a/agl_modchannel.o .libs/libadgali.lax/libmanage.a/agl_gramcode.o .libs/libadgali.lax/libmanage.a/agl_gram.o .libs/libadgali.lax/libtext.a/agl_text.o ranlib .libs/libadgali.a rm -fr .libs/libadgali.lax creating libadgali.la (cd .libs && rm -f libadgali.la && ln -s ../libadgali.la libadgali.la) gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src' gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src' Making all in tools gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/tools' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../src/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_bfont.o -MD -MP -MF ".deps/agl_bfont.Tpo" -c -o agl_bfont.o agl_bfont.c; \ then mv -f ".deps/agl_bfont.Tpo" ".deps/agl_bfont.Po"; else rm -f ".deps/agl_bfont.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../src/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT agl_imglist.o -MD -MP -MF ".deps/agl_imglist.Tpo" -c -o agl_imglist.o agl_imglist.c; \ then mv -f ".deps/agl_imglist.Tpo" ".deps/agl_imglist.Po"; else rm -f ".deps/agl_imglist.Tpo"; exit 1; fi /bin/sh ../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o agl_imglist agl_imglist.o ../src/libadgali.la -ljpeg -lz -ltiff -ljpeg -lpng -lz -L/usr/local/lib -lfreetype -ldl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm /bin/sh ../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o agl_bfont agl_bfont.o ../src/libadgali.la -ljpeg -lz -ltiff -ljpeg -lpng -lz -L/usr/local/lib -lfreetype -ldl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm mkdir .libs cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o .libs/agl_imglist agl_imglist.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lexecinfo ../src/.libs/libadgali.so -ltiff -ljpeg -lpng -lz -lfreetype -ldl -lSDL -pthread -lm -Wl,--rpath -Wl,/usr/local/lib creating agl_imglist cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o .libs/agl_bfont agl_bfont.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lexecinfo ../src/.libs/libadgali.so -ltiff -ljpeg -lpng -lz -lfreetype -ldl -lSDL -pthread -lm -Wl,--rpath -Wl,/usr/local/lib creating agl_bfont gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/tools' Making all in test gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/test' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../src/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT basedraw.o -MD -MP -MF ".deps/basedraw.Tpo" -c -o basedraw.o basedraw.c; \ then mv -f ".deps/basedraw.Tpo" ".deps/basedraw.Po"; else rm -f ".deps/basedraw.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../src/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT fnt.o -MD -MP -MF ".deps/fnt.Tpo" -c -o fnt.o fnt.c; \ then mv -f ".deps/fnt.Tpo" ".deps/fnt.Po"; else rm -f ".deps/fnt.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../src/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT img.o -MD -MP -MF ".deps/img.Tpo" -c -o img.o img.c; \ then mv -f ".deps/img.Tpo" ".deps/img.Po"; else rm -f ".deps/img.Tpo"; exit 1; fi basedraw.c: In function 'main': basedraw.c:366:6: warning: implicit declaration of function 'agl_line' [-Wimplicit-function-declaration] if (agl_line(pimg->pix, &rect, &ipos, &dpos, (void *)0, 0XFFFFFFFF, NULL, 5) < 0) ^ basedraw.c:262:11: warning: variable 'test' set but not used [-Wunused-but-set-variable] int par, test; ^ fnt.c: In function 'main': fnt.c:255:11: warning: variable 'test' set but not used [-Wunused-but-set-variable] int par, test; ^ img.c: In function 'main': img.c:254:11: warning: variable 'test' set but not used [-Wunused-but-set-variable] int par, test; ^ fnt.c:335:5: warning: 'fontstr' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((pios = agl_ios_open(handle, fontstr)) == NULL) ^ /bin/sh ../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o fnt fnt.o ../src/libadgali.la -ljpeg -lz -ltiff -ljpeg -lpng -lz -L/usr/local/lib -lfreetype -ldl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm /bin/sh ../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o basedraw basedraw.o ../src/libadgali.la -ljpeg -lz -ltiff -ljpeg -lpng -lz -L/usr/local/lib -lfreetype -ldl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm mkdir .libs /bin/sh ../libtool --mode=link --tag=CC cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -lexecinfo -o img img.o ../src/libadgali.la -ljpeg -lz -ltiff -ljpeg -lpng -lz -L/usr/local/lib -lfreetype -ldl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o .libs/basedraw basedraw.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lexecinfo ../src/.libs/libadgali.so -ltiff -ljpeg -lpng -lz -lfreetype -ldl -lSDL -pthread -lm -Wl,--rpath -Wl,/usr/local/lib creating basedraw cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o .libs/fnt fnt.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lexecinfo ../src/.libs/libadgali.so -ltiff -ljpeg -lpng -lz -lfreetype -ldl -lSDL -pthread -lm -Wl,--rpath -Wl,/usr/local/lib creating fnt cc -pipe -O2 -fno-strict-aliasing -Wall -I/usr/local/include/freetype2 -DFREETYPE_DIR -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o .libs/img img.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lexecinfo ../src/.libs/libadgali.so -ltiff -ljpeg -lpng -lz -lfreetype -ldl -lSDL -pthread -lm -Wl,--rpath -Wl,/usr/local/lib creating img gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/test' gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[2]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[1]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' =========================================================================== =================================================== ===> adgali-0.2.4_15 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===> Staging for adgali-0.2.4_15 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake INSTALL_PROGRAM="/bin/sh /wrkdirs/games/adgali/adgali-0.2.4/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /wrkdirs/games/adgali/adgali-0.2.4/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ `test -z 'strip' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install gmake[2]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' Making install in src gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src' Making install in input gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' Making install in trueio gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio' gmake[6]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio' gmake[6]: Nothing to be done for 'install-exec-am'. gmake[6]: Nothing to be done for 'install-data-am'. gmake[6]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio' gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/trueio' Making install in imageio gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio' gmake[6]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio' gmake[6]: Nothing to be done for 'install-exec-am'. gmake[6]: Nothing to be done for 'install-data-am'. gmake[6]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio' gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/imageio' Making install in fontio gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio' gmake[6]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio' gmake[6]: Nothing to be done for 'install-exec-am'. gmake[6]: Nothing to be done for 'install-data-am'. gmake[6]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio' gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input/fontio' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' gmake[6]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' gmake[6]: Nothing to be done for 'install-exec-am'. gmake[6]: Nothing to be done for 'install-data-am'. gmake[6]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/input' Making install in plane gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/plane' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/plane' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/plane' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/plane' Making install in lowlevel gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/lowlevel' Making install in core gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/core' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/core' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/core' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/core' Making install in manage gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/manage' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/manage' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/manage' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/manage' Making install in text gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/text' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/text' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/text' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/text' Making install in module gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/module' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src/module' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/module' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src/module' gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src' gmake[5]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/src' test -z "/usr/local/lib" || /wrkdirs/games/adgali/adgali-0.2.4/install-sh -d "/wrkdirs/games/adgali/stage/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c -s 'libadgali.la' '/wrkdirs/games/adgali/stage/usr/local/lib/libadgali.la' /usr/bin/install -c .libs/libadgali-0.2.so.0.0.4 /wrkdirs/games/adgali/stage/usr/local/lib/libadgali-0.2.so.0.0.4 strip --strip-unneeded /wrkdirs/games/adgali/stage/usr/local/lib/libadgali-0.2.so.0.0.4 (cd /wrkdirs/games/adgali/stage/usr/local/lib && rm -f libadgali-0.2.so.0 && ln -s libadgali-0.2.so.0.0.4 libadgali-0.2.so.0) (cd /wrkdirs/games/adgali/stage/usr/local/lib && rm -f libadgali.so && ln -s libadgali-0.2.so.0.0.4 libadgali.so) /usr/bin/install -c .libs/libadgali.lai /wrkdirs/games/adgali/stage/usr/local/lib/libadgali.la /usr/bin/install -c .libs/libadgali.a /wrkdirs/games/adgali/stage/usr/local/lib/libadgali.a strip --strip-debug /wrkdirs/games/adgali/stage/usr/local/lib/libadgali.a ranlib /wrkdirs/games/adgali/stage/usr/local/lib/libadgali.a chmod 644 /wrkdirs/games/adgali/stage/usr/local/lib/libadgali.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' test -z "/usr/local/include" || /wrkdirs/games/adgali/adgali-0.2.4/install-sh -d "/wrkdirs/games/adgali/stage/usr/local/include" install -m 0644 'include/agl.h' '/wrkdirs/games/adgali/stage/usr/local/include/agl.h' install -m 0644 'include/agl_endian.h' '/wrkdirs/games/adgali/stage/usr/local/include/agl_endian.h' install -m 0644 'include/agl_object.h' '/wrkdirs/games/adgali/stage/usr/local/include/agl_object.h' install -m 0644 'include/agl_ios.h' '/wrkdirs/games/adgali/stage/usr/local/include/agl_ios.h' install -m 0644 'include/agl_gui.h' '/wrkdirs/games/adgali/stage/usr/local/include/agl_gui.h' install -m 0644 'include/agl_video.h' '/wrkdirs/games/adgali/stage/usr/local/include/agl_video.h' gmake[5]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src' gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/src' Making install in tools gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/tools' gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/tools' test -z "/usr/local/bin" || /wrkdirs/games/adgali/adgali-0.2.4/install-sh -d "/wrkdirs/games/adgali/stage/usr/local/bin" STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /wrkdirs/games/adgali/adgali-0.2.4/install-sh -c -s 'agl_bfont' '/wrkdirs/games/adgali/stage/usr/local/bin/agl_bfont' libtool: install: warning: `../src/libadgali.la' has not been installed in `/usr/local/lib' /bin/sh /wrkdirs/games/adgali/adgali-0.2.4/install-sh -c -s .libs/agl_bfont /wrkdirs/games/adgali/stage/usr/local/bin/agl_bfont STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /wrkdirs/games/adgali/adgali-0.2.4/install-sh -c -s 'agl_imglist' '/wrkdirs/games/adgali/stage/usr/local/bin/agl_imglist' libtool: install: warning: `../src/libadgali.la' has not been installed in `/usr/local/lib' /bin/sh /wrkdirs/games/adgali/adgali-0.2.4/install-sh -c -s .libs/agl_imglist /wrkdirs/games/adgali/stage/usr/local/bin/agl_imglist gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/tools' gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/tools' Making install in test gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/test' gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4/test' gmake[4]: Nothing to be done for 'install-exec-am'. gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/test' gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4/test' gmake[3]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[4]: Entering directory '/wrkdirs/games/adgali/adgali-0.2.4' test -z "/usr/local/bin" || /wrkdirs/games/adgali/adgali-0.2.4/install-sh -d "/wrkdirs/games/adgali/stage/usr/local/bin" install -m 555 'adgali-config' '/wrkdirs/games/adgali/stage/usr/local/bin/adgali-config' test -z "/usr/local/share/aclocal" || /wrkdirs/games/adgali/adgali-0.2.4/install-sh -d "/wrkdirs/games/adgali/stage/usr/local/share/aclocal" install -m 0644 'adgali.m4' '/wrkdirs/games/adgali/stage/usr/local/share/aclocal/adgali.m4' gmake[4]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[3]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[2]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' gmake[1]: Leaving directory '/wrkdirs/games/adgali/adgali-0.2.4' (cd /wrkdirs/games/adgali/adgali-0.2.4/doc/html && /usr/bin/find . | /usr/bin/cpio -pdm -L -R root:wheel /wrkdirs/games/adgali/stage/usr/local/share/doc/adgali) 522 blocks ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for adgali-0.2.4_15 file sizes/checksums [61]: . done packing files [61]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for adgali-0.2.4_15 build of games/adgali ended at Sat Oct 8 21:49:51 PDT 2016 build time: 00:00:51