Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 835031 Details for
Bug 882267
games-emulation/gngb-20060309-r1 - install aborted due to severe warnings shown above
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-emulation:gngb-20060309-r1:20221120-165258.log
games-emulation:gngb-20060309-r1:20221120-165258.log (text/plain), 58.58 KB, created by
Toralf Förster
on 2022-11-20 16:57:31 UTC
(
hide
)
Description:
games-emulation:gngb-20060309-r1:20221120-165258.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-20 16:57:31 UTC
Size:
58.58 KB
patch
obsolete
> * Package: games-emulation/gngb-20060309-r1: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 gngb-20060309.tar.gz to /var/tmp/portage/games-emulation/gngb-20060309-r1/work >>>> Source unpacked in /var/tmp/portage/games-emulation/gngb-20060309-r1/work >>>> Preparing source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... > * Applying gngb-20060309-amd64.patch ... > [ ok ] > * Applying gngb-20060309-gcc34.patch ... > [ ok ] > * Applying gngb-20060309-gcc5.patch ... > [ ok ] > * Applying gngb-20060309-gcc7.patch ... > [ ok ] > * Applying gngb-20060309-inline.patch ... > [ ok ] > * Applying gngb-20060309-joystick.patch ... > [ ok ] > * Applying gngb-20060309-qwerty.patch ... > [ ok ] > * Applying gngb-20060309-gcc10.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' ... > * Running 'aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: gngb-20060309/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... > * econf: updating gngb-20060309/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating gngb-20060309/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/gngb-20060309-r1 --htmldir=/usr/share/doc/gngb-20060309-r1/html --libdir=/usr/lib64 --disable-gl >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... 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 the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >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 sys/time.h... yes >checking whether byte ordering is bigendian... no >checking for pthread_create in -lpthread... yes >checking for sdl-config... yes >checking for SDL_Init in -lSDL... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fcntl.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for vprintf... yes >checking for gettimeofday... yes >checking for sleep... yes >checking for mkdir... yes >checking for socket... yes >checking for strtol... yes >checking for getopt_long... yes >checking for bzlib.h... yes >checking for BZ2_bzopen in -lbz2... yes >checking for zlib.h... yes >checking for gzopen in -lz... yes >Architeture: x86_64 >System: Linux >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >Making all in src >make[2]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o emu.o emu.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o message.o message.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o cpu.o cpu.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sgb.o sgb.c >In file included from message.c:28: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from video_std.h:22: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >sgb.c:380:14: warning: âiâ is static but declared in inline function âsgb_1chr_modeâ which is not static > 380 | static int i; > | ^ >sgb.c:379:18: warning: âJâ is static but declared in inline function âsgb_1chr_modeâ which is not static > 379 | static Uint8 I,J; > | ^ >sgb.c:379:16: warning: âIâ is static but declared in inline function âsgb_1chr_modeâ which is not static > 379 | static Uint8 I,J; > | ^ >sgb.c:378:17: warning: ânb_datasetâ is static but declared in inline function âsgb_1chr_modeâ which is not static > 378 | static Uint16 nb_dataset; > | ^~~~~~~~~~ >sgb.c:377:16: warning: âmodeâ is static but declared in inline function âsgb_1chr_modeâ which is not static > 377 | static Uint8 mode; > | ^~~~ >sgb.c:326:17: warning: ânb_datasetâ is static but declared in inline function âsgb_line_modeâ which is not static > 326 | static Sint16 nb_dataset; > | ^~~~~~~~~~ >sgb.c:259:16: warning: âds_iâ is static but declared in inline function âsgb_block_modeâ which is not static > 259 | static Uint8 ds_i; // dataset indice > | ^~~~ >sgb.c:258:16: warning: âdatasetâ is static but declared in inline function âsgb_block_modeâ which is not static > 258 | static Uint8 dataset[6]; > | ^~~~~~~ >sgb.c:257:16: warning: ânb_datasetâ is static but declared in inline function âsgb_block_modeâ which is not static > 257 | static Sint8 nb_dataset; > | ^~~~~~~~~~ >sgb.c:132:7: warning: âsgb_flagâ is static but used in inline function âsgb_draw_one_tileâ which is not static > 132 | if (sgb_flag) { > | ^~~~~~~~ >sgb.c:111:7: warning: âsgb_flagâ is static but used in inline function âsgb_tiles_map_transferâ which is not static > 111 | if (sgb_flag) > | ^~~~~~~~ >sgb.c:100:9: warning: âsgb_flagâ is static but used in inline function âsgb_tiles_map_transferâ which is not static > 100 | if (sgb_flag) { > | ^~~~~~~~ >In file included from sgb.h:25, > from sgb.c:23: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from emu.c:44: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from emu.c:38: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >In file included from emu.c:35: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >cpu.c: In function âgbcpu_exec_oneâ: >cpu.c:881:14: warning: self-comparison always evaluates to false [-Wtautological-compare] > 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); > | ^ >cpu.c:882:21: warning: self-comparison always evaluates to false [-Wtautological-compare] > 882 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); > | ^ >emu.c: In function âopen_confâ: >emu.c:282:5: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 282 | fgets(buf,510,f); > | ^~~~~~~~~~~~~~~~ >cpu.c: In function âcpu_runâ: >cpu.c:2913:24: warning: implicit declaration of function âgbserial_readâ; did you mean âgbserial_sendâ? [-Wimplicit-function-declaration] > 2913 | SB=gbserial_read(); > | ^~~~~~~~~~~~~ > | gbserial_send >cpu.c:2920:21: warning: implicit declaration of function âgbserial_writeâ; did you mean âgbserial_initâ? [-Wimplicit-function-declaration] > 2920 | gbserial_write(SB); > | ^~~~~~~~~~~~~~ > | gbserial_init >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o menu.o menu.c >emu.c:299:13: warning: â__builtin_strncpyâ specified bound depends on the length of the source argument [-Wstringop-truncation] > 299 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); > | ^ >emu.c:299:56: note: length computed here > 299 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); > | ^~~~~~~~~~~ >menu.c: In function âaction_save_stateâ: >menu.c:64:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 64 | int i=(int)self->user_data; > | ^ >menu.c: In function âaction_load_stateâ: >menu.c:71:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 71 | int i=(int)self->user_data; > | ^ >menu.c: In function âmenu_draw_stateâ: >menu.c:78:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 78 | int i=(int)self->user_data; > | ^ >menu.c: In function âmenu_draw_palâ: >menu.c:123:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 123 | int pal=(int)self->user_data; > | ^ >menu.c: In function âaction_setpalâ: >menu.c:144:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 144 | int p=(int)self->user_data; > | ^ >menu.c: In function âaction_set_filterâ: >menu.c:190:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 190 | int p=(int)self->user_data; > | ^ >menu.c: In function âinit_menuâ: >menu.c:448:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 448 | item->user_data=(void*)i; > | ^ >menu.c:459:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 459 | item->user_data=(void*)i; > | ^ >menu.c:476:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 476 | item->user_data=(void*)i; > | ^ >menu.c:499:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 499 | item->user_data=(void*)i; > | ^ >In file included from menu.c:29: >video_std.h: At top level: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from menu.c:28: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o vram.o vram.c >In file included from vram.c:27: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_std.o video_std.c >In file included from video_std.c:22: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o save.o save.c >save.c: In function âget_filename_extâ: >save.c:25:3: warning: implicit declaration of function âcheck_dirâ [-Wimplicit-function-declaration] > 25 | check_dir(f); > | ^~~~~~~~~ >save.c: In function âsave_rom_timerâ: >save.c:112:30: warning: implicit declaration of function âtimeâ [-Wimplicit-function-declaration] > 112 | fprintf(stream,"%ld",(long)time(NULL)); > | ^~~~ >save.c:8:1: note: âtimeâ is defined in header â<time.h>â; did you forget to â#include <time.h>â? > 7 | #include "cpu.h" > +++ |+#include <time.h> > 8 | >save.c: In function âget_surface_of_save_stateâ: >save.c:485:3: warning: implicit declaration of function âget_bmp_ext_nbâ [-Wimplicit-function-declaration] > 485 | get_bmp_ext_nb(t,n); > | ^~~~~~~~~~~~~~ >save.c: In function âsave_stateâ: >save.c:530:5: warning: implicit declaration of function âget_ext_nbâ [-Wimplicit-function-declaration] > 530 | get_ext_nb(t,n); > | ^~~~~~~~~~ >save.c: In function âload_stateâ: >save.c:639:5: warning: implicit declaration of function âupdate_sound_regâ [-Wimplicit-function-declaration] > 639 | update_sound_reg(); > | ^~~~~~~~~~~~~~~~ >save.c: At top level: >save.c:648:24: warning: initialization of âcharâ from âvoid *â makes integer from pointer without a cast [-Wint-conversion] > 648 | GNGB_MOVIE gngb_movie={NULL,0,NULL}; > | ^~~~ >save.c:648:24: note: (near initialization for âgngb_movie.name[0]â) >save.c:648:31: warning: initialization of âcharâ from âvoid *â makes integer from pointer without a cast [-Wint-conversion] > 648 | GNGB_MOVIE gngb_movie={NULL,0,NULL}; > | ^~~~ >save.c:648:31: note: (near initialization for âgngb_movie.name[2]â) >save.c:648:23: warning: missing braces around initializer [-Wmissing-braces] > 648 | GNGB_MOVIE gngb_movie={NULL,0,NULL}; > | ^ >In file included from save.c:7: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >In file included from save.c:5: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >save.c: In function âload_rom_timerâ: >save.c:134:5: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 134 | fscanf(stream,"%02x",&t); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >save.c:137:3: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 137 | fscanf(stream,"%ld",&dt); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >save.c:174:24: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > 174 | dd=((rom_timer->reg[5]&0x01)<<9)|rom_timer->reg[4]; > | ~~~~~~~~~~~~~~^~~ >In file included from save.c:3: >rom.h:51:9: note: while referencing âregâ > 51 | Uint8 reg[5]; > | ^~~ >save.c:179:21: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > 179 | rom_timer->reg[5]|=0x80; // set carry > | ~~~~~~~~~~~~~~^~~ >rom.h:51:9: note: while referencing âregâ > 51 | Uint8 reg[5]; > | ^~~ >save.c:183:38: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > 183 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); > | ~~~~~~~~~~~~~~^~~ >rom.h:51:9: note: while referencing âregâ > 51 | Uint8 reg[5]; > | ^~~ >save.c:183:19: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > 183 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); > | ~~~~~~~~~~~~~~^~~ >rom.h:51:9: note: while referencing âregâ > 51 | Uint8 reg[5]; > | ^~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_yuy2.o video_yuy2.c >In file included from video_yuy2.c:25: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from video_yuy2.c:24: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o rom.o rom.c >rom.c: In function âopen_româ: >rom.c:124:11: warning: implicit declaration of function âzip_file_open_next_româ [-Wimplicit-function-declaration] > 124 | if (zip_file_open_next_rom(stream->stream)<0) return -1; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from rom.c:43: >vram.h: At top level: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from rom.c:41: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o memory.o memory.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sound.o sound.c >memory.c:74:25: warning: data definition has no type or storage class > 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; > | ^~~~~~~~~ >memory.c:74:25: warning: type defaults to âintâ in declaration of âjoy_x_maxâ [-Wimplicit-int] >memory.c:74:41: warning: data definition has no type or storage class > 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; > | ^~~~~~~~~ >memory.c:74:41: warning: type defaults to âintâ in declaration of âjoy_y_minâ [-Wimplicit-int] >memory.c:74:58: warning: data definition has no type or storage class > 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; > | ^~~~~~~~~ >memory.c:74:58: warning: type defaults to âintâ in declaration of âjoy_y_maxâ [-Wimplicit-int] >memory.c: In function âupdate_gb_padâ: >memory.c:817:26: warning: implicit declaration of function âmovie_add_padâ [-Wimplicit-function-declaration] > 817 | if (conf.save_movie) movie_add_pad(gb_pad); > | ^~~~~~~~~~~~~ >memory.c:819:12: warning: implicit declaration of function âmovie_get_next_padâ [-Wimplicit-function-declaration] > 819 | gb_pad=movie_get_next_pad(); > | ^~~~~~~~~~~~~~~~~~ >memory.c: In function âmem_write_ffâ: >memory.c:984:11: warning: implicit declaration of function âgbserial_writeâ; did you mean âgbserial_initâ? [-Wimplicit-function-declaration] > 984 | gbserial_write(SB); > | ^~~~~~~~~~~~~~ > | gbserial_init >In file included from memory.c:28: >vram.h: At top level: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from memory.c:26: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >sound.c:671:17: warning: âpoly_counterâ is static but declared in inline function âupdate_snd_m4â which is not static > 671 | static Uint32 poly_counter; > | ^~~~~~~~~~~~ >sound.c:670:14: warning: âcur_env_stepâ is static but declared in inline function âupdate_snd_m4â which is not static > 670 | static int cur_env_step; > | ^~~~~~~~~~~~ >sound.c:669:14: warning: âepâ is static but declared in inline function âupdate_snd_m4â which is not static > 669 | static int ep=0; > | ^~ >sound.c:668:14: warning: âlpâ is static but declared in inline function âupdate_snd_m4â which is not static > 668 | static int lp=0; > | ^~ >sound.c:667:14: warning: âspâ is static but declared in inline function âupdate_snd_m4â which is not static > 667 | static int sp=0; > | ^~ >sound.c:666:14: warning: âenvâ is static but declared in inline function âupdate_snd_m4â which is not static > 666 | static int env=0; > | ^~~ >sound.c:665:16: warning: âcpâ is static but declared in inline function âupdate_snd_m4â which is not static > 665 | static float cp=0; > | ^~ >sound.c:576:14: warning: âvalâ is static but declared in inline function âupdate_snd_m3â which is not static > 576 | static int val=0; > | ^~~ >sound.c:575:14: warning: âspâ is static but declared in inline function âupdate_snd_m3â which is not static > 575 | static int sp=0; > | ^~ >sound.c:574:14: warning: âlpâ is static but declared in inline function âupdate_snd_m3â which is not static > 574 | static int lp=0; > | ^~ >sound.c:491:14: warning: âcur_env_stepâ is static but declared in inline function âupdate_snd_m2â which is not static > 491 | static int cur_env_step; > | ^~~~~~~~~~~~ >sound.c:490:14: warning: âepâ is static but declared in inline function âupdate_snd_m2â which is not static > 490 | static int ep=0; > | ^~ >sound.c:489:14: warning: âlpâ is static but declared in inline function âupdate_snd_m2â which is not static > 489 | static int lp=0; > | ^~ >sound.c:488:14: warning: âspâ is static but declared in inline function âupdate_snd_m2â which is not static > 488 | static int sp=0; > | ^~ >sound.c:487:14: warning: âenvâ is static but declared in inline function âupdate_snd_m2â which is not static > 487 | static int env=0; > | ^~~ >sound.c:373:14: warning: âcur_env_stepâ is static but declared in inline function âupdate_snd_m1â which is not static > 373 | static int cur_env_step; > | ^~~~~~~~~~~~ >sound.c:372:14: warning: âcur_swp_shiftâ is static but declared in inline function âupdate_snd_m1â which is not static > 372 | static int cur_swp_shift; > | ^~~~~~~~~~~~~ >sound.c:371:14: warning: âfpâ is static but declared in inline function âupdate_snd_m1â which is not static > 371 | static int fp=0; > | ^~ >sound.c:370:14: warning: âepâ is static but declared in inline function âupdate_snd_m1â which is not static > 370 | static int ep=0; > | ^~ >sound.c:369:14: warning: âlpâ is static but declared in inline function âupdate_snd_m1â which is not static > 369 | static int lp=0; > | ^~ >sound.c:368:15: warning: âspâ is static but declared in inline function âupdate_snd_m1â which is not static > 368 | static char sp=0; > | ^~ >sound.c:367:14: warning: âenvâ is static but declared in inline function âupdate_snd_m1â which is not static > 367 | static int env=0; > | ^~~ >In file included from sound.c:29: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >sound.c: In function âgbsound_initâ: >sound.c:952:7: warning: ignoring return value of âreallocâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 952 | realloc((void*)playbuf,desired.size+1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_gl.o video_gl.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o fileio.o fileio.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o frame_skip.o frame_skip.c >fileio.c: In function âgngb_file_writeâ: >fileio.c:220:44: warning: passing argument 2 of âBZ2_bzwriteâ discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 220 | return BZ2_bzwrite((BZFILE *)f->stream,ptr,size*nmemb); > | ^~~ >In file included from fileio.c:44: >/usr/include/bzlib.h:259:15: note: expected âvoid *â but argument is of type âconst void *â > 259 | void* buf, > | ~~~~~~~~^~~ >fileio.c: In function âget_type_fileâ: >fileio.c:63:3: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 63 | fread(str,1,10,file_tmp); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o interrupt.o interrupt.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o unzip.o unzip.c >In file included from interrupt.c:25: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >In file included from interrupt.c:24: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >interrupt.c: In function âgblcdc_update3â: >interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] > 511 | } > | ^ >unzip.c: In function âunzCloseâ: >unzip.c:449:5: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 449 | if (s->pfile_in_zip_read!=NULL) > | ^~ >unzip.c:452:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 452 | fclose(s->file); > | ^~~~~~ >unzip.c: In function âunzLocateFileâ: >unzip.c:770:5: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 770 | if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) > | ^~ >unzip.c:773:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 773 | s=(unz_s*)file; > | ^ >unzip.c: In function âunzlocal_CheckCurrentFileCoherencyHeaderâ: >unzip.c:849:5: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 849 | if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && > | ^~ >unzip.c:853:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 853 | if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ > | ^~ >unzip.c: In function âunzOpenCurrentFileâ: >unzip.c:914:5: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 914 | if (s->pfile_in_zip_read != NULL) > | ^~ >unzip.c:917:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 917 | if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, > | ^~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o main.o main.c >unzip.c: In function âunzlocal_getShortâ: >unzip.c:169:7: warning: âiâ may be used uninitialized [-Wmaybe-uninitialized] > 169 | x = (uLong)i; > | ~~^~~~~~~~~~ >unzip.c:165:9: note: âiâ was declared here > 165 | int i; > | ^ >unzip.c: In function âunzlocal_getLongâ: >unzip.c:191:7: warning: âiâ may be used uninitialized [-Wmaybe-uninitialized] > 191 | x = (uLong)i; > | ~~^~~~~~~~~~ >unzip.c:187:9: note: âiâ was declared here > 187 | int i; > | ^ >In file included from main.c:37: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from main.c:35: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o serial.o serial.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_yuv.o video_yuv.c >serial.c: In function âgbserial_initâ: >serial.c:148:47: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > 148 | if ((n=accept(s,(struct sockaddr *)&saddr,&len))<0) { > | ^~~~ > | | > | int * >In file included from serial.c:26: >/usr/include/sys/socket.h:307:42: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 307 | socklen_t *__restrict __addr_len); > | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >serial.c: In function âgbserial_receiveâ: >serial.c:226:10: warning: assignment to âUint8â {aka âunsigned charâ} from âUint8 *â {aka âunsigned char *â} makes integer from pointer without a cast [-Wint-conversion] > 226 | else SB=c; > | ^ >In file included from serial.c:45: >serial.c: In function âgbserial_wait_dataâ: >memory.h:59:18: warning: passing argument 2 of âwriteâ makes pointer from integer without a cast [-Wint-conversion] > 59 | #define SB (himem[0x61]) > | ~~~~~~^~~~~~~ > | | > | Uint8 {aka unsigned char} >serial.c:266:21: note: in expansion of macro âSBâ > 266 | write(dest_socket,SB,1); > | ^~ >In file included from serial.c:22: >/usr/include/unistd.h:378:45: note: expected âconst void *â but argument is of type âUint8â {aka âunsigned charâ} > 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur > | ~~~~~~~~~~~~^~~~~ >serial.c: In function âgbserial_sendâ: >serial.c:206:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 206 | write(dest_socket,&b,sizeof(Uint8)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >serial.c: In function âgbserial_wait_dataâ: >serial.c:266:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 266 | write(dest_socket,SB,1); > | ^~~~~~~~~~~~~~~~~~~~~~~ >serial.c: In function âgbserial_writeâ: >serial.c:321:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 321 | write(dest_socket,&b,1); > | ^~~~~~~~~~~~~~~~~~~~~~~ >In file included from video_yuv.c:23: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from video_yuv.c:21: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >In file included from /usr/include/features.h:490, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from serial.c:20: >In function âreadâ, > inlined from âgbserial_readâ at serial.c:312:8: >/usr/include/bits/unistd.h:38:10: warning: call to â__read_chk_warnâ declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] > 38 | return __glibc_fortify (read, __nbytes, sizeof (char), > | ^~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_yv12.o video_yv12.c >In file included from video_yv12.c:24: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from video_yv12.c:23: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o gngb cpu.o emu.o frame_skip.o interrupt.o main.o memory.o message.o rom.o serial.o sgb.o sound.o vram.o video_yuy2.o video_yuv.o video_yv12.o video_std.o video_gl.o menu.o fileio.o save.o unzip.o -lz -lbz2 -lSDL -lpthread -lSDL -lpthread >make[2]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >make[2]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >make[2]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >make[1]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >>>> Source compiled. >>>> Test phase [not enabled]: games-emulation/gngb-20060309-r1 > >>>> Install games-emulation/gngb-20060309-r1 into /var/tmp/portage/games-emulation/gngb-20060309-r1/image/ >make -j4 DESTDIR=/var/tmp/portage/games-emulation/gngb-20060309-r1/image/ install >Making install in src >make[1]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >make[2]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >make[2]: Nothing to be done for 'install-data-am'. > /bin/mkdir -p '/var/tmp/portage/games-emulation/gngb-20060309-r1/image//usr/bin' > /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c gngb '/var/tmp/portage/games-emulation/gngb-20060309-r1/image//usr/bin' >make[2]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >make[1]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >make[1]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >make[2]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >make[2]: Nothing to be done for 'install-exec-am'. > /bin/mkdir -p '/var/tmp/portage/games-emulation/gngb-20060309-r1/image//usr/share/man/man1' > /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 gngb.1 '/var/tmp/portage/games-emulation/gngb-20060309-r1/image//usr/share/man/man1' >make[2]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >make[1]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >>>> Completed installing games-emulation/gngb-20060309-r1 into /var/tmp/portage/games-emulation/gngb-20060309-r1/image/ > > * Final size of build directory: 2788 KiB (2.7 MiB) > * Final size of installed tree: 268 KiB > > * > * QA Notice: Package triggers severe warnings which indicate that it > * may exhibit random runtime failures. > * > * cpu.c:2913:24: warning: implicit declaration of function âgbserial_readâ; did you mean âgbserial_sendâ? [-Wimplicit-function-declaration] > * cpu.c:2920:21: warning: implicit declaration of function âgbserial_writeâ; did you mean âgbserial_initâ? [-Wimplicit-function-declaration] > * save.c:25:3: warning: implicit declaration of function âcheck_dirâ [-Wimplicit-function-declaration] > * save.c:112:30: warning: implicit declaration of function âtimeâ [-Wimplicit-function-declaration] > * save.c:485:3: warning: implicit declaration of function âget_bmp_ext_nbâ [-Wimplicit-function-declaration] > * save.c:530:5: warning: implicit declaration of function âget_ext_nbâ [-Wimplicit-function-declaration] > * save.c:639:5: warning: implicit declaration of function âupdate_sound_regâ [-Wimplicit-function-declaration] > * save.c:174:24: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > * save.c:179:21: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > * save.c:183:38: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > * save.c:183:19: warning: array subscript 5 is above array bounds of âUint8[5]â {aka âunsigned char[5]â} [-Warray-bounds] > * rom.c:124:11: warning: implicit declaration of function âzip_file_open_next_româ [-Wimplicit-function-declaration] > * memory.c:817:26: warning: implicit declaration of function âmovie_add_padâ [-Wimplicit-function-declaration] > * memory.c:819:12: warning: implicit declaration of function âmovie_get_next_padâ [-Wimplicit-function-declaration] > * memory.c:984:11: warning: implicit declaration of function âgbserial_writeâ; did you mean âgbserial_initâ? [-Wimplicit-function-declaration] > * interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] > * > * Please file a bug about this at https://bugs.gentoo.org/ > * with the maintainer of the package. > * > * ERROR: games-emulation/gngb-20060309-r1::gentoo failed: > * install aborted due to severe warnings shown above > * > * Call stack: > * misc-functions.sh, line 670: Called install_qa_check > * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' > * 90gcc-warnings, line 197: Called gcc_warn_check > * 90gcc-warnings, line 183: Called die > * The specific snippet of code: > * die "install aborted due to severe warnings shown above" > * > * If you need support, post the output of `emerge --info '=games-emulation/gngb-20060309-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-emulation/gngb-20060309-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-emulation:gngb-20060309-r1:20221120-165258.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/gngb-20060309-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-emulation/gngb-20060309-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-emulation/gngb-20060309-r1/image' > * S: '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882267
:
835021
|
835023
|
835025
|
835027
|
835029
| 835031 |
835033