=> Building games/spellcast build started at Wed Oct 5 09:24:29 PDT 2016 port directory: /usr/ports/games/spellcast building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../02//usr/ports/games/spellcast/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=spellcast-1.2_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for spellcast-1.2_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/games/spellcast XDG_CONFIG_HOME=/wrkdirs/games/spellcast HOME=/wrkdirs/games/spellcast TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/games/spellcast XDG_CONFIG_HOME=/wrkdirs/games/spellcast HOME=/wrkdirs/games/spellcast TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/spellcast" EXAMPLESDIR="share/examples/spellcast" DATADIR="share/spellcast" WWWDIR="www/spellcast" ETCDIR="etc/spellcast" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spellcast DOCSDIR=/usr/local/share/doc/spellcast EXAMPLESDIR=/usr/local/share/examples/spellcast WWWDIR=/usr/local/www/spellcast ETCDIR=/usr/local/etc/spellcast --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The spellcast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> spellcast-1.2_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> spellcast-1.2_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spellcast-1.2_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The spellcast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by spellcast-1.2_2 for building =========================================================================== =================================================== ===> NOTICE: The spellcast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by spellcast-1.2_2 for building => SHA256 Checksum OK for spellcast.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The spellcast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by spellcast-1.2_2 for building ===> Extracting for spellcast-1.2_2 => SHA256 Checksum OK for spellcast.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for spellcast-1.2_2 ===> Applying ports patches for spellcast-1.2_2 =========================================================================== =================================================== ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.3,1.txz Installing libX11-1.6.3,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.11.1... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing libpthread-stubs-0.3_6... | `-- Extracting libpthread-stubs-0.3_6: ..... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done `-- Extracting libxcb-1.11.1: .......... done Extracting libX11-1.6.3,1: .......... done ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of spellcast-1.2_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for spellcast-1.2_2 =========================================================================== =================================================== ===> Building for spellcast-1.2_2 --- engine.o --- --- espells.o --- --- execute.o --- --- execute2.o --- --- emonster.o --- --- engine.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c engine.c engine.c: In function 'add_query': engine.c:37:36: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] self->querylist = (struct query *)realloc(self->querylist, sizeof(struct query) * self->querylist_size); ^ engine.c:37:36: warning: incompatible implicit declaration of built-in function 'realloc' engine.c:37:36: note: include '' or provide a declaration of 'realloc' engine.c: In function 'InitBeing': engine.c:107:5: warning: implicit declaration of function 'clear_round' [-Wimplicit-function-declaration] clear_round(fred); ^ engine.c: In function 'write_gestures': engine.c:153:36: warning: incompatible implicit declaration of built-in function 'realloc' --- espells.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c espells.c --- execute.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c execute.c execute.c: In function 'list_mind_spells': execute.c:222:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buf, ""); ^ execute.c:222:5: warning: incompatible implicit declaration of built-in function 'strcpy' execute.c:222:5: note: include '' or provide a declaration of 'strcpy' execute.c:228:3: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buf, ", "); ^ execute.c:228:3: warning: incompatible implicit declaration of built-in function 'strcat' execute.c:228:3: note: include '' or provide a declaration of 'strcat' execute.c:231:3: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf, spelllist[spel].name); ^ --- engine.o --- wiz->gests = (struct wizgesture *)realloc(wiz->gests, wiz->gests_size * sizeof(struct wizgesture)); ^ engine.c:153:36: note: include '' or provide a declaration of 'realloc' engine.c: In function 'BeginGame': engine.c:189:48: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] struct realgame *self = (struct realgame *)malloc(sizeof(struct realgame)); ^ engine.c:189:48: warning: incompatible implicit declaration of built-in function 'malloc' engine.c:189:48: note: include '' or provide a declaration of 'malloc' engine.c:192:5: warning: implicit declaration of function 'srandom' [-Wimplicit-function-declaration] srandom(getpid() + rock + numplayers); ^ engine.c:192:13: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] srandom(getpid() + rock + numplayers); ^ --- execute.o --- execute.c:231:3: note: include '' or provide a declaration of 'strcat' execute.c:235:3: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf, smallbuf); ^ execute.c:235:3: note: include '' or provide a declaration of 'strcat' In file included from execute.c:5:0: execute.c: In function 'check_visibility': internal.h:9:61: warning: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] #define PrintMsg3(person1, person2, msg1, msg2, msgelse) (log_text(self, msgelse),\ ^ execute.c:256:6: note: in expansion of macro 'PrintMsg3' PrintMsg3(ctmp->caster, ctmp->target, exbuf, exbuf2, exbuf3); ^ execute.c: In function 'execute_spells': execute.c:297:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(smallbuf, "over the arena"); ^ execute.c:297:3: note: include '' or provide a declaration of 'strcpy' --- engine.o --- engine.c:203:5: warning: implicit declaration of function 'init_transcript' [-Wimplicit-function-declaration] init_transcript(self); ^ In file included from engine.c:5:0: internal.h:3:26: warning: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] #define PrintMsg(msg) (log_text(self, msg),\ ^ engine.c:206:2: note: in expansion of macro 'PrintMsg' PrintMsg("Too many players requested.\n"); ^ engine.c: In function 'RunTurn': engine.c:317:9: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] jx = random() % 2; ^ engine.c:345:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] add_query(self, kx, Qu_CharmGesture, (char *)val); ^ engine.c:431:5: warning: implicit declaration of function 'log_round_header' [-Wimplicit-function-declaration] log_round_header(self); ^ engine.c: In function 'FreeGame': --- execute.o --- execute.c:305:7: warning: incompatible implicit declaration of built-in function 'strcat' strcat(smallbuf, pro_himself(self->wiz[ctmp->caster]->gender)); ^ execute.c:305:7: note: include '' or provide a declaration of 'strcat' execute.c:622:5: warning: implicit declaration of function 'erase_queries' [-Wimplicit-function-declaration] erase_queries(self); ^ execute.c:626:3: warning: implicit declaration of function 'add_query' [-Wimplicit-function-declaration] add_query(self, ix, Qu_ElementalType, 0); ^ execute.c: In function 'exec_summons': execute.c:812:3: warning: implicit declaration of function 'create_creature' [-Wimplicit-function-declaration] create_creature(self, ix+1, cnum); ^ --- engine.o --- engine.c:615:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)self->wiz[ix]); ^ engine.c:615:2: warning: incompatible implicit declaration of built-in function 'free' engine.c:615:2: note: include '' or provide a declaration of 'free' engine.c:619:2: warning: incompatible implicit declaration of built-in function 'free' free(self->cre[ix].name); ^ engine.c:619:2: note: include '' or provide a declaration of 'free' engine.c:621:5: warning: incompatible implicit declaration of built-in function 'free' free((char *)self->cre); ^ engine.c:621:5: note: include '' or provide a declaration of 'free' engine.c: In function 'setup_targetlist': engine.c:635:41: warning: incompatible implicit declaration of built-in function 'realloc' self->targetlist[0] = (struct target *)realloc(self->targetlist[0], sizeof(struct target) * self->targetlist_size[0]); ^ engine.c:635:41: note: include '' or provide a declaration of 'realloc' engine.c:639:41: warning: incompatible implicit declaration of built-in function 'realloc' self->targetlist[1] = (struct target *)realloc(self->targetlist[1], sizeof(struct target) * self->targetlist_size[1]); ^ engine.c:639:41: note: include '' or provide a declaration of 'realloc' engine.c:643:41: warning: incompatible implicit declaration of built-in function 'realloc' self->targetlist[2] = (struct target *)realloc(self->targetlist[2], sizeof(struct target) * self->targetlist_size[2]); ^ engine.c:643:41: note: include '' or provide a declaration of 'realloc' engine.c: In function 'restrict_gestures': engine.c:1009:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] add_query(self, wiznum, Qu_SetOffDelay, (char *)self->wiz[wiznum]->delay_bank); ^ engine.c: In function 'build_cast_list': engine.c:1037:2: warning: incompatible implicit declaration of built-in function 'free' free((char *)self->castlist); ^ engine.c:1037:2: note: include '' or provide a declaration of 'free' engine.c:1072:33: warning: incompatible implicit declaration of built-in function 'malloc' res = (struct castspell *)malloc(sizeof(struct castspell)); ^ engine.c:1072:33: note: include '' or provide a declaration of 'malloc' engine.c:1090:29: warning: incompatible implicit declaration of built-in function 'malloc' res = (struct castspell *)malloc(sizeof(struct castspell)); ^ engine.c:1090:29: note: include '' or provide a declaration of 'malloc' engine.c:1099:29: warning: incompatible implicit declaration of built-in function 'malloc' res = (struct castspell *)malloc(sizeof(struct castspell)); ^ engine.c:1099:29: note: include '' or provide a declaration of 'malloc' engine.c:1114:33: warning: incompatible implicit declaration of built-in function 'malloc' res = (struct castspell *)malloc(sizeof(struct castspell)); ^ engine.c:1114:33: note: include '' or provide a declaration of 'malloc' engine.c:1182:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)res); ^ engine.c:1182:4: note: include '' or provide a declaration of 'free' --- execute2.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c execute2.c --- emonster.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c emonster.c --- etran.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c etran.c --- emonster.o --- emonster.c: In function 'kuruk_name': emonster.c:23:18: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] int numsyl = random()%3+2; ^ emonster.c:25:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(bigbuf, ""); ^ emonster.c:25:5: warning: incompatible implicit declaration of built-in function 'strcpy' emonster.c:25:5: note: include '' or provide a declaration of 'strcpy' emonster.c:31:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(bigbuf, kuruk_syl[new]); ^ emonster.c:31:2: warning: incompatible implicit declaration of built-in function 'strcat' emonster.c:31:2: note: include '' or provide a declaration of 'strcat' emonster.c:36:2: warning: incompatible implicit declaration of built-in function 'strcat' strcat(bigbuf, " "); ^ emonster.c:36:2: note: include '' or provide a declaration of 'strcat' emonster.c:48:38: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] if ((ix==0 || bigbuf[ix-1]==' ') && islower(bigbuf[ix])) ^ emonster.c:49:19: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] bigbuf[ix] = toupper(bigbuf[ix]); ^ emonster.c: In function 'snaffi_name': emonster.c:63:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(bigbuf, ""); ^ emonster.c:63:5: note: include '' or provide a declaration of 'strcpy' emonster.c:69:2: warning: incompatible implicit declaration of built-in function 'strcat' strcat(bigbuf, snaffi_syl[new]); ^ emonster.c:69:2: note: include '' or provide a declaration of 'strcat' emonster.c:74:2: warning: incompatible implicit declaration of built-in function 'strcat' strcat(bigbuf, " "); ^ emonster.c:74:2: note: include '' or provide a declaration of 'strcat' emonster.c: In function 'create_creature': emonster.c:99:33: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] self->cre = (struct creature *)realloc(self->cre, sizeof(struct creature) * self->cre_size); ^ emonster.c:99:33: warning: incompatible implicit declaration of built-in function 'realloc' emonster.c:99:33: note: include '' or provide a declaration of 'realloc' emonster.c:118:6: warning: incompatible implicit declaration of built-in function 'strcat' strcat(bigbuf, " the Goblin"); ^ emonster.c:118:6: note: include '' or provide a declaration of 'strcat' emonster.c:149:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] thud->name = (char *)malloc(strlen(bigbuf)+1); ^ emonster.c:149:26: warning: incompatible implicit declaration of built-in function 'malloc' emonster.c:149:26: note: include '' or provide a declaration of 'malloc' emonster.c:149:33: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] thud->name = (char *)malloc(strlen(bigbuf)+1); ^ emonster.c:149:33: warning: incompatible implicit declaration of built-in function 'strlen' emonster.c:149:33: note: include '' or provide a declaration of 'strlen' emonster.c:150:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(thud->name, bigbuf); ^ emonster.c:150:5: note: include '' or provide a declaration of 'strcpy' emonster.c: In function 'execute_monsters': emonster.c:160:5: warning: implicit declaration of function 'erase_queries' [-Wimplicit-function-declaration] erase_queries(self); ^ In file included from emonster.c:5:0: internal.h:3:26: warning: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] #define PrintMsg(msg) (log_text(self, msg),\ ^ emonster.c:181:7: note: in expansion of macro 'PrintMsg' PrintMsg("ERROR: wrong type of turn in execute_monsters()\n"); ^ emonster.c:220:3: warning: implicit declaration of function 'add_query' [-Wimplicit-function-declaration] add_query(self, thud->owner, qtype, ix + 256*(jx+numattacks)); ^ emonster.c:228:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] jx = (int)(self->querylist[qnum].rock); ^ emonster.c:265:13: warning: implicit declaration of function 'IndexOfTarget' [-Wimplicit-function-declaration] target = IndexOfTarget((game *)self, targettype, kx) & ^ emonster.c: In function 'exec_monster_attack': emonster.c:353:4: warning: implicit declaration of function 'pro_himself' [-Wimplicit-function-declaration] pro_himself(fred->both.gender)); ^ emonster.c:363:21: warning: implicit declaration of function 'pro_him' [-Wimplicit-function-declaration] fred->both.name, pro_him(fred->both.gender)); ^ emonster.c:387:33: warning: implicit declaration of function 'pro_his' [-Wimplicit-function-declaration] thud->name, fred->both.name, pro_his(fred->both.gender)); ^ --- etran.o --- etran.c: In function 'init_transcript': etran.c:15:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] self->gamelog = (char *)malloc(sizeof(char) * self->gamelog_size); ^ etran.c:15:29: warning: incompatible implicit declaration of built-in function 'malloc' etran.c:15:29: note: include '' or provide a declaration of 'malloc' etran.c:16:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(self->gamelog, ""); ^ etran.c:16:5: warning: incompatible implicit declaration of built-in function 'strcpy' etran.c:16:5: note: include '' or provide a declaration of 'strcpy' etran.c: In function 'log_text': etran.c:30:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(str); ^ etran.c:30:11: warning: incompatible implicit declaration of built-in function 'strlen' etran.c:30:11: note: include '' or provide a declaration of 'strlen' etran.c:35:26: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] self->gamelog = (char *)realloc(self->gamelog, sizeof(char) * self->gamelog_size); ^ etran.c:35:26: warning: incompatible implicit declaration of built-in function 'realloc' etran.c:35:26: note: include '' or provide a declaration of 'realloc' etran.c:38:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(self->gamelog+self->gamelog_pos, str); ^ etran.c:38:5: note: include '' or provide a declaration of 'strcpy' --- execute2.o --- In file included from execute2.c:5:0: execute2.c: In function 'exec_enchants': internal.h:6:45: warning: implicit declaration of function 'log_text' [-Wimplicit-function-declaration] #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ ^ execute2.c:28:6: note: in expansion of macro 'PrintMsg2' PrintMsg2(cnum, "The Amnesia spell curls around your mind.\n", exbuf2); ^ execute2.c:71:7: warning: implicit declaration of function 'erase_queries' [-Wimplicit-function-declaration] erase_queries(self); ^ execute2.c:72:7: warning: implicit declaration of function 'add_query' [-Wimplicit-function-declaration] add_query(self, fred->both.enchant_caster, Qu_ParalysisHand, cnum); ^ execute2.c:121:110: warning: implicit declaration of function 'pro_he' [-Wimplicit-function-declaration] sprintf(exbuf2, "The Charm Monster spell curls around %s, and %s smiles dopily at %s.\n", fred->both.name, pro_he(fred->both.gender), self->wiz[fred->cre.owner]->name); ^ execute2.c:268:117: warning: implicit declaration of function 'pro_his' [-Wimplicit-function-declaration] sprintf(exbuf2, "The Anti-Spell jolts %s, causing the magical energies around %s hands to flicker.\n", wiz->name, pro_his(wiz->gender)); ^ execute2.c:271:3: warning: implicit declaration of function 'write_gestures' [-Wimplicit-function-declaration] write_gestures(self, wiz, Gesture_ANTISPELL, Gesture_ANTISPELL); ^ execute2.c:555:2: warning: implicit declaration of function 'clear_permstats' [-Wimplicit-function-declaration] clear_permstats(&(fred->both.perm)); ^ execute2.c: In function 'exec_attacks': execute2.c:698:132: warning: implicit declaration of function 'pro_him' [-Wimplicit-function-declaration] sprintf(exbuf2, "The %s Lightning Bolts strike %s, staggering %s.\n", number_name(zapl[SP__LIGHTNING_BOLT]), fred->both.name, pro_him(fred->both.gender)); ^ execute2.c: In function 'exec_heals': execute2.c:920:6: warning: implicit declaration of function 'clear_out_spells' [-Wimplicit-function-declaration] clear_out_spells(fred, wizflag); ^ --- main.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c main.c main.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ main.c: In function 'main': main.c:64:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(12); ^ main.c:64:2: warning: incompatible implicit declaration of built-in function 'exit' main.c:64:2: note: include '' or provide a declaration of 'exit' main.c:74:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] displist[numplayers] = (char *)malloc(strlen(argv[ix])+6); ^ main.c:74:34: warning: incompatible implicit declaration of built-in function 'malloc' main.c:74:34: note: include '' or provide a declaration of 'malloc' main.c:87:2: warning: incompatible implicit declaration of built-in function 'exit' exit(12); ^ main.c:87:2: note: include '' or provide a declaration of 'exit' main.c:91:2: warning: incompatible implicit declaration of built-in function 'exit' exit(12); ^ main.c:91:2: note: include '' or provide a declaration of 'exit' main.c:94:32: warning: incompatible implicit declaration of built-in function 'malloc' players = (struct player *)malloc(sizeof(struct player) * numplayers); ^ main.c:94:32: note: include '' or provide a declaration of 'malloc' main.c:103:8: warning: implicit declaration of function 'win_init' [-Wimplicit-function-declaration] val = win_init(ix); ^ main.c:106:6: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ main.c:106:6: note: include '' or provide a declaration of 'exit' main.c:124:6: warning: implicit declaration of function 'clear_answers' [-Wimplicit-function-declaration] clear_answers(py); ^ main.c:128:4: warning: implicit declaration of function 'add_answer' [-Wimplicit-function-declaration] add_answer(py, "Enter your gestures for your Hastened move.", ^ main.c:154:6: warning: implicit declaration of function 'redraw_column' [-Wimplicit-function-declaration] redraw_column(py); ^ main.c:155:6: warning: implicit declaration of function 'draw_button' [-Wimplicit-function-declaration] draw_button(py, 0, 1); /* redraw turn-end button */ ^ main.c:156:6: warning: implicit declaration of function 'redraw_queries_only' [-Wimplicit-function-declaration] redraw_queries_only(py, 0); ^ main.c:159:2: warning: implicit declaration of function 'mainloop' [-Wimplicit-function-declaration] mainloop(); ^ main.c:202:51: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] sprintf(fname, "%s/spellcast-%d", TRANSCRIPTDIR, getpid()); ^ main.c: In function 'win_init': main.c:256:17: warning: incompatible implicit declaration of built-in function 'malloc' name = (char *)malloc(strlen(tmp)+1); ^ main.c:256:17: note: include '' or provide a declaration of 'malloc' main.c:360:5: warning: implicit declaration of function 'init_bitmaps' [-Wimplicit-function-declaration] init_bitmaps(py); ^ main.c:361:5: warning: implicit declaration of function 'init_xtext' [-Wimplicit-function-declaration] init_xtext(pnum); ^ main.c:362:5: warning: implicit declaration of function 'init_query' [-Wimplicit-function-declaration] init_query(py); ^ main.c:363:5: warning: implicit declaration of function 'init_stats' [-Wimplicit-function-declaration] init_stats(py); ^ main.c:364:5: warning: implicit declaration of function 'init_talk' [-Wimplicit-function-declaration] init_talk(py); ^ main.c: In function 'PrintMsg': main.c:426:6: warning: implicit declaration of function 'dump_text' [-Wimplicit-function-declaration] dump_text(ix, msg); ^ --- xtext.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xtext.c xtext.c: In function 'init_xtext': xtext.c:45:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] py->lineindex = (struct line *)malloc(sizeof(struct line)*py->lineindex_size); ^ xtext.c:45:36: warning: incompatible implicit declaration of built-in function 'malloc' xtext.c:45:36: note: include '' or provide a declaration of 'malloc' xtext.c: In function 'complete_line': xtext.c:104:33: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] py->lineindex = (struct line *)realloc(py->lineindex, ^ xtext.c:104:33: warning: incompatible implicit declaration of built-in function 'realloc' xtext.c:104:33: note: include '' or provide a declaration of 'realloc' xtext.c:120:24: warning: incompatible implicit declaration of built-in function 'realloc' py->linebuf = (char *)realloc(py->linebuf, py->linebuf_size); ^ xtext.c:120:24: note: include '' or provide a declaration of 'realloc' --- xquery.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xquery.c xquery.c: In function 'init_query': xquery.c:47:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] py->answers = (struct answer *)malloc(sizeof(struct answer) * py->answers_size); ^ xquery.c:47:36: warning: incompatible implicit declaration of built-in function 'malloc' xquery.c:47:36: note: include '' or provide a declaration of 'malloc' xquery.c: In function 'flush_tempstrings': xquery.c:72:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(tempstringlist); ^ xquery.c:72:2: warning: incompatible implicit declaration of built-in function 'free' xquery.c:72:2: note: include '' or provide a declaration of 'free' xquery.c: In function 'tempstring_malloc': xquery.c:82:24: warning: incompatible implicit declaration of built-in function 'malloc' pt = (tempstring *)malloc(sizeof(tempstring) + len + 1); ^ xquery.c:82:24: note: include '' or provide a declaration of 'malloc' xquery.c: In function 'add_answer': xquery.c:107:33: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] py->answers = (struct answer *)realloc(py->answers, ^ xquery.c:107:33: warning: incompatible implicit declaration of built-in function 'realloc' xquery.c:107:33: note: include '' or provide a declaration of 'realloc' xquery.c: In function 'redraw_queries_only': xquery.c:165:5: warning: implicit declaration of function 'redraw_scrollbar' [-Wimplicit-function-declaration] redraw_scrollbar(&(py->siquery)); ^ xquery.c: In function 'add_to_targetlist': xquery.c:195:21: warning: incompatible implicit declaration of built-in function 'malloc' tl->tnums = (int *)malloc(tl->size*sizeof(int)); ^ xquery.c:195:21: note: include '' or provide a declaration of 'malloc' xquery.c:205:21: warning: incompatible implicit declaration of built-in function 'realloc' tl->tnums = (int *)realloc(tl->tnums, tl->size*sizeof(int)); ^ xquery.c:205:21: note: include '' or provide a declaration of 'realloc' xquery.c: In function 'XQueries': xquery.c:291:12: warning: type defaults to 'int' in declaration of 'qu_buf' [-Wimplicit-int] static qu_buf[MAXQUESTIONLENGTH], ans_buf[MAXANSWERLENGTH]; ^ xquery.c:291:39: warning: type defaults to 'int' in declaration of 'ans_buf' [-Wimplicit-int] static qu_buf[MAXQUESTIONLENGTH], ans_buf[MAXANSWERLENGTH]; ^ xquery.c:313:14: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(qu_buf, "What spell do you want to cast with your left hand?"); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:317:14: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(qu_buf, "What spell do you want to cast with your right hand?"); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:336:10: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, ""); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:341:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] jx = (int)(qlist[ix].rock); ^ xquery.c:350:11: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "What gesture do you want %s's %s hand to make?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:353:10: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, ""); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:363:15: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Which spell do you want to delay?"); ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:367:15: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Which spell do you want to make permanent?"); ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:374:10: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, ""); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:380:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] spelllist[(int)qlist[ix].rock].name); ^ xquery.c:379:11: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Do you want to release the %s from the Delayed Effect?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:381:10: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, "No"); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:388:15: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Which of %s's hands do you want to paralyze?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:392:15: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Which of %s's hands do you want to control?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:395:10: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, ""); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:399:11: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Which type of elemental do you want to summon?"); ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:400:10: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, ""); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:404:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] jx = (int)(qlist[ix].rock); ^ xquery.c:409:12: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Whom do you want %s to attack?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:414:12: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Whom do you want %s's first attack to be at?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:419:12: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Whom do you want %s's second attack to be at?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:424:12: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "ERROR: Query about %d (%d)", spellnum, attnum); ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:429:14: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, "nobody"); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:432:10: warning: implicit declaration of function 'IndexOfTarget' [-Wimplicit-function-declaration] kx = (IndexOfTarget(gameval, QuVal_Target_Wizard, jx) & ^ xquery.c:436:15: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, NameOfTarget(gameval, ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:449:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] jx = (int)(qlist[ix].rock); ^ xquery.c:460:15: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Who do you want to stab at (%s)?", handage); ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:462:15: warning: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] sprintf(qu_buf, "Who do you want to cast %s at (%s)?", ^ In file included from xquery.c:1:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'int *' int sprintf(char * __restrict, const char * __restrict, ...); ^ xquery.c:466:14: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, "nobody"); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:473:15: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, NameOfTarget(gameval, ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:477:12: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] strcat(ans_buf, " [invisible]"); ^ In file included from xquery.c:2:0: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcat(char * __restrict, const char * __restrict); ^ xquery.c:484:14: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, "nobody"); ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:491:15: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] strcpy(ans_buf, NameOfTarget(gameval, ^ In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcpy(char * __restrict, const char * __restrict); ^ xquery.c:495:12: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] strcat(ans_buf, " [invisible]"); ^ In file included from xquery.c:2:0: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'int *' char *strcat(char * __restrict, const char * __restrict); ^ xquery.c:519:2: warning: implicit declaration of function 'redraw_column' [-Wimplicit-function-declaration] redraw_column(py); ^ xquery.c:520:2: warning: implicit declaration of function 'draw_button' [-Wimplicit-function-declaration] draw_button(py, 0, 1); /* redraw turn-end button */ ^ xquery.c:524:5: warning: implicit declaration of function 'mainloop' [-Wimplicit-function-declaration] mainloop(); ^ xquery.c: In function 'draw_query_menu': xquery.c:539:5: warning: implicit declaration of function 'draw_frame' [-Wimplicit-function-declaration] draw_frame(py, &py->query_rect); ^ xquery.c: In function 'query_hit': xquery.c:665:5: warning: implicit declaration of function 'adjust_rect' [-Wimplicit-function-declaration] adjust_rect(&py->query_rect); ^ xquery.c:666:5: warning: implicit declaration of function 'backing_store' [-Wimplicit-function-declaration] backing_store(py, &py->query_rect); ^ xquery.c:668:5: warning: implicit declaration of function 'query_motion' [-Wimplicit-function-declaration] query_motion(py, xpos, ypos, button); ^ xquery.c: In function 'query_motion': xquery.c:696:6: warning: 'return' with no value, in function returning non-void return; ^ xquery.c:732:6: warning: 'return' with no value, in function returning non-void return; ^ xquery.c: In function 'query_release': xquery.c:764:5: warning: implicit declaration of function 'backing_restore' [-Wimplicit-function-declaration] backing_restore(py); ^ xquery.c:769:49: warning: implicit declaration of function 'gesture_name' [-Wimplicit-function-declaration] strcpy(py->answers[py->query_hit].ans_str, gesture_name(py->query_sel)); ^ xquery.c:769:49: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] In file included from xquery.c:2:0: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'int' char *strcpy(char * __restrict, const char * __restrict); ^ --- xloop.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xloop.c xloop.c: In function 'mainloop': xloop.c:33:35: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] players[pnum].turn_blinklimit = (random() % 50) + 5; ^ xloop.c:58:27: warning: passing argument 1 of 'XLookupString' from incompatible pointer type [-Wincompatible-pointer-types] if (1 == XLookupString(&event, &c, 1, NULL, NULL)) { ^ In file included from xloop.c:5:0: /usr/local/include/X11/Xutil.h:534:12: note: expected 'XKeyEvent * {aka struct *}' but argument is of type 'XEvent * {aka union _XEvent *}' extern int XLookupString( ^ xloop.c:64:9: warning: implicit declaration of function 'talk_handle_char' [-Wimplicit-function-declaration] talk_handle_char(py, c); ^ xloop.c:72:8: warning: implicit declaration of function 'in_gesture_box' [-Wimplicit-function-declaration] if (in_gesture_box(py, event.xbutton.x, event.xbutton.y)) { ^ xloop.c:77:13: warning: implicit declaration of function 'in_bbox_box' [-Wimplicit-function-declaration] else if (in_bbox_box(py, event.xbutton.x, event.xbutton.y)) { ^ xloop.c:78:25: warning: implicit declaration of function 'button_hit' [-Wimplicit-function-declaration] py->mousestate = button_hit(py, event.xbutton.x, ^ xloop.c:82:13: warning: implicit declaration of function 'in_scrollbar_box' [-Wimplicit-function-declaration] else if (in_scrollbar_box(&(py->sitext), event.xbutton.x, ^ xloop.c:84:25: warning: implicit declaration of function 'scrollbar_hit' [-Wimplicit-function-declaration] py->mousestate = scrollbar_hit(&(py->sitext), ^ xloop.c:103:13: warning: implicit declaration of function 'in_query_box' [-Wimplicit-function-declaration] else if (in_query_box(py, event.xbutton.x, ^ xloop.c:105:25: warning: implicit declaration of function 'query_hit' [-Wimplicit-function-declaration] py->mousestate = query_hit(py, event.xbutton.x, ^ xloop.c:116:5: warning: implicit declaration of function 'gesture_motion' [-Wimplicit-function-declaration] gesture_motion(py, event.xbutton.x, event.xbutton.y, ^ xloop.c:120:5: warning: implicit declaration of function 'scrollbar_motion' [-Wimplicit-function-declaration] scrollbar_motion(py->scroll_active, event.xbutton.x, ^ xloop.c:124:5: warning: implicit declaration of function 'query_motion' [-Wimplicit-function-declaration] query_motion(py, event.xbutton.x, event.xbutton.y, ^ xloop.c:129:5: warning: implicit declaration of function 'button_motion' [-Wimplicit-function-declaration] button_motion(py, event.xbutton.x, event.xbutton.y, ^ xloop.c:140:9: warning: implicit declaration of function 'gesture_release' [-Wimplicit-function-declaration] gesture_release(py, event.xbutton.x, ^ xloop.c:144:9: warning: implicit declaration of function 'scrollbar_release' [-Wimplicit-function-declaration] scrollbar_release(py->scroll_active, ^ xloop.c:149:9: warning: implicit declaration of function 'query_release' [-Wimplicit-function-declaration] query_release(py, event.xbutton.x, ^ xloop.c:154:9: warning: implicit declaration of function 'button_release' [-Wimplicit-function-declaration] button_release(py, event.xbutton.x, ^ xloop.c: In function 'redraw': xloop.c:218:5: warning: implicit declaration of function 'redraw_talk' [-Wimplicit-function-declaration] redraw_talk(py); ^ xloop.c:222:3: warning: implicit declaration of function 'draw_gesture_menu' [-Wimplicit-function-declaration] draw_gesture_menu(py); ^ xloop.c:225:3: warning: implicit declaration of function 'draw_spelllist' [-Wimplicit-function-declaration] draw_spelllist(py); ^ xloop.c:228:3: warning: implicit declaration of function 'draw_query_menu' [-Wimplicit-function-declaration] draw_query_menu(py); ^ xloop.c: In function 'init_stats': xloop.c:245:40: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] py->statlist = (struct statthing *)malloc(sizeof(struct statthing) * py->statlist_size); ^ xloop.c:245:40: warning: incompatible implicit declaration of built-in function 'malloc' xloop.c:245:40: note: include '' or provide a declaration of 'malloc' xloop.c: In function 'add_statthing': xloop.c:276:37: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] py->statlist = (struct statthing *)realloc(py->statlist, ^ xloop.c:276:37: warning: incompatible implicit declaration of built-in function 'realloc' xloop.c:276:37: note: include '' or provide a declaration of 'realloc' xloop.c: In function 'redraw_done_markers': xloop.c:314:7: warning: implicit declaration of function 'DrawStringField' [-Wimplicit-function-declaration] DrawStringField(py, "*", STATS_X+4, ypos, 12); ^ xloop.c: In function 'redraw_stats_only': xloop.c:374:5: warning: implicit declaration of function 'redraw_scrollbar' [-Wimplicit-function-declaration] redraw_scrollbar(&(py->sistats)); ^ xloop.c: In function 'update_statlist': xloop.c:448:5: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration] qsort(py->statlist, py->sistats.nlines, sizeof(struct statthing), statthing_compare); ^ --- xgest.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xgest.c xgest.c: In function 'redraw_column': xgest.c:137:2: warning: implicit declaration of function 'DrawStringCentered' [-Wimplicit-function-declaration] DrawStringCentered(py, NameOfBeing(gameval, QuVal_Target_Wizard, ix), ^ xgest.c: In function 'draw_gesture_menu': xgest.c:208:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(gesture_prompt[0], "What gesture do you want to"); ^ xgest.c:208:5: warning: incompatible implicit declaration of built-in function 'sprintf' xgest.c:208:5: note: include '' or provide a declaration of 'sprintf' xgest.c: In function 'gesture_hit': xgest.c:265:2: warning: implicit declaration of function 'adjust_rect' [-Wimplicit-function-declaration] adjust_rect(&py->gesture_rect); ^ xgest.c:266:2: warning: implicit declaration of function 'backing_store' [-Wimplicit-function-declaration] backing_store(py, &py->gesture_rect); ^ xgest.c:268:2: warning: implicit declaration of function 'gesture_motion' [-Wimplicit-function-declaration] gesture_motion(py, xpos+COLUMN_X, ypos+COLUMN_Y, button); ^ xgest.c: In function 'gesture_motion': xgest.c:295:2: warning: 'return' with no value, in function returning non-void return; ^ xgest.c: In function 'gesture_release': xgest.c:331:5: warning: implicit declaration of function 'backing_restore' [-Wimplicit-function-declaration] backing_restore(py); ^ --- xbutton.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xbutton.c xbutton.c: In function 'draw_spelllist': xbutton.c:47:5: warning: implicit declaration of function 'draw_frame' [-Wimplicit-function-declaration] draw_frame(py, &py->spelllist_rect); ^ xbutton.c: In function 'button_hit': xbutton.c:240:6: warning: implicit declaration of function 'backing_store' [-Wimplicit-function-declaration] backing_store(py, &py->spelllist_rect); ^ xbutton.c:245:6: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("ERROR: unknown button thing!\n"); ^ xbutton.c:245:6: warning: incompatible implicit declaration of built-in function 'printf' xbutton.c:245:6: note: include '' or provide a declaration of 'printf' xbutton.c: In function 'button_release': xbutton.c:297:7: warning: implicit declaration of function 'redraw_done_markers' [-Wimplicit-function-declaration] redraw_done_markers(py); ^ xbutton.c:300:7: warning: implicit declaration of function 'redraw_queries_only' [-Wimplicit-function-declaration] redraw_queries_only(py, 0); ^ xbutton.c:306:6: warning: implicit declaration of function 'backing_restore' [-Wimplicit-function-declaration] backing_restore(py); ^ --- xtalk.o --- cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xtalk.c xtalk.c: In function 'init_talk': xtalk.c:21:28: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] py->talk_buf = (char *)malloc(sizeof(char) * py->talk_size); ^ xtalk.c:21:28: warning: incompatible implicit declaration of built-in function 'malloc' xtalk.c:21:28: note: include '' or provide a declaration of 'malloc' xtalk.c: In function 'redraw_talk_only': xtalk.c:54:13: warning: implicit declaration of function 'DrawStringField' [-Wimplicit-function-declaration] width = DrawStringField(py, py->talk_buf, TALK_X, TALK_Y+py->lineheight, TALK_W); ^ xtalk.c: In function 'ensure_talk_size': xtalk.c:82:28: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] py->talk_buf = (char *)realloc(py->talk_buf, sizeof(char) * py->talk_size); ^ xtalk.c:82:28: warning: incompatible implicit declaration of built-in function 'realloc' xtalk.c:82:28: note: include '' or provide a declaration of 'realloc' xtalk.c: In function 'talk_handle_char': xtalk.c:116:8: warning: implicit declaration of function 'dump_text' [-Wimplicit-function-declaration] dump_text(ix, bigbuf); ^ --- spellcast --- cc -o spellcast engine.o espells.o execute.o execute2.o emonster.o etran.o main.o xtext.o xquery.o xloop.o xgest.o xbutton.o xtalk.o -L/usr/local/lib -lX11 =========================================================================== =================================================== ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===> Staging for spellcast-1.2_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/games/spellcast/spellcast/spellcast /wrkdirs/games/spellcast/stage/usr/local/bin install -m 444 /wrkdirs/games/spellcast/spellcast/spellcast.6 /wrkdirs/games/spellcast/stage/usr/local/man/man6 install -m 0644 /wrkdirs/games/spellcast/spellcast/README /wrkdirs/games/spellcast/spellcast/spelllist.ps /wrkdirs/games/spellcast/stage/usr/local/share/doc/spellcast ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for spellcast-1.2_2 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for spellcast-1.2_2 build of games/spellcast ended at Wed Oct 5 09:24:34 PDT 2016 build time: 00:00:05