Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 656972 Details for
Bug 739156
games-board/spider-1.2_p4-r2 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 58.75 KB, created by
Agostino Sarubbo
on 2020-08-26 19:46:17 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-08-26 19:46:17 UTC
Size:
58.75 KB
patch
obsolete
> * Package: games-board/spider-1.2_p4-r2 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/7275903542d0438bd74c0ac9b862272237dd1cd0 (Wed Aug 26 16:35:41 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 18500948 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Wed, 26 Aug 2020 16:35:40 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo >dev-util/cmake: 3.18.1::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* HPND" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/games-board/spider-1.2_p4-r2/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking spider_1.2.orig.tar.gz to /var/tmp/portage/games-board/spider-1.2_p4-r2/work >>>> Unpacking spider_1.2-4.diff.gz to /var/tmp/portage/games-board/spider-1.2_p4-r2/work >>>> Source unpacked in /var/tmp/portage/games-board/spider-1.2_p4-r2/work >>>> Preparing source in /var/tmp/portage/games-board/spider-1.2_p4-r2/work/spider-1.2.orig ... > * Applying spider_1.2-4.diff ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-board/spider-1.2_p4-r2/work/spider-1.2.orig ... >imake -DSmallCards=NO -DRoundCards -DCompileXlibOnly=YES -DUseInstalled -I/usr/lib64/X11/config >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-board/spider-1.2_p4-r2/work/spider-1.2.orig ... >make -j16 V=1 >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o gfx.o gfx.c >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o spider.o spider.c >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o events.o events.c >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o windows.o windows.c >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o movelog.o movelog.c >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o util.o util.c >x86_64-pc-linux-gnu-clang -DDATE="\"`date`\"" -c version.c >x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKITLESS -DROUND_CARDS -DHELPDIR="\"/usr/doc/spider\"" -c -o main.o main.c >In file included from In file included from windows.cutil.cIn file included from ::17In file included from In file included from events.c: >:17movelog.c17spider.c: >In file included from : >::In file included from ./defs.h./defs.hIn file included from :1717: >:./defs.h16: >In file included from 16:: >In file included from ./defs.h: >16In file included from ./defs.h:In file included from : >/usr/include/X11/Xlib.h:16/usr/include/X11/Xlib.hIn file included from :16: >:/usr/include/X11/Xlib.h38: >In file included from 38:: >38In file included from /usr/include/X11/Xlib.h: >In file included from : >/usr/include/X11/Xlib.h:In file included from /usr/include/sys/types.hIn file included from :38/usr/include/sys/types.h:/usr/include/sys/types.h2538: >::: >: >In file included from 25/usr/include/sys/types.h25In file included from /usr/include/features.h: >:: >/usr/include/sys/types.h:/usr/include/features.h25/usr/include/features.h::187:: >25187: >:187/usr/include/features.h:/usr/include/features.h3::3::3 187:187::warning : 3: warning3warning:: "_BSD_SOURCE:: "_BSD_SOURCEwarning"_BSD_SOURCEand warning : and: and"_BSD_SOURCE _SVID_SOURCE_SVID_SOURCE "_BSD_SOURCE _SVID_SOURCE andareare and > >are _SVID_SOURCE deprecated, >_SVID_SOURCE deprecated, deprecated,are useare >use >use _DEFAULT_SOURCE" deprecated,_DEFAULT_SOURCE" deprecated,_DEFAULT_SOURCE" [-W#warnings] use[-W#warnings] >use[-W#warnings] > >_DEFAULT_SOURCE"_DEFAULT_SOURCE" [-W#warnings][-W#warnings] > ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > > > ^ ^ ^# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > > > ^ ^ > >In file included from gfx.c:16: >In file included from ./defs.h:16: >In file included from /usr/include/X11/Xlib.h:38: >In file included from /usr/include/sys/types.h:25: >/usr/include/features.h:187:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from main.c:17: >In file included from ./defs.h:16: >In file included from /usr/include/X11/Xlib.h:38: >In file included from /usr/include/sys/types.h:25: >/usr/include/features.h:187:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from movelog.c:17: >./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] >#else DEBUG > ^ > // >In file included from spider.c:17: >./defs.h:34:7: warning: extra tokensIn file included from In file included from util.cwindows.cat:: 1717end: >: > ./defs.h./defs.hof:: 3434#else:: 77directive: :[-Wextra-tokens]warning >warning: : extraextra tokenstokens #else DEBUG at > at ^end > end //of > of./defs.h#else : #elsedirective63 :directive[-Wextra-tokens]8 > In file included from :[-Wextra-tokens]events.c >#else DEBUG:warning >: ^17extra >#else DEBUG //: > > >./defs.htokens ^: 34 >:at7 //: > endwarning : ofextra #endiftokens directiveat [-Wextra-tokens]end > of #else #endif DEBUGdirective > ^[-Wextra-tokens] > > // >#else DEBUG./defs.h >: ^63 >: //8 >: warning: extra tokens at end of #endif directive [-Wextra-tokens] >#endif DEBUG > ^ > // >./defs.h:./defs.h63::638::8 :warning : warningextra: extratokens tokensat atend endof of#endif #endifdirective directive[-Wextra-tokens] >[-Wextra-tokens] >#endif DEBUG#endif DEBUG > > ^ ^ > > // // > >./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] >#endif DEBUG > ^ > // >In file included from movelog.c:18: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS > ^ > // >In file included from spider.c:18: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS > ^ > // >In file included from windows.c:18: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS >In file included from ^util.c >: // >18: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS > ^ > // >In file included from events.c:18: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS > ^ > // >events.c:52:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >event_loop() >^ >events.c:64:4: warning: implicit declaration of function 'shuffle_cards' is > invalid in C99 [-Wimplicit-function-declaration] > shuffle_cards(); > ^ >windows.c:23:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >window_init(ac, av, geom) >^ >spider.c:30:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >card_init() >^ >movelog.c:39:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >make_deck_cache() >^ >windows.c:49:40spider.c:: 38warning:: 25passing: 'int *'warning : toimplicitly parameterdeclaring oflibrary typefunction 'unsigned int *''malloc' > withconverts > betweentype pointers'void *(unsigned long)' to[-Wimplicit-function-declaration] >integer types with different sign > [-Wpointer-sign] stack[i] = (CardList) malloc(sizeof(CardListStruct)); > > ^ >spider.c:38:25:movelog.c :note49: flags = XParseGeometry(geom, &x, &y, &table_width,: >1 ^~~~~~~~~~~~include: > the/usr/include/X11/Xlib.hwarning :: header2861non-void : <stdlib.h>37function : or does note explicitly: not passing provide return argument a a >to valuedeclarationparameter > forhere[-Wreturn-type] > >'malloc' >} > unsigned int* /* width_return */,^ > > ^ >windows.c:50:4: warning: passing 'int *' to parameter of type 'unsigned int *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > &table_height); > ^~~~~~~~~~~~~ >/usr/include/X11/Xlib.h:2863:1: note: passing argument to parameter here >); >^ >spider.c:64:21: warning: implicitly declaring library function 'calloc' with > type 'void *(unsigned long, unsigned long)' > [-Wimplicit-function-declaration] > tmp = (CardPtr) calloc(sizeof(CardStruct), 1); > ^ >spider.c:64:21: note: include the header <stdlib.h> or explicitly provide a > declaration for 'calloc' >spider.c:65:5: warning: implicit declaration of function 'add_card' is invalid > in C99 [-Wimplicit-function-declaration] >movelog.c add_card(tmp, tmp2, LOC_BEFORE, deck);: >51 ^: >1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >init_cache() >^ >movelog.c:54:3:spider.c :warning74: :implicit2 :declaration warningof: implicitfunction declaration'free' ofis functioninvalid 'srandom'in >is C99windows.cinvalid : [-Wimplicit-function-declaration]119in >: >8 :C99 warning free((char *)move_cache);[-Wimplicit-function-declaration]: >extra > ^ >tokens at srandom(getpid());end > ^of > #endif directive > [-Wextra-tokens] >spider.c#endif KITLESS: >75 ^: >2 //: > warning: implicit declaration of function 'shuffle_cards' is > movelog.cinvalid: 55in:windows.c 23:C99:143 :[-Wimplicit-function-declaration]warning8 >: :implicitly warningdeclaring shuffle_cards();: >extralibrary ^ >tokensfunction at'calloc' endwith >of type#endif 'void *(unsigned long, unsigned long)'directive > > [-Wimplicit-function-declaration][-Wextra-tokens] > >#endif KITLESS > ^ > // > move_cache = (int *) calloc(CACHE_SIZE, sizeof(int)); > ^ >movelog.c:55:23: note: include the header spider.c<stdlib.h>: 76or: 1explicitly: providewarning : anon-void > functiondeclaration doesfor not'calloc' >return a value > [-Wreturn-type] >} >^ >windows.c:118:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >movelog.c:58:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >events.c:138:2: warning: implicit declaration of function 'redraw_deck' is > invalid in C99 [-Wimplicit-function-declaration] > redraw_deck(xev->x, xev->y, xev->width, xev->height); > ^ >events.c:139:2: warning: implicit declaration of functionmovelog.c :'redraw_card_piles'60 :is1 >: invalidwarning : intype C99specifier [-Wimplicit-function-declaration]missing, > defaults to 'int' > redraw_card_piles(xev->x, xev->y, xev->width, xev->height);[-Wimplicit-int] > > ^ >grow_cache() >^ >events.c:140:2: warning: implicit declaration of function 'redraw_card_stacks' >movelog.c :is65 :invalid16 :in warningC99: implicitly[-Wimplicit-function-declaration] >declaring library function 'realloc' with > redraw_card_stacks(xev->x, xev->y, xev->width, xev->height);type > ^'void *(void *, unsigned long)' > [-Wimplicit-function-declaration] > new = (int *) realloc((char *)move_cache, > ^ >movelog.c:65:16: note: include the header <stdlib.h> or explicitly provide a > declaration for 'realloc' >movelog.c:69:3: warning: implicitly declaring library function 'exit' with type > 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] > exit(-1); > ^ >movelog.c:69:3: note: include the header <stdlib.h> or explicitly provide a > declaration for 'exit' >movelog.c:72:1: warning: non-void function does not return a value spider.cin: 87all: >1 :control warningpaths: type[-Wreturn-type] >specifier missing,} >defaults^ >to 'int' > [-Wimplicit-int] >compare(a1, a2) >^ >util.c:160:23: warning: implicitly declaring library function 'calloc' with type > 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration] > n = newstr = (char *)calloc((unsigned)(strlen(str) + 256), 1); > ^ >util.c:160:23: note: include the header <stdlib.h> or spider.cexplicitly: 96provide: 1a: > warningdeclaration: typefor specifiermovelog.c'calloc': >74missing,: 1defaults: towarning : 'int'type > specifier[-Wimplicit-int] >missing, defaults to 'int' >remove_all_cards(cache) >[-Wimplicit-int]^ > >record(from, dest, num_cards, exposed) >^ >events.cspider.c::237105::43:: warningwarning: : implicitimplicit declarationdeclaration ofof functionfunction 'spider_bell''remove_card' ismovelog.cis: > >84 :invalidinvalid1 :inin warningC99 : C99non-void [-Wimplicit-function-declaration] [-Wimplicit-function-declaration] >function > does not spider_bell(dpy, 0); remove_card(tmp); > > ^return ^ > >a value > [-Wreturn-type] >} >^ >spider.c:112util.c::4185:: 12warning:: implicitwarning : declarationusing ofthe functionresultevents.c :'remove_card'of247 :isan4 > : assignment invalidwarning : asin implicit movelog.ca C99: declaration 86condition [-Wimplicit-function-declaration]: of >1without: > remove_card(tmp);function warning > parentheses: ^'spider_bell' type > [-Wparentheses] is >specifier > missing,invalid if (pwd = getpwnam(uname)) {defaultsin > ~~~~^~~~~~~~~~~~~~~~~toC99 > 'int'[-Wimplicit-function-declaration] > > [-Wimplicit-int] >spider.c:120 spider_bell(dpy, 0);:unencode(val, from, dest, num_cards, exposed) >4 > ^: >^ >warning: implicit declaration of function 'remove_card' is > invalid inevents.c :C99249 :[-Wimplicit-function-declaration]4 >: warning: implicit remove_card(tmp);declaration > ^of > function util.c'show_full_suits': 185is: >12 :invalid notein: placemovelog.cC99: spider.c97parentheses[-Wimplicit-function-declaration]:: >1261around::1 show_full_suits();: >thewarning ^: assignmentwarning >non-void : tonon-voidfunction silencefunctiondoes thisdoesnot > notreturnwarning >returna avalue >value if (pwd = getpwnam(uname)) { >[-Wreturn-type] > > ^[-Wreturn-type] > >} ( )} > > >^^ > >util.c:185:12: note: use '==' to turn this assignment into an equality > comparison > if (pwd = getpwnam(uname)) { > ^ > == >events.c:275:5: warning: implicit declaration movelog.cof: 99function: 1'deal_cards': iswarning >: typeinvalid specifierin missing,C99 defaults[-Wimplicit-function-declaration] >to 'int' > [-Wimplicit-int] >undo() deal_cards(); > >^ ^ > >events.c:277:5: warningutil.c: :implicit171 :declarationspider.c49movelog.c :of::131107 ::functionwarning13 :'deal_next_hand': : 'strncpy' warningis warning: >call: implicit type invalidoperates declaration specifier inon of missing, C99objects function defaults [-Wimplicit-function-declaration]of 'spider_bell' > to type is 'int' >'char' > invalidwhile deal_next_hand(True);[-Wimplicit-int] >in > > ^the >C99 shuffle_cards()size >[-Wimplicit-function-declaration] ^ >is > based spider_bell(dpy, 0); >on ^events.c >:a281 :different4 :type warning'char *': >implicit [-Wsizeof-pointer-memaccess]declaration > movelog.cof: 108function: 3'spider_bell': iserror > (void)strncpy(newstr, getenv("HOME"), sizeof(newstr)); : >invalidnon-void ~~~~~~ ^~~~~~ in > functionC99 util.c 'undo':[-Wimplicit-function-declaration] 171 >should: 49return: anote : valuedid spider_bell(dpy, 0); > > you ^[-Wreturn-type] > >meanspider.c : return;to144 >: ^ 2 >provide: anwarning : explicitimplicit length?declaration > of function 'qsort' is (void)strncpy(newstr, getenv("HOME"), sizeof(newstr)); >invalid ^~~~~~ >in > C99 movelog.c[-Wimplicit-function-declaration]: >114:3: warning: implicit declaration of function 'spider_bell' is > qsort((char *) shuffled_cards, NUM_CARDS, sizeof(struct shuffle), >invalid ^ >in C99 [-Wimplicit-function-declaration] > spider_bell(dpy, 0); > ^ >movelog.c:119:3: warning: implicit declaration of function 'undo_deal' isspider.cevents.c >:: 149309invalid: :3in5: : C99 warning warning: [-Wimplicit-function-declaration]: implicit >implicit declaration undo_deal();declaration >ofof ^ >functionfunction 'add_card''spider_bell' isis >invalid >movelog.cinvalid :inin122 :C99C993 :[-Wimplicit-function-declaration][-Wimplicit-function-declaration] > >warning: implicit declaration of spider_bell(dpy, 0); add_card(shuffled_cards[i].card, deck->cards, LOC_START, deck); > >function ^ ^ > >'spider_bell' is > invalid in C99 [-Wimplicit-function-declaration] >spider.c:153: spider_bell(dpy, 0);2 >: ^ >warning: implicit declaration of function 'make_deck_cache' is >movelog.c :invalid129 :in4 :C99 warning[-Wimplicit-function-declaration]: events.c >implicit: 319declaration: 4 make_deck_cache();of: > ^warningfunction > : 'undo_suit'implicit isdeclaration > ofinvalid functionin 'spider_bell'C99 is[-Wimplicit-function-declaration] > > invalid in undo_suit(from - 1, exposed); >C99 ^ >[-Wimplicit-function-declaration] >spider.c spider_bell(dpy, 0);: >168 ^:movelog.c >2::131 :warning4: :implicit warningdeclaration: implicitof declarationfunction of'init_cache' functionis >'undo_normal' invalidis >in invalidC99 in[-Wimplicit-function-declaration] >C99 [-Wimplicit-function-declaration] > init_cache(); > ^ > undo_normal(from - 1, dest - 1, num_cards, exposed); > ^ >spider.c:169:2: warning: implicit declaration of function 'deal_cards'movelog.c :is139 >: 1invalid: inwarning : C99type [-Wimplicit-function-declaration]specifier > missing, deal_cards();defaults > ^to > 'int' > [-Wimplicit-int] >events.cundo_deal(): >338^: >spider.c4::170 :warning1: : implicitwarning : declarationnon-void offunction functiondoes 'spider_bell'not isreturn > ainvalid valuein > movelog.c C99:[-Wreturn-type] 146 >[-Wimplicit-function-declaration]:} >3 >:^ > spider_bell(dpy, 0);warning >: ^implicit > declaration of function 'remove_card' is > invalid in C99 [-Wimplicit-function-declaration] > remove_card(tmp); > ^ >movelog.c:147:3: warning: implicitevents.c :declaration355 :of3 :function warning'add_card': implicitis declarationinvalid >of infunction C99'spider_bell' [-Wimplicit-function-declaration]is > > invalid in C99 add_card(tmp, deck->cards, LOC_BEFORE, deck); >[-Wimplicit-function-declaration] ^ > > spider_bell(dpy, 0); > ^ >movelog.c:148:3: warning: implicit declaration of function 'flip_card' is > invalid in C99 [-Wimplicit-function-declaration] > flip_card(tmp, Facedown); > ^ >movelog.c:153:4: warning: implicit declaration of functionspider.c :'show_list'175 :is1 >: invalidwarning : intype C99specifier [-Wimplicit-function-declaration]missing, > defaults to 'int' > show_list(stack[i], stack[i]->cards); >[-Wimplicit-int] ^ > >deal_cards() >^ >movelog.c:155:4: warning: implicit declaration of function 'show_list' is > invalid in C99 [-Wimplicit-function-declaration] > show_list(stack[i], last_card(stack[i])); > ^ >events.c:395:4: warning: spider.cimplicit: 196declaration: 3movelog.cof:: 165functionwarning: >: 1 implicit:'read_file_or_selection' declarationwarningis : oftypeinvalid functionspecifierin 'remove_card'missing,C99 >isdefaults > [-Wimplicit-function-declaration] to >invalid 'int'in > C99[-Wimplicit-int] > read_file_or_selection(fname);[-Wimplicit-function-declaration] > >undo_suit(from, exposed) ^ > >^ remove_card(tmp[num]); > > ^ >movelog.c:172:3: warning: implicit declaration of function 'flip_card' is > invalid in C99 [-Wimplicit-function-declaration] > flip_card(last_card(stack[from]), Facedown);events.c >: ^406 >:4:spider.c :warning205: :implicit4 :declaration warningof: implicitfunction declaration'write_file' ofis >function invalid'add_card' inis C99invalid >[-Wimplicit-function-declaration] >inmovelog.c :C99182 :[-Wimplicit-function-declaration]1 >: write_file(fname, write_confirmer); >warning ^: >type specifier missing, add_card(tmp[j], stack[i]->cards, LOC_END, stack[i]);defaults > ^to > 'int' > [-Wimplicit-int] >undo_normal(from, dest, num_cards, exposed) >^ >events.c:413:4: warning: implicitmovelog.c spider.cdeclaration: :of189 215:function:3 3'compute_score':: warningiswarning: >: implicit implicit invalid declaration declaration in of of C99 functionfunction[-Wimplicit-function-declaration] >'flip_card''show_list' isis compute_score()); > > invalid ^invalid > > inin C99C99 [-Wimplicit-function-declaration][-Wimplicit-function-declaration] > > show_list(stack[i], stack[i]->cards); flip_card(last_card(stack[from]), Facedown); > > ^ ^ > >events.c:420:3: warning: implicitspider.c :declaration217 :of1 :function warning'init_cache': non-voidis >function invaliddoes innot C99return [-Wimplicit-function-declaration]a > value > [-Wreturn-type] >} >^ > init_cache(); /* reset move cache */ > ^ >events.c:446:4: warning: implicit declaration of function 'deal_cards' is > invalid in C99 [-Wimplicit-function-declaration] > deal_cards(); > ^ >events.c:448:4: warning: implicit declaration of function 'deal_next_hand' is > invalid in C99 [-Wimplicit-function-declaration] > deal_next_hand(True); > ^ >events.c:454:3: warning: implicit declaration of function spider.c'undo': 222is: 1invalid: warningin: >type C99specifier [-Wimplicit-function-declaration]missing, > defaults undo();to > ^'int' > > [-Wimplicit-int] >deal_next_hand(log) >^ >events.c:462:3: warning: implicitly declaring library function 'exit' with type > 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] >spider.c exit(0);: >234 ^: >4: warningevents.c: :implicit462 :declaration3 :of notefunction: include'spider_bell' theis >header invalid<stdlib.h> inor C99explicitly [-Wimplicit-function-declaration]provide > a > declaration for spider_bell(dpy, 0); >'exit' ^ > >spider.c:235:4: error: non-void function 'deal_next_hand' should return a value > [-Wreturn-type] > return; > ^ >spider.c:241:3: warning: implicit declaration of function 'spider_bell' is > invalid in C99movelog.c :[-Wimplicit-function-declaration]349 >:4: spider_bell(dpy, 0); >warning ^: >implicit declaration ofspider.c :function242 :'add_card'3 :is errorinvalid: >non-void infunction C99'deal_next_hand' [-Wimplicit-function-declaration]should > return a value > [-Wreturn-type] > add_card(cache[i], deck->cards, LOC_END, deck); return; > > ^ ^ > >spider.c:248:3: warning: implicit declaration of function 'remove_card' is > invalid in C99 [-Wimplicit-function-declaration] > remove_card(tmp); > ^ >movelog.cspider.c::374250::23:: warningwarning: : implicitimplicit declarationdeclaration ofof functionfunction 'remove_all_cards''add_card' isis > invalidinvalid > inin C99C99 [-Wimplicit-function-declaration][-Wimplicit-function-declaration] > > remove_all_cards(cache); > ^ > add_card(tmp, stack[i]->cards, LOC_END, stack[i]); > ^ >spider.c:252:4: warning: implicit declaration of function 'show_list' is invalid > in C99 [-Wimplicit-function-declaration] > show_list(stack[i], stack[i]->cards); > ^ >spider.c:254:4: warning: implicit declaration of function 'show_card' is invalid > in C99 [-Wimplicit-function-declaration] > show_card(tmp); > ^ >movelog.c:396:2: warning: implicit declaration of function 'free' spider.cis: 262invalid: 3in: > warningC99: implicit[-Wimplicit-function-declaration] >declaration of function 'redraw_deck' free(card_str);is > > ^ >invalid in C99 [-Wimplicit-function-declaration] > redraw_deck(0, 0, table_width, table_height); > ^ >spider.c:267:3: warning: implicit declaration of function 'record' is invalid in > C99 [-Wimplicit-function-declaration] > record (0, 0, 0, True); > ^ >movelog.c:408:3: warning: implicit declaration of function 'add_card' is invalid > in C99 [-Wimplicit-function-declaration] > add_card(card, deck->cards, LOC_END, deck); > ^ >spider.c:279:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >flip_card(card, state) >^ >spider.c:284:2: warning: implicit declaration of function 'show_card' is invalid > in C99 [-Wimplicit-function-declaration] > show_card(card); > ^ >spider.c:292:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >add_card(new, old, location, list) >^ >events.c:572:3: warning: implicit declaration of function 'expand' is invalid in > C99 [-Wimplicit-function-declaration] > expand(list); > ^ >movelog.c:477:4: warning: implicit declaration of function 'add_card' is invalid > in C99 [-Wimplicit-function-declaration] > add_card(card, stack[i]->cards, LOC_END, stack[i]); > ^ >spider.c:373:5: warning: implicit declaration of function 'show_list' is invalid > in C99 [-Wimplicit-function-declaration] > show_list(list, list->cards); > ^ >movelog.c:493:5: warning: implicit declaration of function 'add_card' is invalid > in C99 [-Wimplicit-function-declaration] > add_card(card, stack[i]->cards, LOC_END, > ^ >events.c:608:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >spider_bell(d, level) >^ >events.c:614:1: warning: non-void function does not return a value > [-Wreturn-type] >movelog.c}: >536^: >5: warning: implicit declaration of function spider.c'add_card': 433is: 1invalid: > warningin: typeC99 specifier[-Wimplicit-function-declaration] >missing, defaults to 'int' > [-Wimplicit-int] > add_card(card, piles[i]->cards, LOC_START, >remove_card(card) ^ > >^ >movelog.c:578:1spider.c:: 482warning:: 3type: specifierwarning : missing,implicit defaultsdeclaration toof 'int'function > 'show_list'[-Wimplicit-int] >is invalid > in C99 [-Wimplicit-function-declaration]write_file(fname, confirmer) > >^ > show_list(card->list, card->list->cards); > ^ >spider.c:484:3: warning: implicit declaration of function 'show_list' is invalid > in C99 [-Wimplicit-function-declaration] > show_list(card->list, card->prev); > ^ >movelog.c:595:4: error: non-void function 'write_file' should return a value > [-Wreturn-type] > return; > ^ >spider.c:509:4: warning: implicit declaration movelog.cof: 602function: 3'show_card': iserror : invalidnon-void > functionin 'write_file'C99 should[-Wimplicit-function-declaration] >return a value > show_card(tmp); >[-Wreturn-type] ^ > > return; > ^ >spider.c:518:3: warning: implicit declaration of function 'record' is invalid in > C99 [-Wimplicit-function-declaration] > record(from, dest, count, exposed); > ^ >movelog.c:668:2: warning: implicit declaration of function 'write_human' is > invalid in C99 [-Wimplicit-function-declaration] > write_human(fp); > ^ >movelog.c:674:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >spider.c:write_human(fp)623 >:^8 >: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif DEBUG > ^ > // >movelog.c:715:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >read_selection(buf) >^ >spider.c:742:4: warning: implicit declaration of function 'spider_bell' is > invalid in movelog.cC99: 732[-Wimplicit-function-declaration]: >2: warning: implicit declaration spider_bell(dpy, 0); >of ^ >function 'free' is invalid in > C99 [-Wimplicit-function-declaration] > free(buf); > ^ >movelog.c:735:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >read_file_or_selection(fname) >^ >spider.c:768:5: warning: implicit declaration of function 'spider_bell' is > invalid in C99 movelog.c[-Wimplicit-function-declaration]: >741:3: warning: implicit declaration spider_bell(dpy, 0); >of ^ >function 'read_file' is > invalid in C99 [-Wimplicit-function-declaration] > read_file(fname); > ^ >movelog.c:745:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >read_file(fname) >^ >movelog.c:757:3: error: non-void function 'read_file' should return a value > [-Wreturn-type] > return; > ^ >spider.c:885:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >show_full_suits() >^ >movelog.c:821:2: warning: implicit declaration of function 'remove_all_cards' is > invalid in C99 [-Wimplicit-function-declaration] > remove_all_cards(cache); > ^ >movelog.c:837:3: warning: implicit declaration of function 'add_card' is invalid > in C99 [-Wimplicit-function-declaration] > add_card(card, deck->cards, LOC_END, deck); > ^ >spider.c:940:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >expand(list) >^ >movelog.c:847:2: warning: implicit declaration of function 'deal_cards' is > invalid in C99 [-Wimplicit-function-declaration] > deal_cards(); > ^ >spider.c:951:3: error: non-void function 'expand' should return a value > [-Wreturn-type] > return; > ^ >movelog.c:955:9: warning: implicit declaration of function 'show_play_events' is > invalid in C99 [-Wimplicit-function-declaration] > (void) show_play_events(); > ^ >movelog.c:967:4: warning: implicit declaration of function 'deal_next_hand' is > invalid in C99 [-Wimplicit-function-declaration] > deal_next_hand(False); > ^ >55 warnings and 4 errors generated. >spider.c:1079:11: warning: implicit declaration of function 'atoi' is invalid in > C99 [-Wimplicit-function-declaration] > rank = atoi(str) - 1; > ^ >spider.c:1096:11: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (num = col_locate(stack[i], suit, rank, checksuit)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spider.c:1096:11: note: place parentheses around the assignment to silence this > warning > if (num = col_locate(stack[i], suit, rank, checksuit)) { > ^ > ( ) >spider.c:1096:11: note: use '==' to turn this assignment into an equality > comparison > if (num = col_locate(stack[i], suit, rank, checksuit)) { > ^ > == >make: *** [<builtin>: movelog.o] Error 1 >make: *** Waiting for unfinished jobs.... >spider.c:1299:4: warning: implicit declaration of function 'show_list' is > invalid in C99 [-Wimplicit-function-declaration] > show_list(list, list->cards); > ^ >55 warnings and 3 errors generated. >In file included from gfx.c:16: >./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] >#else DEBUG > ^ > // >./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] >#endif DEBUG > ^ > // >In file included from gfx.c:17: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS > ^ > // >make: *** [<builtin>: spider.o] Error 1 >In file included from main.c:17: >./defs.h:34:7: warning: extra tokens at end of #else directive [-Wextra-tokens] >#else DEBUG > ^ > // >./defs.h:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] >#endif DEBUG > ^ > // >In file included from main.c:18: >./globals.h:93:8: warning: extra tokens at end of #endif directive > [-Wextra-tokens] >#endif KITLESS > ^ > // >main.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >main(argc, argv) >^ >10 warnings generated. >main.c:51:5: warning: implicitly declaring library function 'exit' with type > 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] > exit(-1); > ^ >main.c:51:5: note: include the header <stdlib.h> or explicitly provide a > declaration for 'exit' >main.c:67:2: warning: implicit declaration of function 'display_init' is invalid > in C99 [-Wimplicit-function-declaration] > display_init(); > ^ >main.c:68:2: warning: implicit declaration of function 'gfx_init' is invalid in > C99 [-Wimplicit-function-declaration] > gfx_init(dpy, screen); > ^ >main.c:69:2: warning: implicit declaration of function 'window_init' is invalid > in C99 [-Wimplicit-function-declaration] > window_init(argc, argv, geometry); > ^ >main.c:70:2: warning: implicit declaration of function 'card_init' is invalid in > C99 [-Wimplicit-function-declaration] > card_init(); > ^ >main.c:72:3: warning: implicit declaration of function 'read_file' is invalid in > C99 [-Wimplicit-function-declaration] > read_file(save_file); > ^ >main.c:73:2: warning: implicit declaration of function 'event_loop' is invalid > in C99 [-Wimplicit-function-declaration] > event_loop(); > ^ >main.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >display_init() >^ >main.c:88:1: warning: non-void function does not return a value in all control > paths [-Wreturn-type] >} >^ >7 warnings generated. >gfx.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >gfx_init(d, scr) >^ >gfx.c:162:3: warning: implicitly declaring library function 'exit' with type > 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] > exit(0); > ^ >gfx.c:162:3: note: include the header <stdlib.h> or explicitly provide a > declaration for 'exit' >gfx.c:169:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] >#endif KITLESS > ^ > // >gfx.c:251:2: warning: implicit declaration of function 'make_card_maps' is > invalid in C99 [-Wimplicit-function-declaration] > make_card_maps(); > ^ >gfx.c:252:1: warning: non-void function does not return a value in all control > paths [-Wreturn-type] >} >^ >gfx.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >make_card_maps() >^ >gfx.c:303:32: warning: implicitly declaring library function 'calloc' with type > 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration] > new_bits = (unsigned char *) calloc(sizeof(rank_bits[(int)r]), > ^ >gfx.c:303:32: note: include the header <stdlib.h> or explicitly provide a > declaration for 'calloc' >gfx.c:305:3: warning: implicit declaration of function 'rot_180' is invalid in > C99 [-Wimplicit-function-declaration] > rot_180((unsigned char *)rank_bits[(int)r], new_bits, > ^ >gfx.c:309:4: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, rank_width, rank_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:310:3: warning: implicit declaration of function 'free' is invalid in C99 > [-Wimplicit-function-declaration] > free((char *)new_bits); > ^ >gfx.c:316:3: warning: implicit declaration of function 'rot_180' is invalid in > C99 [-Wimplicit-function-declaration] > rot_180((unsigned char *)rank_bits[(int)r], new_bits, > ^ >gfx.c:325:5: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, rank_width, rank_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:333:3: warning: implicit declaration of function 'free' is invalid in C99 > [-Wimplicit-function-declaration] > free((char *)new_bits); > ^ >gfx.c:343:2: warning: implicit declaration of function 'flip_bits' is invalid in > C99 [-Wimplicit-function-declaration] > flip_bits((unsigned char *)spade_bits, new_bits, spade_width, > ^ >gfx.c:346:3: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, spade_width, spade_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:347:2: warning: implicit declaration of function 'free' is invalid in C99 > [-Wimplicit-function-declaration] > free((char *)new_bits); > ^ >gfx.c:356:3: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, spade_sm_width, spade_sm_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:383:4: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, heart_width, heart_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:397:3: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, heart_sm_width, heart_sm_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:405:4: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, heart_sm_width, heart_sm_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:452:4: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, diamond_width, diamond_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:466:3: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, diamond_sm_width, diamond_sm_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:474:4: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, diamond_sm_width, diamond_sm_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >14 warnings generated. >gfx.c:518:3: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, club_width, club_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:528:3: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > new_bits, club_sm_width, club_sm_height); > ^~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >gfx.c:542:1: warning: non-void function does not return a value [-Wreturn-type] >} >^ >gfx.c:569:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >redraw_deck(x, y, w, h) >^ >gfx.c:577:3: error: non-void function 'redraw_deck' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:595:4: warning: implicit declaration of function 'show_card' is invalid in > C99 [-Wimplicit-function-declaration] > show_card(tmp); > ^ >gfx.c:602:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >redraw_card_piles(x, y, w, h) >^ >gfx.c:610:3: error: non-void function 'redraw_card_piles' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:616:12: warning: using the result of an assignment as a condition without > parentheses [-Wparentheses] > if (tmp = piles[i]->cards) { > ~~~~^~~~~~~~~~~~~~~~~ >gfx.c:616:12: note: place parentheses around the assignment to silence this > warning > if (tmp = piles[i]->cards) { > ^ > ( ) >gfx.c:616:12: note: use '==' to turn this assignment into an equality comparison > if (tmp = piles[i]->cards) { > ^ > == >gfx.c:622:6: warning: implicit declaration of function 'show_card' is invalid in > C99 [-Wimplicit-function-declaration] > show_card(tmp); > ^ >gfx.c:644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >redraw_card_stacks(x, y, w, h) >^ >gfx.c:652:3: error: non-void function 'redraw_card_stacks' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:658:12: warning: using the result of an assignment as a condition without > parentheses [-Wparentheses] > if (tmp = stack[i]->cards) { > ~~~~^~~~~~~~~~~~~~~~~ >gfx.c:658:12: note: place parentheses around the assignment to silence this > warning > if (tmp = stack[i]->cards) { > ^ > ( ) >gfx.c:658:12: note: use '==' to turn this assignment into an equality comparison > if (tmp = stack[i]->cards) { > ^ > == >gfx.c:682:8: warning: implicit declaration of function 'show_card' is invalid in > C99 [-Wimplicit-function-declaration] > show_card(tmp); > ^ >gfx.c:691:8: warning: implicit declaration of function 'show_card' is invalid in > C99 [-Wimplicit-function-declaration] > show_card(tmp); > ^ >gfx.c:718:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >show_list(list, card) >^ >gfx.c:758:3: warning: implicit declaration of function 'show_card' is invalid in > C99 [-Wimplicit-function-declaration] > show_card(tmp); > ^ >gfx.c:766:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >show_card(card) >^ >gfx.c:775:3: warning: implicit declaration of function 'paint_card' is invalid > in C99 [-Wimplicit-function-declaration] > paint_card(card->x, card->y, card->rank, card->suit, delta); > ^ >gfx.c:780:4: warning: implicit declaration of function 'paint_cardback' is > invalid in C99 [-Wimplicit-function-declaration] > paint_cardback(card->x, card->y, CARD_HEIGHT); > ^ >gfx.c:783:4: warning: implicit declaration of function 'paint_cardback' is > invalid in C99 [-Wimplicit-function-declaration] > paint_cardback(card->x, card->y, > ^ >gfx.c:789:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >paint_cardback(x, y, delta) >^ >gfx.c:829:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >paint_card(x, y, rank, suit, delta) >^ >gfx.c:901:3: warning: implicit declaration of function 'draw_king' is invalid in > C99 [-Wimplicit-function-declaration] > draw_king(suit, x, y); > ^ >gfx.c:904:3: warning: implicit declaration of function 'draw_queen' is invalid > in C99 [-Wimplicit-function-declaration] > draw_queen(suit, x, y); > ^ >gfx.c:907:3: warning: implicit declaration of function 'draw_jack' is invalid in > C99 [-Wimplicit-function-declaration] > draw_jack(suit, x, y); > ^ >gfx.c:911:3: warning: implicit declaration of function 'draw_pip' is invalid in > C99 [-Wimplicit-function-declaration] > draw_pip(suit, MID_CARD_X + x, CARD_TEN_Y1 + y); > ^ >gfx.c:912:3: warning: implicit declaration of function 'draw_did' is invalid in > C99 [-Wimplicit-function-declaration] > draw_did(suit, MID_CARD_X + x, CARD_TEN_Y2 + y); > ^ >gfx.c:913:3: warning: implicit declaration of function 'draw_eight_pips' is > invalid in C99 [-Wimplicit-function-declaration] > draw_eight_pips(suit, x, y); > ^ >gfx.c:928:3: warning: implicit declaration of function 'draw_six_pips' is > invalid in C99 [-Wimplicit-function-declaration] > draw_six_pips(suit, x, y); > ^ >gfx.c:935:3: warning: implicit declaration of function 'draw_four_pips' is > invalid in C99 [-Wimplicit-function-declaration] > draw_four_pips(suit, x, y); > ^ >gfx.c:942:3: warning: implicit declaration of function 'draw_two_pips' is > invalid in C99 [-Wimplicit-function-declaration] > draw_two_pips(suit, x, y); > ^ >gfx.c:945:3: warning: implicit declaration of function 'draw_center_pip' is > invalid in C99 [-Wimplicit-function-declaration] > draw_center_pip(suit, x + MID_CARD_X, y + MID_CARD_Y); > ^ >gfx.c:951:2: warning: implicit declaration of function 'draw_rank' is invalid in > C99 [-Wimplicit-function-declaration] > draw_rank(x, y, rank, suit); > ^ >gfx.c:975:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] >draw_pip(suit, x, y) >^ >gfx.c:1014:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_did(suit, x, y) >^ >gfx.c:1021:3: error: non-void function 'draw_did' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:1054:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_center_pip(suit, x, y) >^ >gfx.c:1061:3: error: non-void function 'draw_center_pip' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:1091:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_two_pips(suit, x, y) >^ >gfx.c:1102:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_four_pips(suit, x, y) >^ >gfx.c:1113:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_six_pips(suit, x, y) >^ >gfx.c:1122:3: error: non-void function 'draw_six_pips' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:1132:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_eight_pips(suit, x, y) >^ >gfx.c:1141:3: error: non-void function 'draw_eight_pips' should return a value > [-Wreturn-type] > return; > ^ >gfx.c:1153:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_jack(suit, x, y) >^ >gfx.c:1168:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_queen(suit, x, y) >^ >gfx.c:1183:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_king(suit, x, y) >^ >gfx.c:1198:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >draw_rank(x, y, rank, suit) >^ >gfx.c:1324:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] >#endif KITLESS > ^ > // >gfx.c:1396:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >flip_bits(src, dst, W, H) >^ >gfx.c:1410:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] >rot_180(src, dst, W, H) >^ >gfx.c:1437:2: warning: implicit declaration of function 'free' is invalid in C99 > [-Wimplicit-function-declaration] > free((char *)new); > ^ >73 warnings and 7 errors generated. >make: *** [<builtin>: gfx.o] Error 1 >30 warnings generated. > * ERROR: games-board/spider-1.2_p4-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-board/spider-1.2_p4-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-board/spider-1.2_p4-r2::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/games-board/spider-1.2_p4-r2:20200826-174616.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/spider-1.2_p4-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-board/spider-1.2_p4-r2/temp/environment'. > * Working directory: '/var/tmp/portage/games-board/spider-1.2_p4-r2/work/spider-1.2.orig' > * S: '/var/tmp/portage/games-board/spider-1.2_p4-r2/work/spider-1.2.orig'
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 739156
: 656972