=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/xpilot", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpilot-4.5.4nb3 --- all --- --- README.txt --- rm -f README.txt --- all --- making all in ./doc... --- README.txt --- ./contrib/msub/msub +R"@<" -R">@" README.txt.msub >README.txt --- all --- --- all --- making all in doc/man/... --- xpilot.man --- --- xpilots.man --- ../../contrib/msub/msub +R"@<" -R">@" xpilots.man.msub >xpilots.man --- xpilot.man --- ../../contrib/msub/msub +R"@<" -R">@" xpilot.man.msub >xpilot.man --- xp-replay.man --- ../../contrib/msub/msub +R"@<" -R">@" xp-replay.man.msub >xp-replay.man --- xp-mapedit.man --- ../../contrib/msub/msub +R"@<" -R">@" xp-mapedit.man.msub >xp-mapedit.man --- xpilot._man --- --- xpilots._man --- --- xpilot._man --- rm -f xpilot._man --- xpilots._man --- rm -f xpilots._man --- xpilot._man --- if test -z "" ; then cd `dirname xpilot` && ln -s `basename xpilot.man` `basename xpilot._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xpilot.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xpilot._man; fi --- xpilots._man --- if test -z "" ; then cd `dirname xpilots` && ln -s `basename xpilots.man` `basename xpilots._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xpilots.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xpilots._man; fi --- xp-replay._man --- --- xp-mapedit._man --- --- xp-replay._man --- rm -f xp-replay._man --- xp-mapedit._man --- rm -f xp-mapedit._man --- xp-replay._man --- if test -z "" ; then cd `dirname xp-replay` && ln -s `basename xp-replay.man` `basename xp-replay._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xp-replay.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xp-replay._man; fi --- xp-mapedit._man --- if test -z "" ; then cd `dirname xp-mapedit` && ln -s `basename xp-mapedit.man` `basename xp-mapedit._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xp-mapedit.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xp-mapedit._man; fi making all in ./contrib... --- all --- making all in contrib/msub/... making all in ./src... --- all --- making all in src/common... --- all --- --- list.o --- --- all --- making all in src/common/NT... --- list.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c list.c --- all --- --- all --- making all in src/common/NT/bindist... --- README.txt --- ../../../../contrib/msub/msub +R"@<" -R">@" README.txt.msub >README.txt --- READMEbin.txt --- ../../../../contrib/msub/msub +R"@<" -R">@" READMEbin.txt.msub >READMEbin.txt --- ServerMOTD.txt --- ../../../../contrib/msub/msub +R"@<" -R">@" ServerMOTD.txt.msub >ServerMOTD.txt --- randommt.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c randommt.c --- strcasecmp.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c strcasecmp.c --- strdup.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c strdup.c --- strlcpy.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c strlcpy.c --- xpmemory.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c xpmemory.c --- checknames.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c checknames.c --- config.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c config.c --- error.o --- --- math.o --- --- error.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c error.c --- math.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c math.c --- net.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c net.c --- portability.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c portability.c --- shipshape.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c shipshape.c --- socklib.o --- gcc -Wall -DNO_ASM -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c socklib.c --- libxpcommon.a --- rm -f libxpcommon.a /usr/bin/ar cqs libxpcommon.a checknames.o config.o error.o list.o math.o net.o portability.o randommt.o shipshape.o socklib.o strcasecmp.o strdup.o strlcpy.o xpmemory.o making all in src/client... --- about.o --- --- blockbitmaps.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c blockbitmaps.c --- about.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c about.c --- caudio.o --- --- client.o --- --- caudio.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c caudio.c --- client.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c client.c --- colors.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c colors.c --- client.o --- client.c: In function 'Handle_seek': client.c:1153:48: warning: '%s' directive writing up to 79 bytes into a region of size between 73 and 231 [-Wformat-overflow=] 1153 | sprintf(msg, "%s has programmed %s to seek %s.", | ^~ client.c:1153:5: note: 'sprintf' output between 27 and 264 bytes into a destination of size 256 1153 | sprintf(msg, "%s has programmed %s to seek %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1154 | programmer->name, robot->name, sought->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- configure.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c configure.c --- datagram.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c datagram.c --- configure.o --- configure.c: In function 'Config_save': configure.c:1578:25: warning: '.new' directive writing 4 bytes into a region of size between 1 and 1025 [-Wformat-overflow=] 1578 | sprintf(newfile, "%s.new", oldfile); | ^~~~ configure.c:1578:5: note: 'sprintf' output between 5 and 1029 bytes into a destination of size 1025 1578 | sprintf(newfile, "%s.new", oldfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configure.c:1674:25: warning: '.bak' directive writing 4 bytes into a region of size between 1 and 1025 [-Wformat-overflow=] 1674 | sprintf(newfile, "%s.bak", oldfile); | ^~~~ configure.c:1674:5: note: 'sprintf' output between 5 and 1029 bytes into a destination of size 1025 1674 | sprintf(newfile, "%s.bak", oldfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configure.c:1677:25: warning: '.new' directive writing 4 bytes into a region of size between 1 and 1025 [-Wformat-overflow=] 1677 | sprintf(newfile, "%s.new", oldfile); | ^~~~ configure.c:1677:5: note: 'sprintf' output between 5 and 1029 bytes into a destination of size 1025 1677 | sprintf(newfile, "%s.new", oldfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- dbuff.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c dbuff.c --- default.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c default.c --- gfx2d.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c gfx2d.c --- default.o --- default.c: In function 'Parse_options': default.c:2619:46: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 2619 | sprintf (talk_fast_temp_buf, "msg%d", i + 1); | ^~ default.c:2619:42: note: directive argument in the range [-2147483647, 2147483647] 2619 | sprintf (talk_fast_temp_buf, "msg%d", i + 1); | ^~~~~~~ default.c:2619:13: note: 'sprintf' output between 5 and 15 bytes into a destination of size 7 2619 | sprintf (talk_fast_temp_buf, "msg%d", i + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gfx3d.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c gfx3d.c --- guimap.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c guimap.c --- guiobjects.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c guiobjects.c --- guimap.o --- guimap.c: In function 'Gui_paint_base': guimap.c:397:15: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 397 | } else | ^~~~ guimap.c:399:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 399 | size = XTextWidth(gameFont, s, other ? 2 : 1); | ^~~~ --- join.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c join.c --- netclient.o --- --- paint.o --- --- netclient.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c netclient.c --- paint.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c paint.c paint.c: In function 'Paint_score_entry': paint.c:527:48: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 527 | sprintf(raceStr, "%d.%c", | ^ paint.c:527:25: note: 'sprintf' output between 4 and 9 bytes into a destination of size 8 527 | sprintf(raceStr, "%d.%c", | ^~~~~~~~~~~~~~~~~~~~~~~~~ 528 | other->round, other->check + 'a'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- paintdata.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c paintdata.c --- painthud.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c painthud.c --- paintmap.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c paintmap.c --- paintobjects.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c paintobjects.c --- paintradar.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c paintradar.c --- query.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c query.c --- record.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c record.c --- sim.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c sim.c --- syslimit.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c syslimit.c --- talk.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c talk.c --- talkmacros.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c talkmacros.c talkmacros.c: In function 'Talk_macro_parse_mesg': talkmacros.c:321:25: warning: pointer 'tmpptr' may be used after 'free' [-Wuse-after-free] 321 | error ("Couldn't open file %s", tmpptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ talkmacros.c:319:21: note: call to 'free' here 319 | free (tmpptr); | ^~~~~~~~~~~~~ --- textinterface.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c textinterface.c --- texture.o --- --- usleep.o --- --- texture.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c texture.c --- usleep.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c usleep.c --- welcome.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c welcome.c --- widget.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c widget.c --- welcome.o --- welcome.c: In function 'Localnet_cb': welcome.c:402:17: warning: variable 'button3' set but not used [-Wunused-but-set-variable] 402 | int button3; | ^~~~~~~ welcome.c:390:17: warning: variable 'button' set but not used [-Wunused-but-set-variable] 390 | int button; | ^~~~~~ welcome.c:346:33: warning: variable 'label' set but not used [-Wunused-but-set-variable] 346 | int label; | ^~~~~ --- xeventhandlers.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c xeventhandlers.c --- xevent.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c xevent.c --- xinit.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c xinit.c --- xpilot.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c xpilot.c --- xpmread.o --- gcc -Wall -DNO_ASM -I../common/ -I../../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DWINDOWSCALING -I/opt/pkg/include -c xpmread.c --- xpilot --- rm -f xpilot gcc -o xpilot -Wall -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib about.o blockbitmaps.o caudio.o client.o colors.o configure.o datagram.o dbuff.o default.o gfx2d.o gfx3d.o guimap.o guiobjects.o join.o netclient.o paint.o paintdata.o painthud.o paintmap.o paintobjects.o paintradar.o query.o record.o sim.o syslimit.o talk.o talkmacros.o textinterface.o texture.o usleep.o welcome.o widget.o xeventhandlers.o xevent.o xinit.o xpilot.o xpmread.o ../common/libxpcommon.a -lsocket -lnsl -lX11 -lm -R/opt/pkg/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata making all in src/server... --- alliance.o --- --- asteroid.o --- --- alliance.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c alliance.c --- asteroid.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c asteroid.c asteroid.c: In function 'Break_asteroid': asteroid.c:124:38: warning: variable 'vely2' set but not used [-Wunused-but-set-variable] 124 | DFLOAT velx1, vely1, velx2, vely2, velx3, vely3; | ^~~~~ asteroid.c:124:31: warning: variable 'velx2' set but not used [-Wunused-but-set-variable] 124 | DFLOAT velx1, vely1, velx2, vely2, velx3, vely3; | ^~~~~ asteroid.c:124:24: warning: variable 'vely1' set but not used [-Wunused-but-set-variable] 124 | DFLOAT velx1, vely1, velx2, vely2, velx3, vely3; | ^~~~~ asteroid.c:124:17: warning: variable 'velx1' set but not used [-Wunused-but-set-variable] 124 | DFLOAT velx1, vely1, velx2, vely2, velx3, vely3; | ^~~~~ --- cannon.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c cannon.c --- cell.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c cell.c --- cmdline.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c cmdline.c --- collision.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c collision.c collision.c: In function 'Player_collides_with_mine': collision.c:1063:62: warning: '%s' directive writing up to 79 bytes into a region of size between 60 and 218 [-Wformat-overflow=] 1063 | sprintf(msg, "%s hit %s %s by %s and reprogrammed by %s.", | ^~ collision.c:1063:9: note: 'sprintf' output 40 or more bytes (assuming 277) into a destination of size 256 1063 | sprintf(msg, "%s hit %s %s by %s and reprogrammed by %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1064 | pl->name, | ~~~~~~~~~ 1065 | Describe_shot(mine->type, mine->status, mine->mods,1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1066 | BIT(mine->status, GRAVITY) ? "thrown " : "dropped ", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1067 | Players[GetInd[mine->owner]]->name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1068 | reprogrammer_name); | ~~~~~~~~~~~~~~~~~~ --- command.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c command.c --- contact.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c contact.c --- event.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c event.c --- contact.o --- contact.c: In function 'Contact': contact.c:494:29: warning: ' [' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 494 | sprintf(msg, "%s [%s SPEAKING FROM ABOVE]", | ^~ contact.c:494:13: note: 'sprintf' output between 24 and 358 bytes into a destination of size 256 494 | sprintf(msg, "%s [%s SPEAKING FROM ABOVE]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 495 | str, real_name); | ~~~~~~~~~~~~~~~ --- fileparser.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c fileparser.c fileparser.c: In function 'parseDefaultsFile': fileparser.c:687:17: warning: variable 'result' set but not used [-Wunused-but-set-variable] 687 | bool result; | ^~~~~~ fileparser.c: In function 'parsePasswordFile': fileparser.c:705:17: warning: variable 'result' set but not used [-Wunused-but-set-variable] 705 | bool result; | ^~~~~~ fileparser.c: In function 'parseMapFile': fileparser.c:723:17: warning: variable 'result' set but not used [-Wunused-but-set-variable] 723 | bool result; | ^~~~~~ fileparser.c: In function 'getMultilineValue': fileparser.c:128:22: warning: pointer 't' used after 'realloc' [-Wuse-after-free] 128 | bol += s - t; | ~~^~~ fileparser.c:127:25: note: call to 'realloc' here 127 | s = (char *)realloc(s, slen); | ^~~~~~~~~~~~~~~~ fileparser.c:136:23: warning: pointer 't' used after 'realloc' [-Wuse-after-free] 136 | s[bol - t] = '\0'; | ~~~~^~~ fileparser.c:135:29: note: call to 'realloc' here 135 | s = (char *)realloc(s, bol - s + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ --- frame.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c frame.c --- id.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c id.c --- item.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c item.c item.c: In function 'Fire_general_ecm': item.c:1096:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1096 | if (range <= 0 || (int)(rfrac() * 100.0f) < (100 - (int)(50*range))) | ^~ item.c:1098:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1098 | closest_mine->team = team; | ^~~~~~~~~~~~ --- laser.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c laser.c laser.c: In function 'Laser_pulse_check_player_hits': laser.c:336:26: warning: variable 'pl' set but not used [-Wunused-but-set-variable] 336 | player *pl; | ^~ laser.c: In function 'Laser_pulse_collision': laser.c:436:34: warning: variable 'pl' set but not used [-Wunused-but-set-variable] 436 | player *pl; | ^~ --- map.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c map.c --- metaserver.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c metaserver.c --- netserver.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c netserver.c netserver.c: In function 'Setup_connection': netserver.c:782:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 782 | install_input(Handle_input, sock.fd, (void *)free_conn_index); | ^ netserver.c: In function 'Handle_setup': netserver.c:919:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 919 | Handle_input(-1, (void *) ind); | ^ netserver.c: In function 'Handle_input': netserver.c:1214:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1214 | int ind = (int) arg; | ^ netserver.c: In function 'Receive_audio_request': netserver.c:3222:26: warning: variable 'pl' set but not used [-Wunused-but-set-variable] 3222 | player *pl; | ^~ --- object.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c object.c --- netserver.o --- netserver.c: In function 'Handle_login': netserver.c:1111:47: warning: '", made by ' directive writing 11 bytes into a region of size between 2 and 239 [-Wformat-overflow=] 1111 | sprintf(msg, "%s (%s) has entered \"%s\", made by %s.", | ^~~~~~~~~~~~ netserver.c:1111:9: note: 'sprintf' output between 30 and 346 bytes into a destination of size 256 1111 | sprintf(msg, "%s (%s) has entered \"%s\", made by %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1112 | pl->name, pl->realname, World.name, World.author); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netserver.c:1108:54: warning: '%s' directive writing up to 79 bytes into a region of size between 69 and 231 [-Wformat-overflow=] 1108 | sprintf(msg, "%s (%s, team %d) has entered \"%s\", made by %s.", | ^~ 1109 | pl->name, pl->realname, pl->team, World.name, World.author); | ~~~~~~~~~~ netserver.c:1108:9: note: 'sprintf' output between 38 and 358 bytes into a destination of size 256 1108 | sprintf(msg, "%s (%s, team %d) has entered \"%s\", made by %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1109 | pl->name, pl->realname, pl->team, World.name, World.author); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- objpos.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c objpos.c --- option.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c option.c --- parser.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c parser.c parser.c: In function 'Parser_dump_config': parser.c:212:26: warning: variable 'options' set but not used [-Wunused-but-set-variable] 212 | option_desc *options; | ^~~~~~~ --- play.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c play.c --- player.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c player.c --- robot.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c robot.c --- robotdef.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c robotdef.c robotdef.c: In function 'Robot_default_play_check_lasers': robotdef.c:2181:33: warning: variable 'shield_range' set but not used [-Wunused-but-set-variable] 2181 | int shield_range; | ^~~~~~~~~~~~ --- rules.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c rules.c --- saudio.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c saudio.c --- sched.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c sched.c --- score.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c score.c --- server.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c server.c --- ship.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c ship.c --- server.o --- server.c: In function 'Server_info': server.c:549:49: warning: '%s' directive writing up to 79 bytes into a region of size 78 [-Wformat-overflow=] 549 | sprintf(name + strlen(name), " (%s)", Players[GetInd[k]]->name); | ^~ server.c:549:17: note: 'sprintf' output between 4 and 83 bytes into a destination of size 80 549 | sprintf(name + strlen(name), " (%s)", Players[GetInd[k]]->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:555:31: warning: '%-19s' directive writing between 19 and 79 bytes into a region of size 77 [-Wformat-overflow=] 555 | sprintf(lblstr, "%c%c %-19s%03d%6d", | ^~~~~ ...... 558 | name, (int)pl->life, (int)pl->score); | ~~~~ server.c:555:25: note: using the range [-2147483648, 2147483647] for directive argument 555 | sprintf(lblstr, "%c%c %-19s%03d%6d", | ^~~~~~~~~~~~~~~~~~~ server.c:555:9: note: 'sprintf' output between 32 and 105 bytes into a destination of size 80 555 | sprintf(lblstr, "%c%c %-19s%03d%6d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 556 | (pl == best) ? '*' : pl->mychar, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | (pl->team == TEAM_NOT_SET) ? ' ' : (pl->team + '0'), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | name, (int)pl->life, (int)pl->score); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- shot.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c shot.c --- showtime.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c showtime.c --- stratbot.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c stratbot.c --- tuner.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c tuner.c --- update.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c update.c --- walls.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c walls.c --- wildmap.o --- gcc -Wall -DNO_ASM -I../common/ -I../lib/ -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c wildmap.c wildmap.c: In function 'Sort_labels': wildmap.c:605:5: warning: 'memset' may write 2048 bytes into a region of size 1024 [-Wstringop-overflow=] 605 | memset(tbl, 0, sizeof(int *) * 256); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wildmap.c:594:29: note: destination object 'tbl' of size [0, 1024] 594 | static void Sort_labels(int tbl[256]) | ~~~~^~~~~~~~ --- xpilots --- rm -f xpilots gcc -o xpilots -Wall -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib alliance.o asteroid.o cannon.o cell.o cmdline.o collision.o command.o contact.o event.o fileparser.o frame.o id.o item.o laser.o map.o metaserver.o netserver.o object.o objpos.o option.o parser.o play.o player.o robot.o robotdef.o rules.o saudio.o sched.o score.o server.o ship.o shot.o showtime.o stratbot.o tuner.o update.o walls.o wildmap.o ../common/libxpcommon.a -lsocket -lnsl -lm -R/opt/pkg/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata making all in src/replay... --- xp-replay.o --- --- buttons.o --- gcc -Wall -DNO_ASM -I../common -I../client -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c buttons.c --- xp-replay.o --- gcc -Wall -DNO_ASM -I../common -I../client -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xp-replay.c --- xp-replay --- rm -f xp-replay gcc -o xp-replay -Wall -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib xp-replay.o buttons.o -lsocket -lnsl -lX11 -lm -R/opt/pkg/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata making all in src/mapedit... --- main.o --- --- expose.o --- --- main.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c main.c --- expose.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c expose.c --- main.o --- main.c: In function 'SetDefaults': main.c:698:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 698 | map.mapName[0] = map.mapFileName[0] = (char ) NULL; | ^ --- events.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c events.c --- tools.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c tools.c --- events.o --- events.c: In function 'MapwinKeyPress': events.c:112:26: warning: variable 'count' set but not used [-Wunused-but-set-variable] 112 | int count; | ^~~~~ --- file.o --- --- tools.o --- tools.c: In function 'MoveMapView': tools.c:311:26: warning: variable 'btn' set but not used [-Wunused-but-set-variable] 311 | unsigned int btn; | ^~~ tools.c: In function 'NewMap': --- file.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c file.c --- tools.o --- tools.c:601:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 601 | map.mapName[0] = map.mapAuthor[0] = map.mapFileName[0] = map.gravity[0] = (char)NULL; | ^ tools.c:602:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 602 | map.shipMass[0] = map.maxRobots[0] = map.worldLives[0] = (char) NULL; | ^ tools.c: In function 'OpenMapInfoPopup': tools.c:682:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 682 | Window *temp; | ^~~~ tools.c: In function 'ValidateCoordHandler': tools.c:802:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 802 | returnval[0] = (char) NULL; | ^ tools.c:807:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 807 | while (string[0] != (char) NULL) { | ^ tools.c: In function 'ShowHoles': tools.c:828:14: warning: variable 'h' set but not used [-Wunused-but-set-variable] 828 | int i,j,w,h,x,y; | ^ tools.c: In function 'ValidateCoordHandler': tools.c:809:7: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 809 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- file.o --- file.c: In function 'SaveMap': file.c:183:25: warning: the comparison will always evaluate as 'true' for the address of 'worldLives' will never be NULL [-Waddress] 183 | if ( (map.worldLives != NULL) && (atoi(map.worldLives) != 0) ) | ^~ In file included from file.c:29: main.h:135:17: note: 'worldLives' declared here 135 | char worldLives[4]; | ^~~~~~~~~~ file.c:198:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 198 | if ( strlen(prefs[n].charvar) != (int) NULL ) | ^ file.c: In function 'LoadPrompt': file.c:249:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 249 | filepromptname[0] = (char) NULL; | ^ file.c: In function 'LoadMap': file.c:344:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 344 | map.mapName[0] = map.mapAuthor[0] = map.gravity[0] = map.shipMass[0] = (char) NULL; | ^ file.c:345:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 345 | map.maxRobots[0] = map.worldLives[0] = (char) NULL; | ^ file.c: In function 'LoadOldMap': file.c:477:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 477 | (*tmpstr) = (char) NULL; | ^ file.c:491:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 491 | map.mapName[strlen(line) - 1] = (char) NULL; | ^ file.c:494:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 494 | map.mapAuthor[strlen(line) - 1] = (char) NULL; | ^ file.c: In function 'ParseLine': file.c:621:26: warning: variable 'override' set but not used [-Wunused-but-set-variable] 621 | int override = 0; | ^~~~~~~~ file.c: In function 'StrToNum': file.c:845:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 845 | returnval[0] = (char) NULL; | ^ file.c:857:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 857 | while ( (string[0] != (char) NULL) && (strlen(returnval) <= (len-1) ) ) { | ^ file.c: In function 'getMultilineValue': file.c:587:19: warning: pointer 't' used after 'realloc' [-Wuse-after-free] 587 | bol += s - t; | ~~^~~ file.c:586:23: note: call to 'realloc' here 586 | s = (char *) realloc(s, slen += 32768); | ^~~~~~~~~~~~~~~~~~~~~~~~~ file.c:595:19: warning: pointer 't' used after 'realloc' [-Wuse-after-free] 595 | s[bol - t] = '\0'; | ~~~~^~~ file.c:594:26: note: call to 'realloc' here 594 | s = (char *) realloc(s, bol - s + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ file.c: In function 'StrToNum': file.c:854:7: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 854 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- round.o --- --- file.o --- file.c:850:10: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 850 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:864:10: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 864 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:861:13: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 861 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- round.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c round.c --- help.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c help.c --- grow.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c grow.c --- forms.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c forms.c --- T_Toolkit.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c T_Toolkit.c --- forms.o --- forms.c: In function 'BuildPrefsForm': forms.c:103:30: warning: variable 't' set but not used [-Wunused-but-set-variable] 103 | int w,h,t,i; | ^ --- T_Toolkit.o --- T_Toolkit.c: In function 'T_DrawText': T_Toolkit.c:487:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 487 | while ( (*curr) != (char) NULL ) { | ^ T_Toolkit.c:489:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 489 | ((*curr) != (char) NULL) && ((*curr) != '\n') ) { | ^ T_Toolkit.c:502:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 502 | if ( ((*curr) == '\n') || ((*curr) == (char) NULL) ) { | ^ --- T_Form.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c T_Form.c --- T_Popup.o --- --- T_Form.o --- T_Form.c: In function 'T_FormKeyPress': T_Form.c:297:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 297 | tmpstr[0] = (char) NULL; | ^ T_Form.c:312:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 312 | tmpstr[0] = (char) NULL; | ^ --- T_Popup.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c T_Popup.c --- T_Handler.o --- gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIBDIR=\"/opt/pkg/share/xpilot/\" -I/opt/pkg/include -c T_Handler.c T_Handler.c: In function 'ValidateFloatHandler': T_Handler.c:43:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 43 | returnval[0] = (char) NULL; | ^ T_Handler.c:53:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 53 | while (string[0] != (char) NULL) { | ^ T_Handler.c: In function 'ValidatePositiveFloatHandler': T_Handler.c:77:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | returnval[0] = (char) NULL; | ^ T_Handler.c:82:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 82 | while (string[0] != (char) NULL) { | ^ T_Handler.c: In function 'ValidateIntHandler': T_Handler.c:106:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 106 | returnval[0] = (char) NULL; | ^ T_Handler.c:115:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 115 | while (string[0] != (char) NULL) { | ^ T_Handler.c: In function 'ValidatePositiveIntHandler': T_Handler.c:139:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 139 | returnval[0] = (char) NULL; | ^ T_Handler.c:144:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 144 | while (string[0] != (char) NULL) { | ^ T_Handler.c: In function 'ValidateFloatHandler': T_Handler.c:50:4: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 50 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ T_Handler.c:55:7: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 55 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ T_Handler.c: In function 'ValidatePositiveFloatHandler': T_Handler.c:84:7: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 84 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ T_Handler.c: In function 'ValidateIntHandler': T_Handler.c:112:4: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 112 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ T_Handler.c:117:7: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 117 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ T_Handler.c: In function 'ValidatePositiveIntHandler': T_Handler.c:146:7: warning: 'sprintf' argument 3 overlaps destination object 'returnval' [-Wrestrict] 146 | sprintf(returnval,"%s%c",returnval,string[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xp-mapedit --- rm -f xp-mapedit gcc -o xp-mapedit -Wall -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib main.o expose.o events.o tools.o file.o round.o help.o grow.o forms.o T_Toolkit.o T_Form.o T_Popup.o T_Handler.o -lsocket -lnsl -lXext -lX11 -lm -R/opt/pkg/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata