* Package: games-action/geki3-KXL-1.0.3-r4:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking geki3-KXL-1.0.3.tar.gz to /var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work >>> Unpacking geki3-KXL.png to /var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work unpack geki3-KXL.png: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work >>> Preparing source in /var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3 ... * Applying geki3-KXL-1.0.3-cflags.patch ... [ ok ] * Applying geki3-KXL-1.0.3-clang.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3' ... * Running 'aclocal --system-acdir=/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: geki3-KXL-1.0.3/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3 ... * econf: updating geki3-KXL-1.0.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating geki3-KXL-1.0.3/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/geki3-KXL-1.0.3-r4 --htmldir=/usr/share/doc/geki3-KXL-1.0.3-r4/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether make sets $(MAKE)... (cached) yes checking for main in -lKXL... yes checking how to run the C preprocessor... clang -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for KXL CFLAGS... checking for KXL LDFLAGS... -lKXL checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for KXL_CreateWindow in -lKXL... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for unistd.h... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating data/Makefile config.status: creating wav/Makefile config.status: creating bmp/Makefile config.status: creating src/Makefile config.status: creating geki3.spec config.status: creating Makefile config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/temp/clang14.log' -> '/var/tmp/clang/games-action/geki3-KXL-1.0.3-r4/clang14.log' '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/temp/clang15.log' -> '/var/tmp/clang/games-action/geki3-KXL-1.0.3-r4/clang15.log' >>> Compiling source in /var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3 ... make -j4 Making all in data make[1]: Entering directory '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3/data' Making all in src make[1]: Entering directory '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3/src' clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki3-KXL\" -DVERSION=\"1.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/geki3/data\" -DBMP_PATH=\"/usr/share/geki3/bmp\" -DWAV_PATH=\"/usr/share/geki3/wav\" -DTITLE=\"geki3-KXL\ 1.0.3\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o boss.o boss.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki3-KXL\" -DVERSION=\"1.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/geki3/data\" -DBMP_PATH=\"/usr/share/geki3/bmp\" -DWAV_PATH=\"/usr/share/geki3/wav\" -DTITLE=\"geki3-KXL\ 1.0.3\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o game.o game.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki3-KXL\" -DVERSION=\"1.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/geki3/data\" -DBMP_PATH=\"/usr/share/geki3/bmp\" -DWAV_PATH=\"/usr/share/geki3/wav\" -DTITLE=\"geki3-KXL\ 1.0.3\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o load.o load.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki3-KXL\" -DVERSION=\"1.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/geki3/data\" -DBMP_PATH=\"/usr/share/geki3/bmp\" -DWAV_PATH=\"/usr/share/geki3/wav\" -DTITLE=\"geki3-KXL\ 1.0.3\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o main.o main.c load.c:25:11: warning: passing 'Uint8[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(filename, BMP_PATH "/%s.bmp", fname); ^~~~~~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ load.c:54:11: warning: passing 'Uint8[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(filename, BMP_PATH "/%s.bmp", fname); ^~~~~~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ load.c:72:13: warning: passing 'Uint8[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(filename, "%s%d", fname, i + 1); ^~~~~~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ load.c:103:35: warning: passing 'char[3]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMy = LoadPixmapSplit("my", 0, 4, 0.4); ^~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:104:35: warning: passing 'char[8]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMyShot = LoadPixmapSplit("my_shot", 4, 2, CHECK_PER); ^~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:105:35: warning: passing 'char[11]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMyMissile = LoadPixmapSplit("my_missile", 0, 2, CHECK_PER); ^~~~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:106:35: warning: passing 'char[9]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMyLaser = LoadPixmapSplit("my_laser", 0, 1, CHECK_PER); ^~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:107:35: warning: passing 'char[8]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMyWide = LoadPixmapSplit("my_wide", 0, 1, CHECK_PER); ^~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:108:35: warning: passing 'char[5]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixBall = LoadPixmapSplit("ball", 0, 3, 0); ^~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:109:35: warning: passing 'char[6]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixBomb1 = LoadPixmapSplit("bomb1", 0, 13, CHECK_PER); ^~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:110:35: warning: passing 'char[6]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixBomb2 = LoadPixmapSplit("bomb2", 0, 9, CHECK_PER); ^~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:111:35: warning: passing 'char[5]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixTobi = LoadPixmapSplit("tobi", 0, 5, CHECK_PER); ^~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:112:35: warning: passing 'char[4]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixIka = LoadPixmapSplit("ika", 0, 3, CHECK_PER); ^~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:113:35: warning: passing 'char[9]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixIkaBall = LoadPixmapSplit("ika_ball", 0, 3, CHECK_PER); ^~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:114:35: warning: passing 'char[4]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixUni = LoadPixmapSplit("uni", 0, 2, CHECK_PER); ^~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:115:35: warning: passing 'char[5]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMogu = LoadPixmapSplit("mogu", 0, 1, CHECK_PER); ^~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:116:35: warning: passing 'char[10]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMoguBall = LoadPixmapSplit("mogu_ball", 0, 1, CHECK_PER); ^~~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:117:35: warning: passing 'char[5]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixPata = LoadPixmapSplit("pata", 0, 3, CHECK_PER); ^~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:118:35: warning: passing 'char[10]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixPataBall = LoadPixmapSplit("pata_ball", 0, 3, CHECK_PER); ^~~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:119:35: warning: passing 'char[3]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixEi = LoadPixmapSplit("ei", 0, 5, CHECK_PER); ^~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:120:35: warning: passing 'char[8]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixEiBall = LoadPixmapSplit("ei_ball", 0, 5, CHECK_PER); ^~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:121:35: warning: passing 'char[5]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixKura = LoadPixmapSplit("kura", 0, 9, CHECK_PER); ^~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:122:35: warning: passing 'char[7]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixManboo = LoadPixmapSplit("manboo", 0, 5, CHECK_PER); ^~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:123:35: warning: passing 'char[11]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixEnemyShot1 = LoadPixmapSplit("enemyshot1", 0, 1, 0.2); ^~~~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:124:35: warning: passing 'char[11]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixEnemyShot2 = LoadPixmapSplit("enemyshot2", 0, 6, 0.2); ^~~~~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:125:35: warning: passing 'char[8]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixMissile = LoadPixmapSplit("missile", 0, 12, 0.3); ^~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:126:31: warning: passing 'char[6]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixEBomb = LoadPixmaps("ebomb", 0, 3, CHECK_PER); ^~~~~~~ load.c:64:30: note: passing argument to parameter 'fname' here PixData **LoadPixmaps(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:127:35: warning: passing 'char[8]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PixWarning = LoadPixmapSplit("warning", 0, 2, CHECK_PER); ^~~~~~~~~ load.c:16:34: note: passing argument to parameter 'fname' here PixData **LoadPixmapSplit(Uint8 *fname, Uint8 blend, Uint16 max, float per) ^ load.c:128:34: warning: passing 'char[28]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hp_image = KXL_LoadBitmap(BMP_PATH "/hp.bmp", 255); ^~~~~~~~~~~~~~~~~~ :23:18: note: expanded from here #define BMP_PATH "/usr/share/geki3/bmp" ^ /usr/include/KXL.h:288:35: note: passing argument to parameter 'filename' here KXL_Image *KXL_LoadBitmap(Uint8 *filename, Uint8 blend); ^ load.c:129:34: warning: passing 'char[31]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frame_image = KXL_LoadBitmap(BMP_PATH "/frame.bmp", 0); ^~~~~~~~~~~~~~~~~~~~~ :23:18: note: expanded from here #define BMP_PATH "/usr/share/geki3/bmp" ^ /usr/include/KXL.h:288:35: note: passing argument to parameter 'filename' here KXL_Image *KXL_LoadBitmap(Uint8 *filename, Uint8 blend); ^ load.c:130:34: warning: passing 'char[31]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] power_image = KXL_LoadBitmap(BMP_PATH "/power.bmp", 255); ^~~~~~~~~~~~~~~~~~~~~ :23:18: note: expanded from here #define BMP_PATH "/usr/share/geki3/bmp" ^ /usr/include/KXL.h:288:35: note: passing argument to parameter 'filename' here KXL_Image *KXL_LoadBitmap(Uint8 *filename, Uint8 blend); ^ load.c:131:34: warning: passing 'char[30]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] star_image = KXL_LoadBitmap(BMP_PATH "/star.bmp", 255); ^~~~~~~~~~~~~~~~~~~~ :23:18: note: expanded from here #define BMP_PATH "/usr/share/geki3/bmp" ^ /usr/include/KXL.h:288:35: note: passing argument to parameter 'filename' here KXL_Image *KXL_LoadBitmap(Uint8 *filename, Uint8 blend); ^ load.c:185:11: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, DATA_PATH "/stage%d.dat", Root->Stage + 1); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ load.c:186:19: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fp = fopen(buff, "r")) == NULL) { ^~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ load.c:195:15: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while(fgets(buff, 255, fp)) { ^~~~ /usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ load.c:203:12: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(buff,"%d, %d, %d, %d", ^~~~ /usr/include/stdio.h:439:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ load.c:204:12: warning: format specifies type 'int *' but the argument has type 'Uint16 *' (aka 'unsigned short *') [-Wformat] &(StageDatas[Root->StageMax]->Time), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:205:12: warning: format specifies type 'int *' but the argument has type 'Uint8 *' (aka 'unsigned char *') [-Wformat] &(StageDatas[Root->StageMax]->CreateNo), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:206:12: warning: format specifies type 'int *' but the argument has type 'Uint8 *' (aka 'unsigned char *') [-Wformat] &(StageDatas[Root->StageMax]->Max), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:207:12: warning: format specifies type 'int *' but the argument has type 'Uint16 *' (aka 'unsigned short *') [-Wformat] &(StageDatas[Root->StageMax]->Step)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:214:11: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, "%s/back%d.bmp", BMP_PATH, Root->Stage + 1); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ load.c:217:11: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, "boss%d", Root->Stage + 1); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:98:6: warning: passing 'char[16]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] TITLE, ^~~~~ :25:15: note: expanded from here #define TITLE "geki3-KXL 1.0.3" ^~~~~~~~~~~~~~~~~ /usr/include/KXL.h:267:57: note: passing argument to parameter 'title' here void KXL_CreateWindow(Uint16 w, Uint16 h, Uint8 *title, Uint32 event); ^ main.c:139:10: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { ^ main.c:139:10: note: include the header or explicitly provide a declaration for 'strcmp' main.c:151:23: warning: passing 'char *' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KXL_DisplayName(argv[i + 1]); ^~~~~~~~~~~ /usr/include/KXL.h:266:36: note: passing argument to parameter 'name' here void KXL_DisplayName(Uint8 *name); ^ main.c:166:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "bgm1", ^~~~~~ main.c:167:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "bgm2", ^~~~~~ main.c:168:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "bgm3", ^~~~~~ main.c:169:5: game.cwarning: initializing: 'Uint8 *'57 :(aka 'unsigned char *')1 :with warning: an non-void expressionfunction ofdoes typenot 'char[5]'return convertsa betweenvalue pointersin toall integercontrol types paths where[-Wreturn-type] one is of the unique }plain ^'char' type and the other is not [-Wpointer-sign] "bgm4", ^~~~~~ main.c:170:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "boom", ^~~~~~ main.c:171:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "warning", ^~~~~~~~~ main.c:172:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "boss", ^~~~~~ main.c:173:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "laser", ^~~~~~~ main.c:174:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "pow", ^~~~~ main.c:175:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "go", ^~~~ main.c:176:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ""}; ^~ game.c:97:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ main.c:179:9: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] srand(time(NULL)); ^ main.c:182:17: warning: passing 'char[21]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KXL_InitSound(WAV_PATH, sname); ^~~~~~~~ :24:18: note: expanded from here #define WAV_PATH "/usr/share/geki3/wav" ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/KXL.h:312:34: note: passing argument to parameter 'path' here void KXL_InitSound(Uint8 *path, Uint8 **fname); ^ 14 warnings and 2 errors generated. make[1]: *** [Makefile:379: main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... boss.c:205:4: error: call to undeclared function 'CreateEnemyBomb'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateEnemyBomb(my->X + 20, ^ boss.c:205:4: note: did you mean 'CreateEnemyShot'? ./your.h:13:6: note: 'CreateEnemyShot' declared here void CreateEnemyShot(Sint16 x, Sint16 y, Uint16 direction, Uint16 ^ boss.c:211:6: error: call to undeclared function 'CreateEnemyBomb'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateEnemyBomb(my->X + 20, ^ boss.c:302:4: error: call to undeclared function 'CreateMissile'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateMissile(my, my->X - 8, my->Y); ^ boss.c:368:7: error: call to undeclared function 'CreateMissile'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateMissile(my, my->X + 124, my->Y + 22); ^ boss.c:394:2: error: call to undeclared function 'CreateEnemyBomb'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateEnemyBomb(my->X + 60, ^ boss.c:446:7: error: call to undeclared function 'CreateMissile'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateMissile(my, my->X + 48, my->Y + 94); ^ boss.c:468:2: error: call to undeclared function 'CreateEnemyBomb'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] CreateEnemyBomb(my->X + 20, ^ 7 errors generated. make[1]: *** [Makefile:379: boss.o] Error 1 42 warnings generated. 2 warnings generated. make[1]: Leaving directory '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3/src' make: *** [Makefile:348: all-recursive] Error 1 * ERROR: games-action/geki3-KXL-1.0.3-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-action/geki3-KXL-1.0.3-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-action/geki3-KXL-1.0.3-r4::gentoo'`. * The complete build log is located at '/var/log/portage/games-action:geki3-KXL-1.0.3-r4:20221003-073615.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/temp/environment'. * Working directory: '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3' * S: '/var/tmp/portage/games-action/geki3-KXL-1.0.3-r4/work/geki3-KXL-1.0.3'