Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 891267 Details for
Bug 930372
games-board/gnushogi-1.4.1-r1 - sizetest.c: warning: a function declaration without a prototype is
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-board:gnushogi-1.4.1-r1:20240421-135429.log
games-board:gnushogi-1.4.1-r1:20240421-135429.log (text/plain), 37.48 KB, created by
Toralf Förster
on 2024-04-21 14:57:59 UTC
(
hide
)
Description:
games-board:gnushogi-1.4.1-r1:20240421-135429.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-04-21 14:57:59 UTC
Size:
37.48 KB
patch
obsolete
> * Package: games-board/gnushogi-1.4.1-r1:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking gnushogi-1.4.1.tar.gz to /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work >>>> Source unpacked in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work >>>> Preparing source in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1 ... > * Applying gnushogi-1.4.1-fno-common.patch ... > [ ok ] >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1 ... >./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 --docdir=/usr/share/doc/gnushogi-1.4.1-r1 --htmldir=/usr/share/doc/gnushogi-1.4.1-r1/html --libdir=/usr/lib64 --with-x --enable-xshogi >configure: C compiler >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ISO C89... none needed >configure: yacc/bison, lex/flex, and install >checking for bison... bison -y >checking for flex... flex >checking lex output file root... lex.yy >checking lex library... -lfl >checking whether yytext is a pointer... yes >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >configure: X >checking how to run the C preprocessor... clang-cpp >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 >configure: libs >checking for clrtoeol in -lcurses... no >checking for pow in -lm... yes >checking for tgoto in -ltermcap... no >configure: header files >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for ANSI C header files... yes >checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking sys/file.h usability... yes >checking sys/file.h presence... yes >checking for sys/file.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >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 for unistd.h... (cached) yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking whether time.h and sys/time.h may both be included... yes >configure: typedefs >checking for an ANSI C-conforming const... yes >checking for stdbool.h that conforms to C99... yes >checking for _Bool... yes >checking for inline... inline >checking for pid_t... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... (cached) yes >checking whether struct tm is in sys/time.h or time.h... time.h >configure: compiler characteristics >checking size of long... 8 >configure: library functions >checking vfork.h usability... no >checking vfork.h presence... no >checking for vfork.h... no >checking for fork... yes >checking for vfork... yes >checking for working fork... yes >checking for working vfork... (cached) yes >checking whether clang needs -traditional... no >checking for stdlib.h... (cached) yes >checking for GNU libc compatible malloc... yes >checking return type of signal handlers... void >checking for dup2... yes >checking for gethostname... yes >checking for gettimeofday... yes >checking for memset... yes >checking for pow... yes >checking for strcasecmp... yes >checking for strchr... yes >checking for strerror... yes >checking for strrchr... yes >checking for strstr... yes >checking for strtol... yes >checking for memcpy... yes >checking for bcopy... yes >checking for setvbuf... yes >checking for setlinebuf... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating gnushogi/Makefile >config.status: creating win32/config.h >config.status: creating doc/Makefile >config.status: creating xshogi/Makefile >config.status: creating config.h >>>> Source configured. >'/var/tmp/portage/games-board/gnushogi-1.4.1-r1/temp/clang16-errors.log' -> '/var/tmp/clang/games-board/gnushogi-1.4.1-r1/clang16-errors.log' >'/var/tmp/portage/games-board/gnushogi-1.4.1-r1/temp/clang16-safe.log' -> '/var/tmp/clang/games-board/gnushogi-1.4.1-r1/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1 ... >make -j4 >cd ./gnushogi && make gnushogi >cd ./gnushogi && make pat2inc >cd ./gnushogi && make sizetest >cd ./xshogi && make >make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c globals.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c globals.c >make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c sizetest.c >make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/xshogi' >clang -c xshogi.c -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fsigned-char -funroll-loops -I.. -I.. \ > -DFIRST_SHOGI_PROGRAM=\"gnushogi\" -DSECOND_SHOGI_PROGRAM=\"gnushogi\" \ > -DFIRST_HOST=\"localhost\" -DSECOND_HOST=\"localhost\" >sizetest.c:157:9: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 157 | TimeCalc() > | ^ > | void >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init-common.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init-common.c >1 warning generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o sizetest sizetest.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm >make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern-common.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern-common.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c attacks.c >xshogi.c:1234:1: warning: string literal of length 642 exceeds maximum length > 509 that C90 compilers are required to support [-Woverlength-strings] > 1234 | "<Expose>: DrawPosition() \n \ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >xshogi.c:1674:19: warning: cast to 'XtPointer' (aka 'void *') from smaller > integer type 'int' [-Wint-to-void-pointer-cast] > 1674 | (XtPointer)fromRemotePlayer); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >xshogi.c:1704:23: warning: cast to 'XtPointer' (aka 'void *') from smaller > integer type 'int' [-Wint-to-void-pointer-cast] > 1704 | (XtPointer)(player == &remotePlayer)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DPATTERNFILE=\"../misc/gnushogi.pat\" -c makepattern.c >xshogi.c:2820:9: warning: variable 'square_color' set but not used > [-Wunused-but-set-variable] > 2820 | int square_color, x, y, direction, font_ascent, font_descent; > | ^ >xshogi.c:3952:11: warning: variable 'mpr' set but not used > [-Wunused-but-set-variable] > 3952 | char *mpr; > | ^ >xshogi.c:4375:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 4375 | fgets(move, MSG_SIZ, gameFileFP); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >xshogi.c:4352:15: warning: variable 'move_type' set but not used > [-Wunused-but-set-variable] > 4352 | ShogiMove move_type; > | ^ >xshogi.c:4426:10: warning: variable 'pieceChar' set but not used > [-Wunused-but-set-variable] > 4426 | char pieceChar; > | ^ >xshogi.c:4577:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 4577 | pipe(to_prog); > | ^~~~ ~~~~~~~ >xshogi.c:4578:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 4578 | pipe(from_prog); > | ^~~~ ~~~~~~~~~ >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBOOK=\""lib64"/gnushogi.tbk\" -DBINBOOK=\""lib64"/gnushogi.bbk\" -c book.c >xshogi.c:5114:33: warning: cast to smaller integer type 'Cardinal' > (aka 'unsigned int') from 'XtPointer' (aka 'void *') > [-Wvoid-pointer-to-int-cast] > 5114 | Cardinal fromRemotePlayer = (Cardinal)client_data; > | ^~~~~~~~~~~~~~~~~~~~~ >xshogi.c:5925:5: warning: ignoring return value of function declared with > 'warn_unused_result' attributeflex scanner.l > [-Wunused-result] > 5925 | fgets(line, MSG_SIZ, fp); > | ^~~~~ ~~~~~~~~~~~~~~~~~ >xshogi.c:5937:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 5937 | fgets(line, MSG_SIZ, fp); /* skip opponents */ > | ^~~~~ ~~~~~~~~~~~~~~~~~ >xshogi.c:5941:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 5941 | fgets(line, MSG_SIZ, fp); > | ^~~~~ ~~~~~~~~~~~~~~~~~ >xshogi.c:5963:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 5963 | fscanf(fp, "%i%i%i%i%i%i%i%i\n", > | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ > 5964 | &initial_catches[color][pawn], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5965 | &initial_catches[color][lance], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5966 | &initial_catches[color][knight], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5967 | &initial_catches[color][silver], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5968 | &initial_catches[color][gold], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5969 | &initial_catches[color][bishop], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5970 | &initial_catches[color][rook], > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 5971 | &initial_catches[color][king]); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >xshogi.c:5979:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 5979 | fgets(line, MSG_SIZ, fp); > | ^~~~~ ~~~~~~~~~~~~~~~~~ >mv lex.yy.c scanner.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c commondsp.c >book.c:705:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 705 | write(gfd, (char *)&ADMIN, sizeof_gdxadmin); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:711:17: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 711 | write(gfd, (char *)&DATA, sizeof_gdxdata); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:746:29: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 746 | WriteData(); > | ^~~~~~~~~~~ >book.c:611:5: note: expanded from macro 'WriteData' > 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:784:45: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 784 | WriteData(); > | ^~~~~~~~~~~ >book.c:611:5: note: expanded from macro 'WriteData' > 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:832:21: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 832 | WriteData(); > | ^~~~~~~~~~~ >book.c:611:5: note: expanded from macro 'WriteData' > 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:841:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 841 | WriteData(); > | ^~~~~~~~~~~ >book.c:611:5: note: expanded from macro 'WriteData' > 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:845:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 845 | WriteAdmin(); > | ^~~~~~~~~~~~ >book.c:603:3: note: expanded from macro 'WriteAdmin' > 603 | write(gfd, (char *)&ADMIN, sizeof_gdxadmin); \ > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >book.c:879:43: warning: format specifies type 'int' but the argument has type > 'ULONG' (aka 'unsigned long') [-Wformat] > 879 | sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); > | ~~ ^~~~~~~~~~~ > | %lu >/usr/include/bits/stdio2.h:37:30: note: expanded from macro 'sprintf' > 37 | __glibc_objsize (str), __VA_ARGS__) > | ^~~~~~~~~~~ >book.c:879:56: warning: format specifies type 'int' but the argument has type > 'ULONG' (aka 'unsigned long') [-Wformat] > 879 | sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); > | ~~ ^~~~~~~~~~ > | %lu >/usr/include/bits/stdio2.h:37:30: note: expanded from macro 'sprintf' > 37 | __glibc_objsize (str), __VA_ARGS__) > | ^~~~~~~~~~~ >book.c:650:20: warning: variable 'xside' set but not used > [-Wunused-but-set-variable] > 650 | unsigned short xside, side; > | ^ >book.c:655:10: warning: variable 'collisions' set but not used > [-Wunused-but-set-variable] > 655 | LONG collisions = 0; > | ^ >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pat2inc.c >commondsp.c:399:5: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 399 | skip() > | ^ > | void >commondsp.c:411:6: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 411 | skipb() > | ^ > | void >commondsp.c:441:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 441 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:459:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 459 | fgets(fname, 256, fd); /* empty */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:460:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 460 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:468:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 468 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:475:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 475 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:482:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 482 | fgets(fname, 256, fd); /* empty */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:486:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 486 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:536:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 536 | fgets(fname, 256, fd); /* empty */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:537:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 537 | fgets(fname, 256, fd); /* 9 8 7 ... */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:538:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 538 | fgets(fname, 256, fd); /* empty */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:539:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 539 | fgets(fname, 256, fd); /* p l n ... */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:544:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 544 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:570:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 570 | fgets(fname, 256, fd); /* empty */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:571:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 571 | fgets(fname, 256, fd); /* move score ... */ > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:818:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 818 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:828:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 828 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:830:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 830 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:834:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 834 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:885:13: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 885 | fgets(fname, 256, fd); > | ^~~~~ ~~~~~~~~~~~~~~ >commondsp.c:976:2: warning: embedding a directive within macro arguments has > undefined behavior [-Wembedded-directive] > 976 | #ifndef MINISHOGI > | ^ >commondsp.c:978:2: warning: embedding a directive within macro arguments has > undefined behavior [-Wembedded-directive] > 978 | #else > | ^ >commondsp.c:982:2: warning: embedding a directive within macro arguments has > undefined behavior [-Wembedded-directive] > 982 | #ifndef MINISHOGI > | ^ >commondsp.c:985:2: warning: embedding a directive within macro arguments has > undefined behavior [-Wembedded-directive] > 985 | #endif > | ^ >commondsp.c:1462:15: warning: variable 'sec' set but not used > [-Wunused-but-set-variable] > 1462 | int m, t, sec; > | ^ >commondsp.c:1497:15: warning: variable 'sec' set but not used > [-Wunused-but-set-variable] > 1497 | int m, t, sec; > | ^ >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o pat2inc globals.o init-common.o pattern-common.o makepattern.o pat2inc.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm >11 warnings generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c dspwrappers.c >make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c eval.c >eval.c:1137:60: warning: result of comparison of constant 2 with boolean > expression is always false [-Wtautological-constant-out-of-range-compare] > 1137 | else if ((Captured[c2][p] && color[u]) == neutral) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >eval.c:1268:14: warning: variable 'ds' set but not used > [-Wunused-but-set-variable] > 1268 | short s, ds; > | ^ >bison -y parser.y >parser.y: warning: 1 shift/reduce conflict [8;id=da89796e0006169baa4dcc4f00000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] >parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples >mv y.tab.c parser.c >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c genmove.c >27 warnings generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fsigned-char -funroll-loops -I.. -I.. -I. -c parser.c >y.tab.c:1169:16: error: call to undeclared function 'yylex'; ISO C99 and later > do not support implicit function declarations > [-Wimplicit-function-declaration] > 1169 | yychar = yylex (); > | ^ >parser.y:177:3: error: call to undeclared function 'DisplayMessage'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 177 | DisplayMessage("Black wins", False); > | ^ >parser.y:182:3: error: call to undeclared function 'DisplayMessage'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 182 | DisplayMessage("White wins", False); > | ^ >parser.y:187:3: error: call to undeclared function 'DisplayMessage'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 187 | DisplayMessage("Draw", False); > | ^ >y.tab.c:1451:15: warning: passing arguments to 'yyerror' without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 1451 | yyerror (YY_("syntax error")); > | ^ >y.tab.c:1562:11: warning: passing arguments to 'yyerror' without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 1562 | yyerror (YY_("memory exhausted")); > | ^ >parser.y:73:13: warning: a function declaration without a prototype is > deprecated in all versions of C and is treated as a zero-parameter > prototype in C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 73 | static void yyerror(); > | ^ >parser.y:205:13: note: conflicting prototype is here > 205 | static void yyerror(char *errmsg) > | ^ >3 warnings and 4 errors generated. >make[1]: *** [Makefile:100: parser.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init.c >./pat2inc >Pattern: 2102 bytes for 14 sequences with 128 patterns. > >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c rawdsp.c >rawdsp.c:146:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 146 | scanf(fmt, buffer); > | ^~~~~ ~~~~~~~~~~~ >rawdsp.c:266:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 266 | scanf("%s", s); > | ^~~~~ ~~~~~~~ >rawdsp.c:353:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 353 | scanf("%s", s); > | ^~~~~ ~~~~~~~ >rawdsp.c:444:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 444 | fgets(s, 80, stdin); /* skip "setup" command */ > | ^~~~~ ~~~~~~~~~~~~ >rawdsp.c:448:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 448 | fgets(s, 80, stdin); > | ^~~~~ ~~~~~~~~~~~~ >rawdsp.c:658:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 658 | scanf("%hd", &WAwindow); > | ^~~~~ ~~~~~~~~~~~~~~~~ >rawdsp.c:660:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 660 | scanf("%hd", &BAwindow); > | ^~~~~ ~~~~~~~~~~~~~~~~ >rawdsp.c:668:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 668 | scanf("%hd", &WBwindow); > | ^~~~~ ~~~~~~~~~~~~~~~~ >rawdsp.c:670:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 670 | scanf("%hd", &BBwindow); > | ^~~~~ ~~~~~~~~~~~~~~~~ >rawdsp.c:710:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 710 | fgets(T, NO_SQUARES + 1, stdin); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ >rawdsp.c:773:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 773 | scanf("%hd", &MaxSearchDepth); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ >rawdsp.c:782:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 782 | scanf("%hd", &HashDepth); > | ^~~~~ ~~~~~~~~~~~~~~~~~ >rawdsp.c:784:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 784 | scanf("%hd", &HashMoveLimit); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ >rawdsp.c:792:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 792 | scanf("%hd", &contempt); > | ^~~~~ ~~~~~~~~~~~~~~~~ >rawdsp.c:800:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 800 | scanf("%hd", &xwndw); > | ^~~~~ ~~~~~~~~~~~~~ >rawdsp.c:811:11: warning: variable 'score' set but not used > [-Wunused-but-set-variable] > 811 | short score; > | ^ >rawdsp.c:837:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 837 | scanf("%s", s); > | ^~~~~ ~~~~~~~ >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c search.c >search.c:61:11: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 61 | repetition() > | ^ > | void >search.c:246:16: warning: variable 'blockable' is used uninitialized whenever > '?:' condition is false [-Wsometimes-uninitialized] > 246 | in_check = (board[sqking] == king) > | ^~~~~~~~~~~~~~~~~~~~~~~ >search.c:250:33: note: uninitialized use occurs here > 250 | MoveList(side, 1, in_check, blockable); > | ^~~~~~~~~ >search.c:246:16: note: remove the '?:' if its condition is always true > 246 | in_check = (board[sqking] == king) > | ^~~~~~~~~~~~~~~~~~~~~~~ > 247 | ? SqAttacked(sqking, side^1, &blockable) > | ~ > 248 | : false; > | ~~~~~~~ >search.c:148:38: note: initialize the variable 'blockable' to silence this > warning > 148 | short sqking, in_check, blockable; > | ^ > | = 0 >17 warnings generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c tcontrl.c >tcontrl.c:67:9: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 67 | TimeCalc() > | ^ > | void >16 warnings generated. >2 warnings generated. >make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/xshogi' >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c util.c >make: [Makefile:56: xshogi_compile] Error 2 (ignored) >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBINBOOK=\""lib64"/gnushogi.bbk\" -c main.c >1 warning generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern.c >main.c:260:21: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 260 | fread(&n, sizeof(struct fileentry), 1, hashfile); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >util.c:353:9: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 353 | fread(&t, sizeof(struct fileentry), 1, hashfile); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 warning generated. >2 warnings generated. >1 warning generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o gnushogi globals.o init-common.o pattern-common.o attacks.o book.o commondsp.o dspwrappers.o eval.o genmove.o init.o pattern.o rawdsp.o search.o tcontrl.o util.o main.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm >make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >cd ./gnushogi && make gnushogi.bbk >make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >echo quit > test >cat ../misc/gnushogi.tbk > _tmp_t >cat test | ./gnushogi -R -b _tmp_t -B ./gnushogi.bbk -S 8000 -P 40 3 0 > > >Black 0:00 White 0:00 > > L N S G K G S N L > - R - - - - - B - > P P P P P P P P P > - - - - - - - - - > - - - - - - - - - > - - - - - - - - - > p p p p p p p p p > - b - - - - - r - > l n s g k g s n l > >black >white >creating bookfile ./gnushogi.bbk 192000 8000 >1000 rec 52 openings processed >2000 rec 113 openings processed >3000 rec 210 openings processed >4000 rec 324 openings processed >5000 rec 452 openings processed >Book used 5668(8000). > >Your move is? rm test _tmp_t > >make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' >>>> Source compiled. >>>> Test phase [not enabled]: games-board/gnushogi-1.4.1-r1 > >>>> Install games-board/gnushogi-1.4.1-r1 into /var/tmp/portage/games-board/gnushogi-1.4.1-r1/image >!!! dobin: xshogi/xshogi does not exist > * ERROR: games-board/gnushogi-1.4.1-r1::gentoo failed (install phase): > * dobin failed > * > * If you need support, post the output of `emerge --info '=games-board/gnushogi-1.4.1-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-board/gnushogi-1.4.1-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-board:gnushogi-1.4.1-r1:20240421-135429.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1' > * S: '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1' > * QA Notice: file does not exist: > * > * dobin: xshogi/xshogi does not exist >
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 930372
:
891262
|
891263
|
891264
|
891265
|
891266
| 891267 |
891268
|
891269
|
891270
|
891271