------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/games/spellcast XDG_CONFIG_HOME=/construction/games/spellcast XDG_CACHE_HOME=/construction/games/spellcast/.cache HOME=/construction/games/spellcast TMPDIR="/tmp" PATH=/construction/games/spellcast/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/spellcast/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/games/spellcast XDG_CONFIG_HOME=/construction/games/spellcast XDG_CACHE_HOME=/construction/games/spellcast/.cache HOME=/construction/games/spellcast TMPDIR="/tmp" PATH=/construction/games/spellcast/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/spellcast/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/spellcast/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/spellcast" EXAMPLESDIR="share/examples/spellcast" DATADIR="share/spellcast" WWWDIR="www/spellcast" ETCDIR="etc/spellcast" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by spellcast-1.2_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by spellcast-1.2_2 for building => SHA256 Checksum OK for spellcast.tar.Z. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by spellcast-1.2_2 for building ===> Extracting for spellcast-1.2_2 => SHA256 Checksum OK for spellcast.tar.Z. Extracted Memory Use: 0.45M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for spellcast-1.2_2 ===> Applying ports patches for spellcast-1.2_2 from /xports/games/spellcast/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> spellcast-1.2_2 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> spellcast-1.2_2 depends on file: /usr/local/bin/ccache - found ===> Configuring for spellcast-1.2_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for spellcast-1.2_2 --- 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 --- --- 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:7:1: +#include xtext.c:45:36: py->lineindex = (struct line *)malloc(sizeof(struct line)*py->lineindex_size); ^~~~~~ 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' --- 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 emonster.c: In function 'kuruk_name': emonster.c:23:18: warning: implicit declaration of function 'random'; did you mean 'rindex'? [-Wimplicit-function-declaration] int numsyl = random()%3+2; ^~~~~~ rindex 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:6:1: +#include emonster.c:25:5: strcpy(bigbuf, ""); ^~~~~~ 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:6:1: +#include emonster.c:99:33: self->cre = (struct creature *)realloc(self->cre, sizeof(struct creature) * self->cre_size); ^~~~~~~ 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: 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'; did you mean 'NameOfTarget'? [-Wimplicit-function-declaration] target = IndexOfTarget((game *)self, targettype, kx) & ^~~~~~~~~~~~~ NameOfTarget 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)); ^~~~~~~ --- 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:9:1: +#include xtalk.c:21:28: py->talk_buf = (char *)malloc(sizeof(char) * py->talk_size); ^~~~~~ xtalk.c: In function 'redraw_talk_only': xtalk.c:54:13: warning: implicit declaration of function 'DrawStringField'; did you mean 'XDrawString16'? [-Wimplicit-function-declaration] width = DrawStringField(py, py->talk_buf, TALK_X, TALK_Y+py->lineheight, TALK_W); ^~~~~~~~~~~~~~~ XDrawString16 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); ^~~~~~~~~ --- 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'; did you mean 'CWBackingStore'? [-Wimplicit-function-declaration] backing_store(py, &py->spelllist_rect); ^~~~~~~~~~~~~ CWBackingStore 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:7:1: +#include xbutton.c:245:6: printf("ERROR: unknown button thing!\n"); ^~~~~~ 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'; did you mean 'redraw_buttons'? [-Wimplicit-function-declaration] redraw_queries_only(py, 0); ^~~~~~~~~~~~~~~~~~~ redraw_buttons xbutton.c:306:6: warning: implicit declaration of function 'backing_restore'; did you mean 'CWBackingStore'? [-Wimplicit-function-declaration] backing_restore(py); ^~~~~~~~~~~~~~~ CWBackingStore --- 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'; did you mean 'rindex'? [-Wimplicit-function-declaration] players[pnum].turn_blinklimit = (random() % 50) + 5; ^~~~~~ rindex 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: /usr/local/include/X11/Xutil.h:535:5: note: expected 'XKeyEvent *' {aka 'struct *'} but argument is of type 'XEvent *' {aka 'union _XEvent *'} XKeyEvent* /* event_struct */, ^~~~~~~~~~ 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'; did you mean 'gesture_hit'? [-Wimplicit-function-declaration] if (in_gesture_box(py, event.xbutton.x, event.xbutton.y)) { ^~~~~~~~~~~~~~ gesture_hit 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'; did you mean 'Button2'? [-Wimplicit-function-declaration] py->mousestate = button_hit(py, event.xbutton.x, ^~~~~~~~~~ Button2 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'; did you mean 'XQueryFont'? [-Wimplicit-function-declaration] py->mousestate = query_hit(py, event.xbutton.x, ^~~~~~~~~ XQueryFont xloop.c:116:5: warning: implicit declaration of function 'gesture_motion'; did you mean 'gesture_hit'? [-Wimplicit-function-declaration] gesture_motion(py, event.xbutton.x, event.xbutton.y, ^~~~~~~~~~~~~~ gesture_hit 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'; did you mean 'gesture_hit'? [-Wimplicit-function-declaration] gesture_release(py, event.xbutton.x, ^~~~~~~~~~~~~~~ gesture_hit 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'; did you mean 'KeyRelease'? [-Wimplicit-function-declaration] query_release(py, event.xbutton.x, ^~~~~~~~~~~~~ KeyRelease xloop.c:154:9: warning: implicit declaration of function 'button_release'; did you mean 'ButtonRelease'? [-Wimplicit-function-declaration] button_release(py, event.xbutton.x, ^~~~~~~~~~~~~~ ButtonRelease xloop.c: In function 'redraw': xloop.c:218:5: warning: implicit declaration of function 'redraw_talk'; did you mean 'redraw_text'? [-Wimplicit-function-declaration] redraw_talk(py); ^~~~~~~~~~~ redraw_text 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'; did you mean 'redraw_queries'? [-Wimplicit-function-declaration] draw_query_menu(py); ^~~~~~~~~~~~~~~ redraw_queries 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:9:1: +#include xloop.c:245:40: py->statlist = (struct statthing *)malloc(sizeof(struct statthing) * py->statlist_size); ^~~~~~ 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'; did you mean 'XDrawString16'? [-Wimplicit-function-declaration] DrawStringField(py, "*", STATS_X+4, ypos, 12); ^~~~~~~~~~~~~~~ XDrawString16 xloop.c: In function 'redraw_stats_only': xloop.c:374:5: warning: implicit declaration of function 'redraw_scrollbar'; did you mean 'redraw_column'? [-Wimplicit-function-declaration] redraw_scrollbar(&(py->sistats)); ^~~~~~~~~~~~~~~~ redraw_column 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); ^~~~~ --- 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:8:1: +#include xquery.c:47:36: py->answers = (struct answer *)malloc(sizeof(struct answer) * py->answers_size); ^~~~~~ 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: /usr/include/string.h:95: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: /usr/include/string.h:95: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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/stdio.h:253:14: 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: /usr/include/stdio.h:253:14: 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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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'; did you mean 'NameOfTarget'? [-Wimplicit-function-declaration] kx = (IndexOfTarget(gameval, QuVal_Target_Wizard, jx) & ^~~~~~~~~~~~~ NameOfTarget 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: /usr/include/string.h:95: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: /usr/include/stdio.h:253:14: 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: /usr/include/stdio.h:253:14: 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: /usr/include/string.h:95: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: /usr/include/string.h:95: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: /usr/include/string.h:86: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: /usr/include/string.h:95: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: /usr/include/string.h:95: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: /usr/include/string.h:86: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'; did you mean 'redraw_queries'? [-Wimplicit-function-declaration] redraw_column(py); ^~~~~~~~~~~~~ redraw_queries xquery.c:520:2: warning: implicit declaration of function 'draw_button'; did you mean 'XGrabButton'? [-Wimplicit-function-declaration] draw_button(py, 0, 1); /* redraw turn-end button */ ^~~~~~~~~~~ XGrabButton xquery.c:524:5: warning: implicit declaration of function 'mainloop'; did you mean 'GXnoop'? [-Wimplicit-function-declaration] mainloop(); ^~~~~~~~ GXnoop 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'; did you mean 'CWBackingStore'? [-Wimplicit-function-declaration] backing_store(py, &py->query_rect); ^~~~~~~~~~~~~ CWBackingStore xquery.c:668:5: warning: implicit declaration of function 'query_motion'; did you mean 'query_hit'? [-Wimplicit-function-declaration] query_motion(py, xpos, ypos, button); ^~~~~~~~~~~~ query_hit xquery.c: In function 'query_motion': xquery.c:696:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xquery.c:673:5: note: declared here int query_motion(py, xpos, ypos, button) ^~~~~~~~~~~~ xquery.c:732:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xquery.c:673:5: note: declared here int query_motion(py, xpos, ypos, button) ^~~~~~~~~~~~ xquery.c: In function 'query_release': xquery.c:764:5: warning: implicit declaration of function 'backing_restore'; did you mean 'CWBackingStore'? [-Wimplicit-function-declaration] backing_restore(py); ^~~~~~~~~~~~~~~ CWBackingStore xquery.c:769:49: warning: implicit declaration of function 'gesture_name'; did you mean 'Gesture_WAVE'? [-Wimplicit-function-declaration] strcpy(py->answers[py->query_hit].ans_str, gesture_name(py->query_sel)); ^~~~~~~~~~~~ Gesture_WAVE xquery.c:769:49: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] strcpy(py->answers[py->query_hit].ans_str, gesture_name(py->query_sel)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xquery.c:2: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'int' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- 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'; did you mean 'XDrawString16'? [-Wimplicit-function-declaration] DrawStringCentered(py, NameOfBeing(gameval, QuVal_Target_Wizard, ix), ^~~~~~~~~~~~~~~~~~ XDrawString16 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:39:1: +#include xgest.c:208:5: sprintf(gesture_prompt[0], "What gesture do you want to"); ^~~~~~~ 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'; did you mean 'CWBackingStore'? [-Wimplicit-function-declaration] backing_store(py, &py->gesture_rect); ^~~~~~~~~~~~~ CWBackingStore xgest.c:268:2: warning: implicit declaration of function 'gesture_motion'; did you mean 'gesture_hit'? [-Wimplicit-function-declaration] gesture_motion(py, xpos+COLUMN_X, ypos+COLUMN_Y, button); ^~~~~~~~~~~~~~ gesture_hit xgest.c: In function 'gesture_motion': xgest.c:295:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xgest.c:275:5: note: declared here int gesture_motion(py, xpos, ypos, button) ^~~~~~~~~~~~~~ xgest.c: In function 'gesture_release': xgest.c:331:5: warning: implicit declaration of function 'backing_restore'; did you mean 'CWBackingStore'? [-Wimplicit-function-declaration] backing_restore(py); ^~~~~~~~~~~~~~~ CWBackingStore --- 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 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:6:1: +#include etran.c:15:29: self->gamelog = (char *)malloc(sizeof(char) * self->gamelog_size); ^~~~~~ 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:6:1: +#include etran.c:16:5: strcpy(self->gamelog, ""); ^~~~~~ 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 --- 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 In file included from execute2.c:5: 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'; did you mean 'SeeGesture'? [-Wimplicit-function-declaration] write_gestures(self, wiz, Gesture_ANTISPELL, Gesture_ANTISPELL); ^~~~~~~~~~~~~~ SeeGesture 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); ^~~~~~~~~~~~~~~~ --- 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:6:1: +#include execute.c:222:5: strcpy(buf, ""); ^~~~~~ 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); ^~~~~~ 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: 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' 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); ^~~~~~~~~~~~~~~ --- 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 --- 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:6:1: +#include engine.c:37:36: self->querylist = (struct query *)realloc(self->querylist, sizeof(struct query) * self->querylist_size); ^~~~~~~ engine.c: In function 'InitBeing': engine.c:107:5: warning: implicit declaration of function 'clear_round'; did you mean 'clearerr'? [-Wimplicit-function-declaration] clear_round(fred); ^~~~~~~~~~~ clearerr engine.c: In function 'write_gestures': engine.c:153:36: warning: incompatible implicit declaration of built-in function 'realloc' 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'; did you mean 'getline'? [-Wimplicit-function-declaration] srandom(getpid() + rock + numplayers); ^~~~~~ getline engine.c:203:5: warning: implicit declaration of function 'init_transcript'; did you mean 'WriteTranscript'? [-Wimplicit-function-declaration] init_transcript(self); ^~~~~~~~~~~~~~~ WriteTranscript In file included from engine.c:5: 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'; did you mean 'rindex'? [-Wimplicit-function-declaration] jx = random() % 2; ^~~~~~ rindex 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': 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' --- 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:17:1: +#include main.c:64:2: exit(12); ^~~~ 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'; did you mean 'clearerr'? [-Wimplicit-function-declaration] clear_answers(py); ^~~~~~~~~~~~~ clearerr 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'; did you mean 'XGrabButton'? [-Wimplicit-function-declaration] draw_button(py, 0, 1); /* redraw turn-end button */ ^~~~~~~~~~~ XGrabButton 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'; did you mean 'main'? [-Wimplicit-function-declaration] mainloop(); ^~~~~~~~ main main.c:202:51: warning: implicit declaration of function 'getpid'; did you mean 'getline'? [-Wimplicit-function-declaration] sprintf(fname, "%s/spellcast-%d", TRANSCRIPTDIR, getpid()); ^~~~~~ getline 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'; did you mean 'XFindContext'? [-Wimplicit-function-declaration] init_xtext(pnum); ^~~~~~~~~~ XFindContext main.c:362:5: warning: implicit declaration of function 'init_query'; did you mean 'ms_Query'? [-Wimplicit-function-declaration] init_query(py); ^~~~~~~~~~ ms_Query 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); ^~~~~~~~~ --- 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for spellcast-1.2_2 ===> spellcast-1.2_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Generating temporary packing list install -s -m 555 /construction/games/spellcast/spellcast/spellcast /construction/games/spellcast/stage/usr/local/bin install -m 444 /construction/games/spellcast/spellcast/spellcast.6 /construction/games/spellcast/stage/usr/local/man/man6 install -m 0644 /construction/games/spellcast/spellcast/README /construction/games/spellcast/spellcast/spelllist.ps /construction/games/spellcast/stage/usr/local/share/doc/spellcast ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for spellcast-1.2_2 file sizes/checksums [4]: 0% file sizes/checksums [4]: 100% Service unavailablepacking files [4]: 0% packing files [4]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:06