* Package: games-emulation/generator-0.35_p4-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux sdlaudio userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking generator-0.35-cbiere-r4.tar.bz2 to /var/tmp/portage/games-emulation/generator-0.35_p4-r1/work >>> Source unpacked in /var/tmp/portage/games-emulation/generator-0.35_p4-r1/work >>> Preparing source in /var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4 ... * Applying generator-0.35_p4-configure.patch ... [ ok ] * Applying generator-0.35_p4-underlink.patch ... [ ok ] * Applying generator-0.35_p4-inline.patch ... [ ok ] * Applying generator-0.35_p4-gcc-9.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: generator-0.35-cbiere-r4/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4 ... * econf: updating generator-0.35-cbiere-r4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating generator-0.35-cbiere-r4/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 --disable-silent-rules --docdir=/usr/share/doc/generator-0.35_p4-r1 --htmldir=/usr/share/doc/generator-0.35_p4-r1/html --libdir=/usr/lib64 --with-cmz80 --with-sdl --without-tcltk --with-gcc=9 --with-sdl-audio configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu 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 a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: WARNING: Processor type not known - processor optimisations off! checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 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 soundcard.h usability... no checking soundcard.h presence... no checking for soundcard.h... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for GCC 2... no checking for GCC 3 or newer... yes checking for jpeg_start_compress in -ljpeg... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for gzopen in -lz... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether make sets $(MAKE)... (cached) yes checking for library containing strerror... none required checking return type of signal handlers... void checking for ANSI C header files... (cached) yes 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 sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.6... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking tcl8.0.h usability... no checking tcl8.0.h presence... no checking for tcl8.0.h... no checking tk8.0.h usability... no checking tk8.0.h presence... no checking for tk8.0.h... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating cpu68k/Makefile config.status: creating raze/Makefile config.status: creating cmz80/Makefile config.status: creating ym2612/Makefile config.status: creating main/Makefile config.status: creating sn76496/Makefile config.status: creating glade/Makefile config.status: creating gtkopts/Makefile config.status: creating raze/raze.asm config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4' Making all in gtkopts make[2]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/gtkopts' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o gtkopts.o gtkopts.c In file included from /usr/include/sys/types.h:25, from ../hdr/generator.h:48, from gtkopts.c:9: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ rm -f libgtkopts.a ar cru libgtkopts.a gtkopts.o x86_64-pc-linux-gnu-ranlib libgtkopts.a make[2]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/gtkopts' Making all in cmz80 make[2]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/cmz80' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o z80.o z80.c z80.c: In function ‘Z80_Dasm’: z80.c:8748:20: warning: ‘%s’ directive writing between 2 and 22 bytes into a region of size 9 [-Wformat-overflow=] 8748 | sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset)); | ^~ z80.c:8748:18: note: directive argument in the range [0, 256] 8748 | sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset)); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../hdr/generator.h:239, from z80.c:18: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 9 and 30 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z80.c:8743:20: warning: ‘%s’ directive writing between 2 and 22 bytes into a region of size 9 [-Wformat-overflow=] 8743 | sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i])); | ^~ z80.c:8743:18: note: directive argument in the range [0, 128] 8743 | sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i])); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../hdr/generator.h:239, from z80.c:18: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 9 and 29 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libcmz80.a ar cru libcmz80.a z80.o x86_64-pc-linux-gnu-ranlib libcmz80.a make[2]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/cmz80' Making all in cpu68k make[2]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/cpu68k' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o def68k.o def68k.c def68k.c: In function ‘procline’: def68k.c:716:11: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 716 | (ea_e == ea_Dreg) || (num[bite] && (ea_e <= ea_Imm)); ea_e++) { | ^~ def68k.c:716:46: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 716 | (ea_e == ea_Dreg) || (num[bite] && (ea_e <= ea_Imm)); ea_e++) { | ^~ def68k.c:721:13: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 721 | (ea_f == ea_Dreg) || (num[bitf] && (ea_f <= ea_Imm)); ea_f++) { | ^~ def68k.c:721:48: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 721 | (ea_f == ea_Dreg) || (num[bitf] && (ea_f <= ea_Imm)); ea_f++) { | ^~ def68k.c:783:17: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 783 | if (ea_e <= ea_Aidx) { | ^~ def68k.c:832:17: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 832 | if (ea_e <= ea_Aidx) { | ^~ def68k.c:881:17: warning: comparison between ‘t_datatype’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 881 | if (ea_f <= ea_Aidx) { | ^~ def68k.c:1097:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 1097 | if (stype == dt_Dreg) { /* dynamic */ | ^ def68k.c:1104:6: note: here 1104 | case i_BCLR: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o tab68k.o tab68k.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -Wl,-O1 -Wl,--as-needed -o def68k def68k.o tab68k.o ./def68k Writing CPU definitions... done. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o gen68k.o gen68k.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -Wl,-O1 -Wl,--as-needed -o gen68k gen68k.o tab68k.o ./gen68k Writing C files... 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. done. make all-am make[3]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/cpu68k' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-0.o cpu68k-0.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-1.o cpu68k-1.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-2.o cpu68k-2.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-3.o cpu68k-3.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-4.o cpu68k-4.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-5.o cpu68k-5.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-6.o cpu68k-6.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-7.o cpu68k-7.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-8.o cpu68k-8.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-9.o cpu68k-9.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-a.o cpu68k-a.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-b.o cpu68k-b.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-c.o cpu68k-c.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-d.o cpu68k-d.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-e.o cpu68k-e.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k-f.o cpu68k-f.c rm -f lib68k.a ar cru lib68k.a cpu68k-0.o cpu68k-1.o cpu68k-2.o cpu68k-3.o cpu68k-4.o cpu68k-5.o cpu68k-6.o cpu68k-7.o cpu68k-8.o cpu68k-9.o cpu68k-a.o cpu68k-b.o cpu68k-c.o cpu68k-d.o cpu68k-e.o cpu68k-f.o x86_64-pc-linux-gnu-ranlib lib68k.a make[3]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/cpu68k' make[2]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/cpu68k' Making all in ym2612 make[2]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/ym2612' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o fm.o fm.c rm -f libym2612.a ar cru libym2612.a fm.o x86_64-pc-linux-gnu-ranlib libym2612.a make[2]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/ym2612' Making all in sn76496 make[2]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/sn76496' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o sn76496.o sn76496.c rm -f libsn76496.a ar cru libsn76496.a sn76496.o x86_64-pc-linux-gnu-ranlib libsn76496.a make[2]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/sn76496' Making all in main make[2]: Entering directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/main' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpu68k.o cpu68k.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o mem68k.o mem68k.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o reg68k.o reg68k.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o event.o event.c event.c: In function ‘event_nextevent’: event.c:38:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 38 | vdp_event++; | ~~~~~~~~~^~ event.c:39:3: note: here 39 | case 1: | ^~~~ event.c:52:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 52 | vdp_event++; | ~~~~~~~~~^~ event.c:53:3: note: here 53 | case 2: | ^~~~ event.c:91:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 91 | vdp_event++; | ~~~~~~~~~^~ event.c:92:3: note: here 92 | case 3: | ^~~~ event.c:98:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 98 | if ((vdp_nextevent = vdp_event_end - cpu68k_clocks) > 0) | ^ event.c:101:3: note: here 101 | case 4: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o generator.o generator.c generator.c: In function ‘loadimage_zlib’: generator.c:256:12: warning: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types] 256 | if ((gzf = gzdopen(fd, "rb")) == NULL) { | ^ generator.c:274:23: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [-Wincompatible-pointer-types] 274 | if ((ret = gzread(gzf, cpu68k_rom + len, REALLOC_THRESH)) <= 0) | ^~~ | | | struct gzFile_s ** In file included from /usr/include/zlib.h:34, from generator.c:22: /usr/include/zlib.h:1391:28: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’ 1391 | ZEXTERN int ZEXPORT gzread _Z_OF((gzFile file, voidp buf, unsigned len)); | ^~~~~ generator.c:281:13: warning: passing argument 1 of ‘gzerror’ from incompatible pointer type [-Wincompatible-pointer-types] 281 | gzerror(gzf, &err); | ^~~ | | | struct gzFile_s ** In file included from generator.c:22: /usr/include/zlib.h:1656:30: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’ 1656 | ZEXTERN const char * ZEXPORT gzerror _Z_OF((gzFile file, int *errnum)); | ^~~~~~~ generator.c:295:11: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types] 295 | gzclose(gzf); | ^~~ | | | struct gzFile_s ** In file included from /usr/include/zlib.h:34, from generator.c:22: /usr/include/zlib.h:1631:32: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’ 1631 | ZEXTERN int ZEXPORT gzclose _Z_OF((gzFile file)); | ^~~~~ generator.c:318:13: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types] 318 | gzclose(gzf); | ^~~ | | | struct gzFile_s ** In file included from /usr/include/zlib.h:34, from generator.c:22: /usr/include/zlib.h:1631:32: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’ 1631 | ZEXTERN int ZEXPORT gzclose _Z_OF((gzFile file)); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o state.o state.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o cpuz80.o cpuz80.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o vdp.o vdp.c vdp.c: In function ‘vdp_sprites’: vdp.c:645:12: warning: variable ‘hmax’ set but not used [-Wunused-but-set-variable] 645 | sint16 hmax, vmax; | ^~~~ vdp.c: In function ‘vdp_spritelist’: vdp.c:1602:22: warning: variable ‘vmax’ set but not used [-Wunused-but-set-variable] 1602 | sint16 vpos, hpos, vmax; | ^~~~ vdp.c:1600:9: warning: variable ‘palette’ set but not used [-Wunused-but-set-variable] 1600 | uint8 palette; | ^~~~~~~ vdp.c:1599:10: warning: variable ‘pattern’ set but not used [-Wunused-but-set-variable] 1599 | uint16 pattern; | ^~~~~~~ vdp.c: In function ‘vdp_describe’: vdp.c:1637:11: warning: variable ‘patterndata’ set but not used [-Wunused-but-set-variable] 1637 | uint16 *patterndata, *hscrolldata; | ^~~~~~~~~~~ vdp.c: In function ‘vdp_sprite_simple’: vdp.c:1978:22: warning: variable ‘vmax’ set but not used [-Wunused-but-set-variable] 1978 | sint16 vpos, hpos, vmax; | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o gensound.o gensound.c gensound.c: In function ‘sound_endfield’: gensound.c:187:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | ui_err("field marker in middle of field data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensound.c:188:11: note: here 188 | case 1: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o memz80.o memz80.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o ui-sdl.o ui-sdl.c ui-sdl.c: In function ‘ui_newframe’: ui-sdl.c:378:14: warning: variable ‘lasttype’ set but not used [-Wunused-but-set-variable] 378 | static int lasttype = -1; | ^~~~~~~~ ui-sdl.c: In function ‘ui_endfield’: ui-sdl.c:774:27: warning: variable ‘frames’ set but not used [-Wunused-but-set-variable] 774 | static int counter = 0, frames = 0, waitstates; | ^~~~~~ ui-sdl.c: In function ‘ui_rendertoscreen’: ui-sdl.c:825:24: warning: variable ‘oldlinedata’ set but not used [-Wunused-but-set-variable] 825 | uint8 *newlinedata, *oldlinedata; | ^~~~~~~~~~~ ui-sdl.c: In function ‘ui_init’: ui-sdl.c:200:7: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 200 | chdir(optarg); /* for the moment this will do */ | ^~~~~~~~~~~~~ ui-sdl.c: In function ‘ui_simpleplot’: ui-sdl.c:605:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 605 | convert_func = uiplot_convertdata_yuy2; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ui-sdl.c:606:5: note: here 606 | case SDL_UYVY_OVERLAY: | ^~~~ ui-sdl.c: In function ‘ui_musiclog’: ui-sdl.c:1646:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 1646 | write(ui_musicfile, data, length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o uiplot.o uiplot.c uiplot.c: In function ‘uiplot_convertdata_yuy2’: uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:141:14: note: in definition of macro ‘UNROLL’ 141 | case 16: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:142:3: note: here 142 | case 15: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:142:14: note: in definition of macro ‘UNROLL’ 142 | case 15: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:143:3: note: here 143 | case 14: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:143:14: note: in definition of macro ‘UNROLL’ 143 | case 14: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:144:3: note: here 144 | case 13: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:144:14: note: in definition of macro ‘UNROLL’ 144 | case 13: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:145:3: note: here 145 | case 12: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:145:14: note: in definition of macro ‘UNROLL’ 145 | case 12: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:146:3: note: here 146 | case 11: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:146:14: note: in definition of macro ‘UNROLL’ 146 | case 11: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:147:3: note: here 147 | case 10: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:147:14: note: in definition of macro ‘UNROLL’ 147 | case 10: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:148:3: note: here 148 | case 9: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:148:14: note: in definition of macro ‘UNROLL’ 148 | case 9: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:149:3: note: here 149 | case 8: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:149:14: note: in definition of macro ‘UNROLL’ 149 | case 8: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:150:3: note: here 150 | case 7: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:150:14: note: in definition of macro ‘UNROLL’ 150 | case 7: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:151:3: note: here 151 | case 6: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:151:14: note: in definition of macro ‘UNROLL’ 151 | case 6: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:152:3: note: here 152 | case 5: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:152:14: note: in definition of macro ‘UNROLL’ 152 | case 5: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:153:3: note: here 153 | case 4: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:153:14: note: in definition of macro ‘UNROLL’ 153 | case 4: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:154:3: note: here 154 | case 3: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:154:14: note: in definition of macro ‘UNROLL’ 154 | case 3: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:155:3: note: here 155 | case 2: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:196:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | *out32++ = v | uy; \ | ~~~~~~~~~^~~~~~~~ uiplot.c:155:14: note: in definition of macro ‘UNROLL’ 155 | case 2: { code } \ | ^~~~ uiplot.c:206:2: note: in expansion of macro ‘PACK_PIXELS’ 206 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:156:3: note: here 156 | case 1: { code } \ | ^~~~ uiplot.c:203:5: note: in expansion of macro ‘UNROLL’ 203 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c: In function ‘uiplot_convertdata_uyvy’: uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:141:14: note: in definition of macro ‘UNROLL’ 141 | case 16: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:142:3: note: here 142 | case 15: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:142:14: note: in definition of macro ‘UNROLL’ 142 | case 15: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:143:3: note: here 143 | case 14: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:143:14: note: in definition of macro ‘UNROLL’ 143 | case 14: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:144:3: note: here 144 | case 13: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:144:14: note: in definition of macro ‘UNROLL’ 144 | case 13: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:145:3: note: here 145 | case 12: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:145:14: note: in definition of macro ‘UNROLL’ 145 | case 12: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:146:3: note: here 146 | case 11: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:146:14: note: in definition of macro ‘UNROLL’ 146 | case 11: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:147:3: note: here 147 | case 10: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:147:14: note: in definition of macro ‘UNROLL’ 147 | case 10: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:148:3: note: here 148 | case 9: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:148:14: note: in definition of macro ‘UNROLL’ 148 | case 9: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:149:3: note: here 149 | case 8: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:149:14: note: in definition of macro ‘UNROLL’ 149 | case 8: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:150:3: note: here 150 | case 7: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:150:14: note: in definition of macro ‘UNROLL’ 150 | case 7: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:151:3: note: here 151 | case 6: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:151:14: note: in definition of macro ‘UNROLL’ 151 | case 6: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:152:3: note: here 152 | case 5: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:152:14: note: in definition of macro ‘UNROLL’ 152 | case 5: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:153:3: note: here 153 | case 4: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:153:14: note: in definition of macro ‘UNROLL’ 153 | case 4: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:154:3: note: here 154 | case 3: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:154:14: note: in definition of macro ‘UNROLL’ 154 | case 3: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:155:3: note: here 155 | case 2: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:232:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | *out32++ = uy | vy; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:155:14: note: in definition of macro ‘UNROLL’ 155 | case 2: { code } \ | ^~~~ uiplot.c:242:2: note: in expansion of macro ‘PACK_PIXELS’ 242 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:156:3: note: here 156 | case 1: { code } \ | ^~~~ uiplot.c:239:5: note: in expansion of macro ‘UNROLL’ 239 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c: In function ‘uiplot_convertdata_yvyu’: uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:141:14: note: in definition of macro ‘UNROLL’ 141 | case 16: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:142:3: note: here 142 | case 15: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:142:14: note: in definition of macro ‘UNROLL’ 142 | case 15: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:143:3: note: here 143 | case 14: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:143:14: note: in definition of macro ‘UNROLL’ 143 | case 14: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:144:3: note: here 144 | case 13: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:144:14: note: in definition of macro ‘UNROLL’ 144 | case 13: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:145:3: note: here 145 | case 12: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:145:14: note: in definition of macro ‘UNROLL’ 145 | case 12: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:146:3: note: here 146 | case 11: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:146:14: note: in definition of macro ‘UNROLL’ 146 | case 11: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:147:3: note: here 147 | case 10: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:147:14: note: in definition of macro ‘UNROLL’ 147 | case 10: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:148:3: note: here 148 | case 9: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:148:14: note: in definition of macro ‘UNROLL’ 148 | case 9: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:149:3: note: here 149 | case 8: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:149:14: note: in definition of macro ‘UNROLL’ 149 | case 8: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:150:3: note: here 150 | case 7: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:150:14: note: in definition of macro ‘UNROLL’ 150 | case 7: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:151:3: note: here 151 | case 6: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:151:14: note: in definition of macro ‘UNROLL’ 151 | case 6: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:152:3: note: here 152 | case 5: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:152:14: note: in definition of macro ‘UNROLL’ 152 | case 5: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:153:3: note: here 153 | case 4: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:153:14: note: in definition of macro ‘UNROLL’ 153 | case 4: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:154:3: note: here 154 | case 3: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:154:14: note: in definition of macro ‘UNROLL’ 154 | case 3: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:155:3: note: here 155 | case 2: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ uiplot.c:268:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | *out32++ = yv | yu; \ | ~~~~~~~~~^~~~~~~~~ uiplot.c:155:14: note: in definition of macro ‘UNROLL’ 155 | case 2: { code } \ | ^~~~ uiplot.c:278:2: note: in expansion of macro ‘PACK_PIXELS’ 278 | PACK_PIXELS(); | ^~~~~~~~~~~ uiplot.c:156:3: note: here 156 | case 1: { code } \ | ^~~~ uiplot.c:275:5: note: in expansion of macro ‘UNROLL’ 275 | UNROLL(UNROLL_TIMES, | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o gensoundp-unix.o gensoundp-unix.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o initcart.o initcart.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o patch.o patch.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o dib.o dib.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o avi.o avi.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/generator/gen.tcl\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -c -o diss68k.o diss68k.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -W -Wall -Wformat=2 -Wl,-O1 -Wl,--as-needed -o generator-sdl cpu68k.o mem68k.o reg68k.o event.o generator.o state.o cpuz80.o vdp.o gensound.o memz80.o ui-sdl.o uiplot.o gensoundp-unix.o initcart.o patch.o dib.o avi.o diss68k.o ../cpu68k/lib68k.a ../ym2612/libym2612.a -lz -lbz2 -ljpeg ../cmz80/libcmz80.a -lSM -lICE -lm ../sn76496/libsn76496.a -lSDL -lpthread ../gtkopts/libgtkopts.a ../cpu68k/tab68k.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: reg68k.o:(.bss+0x20): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: event.o:(.bss+0x0): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: generator.o:(.bss+0x160): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: state.o:(.bss+0x20): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cpuz80.o:(.bss+0x20): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: memz80.o:(.bss+0x1000): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui-sdl.o:(.bss+0x0): multiple definition of `cpuz80_z80'; mem68k.o:(.bss+0x38040): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:464: generator-sdl] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4/main' make[1]: *** [Makefile:384: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4' make: *** [Makefile:325: all] Error 2 * ERROR: games-emulation/generator-0.35_p4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/generator-0.35_p4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/generator-0.35_p4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:generator-0.35_p4-r1:20200201-140259.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4' * S: '/var/tmp/portage/games-emulation/generator-0.35_p4-r1/work/generator-0.35-cbiere-r4'