* CPV: games-strategy/xbattle-5.4.1
* REPO: gentoo
* USE: elibc_glibc kernel_linux test userland_GNU x86
>>> Unpacking source...
>>> Unpacking xbattle-5.4.1.tar.gz to /var/tmp/portage/games-strategy/xbattle-5.4.1/work
>>> Source unpacked in /var/tmp/portage/games-strategy/xbattle-5.4.1/work
>>> Preparing source in /var/tmp/portage/games-strategy/xbattle-5.4.1/work/xbattle-5.4.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-strategy/xbattle-5.4.1/work/xbattle-5.4.1 ...
imake -DUseInstalled -I/usr/lib/X11/config
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-strategy/xbattle-5.4.1/work/xbattle-5.4.1 ...
make -j14 'CDEBUGFLAGS=-O2 -pipe'
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o command.o command.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o draw.o draw.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o edit.o edit.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o error.o error.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o init.o init.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o load.o load.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o main.o main.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o parse.o parse.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o replay.o replay.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o shape.o shape.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o shape_diamond.o shape_diamond.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o shape_hex.o shape_hex.c
command.c: In function ‘run_reserve’:
command.c:609:3: warning: incompatible implicit declaration of built-in function ‘strcpy’
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o shape_octagon.o shape_octagon.c
draw.c: In function ‘draw_board’:
draw.c:132:10: warning: incompatible implicit declaration of built-in function ‘strlen’
draw.c: In function ‘draw_message’:
draw.c:1028:16: warning: incompatible implicit declaration of built-in function ‘strlen’
draw.c:1042:5: warning: incompatible implicit declaration of built-in function ‘strcpy’
draw.c:1075:7: warning: incompatible implicit declaration of built-in function ‘strcpy’
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o shape_square.o shape_square.c
draw.c:1146:9: warning: incompatible implicit declaration of built-in function ‘strcat’
draw.c:1258:5: warning: incompatible implicit declaration of built-in function ‘strcpy’
draw.c: In function ‘draw_timer’:
draw.c:1275:3: warning: format ‘%02u’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’
draw.c:1275:3: warning: format ‘%02u’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’
draw.c:1279:9: warning: incompatible implicit declaration of built-in function ‘strlen’
error.c: In function ‘my_error_handler’:
error.c:41:3: warning: incompatible implicit declaration of built-in function ‘exit’
error.c: In function ‘my_io_error_handler’:
error.c:111:3: warning: incompatible implicit declaration of built-in function ‘exit’
error.c: In function ‘throw_error’:
error.c:129:3: warning: incompatible implicit declaration of built-in function ‘exit’
error.c: In function ‘throw_message’:
error.c:173:3: warning: format not a string literal and no format arguments
edit.c: In function ‘edit_board’:
edit.c:294:13: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o shape_triangle.o shape_triangle.c
load.c: In function ‘load_cell’:
load.c:275:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:276:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:283:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:285:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:288:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:293:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:304:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:308:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:310:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:317:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:318:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:319:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:320:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:321:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:322:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:323:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:327:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:328:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:329:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:330:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:331:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:332:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:333:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c: In function ‘load_board_header’:
load.c:147:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:148:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:149:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:150:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:151:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:152:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:154:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c:156:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
load.c: In function ‘dump_cell’:
load.c:87:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:92:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:96:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:98:16: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:100:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:102:16: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:104:16: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:113:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:118:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:119:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:120:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:121:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:122:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:123:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:124:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c: In function ‘dump_board’:
load.c:43:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:44:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:45:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:46:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:47:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:48:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
load.c:49:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
init.c: In function ‘init_board’:
init.c:37:46: warning: incompatible implicit declaration of built-in function ‘malloc’
init.c:52:27: warning: incompatible implicit declaration of built-in function ‘malloc’
main.c: In function ‘run_unix_loop’:
main.c:170:9: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘set_windows’:
main.c:1144:7: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c: In function ‘remove_player’:
main.c:1262:5: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:1270:25: warning: incompatible implicit declaration of built-in function ‘strlen’
shape.c: In function ‘shape_initialize’:
shape.c:33:45: warning: incompatible implicit declaration of built-in function ‘malloc’
replay.c: In function ‘replay_game’:
replay.c:149:23: warning: incompatible implicit declaration of built-in function ‘strlen’
replay.c:174:7: warning: incompatible implicit declaration of built-in function ‘exit’
replay.c:253:21: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:1258:16: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
shape.c:214:45: warning: incompatible implicit declaration of built-in function ‘malloc’
replay.c: In function ‘load_parameters’:
replay.c:330:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:331:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:332:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:333:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:334:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:335:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:336:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:366:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:368:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:372:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:373:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:374:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c: In function ‘store_parameters’:
replay.c:289:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:290:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:291:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:292:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:293:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:294:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:295:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:299:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:301:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:305:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:306:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:307:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c: In function ‘replay_game’:
replay.c:167:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:177:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:180:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:181:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:188:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:194:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:195:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:196:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:197:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:206:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:208:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:215:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:217:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c:221:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
replay.c: In function ‘store_draw_cell’:
replay.c:35:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:36:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:37:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:38:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:42:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:72:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:73:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:74:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:75:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:78:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:82:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:86:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:88:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
replay.c:94:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o update.o update.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o utils.o utils.c
gcc -m32 -O2 -pipe -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_XBO_DIR=\"/usr/share/games/xbattle/xbos\" -DDEFAULT_XBT_DIR=\"/usr/share/games/xbattle/xbts\" -DDEFAULT_XBA_DIR=\"/usr/share/games/xbattle/xbas\" -c -o window.o window.c
rm -f xbattle._man
if test -z "" ; then \
cd `dirname xbattle` && \
ln -s `basename xbattle.man` `basename xbattle._man`; \
else \
cpp -undef -traditional -D__apploaddir__=/usr/lib/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 6 8 99 903 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 6 8 99 903 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \
< xbattle.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/\@\@$/\\/' >xbattle._man; \
fi
utils.c: In function ‘matchstr’:
utils.c:94:15: warning: incompatible implicit declaration of built-in function ‘strlen’
window.c: In function ‘open_xwindow’:
window.c:77:25: warning: incompatible implicit declaration of built-in function ‘malloc’
window.c:678:9: warning: incompatible implicit declaration of built-in function ‘strcpy’
rm -f xbattle
gcc -m32 -o xbattle -O2 -pipe -L/usr/lib command.o draw.o edit.o error.o init.o load.o main.o parse.o replay.o shape.o shape_diamond.o shape_hex.o shape_octagon.o shape_square.o shape_triangle.o update.o utils.o window.o -lXext -lX11 -lm
>>> Source compiled.
>>> Test phase [none]: games-strategy/xbattle-5.4.1
>>> Install xbattle-5.4.1 into /var/tmp/portage/games-strategy/xbattle-5.4.1/image/ category games-strategy
>>> Completed installing xbattle-5.4.1 into /var/tmp/portage/games-strategy/xbattle-5.4.1/image/
games
mr_bones_@gentoo.org
Michael Sterrett
From the HOMEPAGE:
XBattle is a concurrent multi-player arcade/strategy game that captures
the dynamics of a wide range of military situations through numerous
options. The game board is a matrix of game cells which can be occupied
by troops of various colors, with troop strength indicated by the size of
colored markers within a cell. Troops are commanded by clicking the mouse
near the edge of an occupied cell in the direction that movement is to take
place. XBattle is concurrent, so that commands are given continuously by
all players without waiting for turns. A command will be acknowledged by
the appearance of a command vector, and thereafter, in each update cycle,
a certain proportion of the troops will move from the source cell to the
destination cell. In this way, troops can be slowly redistributed via
supply lines which steadily deliver troops to their endpoints. Troops
of different colors engage in battle whenever they come to occupy the
same cell. A wide variety of options are available for configuring troop
movement, distribution, and production.
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/games/bin/xbattle
* QA Notice: Files built without respecting LDFLAGS have been detected
* Please include the following list of files in your report:
* /usr/games/bin/xbattle
* QA Notice: Package has poor programming practices which may compile
* fine but exhibit random runtime failures.
* command.c:609:3: warning: incompatible implicit declaration of built-in function ‘strcpy’
* draw.c:132:10: warning: incompatible implicit declaration of built-in function ‘strlen’
* draw.c:1028:16: warning: incompatible implicit declaration of built-in function ‘strlen’
* draw.c:1042:5: warning: incompatible implicit declaration of built-in function ‘strcpy’
* draw.c:1075:7: warning: incompatible implicit declaration of built-in function ‘strcpy’
* draw.c:1146:9: warning: incompatible implicit declaration of built-in function ‘strcat’
* draw.c:1258:5: warning: incompatible implicit declaration of built-in function ‘strcpy’
* draw.c:1279:9: warning: incompatible implicit declaration of built-in function ‘strlen’
* error.c:41:3: warning: incompatible implicit declaration of built-in function ‘exit’
* error.c:111:3: warning: incompatible implicit declaration of built-in function ‘exit’
* error.c:129:3: warning: incompatible implicit declaration of built-in function ‘exit’
* edit.c:294:13: warning: incompatible implicit declaration of built-in function ‘exit’
* init.c:37:46: warning: incompatible implicit declaration of built-in function ‘malloc’
* init.c:52:27: warning: incompatible implicit declaration of built-in function ‘malloc’
* main.c:170:9: warning: incompatible implicit declaration of built-in function ‘exit’
* main.c:1144:7: warning: incompatible implicit declaration of built-in function ‘strcpy’
* main.c:1262:5: warning: incompatible implicit declaration of built-in function ‘exit’
* main.c:1270:25: warning: incompatible implicit declaration of built-in function ‘strlen’
* shape.c:33:45: warning: incompatible implicit declaration of built-in function ‘malloc’
* replay.c:149:23: warning: incompatible implicit declaration of built-in function ‘strlen’
* replay.c:174:7: warning: incompatible implicit declaration of built-in function ‘exit’
* replay.c:253:21: warning: incompatible implicit declaration of built-in function ‘exit’
* shape.c:214:45: warning: incompatible implicit declaration of built-in function ‘malloc’
* utils.c:94:15: warning: incompatible implicit declaration of built-in function ‘strlen’
* window.c:77:25: warning: incompatible implicit declaration of built-in function ‘malloc’
* window.c:678:9: warning: incompatible implicit declaration of built-in function ‘strcpy’
* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: http://www.cgl.uwaterloo.ca/~jdsteele/xbattle.html
* Remember, in order to play games, you have to
* be in the 'games' group.
* Just run 'gpasswd -a games', then have re-login.
* For more info about Gentoo gaming in general, see our website:
* http://games.gentoo.org/
* You may be interested by these tutorials:
* xbattle-tutorial1
* xbattle-tutorial2