=> Building games/fargoal Started : Thursday, 7 MAR 2019 at 07:50:51 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/games/fargoal XDG_CONFIG_HOME=/construction/games/fargoal HOME=/construction/games/fargoal TMPDIR="/tmp" PATH=/construction/games/fargoal/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/fargoal XDG_CONFIG_HOME=/construction/games/fargoal HOME=/construction/games/fargoal TMPDIR="/tmp" PATH=/construction/games/fargoal/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/fargoal/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/fargoal" EXAMPLESDIR="share/examples/fargoal" DATADIR="share/fargoal" WWWDIR="www/fargoal" ETCDIR="etc/fargoal" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fargoal DOCSDIR=/usr/local/share/doc/fargoal EXAMPLESDIR=/usr/local/share/examples/fargoal WWWDIR=/usr/local/www/fargoal ETCDIR=/usr/local/etc/fargoal -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The fargoal 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 -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> fargoal-20040629_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> fargoal-20040629_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fargoal-20040629_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The fargoal 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 ===> Fetching all distfiles required by fargoal-20040629_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The fargoal 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 ===> Fetching all distfiles required by fargoal-20040629_2 for building => SHA256 Checksum OK for fargoal20040629.zip. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The fargoal 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 ===> Fetching all distfiles required by fargoal-20040629_2 for building ===> Extracting for fargoal-20040629_2 => SHA256 Checksum OK for fargoal20040629.zip. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for fargoal-20040629_2 ===> Applying ports patches for fargoal-20040629_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> fargoal-20040629_2 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> fargoal-20040629_2 depends on executable: gmake - found ===> Returning to build of fargoal-20040629_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> fargoal-20040629_2 depends on shared library: liballeg.so - not found ===> Installing existing package /packages/All/allegro-4.4.2_8.txz Installing allegro-4.4.2_8... `-- Installing libICE-1.0.9_3,1... `-- Extracting libICE-1.0.9_3,1: .......... done `-- Installing libSM-1.2.3,1... `-- Extracting libSM-1.2.3,1: .......... done `-- Installing libX11-1.6.7,1... | `-- Installing libXau-1.0.8_5... | `-- Extracting libXau-1.0.8_5: .......... done | `-- Installing libXdmcp-1.1.2_2... | | `-- Installing xorgproto-2018.4... | | `-- Extracting xorgproto-2018.4: .......... done | `-- Extracting libXdmcp-1.1.2_2: ......... done | `-- Installing libxcb-1.13.1... | | `-- Installing libpthread-stubs-0.4... | | `-- Extracting libpthread-stubs-0.4: .... done | | `-- Installing libxml2-2.9.8... | | `-- Extracting libxml2-2.9.8: .......... done | `-- Extracting libxcb-1.13.1: .......... done `-- Extracting libX11-1.6.7,1: .......... done `-- Installing libXcursor-1.1.15_2... | `-- Installing libXfixes-5.0.3_2... | `-- Extracting libXfixes-5.0.3_2: .......... done | `-- Installing libXrender-0.9.10_2... | `-- Extracting libXrender-0.9.10_2: .......... done `-- Extracting libXcursor-1.1.15_2: .......... done `-- Installing libXext-1.3.3_3,1... `-- Extracting libXext-1.3.3_3,1: .......... done `-- Installing libXpm-3.5.12_2... | `-- Installing libXt-1.1.5_2,1... | `-- Extracting libXt-1.1.5_2,1: .......... done `-- Extracting libXpm-3.5.12_2: .......... done `-- Installing libXxf86dga-1.1.4_5... `-- Extracting libXxf86dga-1.1.4_5: .......... done `-- Installing libXxf86vm-1.1.4_3... `-- Extracting libXxf86vm-1.1.4_3: .......... done `-- Installing libogg-1.3.3,4... `-- Extracting libogg-1.3.3,4: .......... done `-- Installing libvorbis-1.3.6,3... `-- Extracting libvorbis-1.3.6,3: .......... done Extracting allegro-4.4.2_8: .......... done ===> fargoal-20040629_2 depends on shared library: liballeg.so - found (/usr/local/lib/liballeg.so) ===> Returning to build of fargoal-20040629_2 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for fargoal-20040629_2 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for fargoal-20040629_2 gmake[1]: Entering directory '/construction/games/fargoal/fargoal/src' cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o char.o char.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o config.o config.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o credits.o credits.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o game.o game.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o gfx.o gfx.c game.c: In function '_draw_hits': game.c:507:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ game.c:513:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, hitx[i], hity[i], hitv[i] < 0 ? makecol (255, 0, 0) : makecol (0, 200, 0), "%i", abs (hitv[i])); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'game_render': game.c:695:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ game.c:704:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, 30, 54, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:713:3: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, 54, layout_color (LC_GOLD), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:722:4: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (page, font, SCREEN_W - 30, 40, ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:179:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:179:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:726:4: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (page, font, SCREEN_W - 30, 54, ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:179:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:179:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:739:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, stats_x, stats_y, layout_color (LC_STATS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:741:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, stats_x, stats_y + 22, layout_color (LC_STATS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:743:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, stats_x, stats_y + 44, layout_color (LC_STATS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:747:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y, layout_color (LC_INFO), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:749:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y + 11, layout_color (LC_INFO), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:751:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y + 44, layout_color (LC_DUNGEON), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:753:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, info_x, info_y + 55, layout_color (LC_DUNGEON), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:768:6: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, spellbook_x, spellbook_y + i * 11, c, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:773:6: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, spellbook_x, spellbook_y + i * 11, c, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:777:6: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, spellbook_x, spellbook_y + i * 11, c, ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:783:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, inventory_x, inventory_y, list[1].beaconx ? layout_color (LC_BEACON) : list[1].beacons ? layout_color (LC_BEACON) : layout_color (LC_EMPTY), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:785:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, inventory_x, inventory_y + 22, list[1].sacks ? layout_color (LC_SACKS) : layout_color (LC_EMPTY), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ game.c:787:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, inventory_x, inventory_y + 44, list[1].potions ? layout_color (LC_POTIONS) : layout_color (LC_NOPOTIONS), ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from game.c:275: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ char.c: In function 'char_move': char.c:217:11: warning: variable 'oy' set but not used [-Wunused-but-set-variable] int ox, oy; ^~ char.c:217:7: warning: variable 'ox' set but not used [-Wunused-but-set-variable] int ox, oy; ^~ credits.c: In function 'credits_render': credits.c:86:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ credits.c:88:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ credits.c:99:3: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, x, 60 + y, layout_color (LC_TITLE), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ credits.c:104:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from credits.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o main.o main.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o map.o map.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o menu.o menu.c main.c: In function 'fix_alt_tab': main.c:73:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (set_display_switch_mode (SWITCH_BACKGROUND)) ^~ main.c:75:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' set_display_switch_callback (SWITCH_IN, display_switch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'run_render': main.c:216:3: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (0); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ main.c:217:3: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (screen, font, SCREEN_W, 0, makecol (255, 255, 255), "%d fps", fps); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:179:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:179:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:368:2: warning: 'set_window_close_button' is deprecated [-Wdeprecated-declarations] set_window_close_button (1); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:194:27: note: declared here AL_INLINE_DEPRECATED(int, set_window_close_button, (int enable), ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:194:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(int, set_window_close_button, (int enable), ^~~~~~~~~~~~~~~~~~~~ main.c:369:2: warning: 'set_window_close_hook' is deprecated [-Wdeprecated-declarations] set_window_close_hook (close_button); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:200:28: note: declared here AL_INLINE_DEPRECATED(void, set_window_close_hook, (void (*proc)(void)), ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:200:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(void, set_window_close_hook, (void (*proc)(void)), ^~~~~~~~~~~~~~~~~~~~ main.c:423:4: warning: 'file_size' is deprecated [-Wdeprecated-declarations] int s = file_size ("agreement.txt"); ^~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from main.c:6: /usr/local/include/allegro/alcompat.h:150:26: note: declared here AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:150:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~~~~~~~~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o message.o message.c menu.c: In function 'menu_render': menu.c:767:3: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ menu.c:809:5: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, x, 120 + y, color, "%s", str); ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:842:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 276, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:848:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 276, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:862:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 300, layout_color (LC_HELP), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:865:5: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 300, layout_color (LC_HELP), ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:870:4: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, SCREEN_W / 2, 350, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ menu.c:887:3: warning: 'textprintf_right' is deprecated [-Wdeprecated-declarations] textprintf_right (page, font, SCREEN_W - 5, SCREEN_H - 5 - 8, ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from menu.c:1: /usr/local/include/allegro/alcompat.h:179:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:179:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_right, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ message.c: In function 'file_copy': message.c:28:2: warning: 'file_size' is deprecated [-Wdeprecated-declarations] s = file_size (src); ^ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:150:26: note: declared here AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:150:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(long, file_size, (AL_CONST char *filename)); ^~~~~~~~~~~~~~~~~~ message.c: In function 'messages_render': message.c:214:3: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ message.c:216:4: warning: 'textout_right' is deprecated [-Wdeprecated-declarations] textout_right (page, font, messages[p].string, 4 + l * m / f, 4, layout_color (LC_MESSAGE)); ^~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:167:28: note: declared here AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:167:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~~~~~~~~~~~~~~ message.c:217:3: warning: 'textout' is deprecated [-Wdeprecated-declarations] textout (page, font, messages[message_current].string, 4 + l * m / f, 4, layout_color (LC_MESSAGE)); ^~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from message.c:1: /usr/local/include/allegro/alcompat.h:157:28: note: declared here AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~ /usr/local/include/allegro/internal/alconfig.h:91:68: note: in definition of macro 'AL_INLINE' extern __inline__ __attribute__((__gnu_inline__)) type name args code ^~~~ /usr/local/include/allegro/alcompat.h:157:1: note: in expansion of macro 'AL_INLINE_DEPRECATED' AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), ^~~~~~~~~~~~~~~~~~~~ map.c: In function 'map_draw': map.c:1069:3: warning: 'set_clip' is deprecated [-Wdeprecated-declarations] set_clip (page, DR_l[i] * tw, TOP + DR_t[i] * th, (DR_r[i] + 1) * tw - 1, TOP + (DR_b[i] + 1) * th - 1); ^~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from map.h:1, from map.c:19: /usr/local/include/allegro/alcompat.h:207:26: note: declared here AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:207:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~~~~~~~~~~~ map.c:1072:2: warning: 'set_clip' is deprecated [-Wdeprecated-declarations] set_clip (page, 0, 0, page->w, page->h); ^~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from map.h:1, from map.c:19: /usr/local/include/allegro/alcompat.h:207:26: note: declared here AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:207:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(void, set_clip, (BITMAP *bitmap, int x1, int y_1, int x2, int y2)); ^~~~~~~~~~~~~~~~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o monster.o monster.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o player.o player.c cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o save.o save.c monster.c: In function 'monster_change_position': monster.c:59:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (list[id].type >= CHAR_DIREWOLF) ^ monster.c:62:3: note: here case SPOT_UP: ^~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o scroller.o scroller.c save.c: In function 'game_load': save.c:72:17: warning: pointer targets in passing argument 2 of 'ass_get' differ in signedness [-Wpointer-sign] ass_get (#var, &var); ^~~~~~ static void ~~~~~~~~~~~ save_char (PACKFILE *file, int id) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ int type = list[id].type; ~~~~~~~~~~~~~~~~~~~~~~~~~ PACKFILE *chunk; ~~~~~~~~~~~~~~~~ chunk = pack_fopen_chunk (file, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (type); ~~~~~~~~~~~~ save (list[id].subtype); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].x); ~~~~~~~~~~~~~~~~~~ save (list[id].y); ~~~~~~~~~~~~~~~~~~ save (list[id].dx); ~~~~~~~~~~~~~~~~~~~ save (list[id].dy); ~~~~~~~~~~~~~~~~~~~ save (list[id].step); ~~~~~~~~~~~~~~~~~~~~~ save (list[id].hit); ~~~~~~~~~~~~~~~~~~~~ save (list[id].alive); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].fighting); ~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].trapped); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].attacked); ~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].healing_time); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].delay); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].exp); ~~~~~~~~~~~~~~~~~~~~ save (list[id].next); ~~~~~~~~~~~~~~~~~~~~~ save (list[id].lev); ~~~~~~~~~~~~~~~~~~~~ save (list[id].maxhit); ~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].dex); ~~~~~~~~~~~~~~~~~~~~ save (list[id].current_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[0]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[2]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[4]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[5]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[6]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[7]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[8]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[9]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[10]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[11]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[12]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[13]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[14]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[15]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[16]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[17]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[18]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[19]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].slain_foes[20]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].deepest_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].potions); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].sacks); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].beacons); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].gold); ~~~~~~~~~~~~~~~~~~~~~ save (list[id].weapon); ~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].map); ~~~~~~~~~~~~~~~~~~~~ save (list[id].sword); ~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[0].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[0].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[0].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[1].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[1].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[1].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[2].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[2].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[2].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[3].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[3].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[3].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[4].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[4].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[4].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[5].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[5].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].spells[5].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].beaconx); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].beacony); ~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].sacrificed_gold); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].amulets_of_healing); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (list[id].amulets_of_light); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pack_fclose_chunk (chunk); ~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ static void ~~~~~~~~~~~ load_char (PACKFILE *file, int id) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ int type; ~~~~~~~~~ memset (&list[id], 0, sizeof list[id]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ass_read (file); ~~~~~~~~~~~~~~~~ load (type); ~~~~~~~~~~~~ list[id].type = type; ~~~~~~~~~~~~~~~~~~~~~ load (list[id].subtype); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].x); ~~~~~~~~~~~~~~~~~~ load (list[id].y); ~~~~~~~~~~~~~~~~~~ load (list[id].dx); ~~~~~~~~~~~~~~~~~~~ load (list[id].dy); ~~~~~~~~~~~~~~~~~~~ load (list[id].step); ~~~~~~~~~~~~~~~~~~~~~ load (list[id].hit); ~~~~~~~~~~~~~~~~~~~~ load (list[id].alive); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].fighting); ~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].trapped); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].attacked); ~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].healing_time); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].delay); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].exp); ~~~~~~~~~~~~~~~~~~~~ load (list[id].next); ~~~~~~~~~~~~~~~~~~~~~ load (list[id].lev); ~~~~~~~~~~~~~~~~~~~~ load (list[id].maxhit); ~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].dex); ~~~~~~~~~~~~~~~~~~~~ load (list[id].current_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[0]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[2]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[4]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[5]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[6]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[7]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[8]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[9]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[10]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[11]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[12]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[13]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[14]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[15]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[16]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[17]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[18]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[19]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].slain_foes[20]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].deepest_level); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].potions); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].sacks); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].beacons); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].gold); ~~~~~~~~~~~~~~~~~~~~~ load (list[id].weapon); ~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].map); ~~~~~~~~~~~~~~~~~~~~ load (list[id].sword); ~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[0].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[0].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[0].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[1].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[1].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[1].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[2].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[2].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[2].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[3].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[3].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[3].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[4].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[4].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[4].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[5].amount); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[5].active); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].spells[5].max); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].beaconx); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].beacony); ~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].sacrificed_gold); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].amulets_of_healing); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (list[id].amulets_of_light); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* Save-file compatibility */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~ int i = 0; ~~~~~~~~~~ ass_get ("slain_foes", &i); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ list[id].slain_foes[0] += i; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } ~ ass_clear (); ~~~~~~~~~~~~~ } ~ int ~~~ game_save (int nr) ~~~~~~~~~~~~~~~~~~ { ~ char name[256]; ~~~~~~~~~~~~~~~ PACKFILE *file; ~~~~~~~~~~~~~~~ sprintf (name, "data/save%i.dat", nr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file = pack_fopen (name, "wp"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (file) ~~~~~~~~~ { ~ int i; ~~~~~~ int monster; ~~~~~~~~~~~~ PACKFILE *chunk = pack_fopen_chunk (file, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (notrunning); ~~~~~~~~~~~~~~~~~~ save (won); ~~~~~~~~~~~ save (gameover); ~~~~~~~~~~~~~~~~ save (spiral_map); ~~~~~~~~~~~~~~~~~~ save (swordrun); ~~~~~~~~~~~~~~~~ save (global_steps); ~~~~~~~~~~~~~~~~~~~~ save (char_num); ~~~~~~~~~~~~~~~~ monster = monster_count (); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ save (monster); ~~~~~~~~~~~~~~~ save (monster_strength); ~~~~~~~~~~~~~~~~~~~~~~~~ save (monster_max); ~~~~~~~~~~~~~~~~~~~ save (spawnpoints); ~~~~~~~~~~~~~~~~~~~ save (spawnx[0]); ~~~~~~~~~~~~~~~~~ save (spawny[0]); ~~~~~~~~~~~~~~~~~ save (spawnx[1]); ~~~~~~~~~~~~~~~~~ save (spawny[1]); ~~~~~~~~~~~~~~~~~ save (spawnx[2]); ~~~~~~~~~~~~~~~~~ save (spawny[2]); ~~~~~~~~~~~~~~~~~ save (spawnx[3]); ~~~~~~~~~~~~~~~~~ save (spawny[3]); ~~~~~~~~~~~~~~~~~ save (spawnx[4]); ~~~~~~~~~~~~~~~~~ save (spawny[4]); ~~~~~~~~~~~~~~~~~ save (temple_x); ~~~~~~~~~~~~~~~~ save (temple_y); ~~~~~~~~~~~~~~~~ save (swordlev); ~~~~~~~~~~~~~~~~ save (mrand_seed); ~~~~~~~~~~~~~~~~~~ pack_fclose_chunk (chunk); ~~~~~~~~~~~~~~~~~~~~~~~~~~ for (i = 0; i < char_num; i++) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save_char (file, i); ~~~~~~~~~~~~~~~~~~~~ chunk = pack_fopen_chunk (file, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map_save (chunk); ~~~~~~~~~~~~~~~~~ pack_fclose_chunk (chunk); ~~~~~~~~~~~~~~~~~~~~~~~~~~ pack_fclose (file); ~~~~~~~~~~~~~~~~~~~ sprintf (name, "data/save%i.html", nr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages_exit (name); ~~~~~~~~~~~~~~~~~~~~~ return 1; ~~~~~~~~~ } ~ return 0; ~~~~~~~~~ } ~ int ~~~ game_load (int nr) ~~~~~~~~~~~~~~~~~~ { ~ char name[256]; ~~~~~~~~~~~~~~~ PACKFILE *file; ~~~~~~~~~~~~~~~ sprintf (name, "data/save%i.dat", nr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file = pack_fopen (name, "rp"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (file) ~~~~~~~~~ { ~ int i; ~~~~~~ int monster; ~~~~~~~~~~~~ PACKFILE *chunk; ~~~~~~~~~~~~~~~~ ass_read (file); ~~~~~~~~~~~~~~~~ load (notrunning); ~~~~~~~~~~~~~~~~~~ load (won); ~~~~~~~~~~~ load (gameover); ~~~~~~~~~~~~~~~~ load (spiral_map); ~~~~~~~~~~~~~~~~~~ load (swordrun); ~~~~~~~~~~~~~~~~ load (global_steps); ~~~~~~~~~~~~~~~~~~~~ load (char_num); ~~~~~~~~~~~~~~~~ load (monster); ~~~~~~~~~~~~~~~ monster_set_count (monster); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load (monster_strength); ~~~~~~~~~~~~~~~~~~~~~~~~ load (monster_max); ~~~~~~~~~~~~~~~~~~~ load (spawnpoints); ~~~~~~~~~~~~~~~~~~~ load (spawnx[0]); ~~~~~~~~~~~~~~~~~ load (spawny[0]); ~~~~~~~~~~~~~~~~~ load (spawnx[1]); ~~~~~~~~~~~~~~~~~ load (spawny[1]); ~~~~~~~~~~~~~~~~~ load (spawnx[2]); ~~~~~~~~~~~~~~~~~ load (spawny[2]); ~~~~~~~~~~~~~~~~~ load (spawnx[3]); ~~~~~~~~~~~~~~~~~ load (spawny[3]); ~~~~~~~~~~~~~~~~~ load (spawnx[4]); ~~~~~~~~~~~~~~~~~ load (spawny[4]); ~~~~~~~~~~~~~~~~~ load (temple_x); ~~~~~~~~~~~~~~~~ load (temple_y); ~~~~~~~~~~~~~~~~ load (swordlev); ~~~~~~~~~~~~~~~~ load (mrand_seed); ~~~~~~~~~~~~~~~~ save.c:348:3: note: in expansion of macro 'load' load (mrand_seed); ^~~~ save.c:40:1: note: expected 'int *' but argument is of type 'unsigned int *' ass_get (char const *str, int *ptr) ^~~~~~~ scroller.c: In function 'scroller_render': scroller.c:80:2: warning: 'text_mode' is deprecated [-Wdeprecated-declarations] text_mode (-1); ^~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:155:25: note: declared here AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/alcompat.h:155:1: note: in expansion of macro 'AL_FUNC_DEPRECATED' AL_FUNC_DEPRECATED(int, text_mode, (int mode)); ^~~~~~~~~~~~~~~~~~ scroller.c:83:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "The sword of Fargoal!!"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:84:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "created by Jeff McCord"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:85:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "released by Epyx in 1983"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:91:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "presented by"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:92:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "Paul Pridham"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:93:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "and"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:94:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, y += FPS / 2, c, "Elias Pschernig"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:96:2: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, SCREEN_H + 7 * FPS - pos, ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:103:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, 320, y, makecol (255, 255, 255), "%s", char_names[i]); ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:104:3: warning: 'textprintf' is deprecated [-Wdeprecated-declarations] textprintf (page, font, 480, y, makecol (255, 0, 0), "%i slain", list[1].slain_foes[i]); ^~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:177:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:177:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ scroller.c:111:3: warning: 'textprintf_centre' is deprecated [-Wdeprecated-declarations] textprintf_centre (page, font, 320, SCREEN_H / 2, c, "The End"); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/allegro/base.h:41, from /usr/local/include/allegro.h:25, from main.h:4, from scroller.c:1: /usr/local/include/allegro/alcompat.h:178:31: note: declared here AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~ /usr/local/include/allegro/internal/alconfig.h:221:57: note: in definition of macro 'AL_FUNC' #define AL_FUNC(type, name, args) type name args ^~~~ /usr/local/include/allegro/internal/alconfig.h:157:68: note: in expansion of macro 'AL_PRINTFUNC' #define AL_PRINTFUNC_DEPRECATED(type, name, args, a, b) AL_PRINTFUNC(__attribute__ ((deprecated)) type, name, args, a, b) ^~~~~~~~~~~~ /usr/local/include/allegro/alcompat.h:178:1: note: in expansion of macro 'AL_PRINTFUNC_DEPRECATED' AL_PRINTFUNC_DEPRECATED(void, textprintf_centre, (struct BITMAP *bmp, AL_CONST FONT *f, int x, int y, int color, AL_CONST char *format, ...), 6, 7); ^~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -O3 `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX -c -o spell.o spell.c save.c:166:16: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] list[id].type = type; ~~~~~~~~~~~~~~^~~~~~ save.c:160:6: note: 'type' was declared here int type; ^~~~ save.c:331:3: warning: 'monster' may be used uninitialized in this function [-Wmaybe-uninitialized] monster_set_count (monster); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o ../sword -s char.o config.o credits.o game.o gfx.o main.o map.o menu.o message.o monster.o player.o save.o scroller.o spell.o `allegro-config --libs` -lm gmake[1]: Leaving directory '/construction/games/fargoal/fargoal/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for fargoal-20040629_2 ===> Generating temporary packing list install -m 555 /construction/games/fargoal/fargoal-sh /construction/games/fargoal/stage/usr/local/bin/fargoal install -s -m 555 /construction/games/fargoal/fargoal/src/../sword /construction/games/fargoal/stage/usr/local/libexec/fargoal cd /construction/games/fargoal/fargoal/src/.. && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "agreement.txt data gfx sfx" /construction/games/fargoal/stage/usr/local/share/fargoal ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for fargoal-20040629_2 file sizes/checksums [50]: . done packing files [50]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 07:51:03 UTC Duration: 00:00:11