+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/d2x-0.2.5nb14/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/d2x-0.2.5nb14/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for d2x-0.2.5nb14 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5' Making all in 2d gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/2d' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT tmerge.o -MD -MP -MF ".deps/tmerge.Tpo" \ -c -o tmerge.o `test -f 'tmerge.c' || echo './'`tmerge.c; \ then mv -f ".deps/tmerge.Tpo" ".deps/tmerge.Po"; \ else rm -f ".deps/tmerge.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT 2dsline.o -MD -MP -MF ".deps/2dsline.Tpo" \ -c -o 2dsline.o `test -f '2dsline.c' || echo './'`2dsline.c; \ then mv -f ".deps/2dsline.Tpo" ".deps/2dsline.Po"; \ else rm -f ".deps/2dsline.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT box.o -MD -MP -MF ".deps/box.Tpo" \ -c -o box.o `test -f 'box.c' || echo './'`box.c; \ then mv -f ".deps/box.Tpo" ".deps/box.Po"; \ else rm -f ".deps/box.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT disc.o -MD -MP -MF ".deps/disc.Tpo" \ -c -o disc.o `test -f 'disc.c' || echo './'`disc.c; \ then mv -f ".deps/disc.Tpo" ".deps/disc.Po"; \ else rm -f ".deps/disc.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT ibitblt.o -MD -MP -MF ".deps/ibitblt.Tpo" \ -c -o ibitblt.o `test -f 'ibitblt.c' || echo './'`ibitblt.c; \ then mv -f ".deps/ibitblt.Tpo" ".deps/ibitblt.Po"; \ else rm -f ".deps/ibitblt.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT pcx.o -MD -MP -MF ".deps/pcx.Tpo" \ -c -o pcx.o `test -f 'pcx.c' || echo './'`pcx.c; \ then mv -f ".deps/pcx.Tpo" ".deps/pcx.Po"; \ else rm -f ".deps/pcx.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT rect.o -MD -MP -MF ".deps/rect.Tpo" \ -c -o rect.o `test -f 'rect.c' || echo './'`rect.c; \ then mv -f ".deps/rect.Tpo" ".deps/rect.Po"; \ else rm -f ".deps/rect.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT scalec.o -MD -MP -MF ".deps/scalec.Tpo" \ -c -o scalec.o `test -f 'scalec.c' || echo './'`scalec.c; \ then mv -f ".deps/scalec.Tpo" ".deps/scalec.Po"; \ else rm -f ".deps/scalec.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT bitblt.o -MD -MP -MF ".deps/bitblt.Tpo" \ -c -o bitblt.o `test -f 'bitblt.c' || echo './'`bitblt.c; \ then mv -f ".deps/bitblt.Tpo" ".deps/bitblt.Po"; \ else rm -f ".deps/bitblt.Tpo"; exit 1; \ fi bitblt.c: In function 'gr_linear_movsd': bitblt.c:234:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (num_pixels < THRESHOLD) || (((int)src & 0x7) != ((int)dest & 0x7)) || test_byteblit ) { ^ bitblt.c:234:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (num_pixels < THRESHOLD) || (((int)src & 0x7) != ((int)dest & 0x7)) || test_byteblit ) { ^ bitblt.c:241:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((r = (int)src & 0x7)) { ^ bitblt.c: In function 'gr_linear_rep_movsd_2x': bitblt.c:541:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *d = *(double *) &(doubletemp[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bitblt.c: In function 'gr_linear_movsd_double': bitblt.c:1363:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (num_pixels & 0x3) || (((int)src & 0x7) != ((int)dest & 0x7)) ) { ^ bitblt.c:1363:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (num_pixels & 0x3) || (((int)src & 0x7) != ((int)dest & 0x7)) ) { ^ bitblt.c:1383:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *d = *(double *) &(doubletemp[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bitblt.c: In function 'gr_bitmap_scale_to': bitblt.c:2138:12: warning: pointer targets in initialization of 'byte *' {aka 'signed char *'} from 'unsigned char *' differ in signedness [-Wpointer-sign] byte *s = src->bm_data; ^~~ bitblt.c:2139:12: warning: pointer targets in initialization of 'byte *' {aka 'signed char *'} from 'unsigned char *' differ in signedness [-Wpointer-sign] byte *d = dst->bm_data; ^~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT canvas.o -MD -MP -MF ".deps/canvas.Tpo" \ -c -o canvas.o `test -f 'canvas.c' || echo './'`canvas.c; \ then mv -f ".deps/canvas.Tpo" ".deps/canvas.Po"; \ else rm -f ".deps/canvas.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT font.o -MD -MP -MF ".deps/font.Tpo" \ -c -o font.o `test -f 'font.c' || echo './'`font.c; \ then mv -f ".deps/font.Tpo" ".deps/font.Po"; \ else rm -f ".deps/font.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT line.o -MD -MP -MF ".deps/line.Tpo" \ -c -o line.o `test -f 'line.c' || echo './'`line.c; \ then mv -f ".deps/line.Tpo" ".deps/line.Po"; \ else rm -f ".deps/line.Tpo"; exit 1; \ fi font.c: In function 'gr_internal_string0': font.c:188:11: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] next_row = s; ^ font.c:196:28: warning: pointer targets in passing argument 1 of 'get_centered_x' differ in signedness [-Wpointer-sign] int xx = get_centered_x(text_ptr1); ^~~~~~~~~ font.c:139:5: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} int get_centered_x(char *s) ^~~~~~~~~~~~~~ font.c: In function 'gr_internal_string0m': font.c:304:11: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] next_row = s; ^ font.c:312:28: warning: pointer targets in passing argument 1 of 'get_centered_x' differ in signedness [-Wpointer-sign] int xx = get_centered_x(text_ptr1); ^~~~~~~~~ font.c:139:5: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} int get_centered_x(char *s) ^~~~~~~~~~~~~~ font.c: In function 'gr_internal_color_string': font.c:1051:11: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] next_row = s; ^ font.c:1066:24: warning: pointer targets in passing argument 1 of 'get_centered_x' differ in signedness [-Wpointer-sign] xx = get_centered_x(text_ptr); ^~~~~~~~ font.c:139:5: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} int get_centered_x(char *s) ^~~~~~~~~~~~~~ font.c: In function 'gr_init_font': font.c:1613:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0;ift_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); ^ font.c:1651:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] font->ft_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); ^ font.c:1652:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); ^ font.c:1652:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); ^ font.c:1653:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); ^ font.c:1653:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); ^ font.c:1659:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_widths = (short *) &font_data[(int)font->ft_widths]; ^ font.c:1660:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_data = &font_data[(int)font->ft_data]; ^ font.c:1660:17: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] font->ft_data = &font_data[(int)font->ft_data]; ^ font.c:1676:19: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] font->ft_data = font_data; ^ font.c:1684:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_kerndata = &font_data[(int)font->ft_kerndata]; ^ font.c:1684:21: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] font->ft_kerndata = &font_data[(int)font->ft_kerndata]; ^ font.c: In function 'gr_remap_font': font.c:1778:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); ^ font.c:1778:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] font->ft_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); ^ font.c:1779:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); ^ font.c:1779:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); ^ font.c:1780:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); ^ font.c:1780:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); ^ font.c:1786:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_widths = (short *) &font_data[(int)font->ft_widths]; ^ font.c:1787:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_data = &font_data[(int)font->ft_data]; ^ font.c:1787:17: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] font->ft_data = &font_data[(int)font->ft_data]; ^ font.c:1803:19: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] font->ft_data = font_data; ^ font.c:1811:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] font->ft_kerndata = &font_data[(int)font->ft_kerndata]; ^ font.c:1811:21: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] font->ft_kerndata = &font_data[(int)font->ft_kerndata]; ^ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT pixel.o -MD -MP -MF ".deps/pixel.Tpo" \ -c -o pixel.o `test -f 'pixel.c' || echo './'`pixel.c; \ then mv -f ".deps/pixel.Tpo" ".deps/pixel.Po"; \ else rm -f ".deps/pixel.Tpo"; exit 1; \ fi font.c: In function 'gr_init_font': font.c:1615:13: warning: array subscript 50 is above array bounds of 'openfont[50]' {aka 'struct openfont[50]'} [-Warray-bounds] open_font[i].dataptr = NULL; ~~~~~~~~~^~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT rle.o -MD -MP -MF ".deps/rle.Tpo" \ -c -o rle.o `test -f 'rle.c' || echo './'`rle.c; \ then mv -f ".deps/rle.Tpo" ".deps/rle.Po"; \ else rm -f ".deps/rle.Tpo"; exit 1; \ fi rle.c: In function 'gr_rle_expand_scanline_masked': rle.c:384:49: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] if ( color != TRANSPARENCY_COLOR ) rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c:388:48: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] if ( color != TRANSPARENCY_COLOR ) rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c:404:49: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] if ( color != TRANSPARENCY_COLOR )rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c:409:49: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] if ( color != TRANSPARENCY_COLOR )rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c: In function 'gr_rle_expand_scanline': rle.c:444:14: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c:448:13: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c:464:15: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ rle.c:469:15: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] rle_stosb( dest, count, color ); ^~~~ rle.c:346:6: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} void rle_stosb(char *dest, int len, int color) ^~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT bitmap.o -MD -MP -MF ".deps/bitmap.Tpo" \ -c -o bitmap.o `test -f 'bitmap.c' || echo './'`bitmap.c; \ then mv -f ".deps/bitmap.Tpo" ".deps/bitmap.Po"; \ else rm -f ".deps/bitmap.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT circle.o -MD -MP -MF ".deps/circle.Tpo" \ -c -o circle.o `test -f 'circle.c' || echo './'`circle.c; \ then mv -f ".deps/circle.Tpo" ".deps/circle.Po"; \ else rm -f ".deps/circle.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gpixel.o -MD -MP -MF ".deps/gpixel.Tpo" \ -c -o gpixel.o `test -f 'gpixel.c' || echo './'`gpixel.c; \ then mv -f ".deps/gpixel.Tpo" ".deps/gpixel.Po"; \ else rm -f ".deps/gpixel.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT palette.o -MD -MP -MF ".deps/palette.Tpo" \ -c -o palette.o `test -f 'palette.c' || echo './'`palette.c; \ then mv -f ".deps/palette.Tpo" ".deps/palette.Po"; \ else rm -f ".deps/palette.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT poly.o -MD -MP -MF ".deps/poly.Tpo" \ -c -o poly.o `test -f 'poly.c' || echo './'`poly.c; \ then mv -f ".deps/poly.Tpo" ".deps/poly.Po"; \ else rm -f ".deps/poly.Tpo"; exit 1; \ fi rm -f lib2d.a ar cru lib2d.a tmerge.o 2dsline.o box.o disc.o ibitblt.o pcx.o rect.o scalec.o bitblt.o canvas.o font.o line.o pixel.o rle.o bitmap.o circle.o gpixel.o palette.o poly.o ranlib lib2d.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/2d' Making all in 3d gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/3d' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT clipper.o -MD -MP -MF ".deps/clipper.Tpo" \ -c -o clipper.o `test -f 'clipper.c' || echo './'`clipper.c; \ then mv -f ".deps/clipper.Tpo" ".deps/clipper.Po"; \ else rm -f ".deps/clipper.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT globvars.o -MD -MP -MF ".deps/globvars.Tpo" \ -c -o globvars.o `test -f 'globvars.c' || echo './'`globvars.c; \ then mv -f ".deps/globvars.Tpo" ".deps/globvars.Po"; \ else rm -f ".deps/globvars.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT interp.o -MD -MP -MF ".deps/interp.Tpo" \ -c -o interp.o `test -f 'interp.c' || echo './'`interp.c; \ then mv -f ".deps/interp.Tpo" ".deps/interp.Po"; \ else rm -f ".deps/interp.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT points.o -MD -MP -MF ".deps/points.Tpo" \ -c -o points.o `test -f 'points.c' || echo './'`points.c; \ then mv -f ".deps/points.Tpo" ".deps/points.Po"; \ else rm -f ".deps/points.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT setup.o -MD -MP -MF ".deps/setup.Tpo" \ -c -o setup.o `test -f 'setup.c' || echo './'`setup.c; \ then mv -f ".deps/setup.Tpo" ".deps/setup.Po"; \ else rm -f ".deps/setup.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT draw.o -MD -MP -MF ".deps/draw.Tpo" \ -c -o draw.o `test -f 'draw.c' || echo './'`draw.c; \ then mv -f ".deps/draw.Tpo" ".deps/draw.Po"; \ else rm -f ".deps/draw.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT instance.o -MD -MP -MF ".deps/instance.Tpo" \ -c -o instance.o `test -f 'instance.c' || echo './'`instance.c; \ then mv -f ".deps/instance.Tpo" ".deps/instance.Po"; \ else rm -f ".deps/instance.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT matrix.o -MD -MP -MF ".deps/matrix.Tpo" \ -c -o matrix.o `test -f 'matrix.c' || echo './'`matrix.c; \ then mv -f ".deps/matrix.Tpo" ".deps/matrix.Po"; \ else rm -f ".deps/matrix.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT rod.o -MD -MP -MF ".deps/rod.Tpo" \ -c -o rod.o `test -f 'rod.c' || echo './'`rod.c; \ then mv -f ".deps/rod.Tpo" ".deps/rod.Po"; \ else rm -f ".deps/rod.Tpo"; exit 1; \ fi rm -f lib3d.a ar cru lib3d.a clipper.o globvars.o interp.o points.o setup.o draw.o instance.o matrix.o rod.o ranlib lib3d.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/3d' Making all in maths gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/maths' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT vecmat.o -MD -MP -MF ".deps/vecmat.Tpo" \ -c -o vecmat.o `test -f 'vecmat.c' || echo './'`vecmat.c; \ then mv -f ".deps/vecmat.Tpo" ".deps/vecmat.Po"; \ else rm -f ".deps/vecmat.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT rand.o -MD -MP -MF ".deps/rand.Tpo" \ -c -o rand.o `test -f 'rand.c' || echo './'`rand.c; \ then mv -f ".deps/rand.Tpo" ".deps/rand.Po"; \ else rm -f ".deps/rand.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT tables.o -MD -MP -MF ".deps/tables.Tpo" \ -c -o tables.o `test -f 'tables.c' || echo './'`tables.c; \ then mv -f ".deps/tables.Tpo" ".deps/tables.Po"; \ else rm -f ".deps/tables.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT fixc.o -MD -MP -MF ".deps/fixc.Tpo" \ -c -o fixc.o `test -f 'fixc.c' || echo './'`fixc.c; \ then mv -f ".deps/fixc.Tpo" ".deps/fixc.Po"; \ else rm -f ".deps/fixc.Tpo"; exit 1; \ fi fixc.c:67:2: warning: #warning "FIX NOT INLINED" [-Wcpp] #warning "FIX NOT INLINED" ^~~~~~~ rm -f libmaths.a ar cru libmaths.a vecmat.o rand.o tables.o fixc.o ranlib libmaths.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/maths' Making all in mem gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/mem' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT mem.o -MD -MP -MF ".deps/mem.Tpo" \ -c -o mem.o `test -f 'mem.c' || echo './'`mem.c; \ then mv -f ".deps/mem.Tpo" ".deps/mem.Po"; \ else rm -f ".deps/mem.Tpo"; exit 1; \ fi mem.c: In function 'mem_check_integrity': mem.c:274:12: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] CheckData = (char *)(MallocBase[block_number] + MallocSize[block_number]); ^ mem.c: In function 'mem_malloc': mem.c:204:3: warning: array subscript -1 is below array bounds of 'int[10000]' [-Warray-bounds] fprintf( stderr, "\tBlock '%s' created in %s, line %d.\n", Varname[id], Filename[id], LineNum[id] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:204:3: warning: array subscript -1 is below array bounds of 'char *[10000]' [-Warray-bounds] mem.c:204:3: warning: array subscript -1 is below array bounds of 'char *[10000]' [-Warray-bounds] rm -f libmem.a ar cru libmem.a mem.o ranlib libmem.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/mem' Making all in cfile gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/cfile' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT cfile.o -MD -MP -MF ".deps/cfile.Tpo" \ -c -o cfile.o `test -f 'cfile.c' || echo './'`cfile.c; \ then mv -f ".deps/cfile.Tpo" ".deps/cfile.Po"; \ else rm -f ".deps/cfile.Tpo"; exit 1; \ fi cfile.c: In function 'cfile_init_hogfile': cfile.c:247:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( id, 3, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~ rm -f libcfile.a ar cru libcfile.a cfile.o ranlib libcfile.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/cfile' Making all in iff gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/iff' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT iff.o -MD -MP -MF ".deps/iff.Tpo" \ -c -o iff.o `test -f 'iff.c' || echo './'`iff.c; \ then mv -f ".deps/iff.Tpo" ".deps/iff.Po"; \ else rm -f ".deps/iff.Tpo"; exit 1; \ fi iff.c: In function 'convert_ilbm_to_pbm': iff.c:619:10: warning: pointer targets in assignment from 'ubyte *' {aka 'unsigned char *'} to 'byte *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] rowptr = &bmheader->raw_data[y * bytes_per_row * bmheader->nplanes]; ^ iff.c:641:21: warning: pointer targets in assignment from 'byte *' {aka 'signed char *'} to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] bmheader->raw_data = new_data; ^ iff.c: In function 'iff_read_bitmap': iff.c:820:48: warning: pointer targets in passing argument 4 of 'iff_parse_bitmap' differ in signedness [-Wpointer-sign] ret = iff_parse_bitmap(&ifile,bm,bitmap_type,palette,NULL); ^~~~~~~ iff.c:733:5: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} int iff_parse_bitmap(FFILE *ifile,grs_bitmap *bm,int bitmap_type,byte *palette,grs_bitmap *prev_bm) ^~~~~~~~~~~~~~~~ iff.c: In function 'iff_read_animbrush': iff.c:1202:81: warning: pointer targets in passing argument 4 of 'iff_parse_bitmap' differ in signedness [-Wpointer-sign] ret = iff_parse_bitmap(&ifile,bm_list[*n_bitmaps],form_type,*n_bitmaps>0?NULL:palette,prev_bm); ~~~~~~~~~~~~~~~~~^~~~~~~~ iff.c:733:5: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} int iff_parse_bitmap(FFILE *ifile,grs_bitmap *bm,int bitmap_type,byte *palette,grs_bitmap *prev_bm) ^~~~~~~~~~~~~~~~ iff.c:1167:20: warning: variable 'bmheader' set but not used [-Wunused-but-set-variable] iff_bitmap_header bmheader; ^~~~~~~~ rm -f libiff.a ar cru libiff.a iff.o ranlib libiff.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/iff' Making all in texmap gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/texmap' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT ntmap.o -MD -MP -MF ".deps/ntmap.Tpo" \ -c -o ntmap.o `test -f 'ntmap.c' || echo './'`ntmap.c; \ then mv -f ".deps/ntmap.Tpo" ".deps/ntmap.Po"; \ else rm -f ".deps/ntmap.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT scanline.o -MD -MP -MF ".deps/scanline.Tpo" \ -c -o scanline.o `test -f 'scanline.c' || echo './'`scanline.c; \ then mv -f ".deps/scanline.Tpo" ".deps/scanline.Po"; \ else rm -f ".deps/scanline.Tpo"; exit 1; \ fi ntmap.c: In function 'ntmap_scanline_lighted_linear': ntmap.c:753:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ ntmap.c:757:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ ntmap.c:743:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] fix u,v,l; ^ ntmap.c:743:8: warning: variable 'v' set but not used [-Wunused-but-set-variable] fix u,v,l; ^ ntmap.c:743:6: warning: variable 'u' set but not used [-Wunused-but-set-variable] fix u,v,l; ^ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT tmapflat.o -MD -MP -MF ".deps/tmapflat.Tpo" \ -c -o tmapflat.o `test -f 'tmapflat.c' || echo './'`tmapflat.c; \ then mv -f ".deps/tmapflat.Tpo" ".deps/tmapflat.Po"; \ else rm -f ".deps/tmapflat.Tpo"; exit 1; \ fi rm -f libtexmap.a ar cru libtexmap.a ntmap.o scanline.o tmapflat.o ranlib libtexmap.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/texmap' Making all in misc gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/misc' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT args.o -MD -MP -MF ".deps/args.Tpo" \ -c -o args.o `test -f 'args.c' || echo './'`args.c; \ then mv -f ".deps/args.Tpo" ".deps/args.Po"; \ else rm -f ".deps/args.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT error.o -MD -MP -MF ".deps/error.Tpo" \ -c -o error.o `test -f 'error.c' || echo './'`error.c; \ then mv -f ".deps/error.Tpo" ".deps/error.Po"; \ else rm -f ".deps/error.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT strio.o -MD -MP -MF ".deps/strio.Tpo" \ -c -o strio.o `test -f 'strio.c' || echo './'`strio.c; \ then mv -f ".deps/strio.Tpo" ".deps/strio.Po"; \ else rm -f ".deps/strio.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT d_io.o -MD -MP -MF ".deps/d_io.Tpo" \ -c -o d_io.o `test -f 'd_io.c' || echo './'`d_io.c; \ then mv -f ".deps/d_io.Tpo" ".deps/d_io.Po"; \ else rm -f ".deps/d_io.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT hash.o -MD -MP -MF ".deps/hash.Tpo" \ -c -o hash.o `test -f 'hash.c' || echo './'`hash.c; \ then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; \ else rm -f ".deps/hash.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT strutil.o -MD -MP -MF ".deps/strutil.Tpo" \ -c -o strutil.o `test -f 'strutil.c' || echo './'`strutil.c; \ then mv -f ".deps/strutil.Tpo" ".deps/strutil.Po"; \ else rm -f ".deps/strutil.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT fileutil.o -MD -MP -MF ".deps/fileutil.Tpo" \ -c -o fileutil.o `test -f 'fileutil.c' || echo './'`fileutil.c; \ then mv -f ".deps/fileutil.Tpo" ".deps/fileutil.Po"; \ else rm -f ".deps/fileutil.Tpo"; exit 1; \ fi rm -f libmisc.a ar cru libmisc.a args.o error.o strio.o d_io.o hash.o strutil.o fileutil.o ranlib libmisc.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/misc' Making all in arch gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch' Making all in linux gmake[3]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch/linux' if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I./include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT findfile.o -MD -MP -MF ".deps/findfile.Tpo" \ -c -o findfile.o `test -f 'findfile.c' || echo './'`findfile.c; \ then mv -f ".deps/findfile.Tpo" ".deps/findfile.Po"; \ else rm -f ".deps/findfile.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I./include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT init.o -MD -MP -MF ".deps/init.Tpo" \ -c -o init.o `test -f 'init.c' || echo './'`init.c; \ then mv -f ".deps/init.Tpo" ".deps/init.Po"; \ else rm -f ".deps/init.Tpo"; exit 1; \ fi rm -f libarch_linux.a ar cru libarch_linux.a findfile.o init.o ranlib libarch_linux.a gmake[3]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch/linux' Making all in sdl gmake[3]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch/sdl' if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT joy.o -MD -MP -MF ".deps/joy.Tpo" \ -c -o joy.o `test -f 'joy.c' || echo './'`joy.c; \ then mv -f ".deps/joy.Tpo" ".deps/joy.Po"; \ else rm -f ".deps/joy.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT joydefs.o -MD -MP -MF ".deps/joydefs.Tpo" \ -c -o joydefs.o `test -f 'joydefs.c' || echo './'`joydefs.c; \ then mv -f ".deps/joydefs.Tpo" ".deps/joydefs.Po"; \ else rm -f ".deps/joydefs.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gr.o -MD -MP -MF ".deps/gr.Tpo" \ -c -o gr.o `test -f 'gr.c' || echo './'`gr.c; \ then mv -f ".deps/gr.Tpo" ".deps/gr.Po"; \ else rm -f ".deps/gr.Tpo"; exit 1; \ fi gr.c: In function 'gr_palette_fade_in': gr.c:384:15: warning: variable 'ncolors' set but not used [-Wunused-but-set-variable] int i, j, k, ncolors; ^~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT event.o -MD -MP -MF ".deps/event.Tpo" \ -c -o event.o `test -f 'event.c' || echo './'`event.c; \ then mv -f ".deps/event.Tpo" ".deps/event.Po"; \ else rm -f ".deps/event.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT key.o -MD -MP -MF ".deps/key.Tpo" \ -c -o key.o `test -f 'key.c' || echo './'`key.c; \ then mv -f ".deps/key.Tpo" ".deps/key.Po"; \ else rm -f ".deps/key.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT mouse.o -MD -MP -MF ".deps/mouse.Tpo" \ -c -o mouse.o `test -f 'mouse.c' || echo './'`mouse.c; \ then mv -f ".deps/mouse.Tpo" ".deps/mouse.Po"; \ else rm -f ".deps/mouse.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT digi.o -MD -MP -MF ".deps/digi.Tpo" \ -c -o digi.o `test -f 'digi.c' || echo './'`digi.c; \ then mv -f ".deps/digi.Tpo" ".deps/digi.Po"; \ else rm -f ".deps/digi.Tpo"; exit 1; \ fi digi.c: In function 'digi_link_sound_to_pos2': digi.c:665:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!forever || SoundObjects[i].volume >= MIN_VOLUME) ^~ digi.c:670:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( (SoundObjects[i].handle < 0) && (!(SoundObjects[i].flags & SOF_PLAY_FOREVER)) ) { ^~ if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT init.o -MD -MP -MF ".deps/init.Tpo" \ -c -o init.o `test -f 'init.c' || echo './'`init.c; \ then mv -f ".deps/init.Tpo" ".deps/init.Po"; \ else rm -f ".deps/init.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT rbaudio.o -MD -MP -MF ".deps/rbaudio.Tpo" \ -c -o rbaudio.o `test -f 'rbaudio.c' || echo './'`rbaudio.c; \ then mv -f ".deps/rbaudio.Tpo" ".deps/rbaudio.Po"; \ else rm -f ".deps/rbaudio.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT timer.o -MD -MP -MF ".deps/timer.Tpo" \ -c -o timer.o `test -f 'timer.c' || echo './'`timer.c; \ then mv -f ".deps/timer.Tpo" ".deps/timer.Po"; \ else rm -f ".deps/timer.Tpo"; exit 1; \ fi rm -f libarch_sdl.a ar cru libarch_sdl.a joy.o joydefs.o gr.o event.o key.o mouse.o digi.o init.o rbaudio.o timer.o ranlib libarch_sdl.a gmake[3]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch/sdl' gmake[3]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch' gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/arch' Making all in main gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/main' gmake[3]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/main' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT ai.o -MD -MP -MF ".deps/ai.Tpo" \ -c -o ai.o `test -f 'ai.c' || echo './'`ai.c; \ then mv -f ".deps/ai.Tpo" ".deps/ai.Po"; \ else rm -f ".deps/ai.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT ai2.o -MD -MP -MF ".deps/ai2.Tpo" \ -c -o ai2.o `test -f 'ai2.c' || echo './'`ai2.c; \ then mv -f ".deps/ai2.Tpo" ".deps/ai2.Po"; \ else rm -f ".deps/ai2.Tpo"; exit 1; \ fi ai2.c: In function 'move_object_to_legal_spot': ai2.c:1663:10: warning: variable 'dist_to_center' set but not used [-Wunused-but-set-variable] fix dist_to_center; // Value not used so far. ^~~~~~~~~~~~~~ ai.c: In function 'do_ai_frame': ai.c:913:8: warning: variable 'dtp' set but not used [-Wunused-but-set-variable] fix dtp = dist_to_player/4; ^~~ ai.c: In function 'ai_restore_state': ai.c:1874:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Ai_initialized, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1875:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Overall_agitation, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1876:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Ai_local_info, sizeof(ai_local)*MAX_OBJECTS, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1877:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Point_segs, sizeof(point_seg)*MAX_POINT_SEGS, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1878:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Ai_cloak_info, sizeof(ai_cloak_info)*MAX_AI_CLOAK_INFO, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1879:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_cloak_start_time, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1880:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_cloak_end_time , sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1881:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Last_teleport_time , sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1882:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_teleport_interval, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1883:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_cloak_interval, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1884:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_cloak_duration, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1885:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Last_gate_time, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1886:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Gate_interval, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1887:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_dying_start_time, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1888:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_dying, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1889:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_dying_sound_playing, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1890:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Boss_hit_time, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1894:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Escort_kill_object, sizeof(Escort_kill_object), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1895:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Escort_last_path_created, sizeof(Escort_last_path_created), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1896:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Escort_goal_object, sizeof(Escort_goal_object), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1897:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Escort_special_goal, sizeof(Escort_special_goal), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1898:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Escort_goal_index, sizeof(Escort_goal_index), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1899:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Stolen_items, sizeof(Stolen_items[0])*MAX_STOLEN_ITEMS, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1917:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &temp, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1923:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Num_boss_teleport_segs, sizeof(Num_boss_teleport_segs), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1924:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Num_boss_gate_segs, sizeof(Num_boss_gate_segs), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1927:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Boss_gate_segs, sizeof(Boss_gate_segs[0]), Num_boss_gate_segs, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai.c:1930:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Boss_teleport_segs, sizeof(Boss_teleport_segs[0]), Num_boss_teleport_segs, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ai.c:273: In function 'fread', inlined from 'ai_restore_state' at ai.c:1888:2: /usr/include/bits/stdio2.h:290:12: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer return __fread_chk_warn (__ptr, sz, __size, __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fread', inlined from 'ai_restore_state' at ai.c:1889:2: /usr/include/bits/stdio2.h:290:12: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer return __fread_chk_warn (__ptr, sz, __size, __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT aipath.o -MD -MP -MF ".deps/aipath.Tpo" \ -c -o aipath.o `test -f 'aipath.c' || echo './'`aipath.c; \ then mv -f ".deps/aipath.Tpo" ".deps/aipath.Po"; \ else rm -f ".deps/aipath.Tpo"; exit 1; \ fi aipath.c: In function 'attempt_to_resume_path': aipath.c:1521:9: warning: variable 'abs_index' set but not used [-Wunused-but-set-variable] int abs_index, new_path_index; ^~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT automap.o -MD -MP -MF ".deps/automap.Tpo" \ -c -o automap.o `test -f 'automap.c' || echo './'`automap.c; \ then mv -f ".deps/automap.Tpo" ".deps/automap.Po"; \ else rm -f ".deps/automap.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT bm.o -MD -MP -MF ".deps/bm.Tpo" \ -c -o bm.o `test -f 'bm.c' || echo './'`bm.c; \ then mv -f ".deps/bm.Tpo" ".deps/bm.Po"; \ else rm -f ".deps/bm.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT cmd.o -MD -MP -MF ".deps/cmd.Tpo" \ -c -o cmd.o `test -f 'cmd.c' || echo './'`cmd.c; \ then mv -f ".deps/cmd.Tpo" ".deps/cmd.Po"; \ else rm -f ".deps/cmd.Tpo"; exit 1; \ fi bm.c: In function 'bm_read_extra_robots': bm.c:440:6: warning: variable 'version' set but not used [-Wunused-but-set-variable] int version; ^~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT cntrlcen.o -MD -MP -MF ".deps/cntrlcen.Tpo" \ -c -o cntrlcen.o `test -f 'cntrlcen.c' || echo './'`cntrlcen.c; \ then mv -f ".deps/cntrlcen.Tpo" ".deps/cntrlcen.Po"; \ else rm -f ".deps/cntrlcen.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT collide.o -MD -MP -MF ".deps/collide.Tpo" \ -c -o collide.o `test -f 'collide.c' || echo './'`collide.c; \ then mv -f ".deps/collide.Tpo" ".deps/collide.Po"; \ else rm -f ".deps/collide.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT config.o -MD -MP -MF ".deps/config.Tpo" \ -c -o config.o `test -f 'config.c' || echo './'`config.c; \ then mv -f ".deps/config.Tpo" ".deps/config.Po"; \ else rm -f ".deps/config.Tpo"; exit 1; \ fi config.c: In function 'ReadConfigFile': config.c:236:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 80, infile); ^~~~~~~~~~~~~~~~~~~~~~~ config.c:408:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 80, infile); ^~~~~~~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT console.o -MD -MP -MF ".deps/console.Tpo" \ -c -o console.o `test -f 'console.c' || echo './'`console.c; \ then mv -f ".deps/console.Tpo" ".deps/console.Po"; \ else rm -f ".deps/console.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT controls.o -MD -MP -MF ".deps/controls.Tpo" \ -c -o controls.o `test -f 'controls.c' || echo './'`controls.c; \ then mv -f ".deps/controls.Tpo" ".deps/controls.Po"; \ else rm -f ".deps/controls.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT credits.o -MD -MP -MF ".deps/credits.Tpo" \ -c -o credits.o `test -f 'credits.c' || echo './'`credits.c; \ then mv -f ".deps/credits.Tpo" ".deps/credits.Po"; \ else rm -f ".deps/credits.Tpo"; exit 1; \ fi credits.c: In function 'credits_show': credits.c:178:21: warning: '.txb' directive writing 4 bytes into a region of size between 1 and 32 [-Wformat-overflow=] sprintf(nfile, "%s.txb", filename); ^~~~ In file included from /usr/include/stdio.h:873, from credits.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 36 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT crypt.o -MD -MP -MF ".deps/crypt.Tpo" \ -c -o crypt.o `test -f 'crypt.c' || echo './'`crypt.c; \ then mv -f ".deps/crypt.Tpo" ".deps/crypt.Po"; \ else rm -f ".deps/crypt.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT effects.o -MD -MP -MF ".deps/effects.Tpo" \ -c -o effects.o `test -f 'effects.c' || echo './'`effects.c; \ then mv -f ".deps/effects.Tpo" ".deps/effects.Po"; \ else rm -f ".deps/effects.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT endlevel.o -MD -MP -MF ".deps/endlevel.Tpo" \ -c -o endlevel.o `test -f 'endlevel.c' || echo './'`endlevel.c; \ then mv -f ".deps/endlevel.Tpo" ".deps/endlevel.Po"; \ else rm -f ".deps/endlevel.Tpo"; exit 1; \ fi endlevel.c: In function 'start_rendered_endlevel_sequence': endlevel.c:373:6: warning: variable 'last_segnum' set but not used [-Wunused-but-set-variable] int last_segnum,exit_side,tunnel_length; ^~~~~~~~~~~ endlevel.c: In function 'do_endlevel_frame': endlevel.c:636:12: warning: variable 'expl' set but not used [-Wunused-but-set-variable] object *expl; ^~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT escort.o -MD -MP -MF ".deps/escort.Tpo" \ -c -o escort.o `test -f 'escort.c' || echo './'`escort.c; \ then mv -f ".deps/escort.Tpo" ".deps/escort.Po"; \ else rm -f ".deps/escort.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT fireball.o -MD -MP -MF ".deps/fireball.Tpo" \ -c -o fireball.o `test -f 'fireball.c' || echo './'`fireball.c; \ then mv -f ".deps/fireball.Tpo" ".deps/fireball.Po"; \ else rm -f ".deps/fireball.Tpo"; exit 1; \ fi fireball.c: In function 'object_create_explosion_sub': fireball.c:224:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ fireball.c:225:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ fireball.c: In function 'object_create_debris': fireball.c:335:13: warning: variable 'po' set but not used [-Wunused-but-set-variable] polymodel *po; ^~ escort.c: In function 'do_escort_menu': escort.c:1844:15: warning: '%s' directive writing up to 31 bytes into a region of size between 14 and 45 [-Wformat-overflow=] sprintf(msg, "Select Guide-Bot Command:\n\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ escort.c:1857:17: , goal_str, tstr); ~~~~ escort.c:1855:12: note: format string is defined here "T. %s Messages\n" ^~ In file included from /usr/include/stdio.h:873, from escort.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 266 and 328 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT fuelcen.o -MD -MP -MF ".deps/fuelcen.Tpo" \ -c -o fuelcen.o `test -f 'fuelcen.c' || echo './'`fuelcen.c; \ then mv -f ".deps/fuelcen.Tpo" ".deps/fuelcen.Po"; \ else rm -f ".deps/fuelcen.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT fvi.o -MD -MP -MF ".deps/fvi.Tpo" \ -c -o fvi.o `test -f 'fvi.c' || echo './'`fvi.c; \ then mv -f ".deps/fvi.Tpo" ".deps/fvi.Po"; \ else rm -f ".deps/fvi.Tpo"; exit 1; \ fi fvi.c: In function 'find_vector_intersection': fvi.c:734:7: warning: variable 'new_hit_type' set but not used [-Wunused-but-set-variable] int new_hit_type; ^~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT game.o -MD -MP -MF ".deps/game.Tpo" \ -c -o game.o `test -f 'game.c' || echo './'`game.c; \ then mv -f ".deps/game.Tpo" ".deps/game.Po"; \ else rm -f ".deps/game.Tpo"; exit 1; \ fi game.c: In function 'calc_frame_time': game.c:1214:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (FrameTime < f1_0/maxfps); ^~ game.c:1215:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' timer_delay(1); ^~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gamecntl.o -MD -MP -MF ".deps/gamecntl.Tpo" \ -c -o gamecntl.o `test -f 'gamecntl.c' || echo './'`gamecntl.c; \ then mv -f ".deps/gamecntl.Tpo" ".deps/gamecntl.Po"; \ else rm -f ".deps/gamecntl.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gamefont.o -MD -MP -MF ".deps/gamefont.Tpo" \ -c -o gamefont.o `test -f 'gamefont.c' || echo './'`gamefont.c; \ then mv -f ".deps/gamefont.Tpo" ".deps/gamefont.Po"; \ else rm -f ".deps/gamefont.Tpo"; exit 1; \ fi gamecntl.c: In function 'HandleTestKey': gamecntl.c:1891:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (++Lighting_on >= 2) Lighting_on = 0; break; ^~ gamecntl.c:1891:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (++Lighting_on >= 2) Lighting_on = 0; break; ^~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gamemine.o -MD -MP -MF ".deps/gamemine.Tpo" \ -c -o gamemine.o `test -f 'gamemine.c' || echo './'`gamemine.c; \ then mv -f ".deps/gamemine.Tpo" ".deps/gamemine.Po"; \ else rm -f ".deps/gamemine.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gamepal.o -MD -MP -MF ".deps/gamepal.Tpo" \ -c -o gamepal.o `test -f 'gamepal.c' || echo './'`gamepal.c; \ then mv -f ".deps/gamepal.Tpo" ".deps/gamepal.Po"; \ else rm -f ".deps/gamepal.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gamerend.o -MD -MP -MF ".deps/gamerend.Tpo" \ -c -o gamerend.o `test -f 'gamerend.c' || echo './'`gamerend.c; \ then mv -f ".deps/gamerend.Tpo" ".deps/gamerend.Po"; \ else rm -f ".deps/gamerend.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gamesave.o -MD -MP -MF ".deps/gamesave.Tpo" \ -c -o gamesave.o `test -f 'gamesave.c' || echo './'`gamesave.c; \ then mv -f ".deps/gamesave.Tpo" ".deps/gamesave.Po"; \ else rm -f ".deps/gamesave.Tpo"; exit 1; \ fi gamerend.c: In function 'show_extra_views': gamerend.c:934:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~ gamerend.c:934:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from gamerend.c:27: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gameseg.o -MD -MP -MF ".deps/gameseg.Tpo" \ -c -o gameseg.o `test -f 'gameseg.c' || echo './'`gameseg.c; \ then mv -f ".deps/gameseg.Tpo" ".deps/gameseg.Po"; \ else rm -f ".deps/gameseg.Tpo"; exit 1; \ fi gameseg.c: In function 'check_segment_connections': gameseg.c:631:10: warning: variable 'cs' set but not used [-Wunused-but-set-variable] side *cs; ^~ gameseg.c:629:10: warning: variable 's' set but not used [-Wunused-but-set-variable] side *s; ^ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gameseq.o -MD -MP -MF ".deps/gameseq.Tpo" \ -c -o gameseq.o `test -f 'gameseq.c' || echo './'`gameseq.c; \ then mv -f ".deps/gameseq.Tpo" ".deps/gameseq.Po"; \ else rm -f ".deps/gameseq.Tpo"; exit 1; \ fi gameseq.c: In function 'StartNewLevelSecret': gameseq.c:1198:15: warning: variable 'm' set but not used [-Wunused-but-set-variable] newmenu_item m[1]; ^ gameseq.c: In function 'EnterSecretLevel': gameseq.c:1377:6: warning: variable 'old_gametime' set but not used [-Wunused-but-set-variable] fix old_gametime; ^~~~~~~~~~~~ gameseq.c: In function 'ShowLevelIntro': gameseq.c:2054:8: warning: variable 'movie' set but not used [-Wunused-but-set-variable] int movie=0; ^~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT gauges.o -MD -MP -MF ".deps/gauges.Tpo" \ -c -o gauges.o `test -f 'gauges.c' || echo './'`gauges.c; \ then mv -f ".deps/gauges.Tpo" ".deps/gauges.Po"; \ else rm -f ".deps/gauges.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT hostage.o -MD -MP -MF ".deps/hostage.Tpo" \ -c -o hostage.o `test -f 'hostage.c' || echo './'`hostage.c; \ then mv -f ".deps/hostage.Tpo" ".deps/hostage.Po"; \ else rm -f ".deps/hostage.Tpo"; exit 1; \ fi gauges.c: In function 'sb_draw_energy_bar': gauges.c:2731:6: warning: type of 'energy' defaults to 'int' [-Wimplicit-int] void sb_draw_energy_bar(energy) ^~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT hud.o -MD -MP -MF ".deps/hud.Tpo" \ -c -o hud.o `test -f 'hud.c' || echo './'`hud.c; \ then mv -f ".deps/hud.Tpo" ".deps/hud.Po"; \ else rm -f ".deps/hud.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT inferno.o -MD -MP -MF ".deps/inferno.Tpo" \ -c -o inferno.o `test -f 'inferno.c' || echo './'`inferno.c; \ then mv -f ".deps/inferno.Tpo" ".deps/inferno.Po"; \ else rm -f ".deps/inferno.Tpo"; exit 1; \ fi inferno.c: In function 'main': inferno.c:1347:7: warning: variable 'use_double_buffer' set but not used [-Wunused-but-set-variable] int use_double_buffer = 0; ^~~~~~~~~~~~~~~~~ inferno.c:1456:7: warning: variable 'played' set but not used [-Wunused-but-set-variable] int played=MOVIE_NOT_PLAYED; //default is not played ^~~~~~ inferno.c:1200:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(Args[t+1]); ^~~~~~~~~~~~~~~~ At top level: inferno.c:819:19: warning: 'desc_id_checksum_str' defined but not used [-Wunused-const-variable=] static const char desc_id_checksum_str[] = DESC_ID_CHKSUM_TAG "0000"; //4-byte checksum ^~~~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT kconfig.o -MD -MP -MF ".deps/kconfig.Tpo" \ -c -o kconfig.o `test -f 'kconfig.c' || echo './'`kconfig.c; \ then mv -f ".deps/kconfig.Tpo" ".deps/kconfig.Po"; \ else rm -f ".deps/kconfig.Tpo"; exit 1; \ fi kconfig.c: In function 'kc_drawquestion': kconfig.c:1678:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c, x, w, h, aw; ^ kconfig.c: In function 'kconfig_init_external_controls': kconfig.c:2316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] kc_external_control = (ext_control_info *)address; ^ kconfig.c:2322:20: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] kc_external_name = Args[i+1]; ^ kconfig.c:2324:20: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] kc_external_name = "External Controller"; ^ kconfig.c:2326:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i=0;irender_type)); ^~~~~~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1182:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&(obj->type)); ^~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1186:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&(obj->id)); ^~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1187:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&(obj->flags)); ^~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1220:16: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&(obj->movement_type)); // might have physics movement ^~~~~~~~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1241:16: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&(obj->control_type)); ^~~~~~~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1242:16: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&(obj->movement_type)); ^~~~~~~~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:1254:16: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&b); ^~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c: In function 'newdemo_read_demo_start': newdemo.c:2148:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&c); ^~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'char *' static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2257:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&energy); ^~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'char *' static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2258:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&shield); ^~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'char *' static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c: In function 'newdemo_read_frame_information': newdemo.c:2331:16: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&c); ^~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2352:18: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte (&WhichWindow); ^~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2515:19: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&c); ^~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2614:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&old_energy); ^~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2615:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&energy); ^~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2630:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&old_afterburner); ^~~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2631:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&afterburner); ^~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2646:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&old_shield); ^~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2647:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&shield); ^~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2806:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&side); ^~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2808:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&cside); ^~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2820:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&side); ^~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2822:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&cside); ^~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3052:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&front_wall_num); ^~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3053:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&back_wall_num); ^~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3054:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&type); ^~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3055:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&state); ^~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3056:17: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&cloak_value); ^~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3121:20: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte (&Walls[i].type); ^~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3122:20: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte (&Walls[i].flags); ^~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3123:20: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte (&Walls[i].state); ^~~~~~~~~~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:2316:14: warning: variable 'LastReadValue' set but not used [-Wunused-but-set-variable] static char LastReadValue=101; ^~~~~~~~~~~~~ newdemo.c: In function 'newdemo_goto_end': newdemo.c:3240:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&energy); ^~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3241:15: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&shield); ^~~~~~~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c:3264:16: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] nd_read_byte(&c); ^~ newdemo.c:1098:13: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} static void nd_read_byte(byte *b) ^~~~~~~~~~~~ newdemo.c: In function 'newdemo_strip_frames': newdemo.c:4004:18: warning: variable 'bytes_done' set but not used [-Wunused-but-set-variable] int total_size, bytes_done, read_elems, bytes_back; ^~~~~~~~~~ newdemo.c:4004:6: warning: variable 'total_size' set but not used [-Wunused-but-set-variable] int total_size, bytes_done, read_elems, bytes_back; ^~~~~~~~~~ newmenu.c: In function 'draw_item': newmenu.c:1100:17: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf( item->saved_text, "%s%s", item->saved_text,SLIDER_MIDDLE ); ~~~~^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ newmenu.c:1102:16: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf( item->saved_text, "%s%s", item->saved_text,SLIDER_RIGHT ); ~~~~^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ newmenu.c: In function 'newmenu_do4': newmenu.c:1394:21: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf( item[i].saved_text, "%s%s", item[i].saved_text,SLIDER_MIDDLE ); ~~~~~~~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ newmenu.c:1396:20: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf( item[i].saved_text, "%s%s", item[i].saved_text,SLIDER_RIGHT ); ~~~~~~~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ newmenu.c: In function 'nm_wrap_text': newmenu.c:3898:4: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(dbuf, "%s\n%s ", dbuf, wordptr); ^~~~~~~ newmenu.c:3901:4: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(dbuf, "%s%s ", dbuf, wordptr); ^~~~~~~ newdemo.c: In function 'newdemo_stop_recording': newdemo.c:3792:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 15 [-Wformat-overflow=] sprintf (newfile, "%s%d", filename, num); ^~ newdemo.c:3792:21: note: directive argument in the range [-2147483647, 2147483647] sprintf (newfile, "%s%d", filename, num); ^~~~~~ In file included from /usr/include/stdio.h:873, from newdemo.c:743: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 26 bytes into a destination of size 15 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT object.o -MD -MP -MF ".deps/object.Tpo" \ -c -o object.o `test -f 'object.c' || echo './'`object.c; \ then mv -f ".deps/object.Tpo" ".deps/object.Po"; \ else rm -f ".deps/object.Tpo"; exit 1; \ fi object.c: In function 'dead_player_frame': object.c:1657:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ object.c:1666:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' Player_exploded = 1; ^~~~~~~~~~~~~~~ object.c: In function 'object_move_one': object.c:2014:46: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] Error("Unknown control type %d in object %i, sig/type/id = %i/%i/%i",obj->control_type, obj-Objects, obj->signature, obj->type, obj->id); ~^ ~~~~~~~~~~~ %li if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT paging.o -MD -MP -MF ".deps/paging.Tpo" \ -c -o paging.o `test -f 'paging.c' || echo './'`paging.c; \ then mv -f ".deps/paging.Tpo" ".deps/paging.Po"; \ else rm -f ".deps/paging.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT physics.o -MD -MP -MF ".deps/physics.Tpo" \ -c -o physics.o `test -f 'physics.c' || echo './'`physics.c; \ then mv -f ".deps/physics.Tpo" ".deps/physics.Po"; \ else rm -f ".deps/physics.Tpo"; exit 1; \ fi physics.c: In function 'do_physics_align_object': physics.c:161:10: warning: variable 'save_delta_ang' set but not used [-Wunused-but-set-variable] fixang save_delta_ang; ^~~~~~~~~~~~~~ physics.c: In function 'do_physics_sim': physics.c:358:21: warning: variable 'save_p1' set but not used [-Wunused-but-set-variable] vms_vector save_p0,save_p1; ^~~~~~~ physics.c:358:13: warning: variable 'save_p0' set but not used [-Wunused-but-set-variable] vms_vector save_p0,save_p1; ^~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT piggy.o -MD -MP -MF ".deps/piggy.Tpo" \ -c -o piggy.o `test -f 'piggy.c' || echo './'`piggy.c; \ then mv -f ".deps/piggy.Tpo" ".deps/piggy.Po"; \ else rm -f ".deps/piggy.Tpo"; exit 1; \ fi piggy.c: In function 'piggy_init_pigfile': piggy.c:897:30: warning: variable 'data_size' set but not used [-Wunused-but-set-variable] int header_size, N_bitmaps, data_size, data_start; ^~~~~~~~~ piggy.c: In function 'piggy_new_pigfile': piggy.c:1028:6: warning: variable 'must_rewrite_pig' set but not used [-Wunused-but-set-variable] int must_rewrite_pig = 0; ^~~~~~~~~~~~~~~~ piggy.c:1027:30: warning: variable 'data_size' set but not used [-Wunused-but-set-variable] int header_size, N_bitmaps, data_size, data_start; ^~~~~~~~~ piggy.c: In function 'read_hamfile': piggy.c:1377:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] temp_sound.data = (ubyte *)(sndh.offset + header_size + sound_start); ^ piggy.c: In function 'read_sndfile': piggy.c:1454:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] temp_sound.data = (ubyte *)(sndh.offset + header_size + sound_start); ^ piggy.c:1412:14: warning: variable 'length' set but not used [-Wunused-but-set-variable] int i,size, length; ^~~~~~ piggy.c: In function 'piggy_bitmap_page_in': piggy.c:1637:14: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int i,org_i,temp; ^~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT player.o -MD -MP -MF ".deps/player.Tpo" \ -c -o player.o `test -f 'player.c' || echo './'`player.c; \ then mv -f ".deps/player.Tpo" ".deps/player.Po"; \ else rm -f ".deps/player.Tpo"; exit 1; \ fi piggy.c: In function 'piggy_init_pigfile': piggy.c:968:28: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~ piggy.c:968:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~~~~~~ In file included from /usr/include/stdio.h:873, from piggy.c:393: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT playsave.o -MD -MP -MF ".deps/playsave.Tpo" \ -c -o playsave.o `test -f 'playsave.c' || echo './'`playsave.c; \ then mv -f ".deps/playsave.Tpo" ".deps/playsave.Po"; \ else rm -f ".deps/playsave.Tpo"; exit 1; \ fi piggy.c: In function 'piggy_new_pigfile': piggy.c:1103:29: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~ piggy.c:1103:25: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~~~~~~ In file included from /usr/include/stdio.h:873, from piggy.c:393: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ playsave.c: In function 'new_player_config': playsave.c:356:6: warning: variable 'nitems' set but not used [-Wunused-but-set-variable] int nitems; ^~~~~~ playsave.c: In function 'read_player_file': playsave.c:644:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dummy, MAX_MESSAGE_LEN, 4, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ playsave.c:764:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(kconfig_d2x_settings, MAX_D2X_CONTROLS, 1, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT polyobj.o -MD -MP -MF ".deps/polyobj.Tpo" \ -c -o polyobj.o `test -f 'polyobj.c' || echo './'`polyobj.c; \ then mv -f ".deps/polyobj.Tpo" ".deps/polyobj.Po"; \ else rm -f ".deps/polyobj.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT powerup.o -MD -MP -MF ".deps/powerup.Tpo" \ -c -o powerup.o `test -f 'powerup.c' || echo './'`powerup.c; \ then mv -f ".deps/powerup.Tpo" ".deps/powerup.Po"; \ else rm -f ".deps/powerup.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT render.o -MD -MP -MF ".deps/render.Tpo" \ -c -o render.o `test -f 'render.c' || echo './'`render.c; \ then mv -f ".deps/render.Tpo" ".deps/render.Po"; \ else rm -f ".deps/render.Tpo"; exit 1; \ fi render.c: In function 'render_face': render.c:605:8: warning: variable 'reflect' set but not used [-Wunused-but-set-variable] fix reflect; ^~~~~~~ render.c: In function 'render_side': render.c:936:70: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] Error("Illegal side type in render_side, type = %i, segment # = %i, side # = %i\n", sidep->type, segp-Segments, sidenum); ~^ ~~~~~~~~~~~~~ %li render.c: In function 'render_segment': render.c:1160:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ render.c:1163:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:341:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pal, 3, 256, fp); ^~~~~~~~~~~~~~~~~~~~~~~ state.c: In function 'state_restore_all_sub': state.c:1079:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( id, sizeof(char)*4, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1086:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &version, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1093:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( desc, sizeof(char)*DESC_LENGTH, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1102:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &between_levels, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1107:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( mission, sizeof(char)*9, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1117:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( ¤t_level, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1118:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &next_level, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1121:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &GameTime, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1199:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &dummy_player, sizeof(player), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1219:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Players[Player_num], sizeof(player), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1229:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Primary_weapon, sizeof(byte), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1230:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Secondary_weapon, sizeof(byte), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1236:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Difficulty_level, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1240:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&Cheats_enabled,sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1252:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &i, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1254:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Objects, sizeof(object)*i, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1294:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &i, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1296:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Walls, sizeof(wall)*Num_walls, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1307:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &i, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1308:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( expl_wall_list, sizeof(*expl_wall_list), i, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1312:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &i, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1314:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( ActiveDoors, sizeof(active_door)*Num_open_doors, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1317:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &i, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1319:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( CloakingWalls, sizeof(cloaking_wall), Num_cloaking_walls, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1323:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Num_triggers, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1324:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Triggers, sizeof(trigger)*Num_triggers, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1329:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Segments[i].sides[j].wall_num, sizeof(short), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1330:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Segments[i].sides[j].tmap_num, sizeof(short), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1331:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Segments[i].sides[j].tmap_num2, sizeof(short), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1336:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Control_center_destroyed, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1337:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Countdown_timer, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1338:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Num_robot_centers, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1339:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( RobotCenters, sizeof(matcen_info)*Num_robot_centers, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1340:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &ControlCenterTriggers, sizeof(control_center_triggers), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1341:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Num_fuelcenters, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1342:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Station, sizeof(FuelCenter)*Num_fuelcenters, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1345:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Control_center_been_hit, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1346:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Control_center_player_been_seen, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1347:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Control_center_next_fire_time, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1348:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Control_center_present, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1349:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Dead_controlcen_object_num, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1355:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( Automap_visited, sizeof(ubyte)*MAX_SEGMENTS, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1368:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &state_game_id, sizeof(uint), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1369:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Laser_rapid_fire, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1370:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Lunacy, sizeof(int), 1, fp ); // Yes, writing this twice. Removed the Ugly robot system, but didn't want to change savegame format. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1371:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Lunacy, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1377:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(MarkerObject,sizeof(MarkerObject),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1378:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(MarkerOwner,sizeof(MarkerOwner),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1379:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(MarkerMessage,sizeof(MarkerMessage),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1386:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&num,sizeof(int),1,fp); //was NumOfMarkers ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1387:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&dummy,sizeof(int),1,fp); //was CurMarker ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1397:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&Afterburner_charge,sizeof(fix),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1400:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&dummy_fix,sizeof(fix),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1405:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Primary_last_was_super,sizeof(Primary_last_was_super),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1406:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Secondary_last_was_super,sizeof(Secondary_last_was_super),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1410:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Flash_effect, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1411:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &Time_flash_last_played, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1412:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &PaletteRedAdd, sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1413:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &PaletteGreenAdd, sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1414:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &PaletteBlueAdd, sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1425:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1436:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&First_secret_visit, sizeof(First_secret_visit), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1446:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&Omega_charge,sizeof(fix),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1449:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&dummy_fix,sizeof(fix),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c: In function 'state_get_game_id': state.c:1525:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( id, sizeof(char)*4, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1532:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &version, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1539:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( desc, sizeof(char)*DESC_LENGTH, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1548:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &between_levels, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1553:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( mission, sizeof(char)*9, 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1555:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &dumbint, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1556:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &dumbint, sizeof(int), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1559:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &dumbint, sizeof(fix), 1, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1561:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&state_game_id,sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT terrain.o -MD -MP -MF ".deps/terrain.Tpo" \ -c -o terrain.o `test -f 'terrain.c' || echo './'`terrain.c; \ then mv -f ".deps/terrain.Tpo" ".deps/terrain.Po"; \ else rm -f ".deps/terrain.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT texmerge.o -MD -MP -MF ".deps/texmerge.Tpo" \ -c -o texmerge.o `test -f 'texmerge.c' || echo './'`texmerge.c; \ then mv -f ".deps/texmerge.Tpo" ".deps/texmerge.Po"; \ else rm -f ".deps/texmerge.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT text.o -MD -MP -MF ".deps/text.Tpo" \ -c -o text.o `test -f 'text.c' || echo './'`text.c; \ then mv -f ".deps/text.Tpo" ".deps/text.Po"; \ else rm -f ".deps/text.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT titles.o -MD -MP -MF ".deps/titles.Tpo" \ -c -o titles.o `test -f 'titles.c' || echo './'`titles.c; \ then mv -f ".deps/titles.Tpo" ".deps/titles.Po"; \ else rm -f ".deps/titles.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT vclip.o -MD -MP -MF ".deps/vclip.Tpo" \ -c -o vclip.o `test -f 'vclip.c' || echo './'`vclip.c; \ then mv -f ".deps/vclip.Tpo" ".deps/vclip.Po"; \ else rm -f ".deps/vclip.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT wall.o -MD -MP -MF ".deps/wall.Tpo" \ -c -o wall.o `test -f 'wall.c' || echo './'`wall.c; \ then mv -f ".deps/wall.Tpo" ".deps/wall.Po"; \ else rm -f ".deps/wall.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT weapon.o -MD -MP -MF ".deps/weapon.Tpo" \ -c -o weapon.o `test -f 'weapon.c' || echo './'`weapon.c; \ then mv -f ".deps/weapon.Tpo" ".deps/weapon.Po"; \ else rm -f ".deps/weapon.Tpo"; exit 1; \ fi weapon.c: In function 'pick_up_primary': weapon.c:725:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (weapon_index!=LASER_INDEX) ^~ weapon.c:728:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ rm -f libmain.a ar cru libmain.a ai.o ai2.o aipath.o automap.o bm.o cmd.o cntrlcen.o collide.o config.o console.o controls.o credits.o crypt.o effects.o endlevel.o escort.o fireball.o fuelcen.o fvi.o game.o gamecntl.o gamefont.o gamemine.o gamepal.o gamerend.o gamesave.o gameseg.o gameseq.o gauges.o hostage.o hud.o inferno.o kconfig.o kludge.o laser.o lighting.o menu.o mglobal.o mission.o morph.o movie.o newdemo.o newmenu.o object.o paging.o physics.o piggy.o player.o playsave.o polyobj.o powerup.o render.o robot.o scores.o segment.o slew.o songs.o state.o switch.o terrain.o texmerge.o text.o titles.o vclip.o wall.o weapon.o ranlib libmain.a gmake[3]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/main' gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/main' Making all in libmve gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/libmve' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT decoder16.o -MD -MP -MF ".deps/decoder16.Tpo" \ -c -o decoder16.o `test -f 'decoder16.c' || echo './'`decoder16.c; \ then mv -f ".deps/decoder16.Tpo" ".deps/decoder16.Po"; \ else rm -f ".deps/decoder16.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT decoder8.o -MD -MP -MF ".deps/decoder8.Tpo" \ -c -o decoder8.o `test -f 'decoder8.c' || echo './'`decoder8.c; \ then mv -f ".deps/decoder8.Tpo" ".deps/decoder8.Po"; \ else rm -f ".deps/decoder8.Tpo"; exit 1; \ fi decoder16.c: In function 'decodeFrame16': decoder16.c:77:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stderr, "DEBUG: junk left over: %d,%d,%d\n", (pData-pOrig), length, (length-(pData-pOrig))); ~^ ~~~~~~~~~~~~~ %ld decoder16.c:77:53: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] fprintf(stderr, "DEBUG: junk left over: %d,%d,%d\n", (pData-pOrig), length, (length-(pData-pOrig))); ~^ ~~~~~~~~~~~~~~~~~~~~~~ %ld decoder16.c:18:31: warning: variable 'pEnd' set but not used [-Wunused-but-set-variable] unsigned char *pOffData, *pEnd; ^~~~ if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT mve_audio.o -MD -MP -MF ".deps/mve_audio.Tpo" \ -c -o mve_audio.o `test -f 'mve_audio.c' || echo './'`mve_audio.c; \ then mv -f ".deps/mve_audio.Tpo" ".deps/mve_audio.Po"; \ else rm -f ".deps/mve_audio.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT mvelib.o -MD -MP -MF ".deps/mvelib.Tpo" \ -c -o mvelib.o `test -f 'mvelib.c' || echo './'`mvelib.c; \ then mv -f ".deps/mvelib.Tpo" ".deps/mvelib.Po"; \ else rm -f ".deps/mvelib.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -MT mveplay.o -MD -MP -MF ".deps/mveplay.Tpo" \ -c -o mveplay.o `test -f 'mveplay.c' || echo './'`mveplay.c; \ then mv -f ".deps/mveplay.Tpo" ".deps/mveplay.Po"; \ else rm -f ".deps/mveplay.Tpo"; exit 1; \ fi mveplay.c: In function 'create_audiobuf_handler': mveplay.c:339:6: warning: variable 'desired_buffer' set but not used [-Wunused-but-set-variable] int desired_buffer; ^~~~~~~~~~~~~~ mveplay.c: In function 'create_videobuf_handler': mveplay.c:496:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] short count, truecolor; ^~~~~ mveplay.c: In function 'video_data_handler': mveplay.c:715:16: warning: variable 'nYsize' set but not used [-Wunused-but-set-variable] short nXsize, nYsize; ^~~~~~ mveplay.c:715:8: warning: variable 'nXsize' set but not used [-Wunused-but-set-variable] short nXsize, nYsize; ^~~~~~ mveplay.c:714:18: warning: variable 'nYoffset' set but not used [-Wunused-but-set-variable] short nXoffset, nYoffset; ^~~~~~~~ mveplay.c:714:8: warning: variable 'nXoffset' set but not used [-Wunused-but-set-variable] short nXoffset, nYoffset; ^~~~~~~~ mveplay.c:713:19: warning: variable 'nFrameCold' set but not used [-Wunused-but-set-variable] short nFrameHot, nFrameCold; ^~~~~~~~~~ mveplay.c:713:8: warning: variable 'nFrameHot' set but not used [-Wunused-but-set-variable] short nFrameHot, nFrameCold; ^~~~~~~~~ rm -f libmve.a ar cru libmve.a decoder16.o decoder8.o mve_audio.o mvelib.o mveplay.o ranlib libmve.a gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/libmve' Making all in utilities gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/utilities' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/utilities' gmake[2]: Entering directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5' cc -I ./arch/linux/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o d2x-sdl main/libmain.a 3d/lib3d.a 2d/lib2d.a arch/linux/libarch_linux.a arch/sdl/libarch_sdl.a libmve/libmve.a mem/libmem.a cfile/libcfile.a iff/libiff.a texmap/libtexmap.a misc/libmisc.a maths/libmaths.a -lm -lSDL_image -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5' gmake[1]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5'