* Package: games-rpg/kqlives-0.99-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking kq-0.99.tar.gz to /var/tmp/portage/games-rpg/kqlives-0.99-r1/work >>> Source unpacked in /var/tmp/portage/games-rpg/kqlives-0.99-r1/work >>> Preparing source in /var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99 ... * econf: updating kq-0.99/config.sub with /usr/share/gnuconfig/config.sub * econf: updating kq-0.99/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/kqlives-0.99-r1 --htmldir=/usr/share/doc/kqlives-0.99-r1/html --libdir=/usr/lib64 --disable-cheats --enable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether we are using the GNU C Library 2 or newer... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for simple visibility declarations... yes checking for inline... inline checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for NL_LOCALE_NAME macro... yes checking for bison... bison checking version of bison... 3.5.1, ok checking for long long int... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc foo checking for allegro-config... yes checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking lua50/lua.h usability... no checking lua50/lua.h presence... no checking for lua50/lua.h... no checking lua5.1/lua.h usability... no checking lua5.1/lua.h presence... no checking for lua5.1/lua.h... no checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for atexit... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for pow... no checking for strchr... yes checking for strstr... yes checking for dumb_exit in -ldumb... yes checking for al_duh_set_volume in -laldmb... yes checking for library containing sqrt... -lm checking for library containing lua_gettop... -llua checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -I/usr/include/libxml2 checking for GTK_LIBS... -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2 configure: creating ./config.status config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating scripts/Makefile config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ./config.status: line 1235: shift: shift count out of range config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99' Making all in intl make[2]: Entering directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99/intl' Making all in po make[2]: Entering directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99/po' Makefile:496: warning: overriding recipe for target 'kq.pot-update' Makefile:217: warning: ignoring old recipe for target 'kq.pot-update' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99/po' Making all in scripts make[2]: Entering directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99/scripts' Makefile:445: warning: ignoring prerequisites on suffix rule definition cpp -P -undef -include ../include/itemdefs.h bridge2.lua > bridge2.plua luac -o bridge2.lob bridge2.plua cpp -P -undef -include ../include/itemdefs.h dville.lua > dville.plua luac -o dville.lob dville.plua cpp -P -undef -include ../include/itemdefs.h starting.lua > starting.plua luac -o starting.lob starting.plua cpp -P -undef -include ../include/itemdefs.h bridge.lua > bridge.plua luac -o bridge.lob bridge.plua cpp -P -undef -include ../include/itemdefs.h estate.lua > estate.plua luac -o estate.lob estate.plua cpp -P -undef -include ../include/itemdefs.h temple1.lua > temple1.plua luac -o temple1.lob temple1.plua cpp -P -undef -include ../include/itemdefs.h camp.lua > camp.plua luac -o camp.lob camp.plua cpp -P -undef -include ../include/itemdefs.h esteria.lua > esteria.plua luac -o esteria.lob esteria.plua cpp -P -undef -include ../include/itemdefs.h temple2.lua > temple2.plua luac -o temple2.lob temple2.plua cpp -P -undef -include ../include/itemdefs.h cave1.lua > cave1.plua luac -o cave1.lob cave1.plua cpp -P -undef -include ../include/itemdefs.h fort.lua > fort.plua luac -o fort.lob fort.plua cpp -P -undef -include ../include/itemdefs.h tower.lua > tower.plua luac -o tower.lob tower.plua cpp -P -undef -include ../include/itemdefs.h cave2.lua > cave2.plua luac -o cave2.lob cave2.plua cpp -P -undef -include ../include/itemdefs.h global.lua > global.plua luac -o global.lob global.plua cpp -P -undef -include ../include/itemdefs.h town1.lua > town1.plua luac -o town1.lob town1.plua cpp -P -undef -include ../include/itemdefs.h cave3a.lua > cave3a.plua luac -o cave3a.lob cave3a.plua cpp -P -undef -include ../include/itemdefs.h goblin.lua > goblin.plua luac -o goblin.lob goblin.plua cpp -P -undef -include ../include/itemdefs.h town2.lua > town2.plua luac -o town2.lob town2.plua cpp -P -undef -include ../include/itemdefs.h cave3b.lua > cave3b.plua luac -o cave3b.lob cave3b.plua cpp -P -undef -include ../include/itemdefs.h grotto2.lua > grotto2.plua luac -o grotto2.lob grotto2.plua cpp -P -undef -include ../include/itemdefs.h town3.lua > town3.plua luac -o town3.lob town3.plua cpp -P -undef -include ../include/itemdefs.h cave4.lua > cave4.plua luac -o cave4.lob cave4.plua cpp -P -undef -include ../include/itemdefs.h grotto.lua > grotto.plua luac -o grotto.lob grotto.plua cpp -P -undef -include ../include/itemdefs.h town4.lua > town4.plua luac -o town4.lob town4.plua cpp -P -undef -include ../include/itemdefs.h cave5.lua > cave5.plua luac -o cave5.lob cave5.plua cpp -P -undef -include ../include/itemdefs.h guild.lua > guild.plua luac -o guild.lob guild.plua cpp -P -undef -include ../include/itemdefs.h town5.lua > town5.plua luac -o town5.lob town5.plua cpp -P -undef -include ../include/itemdefs.h cave6a.lua > cave6a.plua luac -o cave6a.lob cave6a.plua cpp -P -undef -include ../include/itemdefs.h main.lua > main.plua luac -o main.lob main.plua cpp -P -undef -include ../include/itemdefs.h town6.lua > town6.plua luac -o town6.lob town6.plua cpp -P -undef -include ../include/itemdefs.h cave6b.lua > cave6b.plua luac -o cave6b.lob cave6b.plua cpp -P -undef -include ../include/itemdefs.h manor.lua > manor.plua luac -o manor.lob manor.plua cpp -P -undef -include ../include/itemdefs.h town7.lua > town7.plua luac -o town7.lob town7.plua cpp -P -undef -include ../include/itemdefs.h town8.lua > town8.plua luac -o town8.lob town8.plua cpp -P -undef -include ../include/itemdefs.h coliseum.lua > coliseum.plua luac -o coliseum.lob coliseum.plua cpp -P -undef -include ../include/itemdefs.h pass.lua > pass.plua luac -o pass.lob pass.plua cpp -P -undef -include ../include/itemdefs.h tunnel.lua > tunnel.plua luac -o tunnel.lob tunnel.plua cpp -P -undef -include ../include/itemdefs.h cult.lua > cult.plua luac -o cult.lob cult.plua cpp -P -undef -include ../include/itemdefs.h shrine.lua > shrine.plua luac -o shrine.lob shrine.plua cpp -P -undef -include ../include/itemdefs.h sunarin.lua > sunarin.plua luac -o sunarin.lob sunarin.plua cpp -P -undef -include ../include/itemdefs.h init.lua > init.plua luac -o init.lob init.plua rm tower.plua guild.plua starting.plua grotto2.plua estate.plua temple1.plua bridge2.plua town5.plua cave3b.plua cult.plua temple2.plua town1.plua fort.plua global.plua cave6a.plua cave2.plua init.plua town3.plua camp.plua cave5.plua coliseum.plua esteria.plua town8.plua town2.plua goblin.plua sunarin.plua main.plua cave3a.plua dville.plua grotto.plua town6.plua town4.plua cave6b.plua tunnel.plua cave4.plua manor.plua pass.plua town7.plua bridge.plua shrine.plua cave1.plua make[2]: Leaving directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99/scripts' make[2]: Entering directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o enemyc.o `test -f 'src/enemyc.c' || echo './'`src/enemyc.c src/enemyc.c:903:6: warning: no previous prototype for ‘unload_enemies’ [-Wmissing-prototypes] 903 | void unload_enemies (void) | ^~~~~~~~~~~~~~ src/enemyc.c: In function ‘load_enemies’: src/enemyc.c:580:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 580 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:582:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 582 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:585:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 585 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:588:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 588 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:591:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 591 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:594:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 594 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:597:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 597 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:600:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 600 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:603:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 603 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:606:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 606 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:609:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 609 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:612:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 612 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:615:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 615 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:618:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 618 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:621:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 621 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:624:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 624 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:629:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 629 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:634:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 634 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:638:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 638 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:642:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 642 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:645:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 645 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:648:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 648 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:651:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 651 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:654:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 654 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:657:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 657 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:662:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 662 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:672:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 672 | fscanf (edat, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:673:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 673 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:675:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 675 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:679:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 679 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/enemyc.c:683:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 683 | fscanf (edat, "%d", &tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/allegro/base.h:30, from /usr/include/allegro.h:25, from ./include/kq.h:31, from src/enemyc.c:29: In function ‘strncpy’, inlined from ‘load_enemies’ at src/enemyc.c:578:7, inlined from ‘enemy_init’ at src/enemyc.c:332:7: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 25 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o intrface.o `test -f 'src/intrface.c' || echo './'`src/intrface.c In file included from /usr/include/string.h:495, from /usr/include/allegro/base.h:30, from /usr/include/allegro.h:25, from ./include/kq.h:31, from src/intrface.c:35: In function ‘strncpy’, inlined from ‘KQ_char_setter’ at src/intrface.c:1435:10: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 9 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o sgame.o `test -f 'src/sgame.c' || echo './'`src/sgame.c src/sgame.c: In function ‘load_game_91’: src/sgame.c:276:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 276 | for (a = 0; a < sizeof(treasure); a++) { | ^ src/sgame.c: In function ‘load_game_92’: src/sgame.c:581:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 581 | if (a > sizeof(curmap)) { | ^ src/sgame.c:593:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 593 | if (b > sizeof(progress)) { | ^ src/sgame.c:601:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 601 | for (; a < sizeof(progress); a++) | ^ src/sgame.c:606:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 606 | if (b > sizeof(treasure)) { | ^ src/sgame.c:614:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 614 | for (; a < sizeof(treasure); a++) | ^ src/sgame.c:619:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 619 | if (b > sizeof(save_spells)) { | ^ src/sgame.c:627:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 627 | for (; a < sizeof(save_spells); a++) | ^ src/sgame.c: In function ‘save_game’: src/sgame.c:834:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 834 | for (a = 0; a < sizeof(progress); a++) { /* sizeof(progress) is 1750 */ | ^ src/sgame.c:843:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 843 | for (a = 0; a < sizeof(save_spells); a++) { /* sizeof(save_spells) is 50 */ | ^ src/sgame.c:846:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 846 | for (a = 0; a < sizeof(treasure); a++) { /* sizeof(treasure) is 1000 */ | ^ src/sgame.c: In function ‘save_game_92’: src/sgame.c:972:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 972 | for (a = 0; a < sizeof (save_spells); a++) { /* sizeof(save_spells) is 50 */ | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o bounds.o `test -f 'src/bounds.c' || echo './'`src/bounds.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o combat.o `test -f 'src/combat.c' || echo './'`src/combat.c src/combat.c: In function ‘multi_fight’: src/combat.c:1290:8: warning: variable ‘ares’ set but not used [-Wunused-but-set-variable] 1290 | int ares[NUM_FIGHTERS]; | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o entity.o `test -f 'src/entity.c' || echo './'`src/entity.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o movement.o `test -f 'src/movement.c' || echo './'`src/movement.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o shopmenu.o `test -f 'src/shopmenu.c' || echo './'`src/shopmenu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o credits.o `test -f 'src/credits.c' || echo './'`src/credits.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o eqpmenu.o `test -f 'src/eqpmenu.c' || echo './'`src/eqpmenu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o itemmenu.o `test -f 'src/itemmenu.c' || echo './'`src/itemmenu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o music.o `test -f 'src/music.c' || echo './'`src/music.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o timing.o `test -f 'src/timing.c' || echo './'`src/timing.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o disk.o `test -f 'src/disk.c' || echo './'`src/disk.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o eskill.o `test -f 'src/eskill.c' || echo './'`src/eskill.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o kq.o `test -f 'src/kq.c' || echo './'`src/kq.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o res.o `test -f 'src/res.c' || echo './'`src/res.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o fade.o `test -f 'src/fade.c' || echo './'`src/fade.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o magic.o `test -f 'src/magic.c' || echo './'`src/magic.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o scrnshot.o `test -f 'src/scrnshot.c' || echo './'`src/scrnshot.c src/scrnshot.c: In function ‘save_screenshot’: src/scrnshot.c:108:32: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 108 | sprintf (filename, format, savedir, prefix, last); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o draw.o `test -f 'src/draw.c' || echo './'`src/draw.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o heroc.o `test -f 'src/heroc.c' || echo './'`src/heroc.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o masmenu.o `test -f 'src/masmenu.c' || echo './'`src/masmenu.c src/masmenu.c: In function ‘need_spell’: src/masmenu.c:336:28: warning: unused parameter ‘ca’ [-Wunused-parameter] 336 | static int need_spell (int ca, int ta, int sn) | ~~~~^~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o selector.o `test -f 'src/selector.c' || echo './'`src/selector.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o effects.o `test -f 'src/effects.c' || echo './'`src/effects.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o hskill.o `test -f 'src/hskill.c' || echo './'`src/hskill.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o menu.o `test -f 'src/menu.c' || echo './'`src/menu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o setup.o `test -f 'src/setup.c' || echo './'`src/setup.c src/setup.c: In function ‘parse_jb_setup’: src/setup.c:704:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 704 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:707:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 707 | fgets (strbuf, 254, s); | ^~~~~~~~~~~~~~~~~~~~~~ src/setup.c:710:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 710 | fscanf (s, "%d", &dab); | ^~~~~~~~~~~~~~~~~~~~~~ src/setup.c:715:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 715 | fscanf (s, "%d", &dab); | ^~~~~~~~~~~~~~~~~~~~~~ src/setup.c:719:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 719 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:724:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 724 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:729:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 729 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:734:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 734 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:739:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 739 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:744:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 744 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:749:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 749 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:754:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 754 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:758:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 758 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:762:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 762 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:766:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 766 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:770:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 770 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:774:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 774 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:778:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 778 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:782:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 782 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/setup.c:785:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 785 | fscanf (s, "%s", strbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o console.o `test -f 'src/console.c' || echo './'`src/console.c src/console.c:53:6: warning: no previous prototype for ‘init_console’ [-Wmissing-prototypes] 53 | void init_console(void) { | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o unix.o `test -f 'src/unix.c' || echo './'`src/unix.c src/unix.c:56:14: warning: no previous prototype for ‘get_resource_file_path’ [-Wmissing-prototypes] 56 | const char * get_resource_file_path (const char * str1, const char * str2, const char * file) | ^~~~~~~~~~~~~~~~~~~~~~ src/unix.c:82:14: warning: no previous prototype for ‘get_lua_file_path’ [-Wmissing-prototypes] 82 | const char * get_lua_file_path (const char * str1, const char * file) | ^~~~~~~~~~~~~~~~~ src/unix.c: In function ‘get_resource_file_path’: src/unix.c:60:24: warning: ‘/’ directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] 60 | sprintf (ans, "%s/%s/%s", user_dir, str2, file); | ^ In file included from /usr/include/stdio.h:867, from src/unix.c:36: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 3 or more bytes (assuming 4098) into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/unix.c: In function ‘get_lua_file_path’: src/unix.c:86:18: warning: ‘/scripts/’ directive writing 9 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 86 | sprintf(ans, "%s/scripts/%s.lob", user_dir, file); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/unix.c:36: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 14 or more bytes (assuming 4109) into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/unix.c:88:19: warning: ‘/scripts/’ directive writing 9 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 88 | sprintf(ans, "%s/scripts/%s.lua", user_dir, file); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/unix.c:36: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 14 or more bytes (assuming 4109) into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o kq enemyc.o intrface.o sgame.o bounds.o combat.o entity.o movement.o shopmenu.o credits.o eqpmenu.o itemmenu.o music.o timing.o disk.o eskill.o kq.o res.o fade.o magic.o scrnshot.o draw.o heroc.o masmenu.o selector.o effects.o hskill.o menu.o setup.o console.o unix.o -laldmb -ldumb -L/usr/lib64 -lalleg -llua -lm x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o mapdata.o `test -f 'maps/mapdata.c' || echo './'`maps/mapdata.c In file included from maps/mapdata.c:12: maps/mapdraw.h:183:6: warning: redundant redeclaration of ‘error_load’ [-Wredundant-decls] 183 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:107:6: note: previous declaration of ‘error_load’ was here 107 | void error_load (const char *); | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o mapedit.o `test -f 'maps/mapedit.c' || echo './'`maps/mapedit.c In file included from maps/mapedit.c:14: maps/mapdraw.h:183:6: warning: redundant redeclaration of ‘error_load’ [-Wredundant-decls] 183 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:107:6: note: previous declaration of ‘error_load’ was here 107 | void error_load (const char *); | ^~~~~~~~~~ maps/mapedit.c: In function ‘main’: maps/mapedit.c:2151:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2151 | int main_stop = 0, oldmouse_x = 0, oldmouse_y = 0; | ^~~ maps/mapedit.c: In function ‘startup’: maps/mapedit.c:4262:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4262 | unsigned char hilite[] = { | ^~~~~~~~ maps/mapedit.c:4288:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4288 | static unsigned char diag_bars[] = { | ^~~~~~ maps/mapedit.c:4331:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4331 | unsigned char arrow_up[] = { | ^~~~~~~~ maps/mapedit.c:4452:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4452 | static unsigned char hilite_attrib[] = { | ^~~~~~ maps/mapedit.c:4486:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4486 | int i; | ^~~ maps/mapedit.c:4502:5: warning: "WANT_DIALOG" is not defined, evaluates to 0 [-Wundef] 4502 | #if WANT_DIALOG | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o mapfile.o `test -f 'maps/mapfile.c' || echo './'`maps/mapfile.c In file included from maps/mapfile.c:17: maps/mapdraw.h:138:6: warning: redundant redeclaration of ‘klog’ [-Wredundant-decls] 138 | void klog (const char *); | ^~~~ In file included from maps/mapfile.c:16: ./include/kq.h:377:6: note: previous declaration of ‘klog’ was here 377 | void klog (const char *); /* draw.c, intrface.c, magic.c, setup.c */ | ^~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:139:6: warning: redundant redeclaration of ‘kq_yield’ [-Wredundant-decls] 139 | void kq_yield (void); | ^~~~~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:492:6: note: previous declaration of ‘kq_yield’ was here 492 | void kq_yield (void); | ^~~~~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:169:6: warning: redundant redeclaration of ‘wait_enter’ [-Wredundant-decls] 169 | void wait_enter (void); | ^~~~~~~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:376:6: note: previous declaration of ‘wait_enter’ was here 376 | void wait_enter (void); /* everywhere ;) */ | ^~~~~~~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:183:6: warning: redundant redeclaration of ‘error_load’ [-Wredundant-decls] 183 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:107:6: note: previous declaration of ‘error_load’ was here 107 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:214:16: warning: redundant redeclaration of ‘double_buffer’ [-Wredundant-decls] 214 | extern BITMAP *double_buffer, *pcx_buffer, *icons[MAX_TILES], | ^~~~~~~~~~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:435:16: note: previous declaration of ‘double_buffer’ was here 435 | extern BITMAP *double_buffer, *fx_buffer; | ^~~~~~~~~~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:215:5: warning: redundant redeclaration of ‘eframes’ [-Wredundant-decls] 215 | *eframes[MAX_EPICS][12]; | ^~~~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:443:16: note: previous declaration of ‘eframes’ was here 443 | extern BITMAP *eframes[MAXE][MAXEFRAMES], *pgb[9], *sfonts[5], *bord[8]; | ^~~~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:217:5: warning: redundant redeclaration of ‘shadow’ [-Wredundant-decls] 217 | *shadow[MAX_SHADOWS], *marker_image, *marker_image_active; | ^~~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:446:16: note: previous declaration of ‘shadow’ was here 446 | extern BITMAP *shadow[MAX_SHADOWS]; /* draw.c */ | ^~~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:220:49: warning: redundant redeclaration of ‘strbuf’ [-Wredundant-decls] 220 | extern char map_fname[40], map_path[MAX_PATH], *strbuf; | ^~~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:466:14: note: previous declaration of ‘strbuf’ was here 466 | extern char *strbuf, *savedir; | ^~~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:234:23: warning: redundant redeclaration of ‘tilex’ [-Wredundant-decls] 234 | extern unsigned short tilex[MAX_TILES]; | ^~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:465:23: note: previous declaration of ‘tilex’ was here 465 | extern unsigned short tilex[MAX_TILES], adelay[MAX_ANIM]; | ^~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:235:15: warning: redundant redeclaration of ‘tanim’ [-Wredundant-decls] 235 | extern s_anim tanim[NUM_TILESETS][MAX_ANIM]; | ^~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:457:15: note: previous declaration of ‘tanim’ was here 457 | extern s_anim tanim[MAX_TILESETS][MAX_ANIM]; | ^~~~~ In file included from maps/mapfile.c:17: maps/mapdraw.h:236:15: warning: redundant redeclaration of ‘adata’ [-Wredundant-decls] 236 | extern s_anim adata[MAX_ANIM]; | ^~~~~ In file included from maps/mapfile.c:16: ./include/kq.h:458:15: note: previous declaration of ‘adata’ was here 458 | extern s_anim adata[MAX_ANIM]; | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o mapent.o `test -f 'maps/mapent.c' || echo './'`maps/mapent.c In file included from maps/mapent.c:13: maps/mapdraw.h:183:6: warning: redundant redeclaration of ‘error_load’ [-Wredundant-decls] 183 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:107:6: note: previous declaration of ‘error_load’ was here 107 | void error_load (const char *); | ^~~~~~~~~~ maps/mapent.c: In function ‘draw_entdata’: maps/mapent.c:96:28: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | char *dir_facing[4] = { "S", "N", "W", "E" }; | ^~~ maps/mapent.c:96:33: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | char *dir_facing[4] = { "S", "N", "W", "E" }; | ^~~ maps/mapent.c:96:38: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | char *dir_facing[4] = { "S", "N", "W", "E" }; | ^~~ maps/mapent.c:96:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | char *dir_facing[4] = { "S", "N", "W", "E" }; | ^~~ maps/mapent.c:98:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "stand (0)", "wander (1)", "script (2)", "chase (3)" }; | ^~~~~~~~~~~ maps/mapent.c:98:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "stand (0)", "wander (1)", "script (2)", "chase (3)" }; | ^~~~~~~~~~~~ maps/mapent.c:98:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "stand (0)", "wander (1)", "script (2)", "chase (3)" }; | ^~~~~~~~~~~~ maps/mapent.c:98:50: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "stand (0)", "wander (1)", "script (2)", "chase (3)" }; | ^~~~~~~~~~~ maps/mapent.c:99:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | char *ent_atype[2] = { "normal", "constant" }; | ^~~~~~~~ maps/mapent.c:99:37: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | char *ent_atype[2] = { "normal", "constant" }; | ^~~~~~~~~~ maps/mapent.c:100:29: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | char *ent_obsmode[2] = { "ignore obstructions", "obstructive" }; | ^~~~~~~~~~~~~~~~~~~~~ maps/mapent.c:100:52: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | char *ent_obsmode[2] = { "ignore obstructions", "obstructive" }; | ^~~~~~~~~~~~~ maps/mapent.c:101:28: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | char *ent_transl[2] = { "opaque", "translucent" }; | ^~~~~~~~ maps/mapent.c:101:38: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | char *ent_transl[2] = { "opaque", "translucent" }; | ^~~~~~~~~~~~~ maps/mapent.c:102:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | char *do_dont[2] = { "", "don't " }; | ^~ maps/mapent.c:102:29: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | char *do_dont[2] = { "", "don't " }; | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o mapshared.o `test -f 'maps/mapshared.c' || echo './'`maps/mapshared.c In file included from maps/mapshared.c:12: maps/mapdraw.h:183:6: warning: redundant redeclaration of ‘error_load’ [-Wredundant-decls] 183 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:107:6: note: previous declaration of ‘error_load’ was here 107 | void error_load (const char *); | ^~~~~~~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:376:6: warning: redundant redeclaration of ‘wait_enter’ [-Wredundant-decls] 376 | void wait_enter (void); /* everywhere ;) */ | ^~~~~~~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:169:6: note: previous declaration of ‘wait_enter’ was here 169 | void wait_enter (void); | ^~~~~~~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:377:6: warning: redundant redeclaration of ‘klog’ [-Wredundant-decls] 377 | void klog (const char *); /* draw.c, intrface.c, magic.c, setup.c */ | ^~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:138:6: note: previous declaration of ‘klog’ was here 138 | void klog (const char *); | ^~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:435:16: warning: redundant redeclaration of ‘double_buffer’ [-Wredundant-decls] 435 | extern BITMAP *double_buffer, *fx_buffer; | ^~~~~~~~~~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:214:16: note: previous declaration of ‘double_buffer’ was here 214 | extern BITMAP *double_buffer, *pcx_buffer, *icons[MAX_TILES], | ^~~~~~~~~~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:443:16: warning: redundant redeclaration of ‘eframes’ [-Wredundant-decls] 443 | extern BITMAP *eframes[MAXE][MAXEFRAMES], *pgb[9], *sfonts[5], *bord[8]; | ^~~~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:215:5: note: previous declaration of ‘eframes’ was here 215 | *eframes[MAX_EPICS][12]; | ^~~~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:446:16: warning: redundant redeclaration of ‘shadow’ [-Wredundant-decls] 446 | extern BITMAP *shadow[MAX_SHADOWS]; /* draw.c */ | ^~~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:217:5: note: previous declaration of ‘shadow’ was here 217 | *shadow[MAX_SHADOWS], *marker_image, *marker_image_active; | ^~~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:457:15: warning: redundant redeclaration of ‘tanim’ [-Wredundant-decls] 457 | extern s_anim tanim[MAX_TILESETS][MAX_ANIM]; | ^~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:235:15: note: previous declaration of ‘tanim’ was here 235 | extern s_anim tanim[NUM_TILESETS][MAX_ANIM]; | ^~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:458:15: warning: redundant redeclaration of ‘adata’ [-Wredundant-decls] 458 | extern s_anim adata[MAX_ANIM]; | ^~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:236:15: note: previous declaration of ‘adata’ was here 236 | extern s_anim adata[MAX_ANIM]; | ^~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:465:23: warning: redundant redeclaration of ‘tilex’ [-Wredundant-decls] 465 | extern unsigned short tilex[MAX_TILES], adelay[MAX_ANIM]; | ^~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:234:23: note: previous declaration of ‘tilex’ was here 234 | extern unsigned short tilex[MAX_TILES]; | ^~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:466:14: warning: redundant redeclaration of ‘strbuf’ [-Wredundant-decls] 466 | extern char *strbuf, *savedir; | ^~~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:220:49: note: previous declaration of ‘strbuf’ was here 220 | extern char map_fname[40], map_path[MAX_PATH], *strbuf; | ^~~~~~ In file included from maps/../include/disk.h:25, from maps/mapshared.c:13: maps/../include/kq.h:492:6: warning: redundant redeclaration of ‘kq_yield’ [-Wredundant-decls] 492 | void kq_yield (void); | ^~~~~~~~ In file included from maps/mapshared.c:12: maps/mapdraw.h:139:6: note: previous declaration of ‘kq_yield’ was here 139 | void kq_yield (void); | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wfloat-equal -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wunused-parameter -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -Winline -Wformat=2 -Winit-self -Wswitch-enum -Wunused-parameter -Wundef -Wno-error -Wmissing-declarations -Werror-implicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wdeclaration-after-statement -I./include -DKQ_BIN=\"/usr/bin/kq\" -DKQ_DATA=\"/usr/share/kq\" -DKQ_LIB=\"/usr/lib64/kq\" -DKQ_LOCALE=\"/usr/share/locale\" -Iintl -I./intl -O2 -pipe -march=native -fno-common -c -o mapstructs.o `test -f 'maps/mapstructs.c' || echo './'`maps/mapstructs.c In file included from maps/mapstructs.c:12: maps/mapdraw.h:183:6: warning: redundant redeclaration of ‘error_load’ [-Wredundant-decls] 183 | void error_load (const char *); | ^~~~~~~~~~ maps/mapdraw.h:107:6: note: previous declaration of ‘error_load’ was here 107 | void error_load (const char *); | ^~~~~~~~~~ maps/mapstructs.c: In function ‘add_change_bounding’: maps/mapstructs.c:94:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 94 | s_bound temp; | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o mapdraw mapdata.o mapedit.o mapfile.o mapent.o mapshared.o disk.o mapstructs.o bounds.o -laldmb -ldumb -L/usr/lib64 -lalleg -llua -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bounds.o:(.bss+0x0): multiple definition of `bound_box'; mapshared.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:474: mapdraw] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99' make[1]: *** [Makefile:1340: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99' make: *** [Makefile:387: all] Error 2 * ERROR: games-rpg/kqlives-0.99-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-rpg/kqlives-0.99-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-rpg/kqlives-0.99-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-rpg:kqlives-0.99-r1:20200211-161353.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-rpg/kqlives-0.99-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-rpg/kqlives-0.99-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99' * S: '/var/tmp/portage/games-rpg/kqlives-0.99-r1/work/kq-0.99'