+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/d2x-0.2.5nb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/d2x-0.2.5nb15/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for d2x-0.2.5nb15 /opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 234 | if ( (num_pixels < THRESHOLD) || (((int)src & 0x7) != ((int)dest & 0x7)) || test_byteblit ) { | ^ bitblt.c:234:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 234 | if ( (num_pixels < THRESHOLD) || (((int)src & 0x7) != ((int)dest & 0x7)) || test_byteblit ) { | ^ bitblt.c:241:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 241 | if ((r = (int)src & 0x7)) { | ^ bitblt.c: In function 'gr_linear_rep_movsd_2x': bitblt.c:541:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 541 | *d = *(double *) &(doubletemp[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bitblt.c: In function 'gr_linear_movsd_double': bitblt.c:1363:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1363 | if ( (num_pixels & 0x3) || (((int)src & 0x7) != ((int)dest & 0x7)) ) { | ^ bitblt.c:1363:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1363 | if ( (num_pixels & 0x3) || (((int)src & 0x7) != ((int)dest & 0x7)) ) { | ^ bitblt.c:1383:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1383 | *d = *(double *) &(doubletemp[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bitblt.c: In function 'gr_bitmap_scale_to': bitblt.c:2138:19: warning: pointer targets in initialization of 'byte *' {aka 'signed char *'} from 'unsigned char *' differ in signedness [-Wpointer-sign] 2138 | byte *s = src->bm_data; | ^~~ bitblt.c:2139:19: warning: pointer targets in initialization of 'byte *' {aka 'signed char *'} from 'unsigned char *' differ in signedness [-Wpointer-sign] 2139 | byte *d = dst->bm_data; | ^~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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_internal_string0': font.c:188:18: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 188 | next_row = s; | ^ font.c:196:49: warning: pointer targets in passing argument 1 of 'get_centered_x' differ in signedness [-Wpointer-sign] 196 | int xx = get_centered_x(text_ptr1); | ^~~~~~~~~ | | | ubyte * {aka unsigned char *} font.c:139:26: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 139 | int get_centered_x(char *s) | ~~~~~~^ font.c: In function 'gr_internal_string0m': font.c:304:18: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 304 | next_row = s; | ^ font.c:312:49: warning: pointer targets in passing argument 1 of 'get_centered_x' differ in signedness [-Wpointer-sign] 312 | int xx = get_centered_x(text_ptr1); | ^~~~~~~~~ | | | ubyte * {aka unsigned char *} font.c:139:26: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 139 | int get_centered_x(char *s) | ~~~~~~^ font.c: In function 'gr_internal_color_string': font.c:1051:18: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1051 | next_row = s; | ^ font.c:1066:45: warning: pointer targets in passing argument 1 of 'get_centered_x' differ in signedness [-Wpointer-sign] 1066 | xx = get_centered_x(text_ptr); | ^~~~~~~~ | | | ubyte * {aka unsigned char *} font.c:139:26: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 139 | int get_centered_x(char *s) | ~~~~~~^ font.c: In function 'grs_font_read': font.c:1592:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1592 | gf->ft_data = (ubyte *)cfile_read_int(fp); | ^ font.c:1593:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1593 | gf->ft_chars = (ubyte **)cfile_read_int(fp); | ^ font.c:1594:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1594 | gf->ft_widths = (short *)cfile_read_int(fp); | ^ font.c:1595:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1595 | gf->ft_kerndata = (ubyte *)cfile_read_int(fp); | ^ font.c: In function 'gr_init_font': font.c:1613:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1613 | for (i=0;ift_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); | ^ font.c:1651:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1651 | font->ft_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); | ^ font.c:1652:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1652 | font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); | ^ font.c:1652:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1652 | font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); | ^ font.c:1653:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1653 | font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); | ^ font.c:1653:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1653 | font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); | ^ font.c:1659:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1659 | font->ft_widths = (short *) &font_data[(int)font->ft_widths]; | ^ font.c:1660:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1660 | font->ft_data = &font_data[(int)font->ft_data]; | ^ font.c:1660:31: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1660 | font->ft_data = &font_data[(int)font->ft_data]; | ^ font.c:1676:33: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1676 | font->ft_data = font_data; | ^ font.c:1684:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1684 | font->ft_kerndata = &font_data[(int)font->ft_kerndata]; | ^ font.c:1684:35: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1684 | font->ft_kerndata = &font_data[(int)font->ft_kerndata]; | ^ font.c: In function 'gr_remap_font': font.c:1778:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1778 | font->ft_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); | ^ font.c:1778:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1778 | font->ft_data = (ubyte *)((int)font->ft_data - GRS_FONT_SIZE); | ^ font.c:1779:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1779 | font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); | ^ font.c:1779:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1779 | font->ft_widths = (short *)((int)font->ft_widths - GRS_FONT_SIZE); | ^ font.c:1780:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1780 | font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); | ^ font.c:1780:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1780 | font->ft_kerndata = (ubyte *)((int)font->ft_kerndata - GRS_FONT_SIZE); | ^ font.c:1786:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1786 | font->ft_widths = (short *) &font_data[(int)font->ft_widths]; | ^ font.c:1787:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1787 | font->ft_data = &font_data[(int)font->ft_data]; | ^ font.c:1787:31: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1787 | font->ft_data = &font_data[(int)font->ft_data]; | ^ font.c:1803:33: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1803 | font->ft_data = font_data; | ^ font.c:1811:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1811 | font->ft_kerndata = &font_data[(int)font->ft_kerndata]; | ^ font.c:1811:35: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1811 | font->ft_kerndata = &font_data[(int)font->ft_kerndata]; | ^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:68: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 384 | if ( color != TRANSPARENCY_COLOR ) rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c:388:60: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 388 | if ( color != TRANSPARENCY_COLOR ) rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c:404:70: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 404 | if ( color != TRANSPARENCY_COLOR )rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c:409:70: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 409 | if ( color != TRANSPARENCY_COLOR )rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c: In function 'gr_rle_expand_scanline': rle.c:444:28: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 444 | rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c:448:20: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 448 | rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c:464:36: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 464 | rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ rle.c:469:36: warning: pointer targets in passing argument 1 of 'rle_stosb' differ in signedness [-Wpointer-sign] 469 | rle_stosb( dest, count, color ); | ^~~~ | | | ubyte * {aka unsigned char *} rle.c:346:22: note: expected 'char *' but argument is of type 'ubyte *' {aka 'unsigned char *'} 346 | void rle_stosb(char *dest, int len, int color) | ~~~~~~^~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 font.c: In function 'gr_init_font': font.c:1615:34: warning: array subscript 50 is above array bounds of 'openfont[50]' [-Warray-bounds=] 1615 | open_font[i].dataptr = NULL; | ~~~~~~~~~^~~ font.c:61:10: note: while referencing 'open_font' 61 | openfont open_font[MAX_OPEN_FONTS]; | ^~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 interp.c: In function 'vms_vector_swap': interp.c:89:17: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | #define fp(p) ((fix *) (p)) | ~^~~~~~~~~~~~ interp.c:117:18: note: in expansion of macro 'fp' 117 | fix_swap(fp(&v->x)); | ^~ interp.c:89:17: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | #define fp(p) ((fix *) (p)) | ~^~~~~~~~~~~~ interp.c:118:18: note: in expansion of macro 'fp' 118 | fix_swap(fp(&v->y)); | ^~ interp.c:89:17: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | #define fp(p) ((fix *) (p)) | ~^~~~~~~~~~~~ interp.c:119:18: note: in expansion of macro 'fp' 119 | fix_swap(fp(&v->z)); | ^~ interp.c: In function 'vms_angvec_swap': interp.c:129:21: warning: taking address of packed member of 'struct vms_angvec' may result in an unaligned pointer value [-Waddress-of-packed-member] 129 | fixang_swap(&v->p); | ^~~~~ interp.c:130:21: warning: taking address of packed member of 'struct vms_angvec' may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | fixang_swap(&v->b); | ^~~~~ interp.c:131:21: warning: taking address of packed member of 'struct vms_angvec' may result in an unaligned pointer value [-Waddress-of-packed-member] 131 | fixang_swap(&v->h); | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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] 67 | #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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:19: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 274 | CheckData = (char *)(MallocBase[block_number] + MallocSize[block_number]); | ^ mem.c: In function 'mem_malloc': mem.c:204:17: warning: array subscript -1 is below array bounds of 'int[10000]' [-Warray-bounds=] 204 | fprintf( stderr, "\tBlock '%s' created in %s, line %d.\n", Varname[id], Filename[id], LineNum[id] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:79:12: note: while referencing 'LineNum' 79 | static int LineNum[MAX_INDEX]; | ^~~~~~~ mem.c:204:17: warning: array subscript -1 is below array bounds of 'char *[10000]' [-Warray-bounds=] 204 | fprintf( stderr, "\tBlock '%s' created in %s, line %d.\n", Varname[id], Filename[id], LineNum[id] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:77:15: note: while referencing 'Filename' 77 | static char * Filename[MAX_INDEX]; | ^~~~~~~~ mem.c:204:17: warning: array subscript -1 is below array bounds of 'char *[10000]' [-Warray-bounds=] 204 | fprintf( stderr, "\tBlock '%s' created in %s, line %d.\n", Varname[id], Filename[id], LineNum[id] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:78:15: note: while referencing 'Varname' 78 | static char * Varname[MAX_INDEX]; | ^~~~~~~ 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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:24: warning: pointer targets in assignment from 'ubyte *' {aka 'unsigned char *'} to 'byte *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 619 | rowptr = &bmheader->raw_data[y * bytes_per_row * bmheader->nplanes]; | ^ iff.c:641:28: warning: pointer targets in assignment from 'byte *' {aka 'signed char *'} to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 641 | bmheader->raw_data = new_data; | ^ iff.c: In function 'iff_read_bitmap': iff.c:820:62: warning: pointer targets in passing argument 4 of 'iff_parse_bitmap' differ in signedness [-Wpointer-sign] 820 | ret = iff_parse_bitmap(&ifile,bm,bitmap_type,palette,NULL); | ^~~~~~~ | | | ubyte * {aka unsigned char *} iff.c:733:72: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 733 | 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:102: warning: pointer targets in passing argument 4 of 'iff_parse_bitmap' differ in signedness [-Wpointer-sign] 1202 | ret = iff_parse_bitmap(&ifile,bm_list[*n_bitmaps],form_type,*n_bitmaps>0?NULL:palette,prev_bm); | ~~~~~~~~~~~~~~~~~^~~~~~~~ | | | ubyte * {aka unsigned char *} iff.c:733:72: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 733 | int iff_parse_bitmap(FFILE *ifile,grs_bitmap *bm,int bitmap_type,byte *palette,grs_bitmap *prev_bm) | ~~~~~~^~~~~~~ iff.c:1167:27: warning: variable 'bmheader' set but not used [-Wunused-but-set-variable] 1167 | iff_bitmap_header bmheader; | ^~~~~~~~ iff.c: In function 'get_sig': iff.c:134:16: warning: array subscript 'long int[0]' is partly outside array bounds of 'char[4]' [-Warray-bounds=] 134 | return(*((long *) s)); | ~^~~~~~~~~~~~~~ iff.c:107:14: note: object 's' of size 4 107 | char s[4]; | ^ 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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 ntmap.c: In function 'ntmap_scanline_lighted_linear': ntmap.c:753:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 753 | 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:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 757 | if (dx < FIX_RECIP_TABLE_SIZE) | ^~ ntmap.c:743:21: warning: variable 'l' set but not used [-Wunused-but-set-variable] 743 | fix u,v,l; | ^ ntmap.c:743:19: warning: variable 'v' set but not used [-Wunused-but-set-variable] 743 | fix u,v,l; | ^ ntmap.c:743:17: warning: variable 'u' set but not used [-Wunused-but-set-variable] 743 | fix u,v,l; | ^ 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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I./include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I./include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gr.c: In function 'gr_palette_fade_in': gr.c:384:15: warning: variable 'ncolors' set but not used [-Wunused-but-set-variable] 384 | int i, j, k, ncolors; | ^~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 665 | if (!forever || SoundObjects[i].volume >= MIN_VOLUME) | ^~ digi.c:670:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 670 | if ( (SoundObjects[i].handle < 0) && (!(SoundObjects[i].flags & SOF_PLAY_FOREVER)) ) { | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 ai.c: In function 'do_ai_frame': ai.c:913:33: warning: variable 'dtp' set but not used [-Wunused-but-set-variable] 913 | fix dtp = dist_to_player/4; | ^~~ ai2.c: In function 'init_boss_segments': ai2.c:266:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 266 | if (size_check) | ^~ ai2.c:269:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 269 | for (i=0; i<=Highest_object_index; i++) | ^~~ ai2.c: In function 'move_object_to_legal_spot': ai2.c:1663:49: warning: variable 'dist_to_center' set but not used [-Wunused-but-set-variable] 1663 | fix dist_to_center; // Value not used so far. | ^~~~~~~~~~~~~~ ai2.c: In function 'do_robot_dying_frame': ai2.c:2192:55: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2192 | fix_sincos(fixmul(roll_val, roll_val), &temp, &objp->mtype.phys_info.rotvel.x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai2.c:2193:37: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2193 | fix_sincos(roll_val, &temp, &objp->mtype.phys_info.rotvel.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai2.c:2194:44: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2194 | fix_sincos(roll_val-F1_0/8, &temp, &objp->mtype.phys_info.rotvel.z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aipath.c: In function 'create_path_to_player': aipath.c:727:83: warning: taking address of packed member of 'struct ai_static' may result in an unaligned pointer value [-Waddress-of-packed-member] 727 | create_path_points(objp, start_seg, end_seg, Point_segs_free_ptr, &aip->path_length, max_length, 1, safety_flag, -1); | ^~~~~~~~~~~~~~~~~ aipath.c: In function 'create_path_to_segment': aipath.c:770:83: warning: taking address of packed member of 'struct ai_static' may result in an unaligned pointer value [-Waddress-of-packed-member] 770 | create_path_points(objp, start_seg, end_seg, Point_segs_free_ptr, &aip->path_length, max_length, 1, safety_flag, -1); | ^~~~~~~~~~~~~~~~~ aipath.c: In function 'create_path_to_station': aipath.c:813:83: warning: taking address of packed member of 'struct ai_static' may result in an unaligned pointer value [-Waddress-of-packed-member] 813 | create_path_points(objp, start_seg, end_seg, Point_segs_free_ptr, &aip->path_length, max_length, 1, 1, -1); | ^~~~~~~~~~~~~~~~~ aipath.c: In function 'create_n_segment_path': aipath.c:847:77: warning: taking address of packed member of 'struct ai_static' may result in an unaligned pointer value [-Waddress-of-packed-member] 847 | if (create_path_points(objp, objp->segnum, -2, Point_segs_free_ptr, &aip->path_length, path_length, 1, 0, avoid_seg) == -1) { | ^~~~~~~~~~~~~~~~~ aipath.c:849:89: warning: taking address of packed member of 'struct ai_static' may result in an unaligned pointer value [-Waddress-of-packed-member] 849 | while ((create_path_points(objp, objp->segnum, -2, Point_segs_free_ptr, &aip->path_length, --path_length, 1, 0, -1) == -1)) { | ^~~~~~~~~~~~~~~~~ aipath.c: In function 'attempt_to_resume_path': aipath.c:1521:41: warning: variable 'abs_index' set but not used [-Wunused-but-set-variable] 1521 | int abs_index, new_path_index; | ^~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 bm.c: In function 'bm_read_extra_robots': bm.c:440:13: warning: variable 'version' set but not used [-Wunused-but-set-variable] 440 | int version; | ^~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 cmd.c: In function 'cmd_parse': cmd.c:30:9: warning: 'strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] 30 | strncpy( buffer, &input[i], CMD_MAX_LENGTH ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 credits.c: In function 'credits_show': credits.c:178:35: warning: '.txb' directive writing 4 bytes into a region of size between 1 and 32 [-Wformat-overflow=] 178 | sprintf(nfile, "%s.txb", filename); | ^~~~ credits.c:178:17: note: 'sprintf' output between 5 and 36 bytes into a destination of size 32 178 | sprintf(nfile, "%s.txb", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 endlevel.c: In function 'start_rendered_endlevel_sequence': endlevel.c:373:13: warning: variable 'last_segnum' set but not used [-Wunused-but-set-variable] 373 | int last_segnum,exit_side,tunnel_length; | ^~~~~~~~~~~ endlevel.c: In function 'do_endlevel_frame': endlevel.c:636:33: warning: variable 'expl' set but not used [-Wunused-but-set-variable] 636 | object *expl; | ^~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:73: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 224 | if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x | ^~ fireball.c:225:97: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 225 | vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; | ^~~~~~~ fireball.c: In function 'object_create_debris': fireball.c:335:20: warning: variable 'po' set but not used [-Wunused-but-set-variable] 335 | polymodel *po; | ^~ In function 'door_is_openable_by_player', inlined from 'pick_connected_segment' at fireball.c:487:63: fireball.c:402:26: warning: array subscript -1 is below array bounds of 'wall[254]' [-Warray-bounds=] 402 | wall_type = Walls[wall_num].type; | ~~~~~^~~~~~~~~~ In file included from fireball.c:51: wall.h: In function 'pick_connected_segment': wall.h:181:13: note: while referencing 'Walls' 181 | extern wall Walls[MAX_WALLS]; // Master walls array | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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:21: warning: variable 'new_hit_type' set but not used [-Wunused-but-set-variable] 734 | int new_hit_type; | ^~~~~~~~~~~~ escort.c: In function 'do_escort_menu': escort.c:1844:25: warning: '%s' directive writing up to 31 bytes into a region of size between 14 and 45 [-Wformat-overflow=] 1844 | sprintf(msg, "Select Guide-Bot Command:\n\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1857 | , goal_str, tstr); | ~~~~ escort.c:1855:54: note: format string is defined here 1855 | "T. %s Messages\n" | ^~ escort.c:1844:9: note: 'sprintf' output between 266 and 328 bytes into a destination of size 300 1844 | sprintf(msg, "Select Guide-Bot Command:\n\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1845 | "0. Next Goal: %s" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1846 | "\x84. Find Energy Powerup" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1847 | "2. Find Energy Center" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1848 | "3. Find Shield Powerup" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1849 | "4. Find Any Powerup" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1850 | "5. Find a Robot" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1851 | "6. Find a Hostage" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1852 | "7. Stay Away From Me" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1853 | "8. Find My Powerups" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1854 | "9. Find the exit\n\n" | ~~~~~~~~~~~~~~~~~~~~~~~ 1855 | "T. %s Messages\n" | ~~~~~~~~~~~~~~~~~~~ 1856 | // -- "9. Find the exit" CC_LSPACING_S "3\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1857 | , goal_str, tstr); | ~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 game.c: In function 'calc_frame_time': game.c:1214:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1214 | if (FrameTime < f1_0/maxfps); | ^~ game.c:1215:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1215 | timer_delay(1); | ^~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gamecntl.c: In function 'HandleTestKey': gamecntl.c:1891:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1891 | if (++Lighting_on >= 2) Lighting_on = 0; break; | ^~ gamecntl.c:1891:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1891 | if (++Lighting_on >= 2) Lighting_on = 0; break; | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gamepal.c: In function 'load_palette': gamepal.c:117:17: warning: 'strncpy' specified bound 13 equals destination size [-Wstringop-truncation] 117 | strncpy(last_palette_loaded_pig,name,sizeof(last_palette_loaded_pig)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gamecntl.c: In function 'do_game_pause.part.0': gamecntl.c:428:32: warning: '%02d' directive writing between 2 and 3 bytes into a region of size between 0 and 4 [-Wformat-overflow=] 428 | sprintf(str, "%1d:%02d:%02d", h, m, s ); | ^~~~ In function 'format_time', inlined from 'do_game_pause.part.0' at gamecntl.c:492:2: gamecntl.c:428:22: note: directive argument in the range [-59, 59] 428 | sprintf(str, "%1d:%02d:%02d", h, m, s ); | ^~~~~~~~~~~~~~~ gamecntl.c:428:9: note: 'sprintf' output between 8 and 13 bytes into a destination of size 9 428 | sprintf(str, "%1d:%02d:%02d", h, m, s ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamecntl.c: In function 'do_game_pause.part.0': gamecntl.c:428:32: warning: '%02d' directive writing between 2 and 3 bytes into a region of size between 0 and 4 [-Wformat-overflow=] 428 | sprintf(str, "%1d:%02d:%02d", h, m, s ); | ^~~~ In function 'format_time', inlined from 'do_game_pause.part.0' at gamecntl.c:493:2: gamecntl.c:428:22: note: directive argument in the range [-59, 59] 428 | sprintf(str, "%1d:%02d:%02d", h, m, s ); | ^~~~~~~~~~~~~~~ gamecntl.c:428:9: note: 'sprintf' output between 8 and 13 bytes into a destination of size 9 428 | sprintf(str, "%1d:%02d:%02d", h, m, s ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerend.c: In function 'show_extra_views': gamerend.c:934:55: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] 934 | sprintf(label,"Marker %d",Marker_viewer_num[w]+1); | ^~ gamerend.c:934:47: note: directive argument in the range [-2147483647, 2147483647] 934 | sprintf(label,"Marker %d",Marker_viewer_num[w]+1); | ^~~~~~~~~~~ gamerend.c:934:33: note: 'sprintf' output between 9 and 19 bytes into a destination of size 10 934 | sprintf(label,"Marker %d",Marker_viewer_num[w]+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gameseg.c: In function 'check_segment_connections': gameseg.c:631:31: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 631 | side *cs; | ^~ gameseg.c:629:31: warning: variable 's' set but not used [-Wunused-but-set-variable] 629 | side *s; | ^ gameseq.c: In function 'StartNewLevelSecret': gameseq.c:1198:25: warning: variable 'm' set but not used [-Wunused-but-set-variable] 1198 | newmenu_item m[1]; | ^ gameseq.c: In function 'EnterSecretLevel': gameseq.c:1377:17: warning: variable 'old_gametime' set but not used [-Wunused-but-set-variable] 1377 | fix old_gametime; | ^~~~~~~~~~~~ gameseq.c: In function 'ShowLevelIntro': gameseq.c:2054:29: warning: variable 'movie' set but not used [-Wunused-but-set-variable] 2054 | int movie=0; | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/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 gauges.c: In function 'sb_draw_energy_bar': gauges.c:2731:6: error: type of 'energy' defaults to 'int' [-Wimplicit-int] 2731 | void sb_draw_energy_bar(energy) | ^~~~~~~~~~~~~~~~~~ gmake[3]: *** [Makefile:422: gauges.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gameseq.c: In function 'MakeNewPlayerFile': gameseq.c:744:9: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 744 | strncpy(Players[Player_num].callsign, text, CALLSIGN_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gameseq.c: In function 'RegisterPlayer': gameseq.c:776:17: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 776 | strncpy( Players[Player_num].callsign, config_last_player, CALLSIGN_LEN ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gameseq.c:805:17: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 13 [-Wstringop-truncation] 805 | strncpy(Players[Player_num].callsign,filename, CALLSIGN_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[3]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/main' gmake[2]: *** [Makefile:451: all-recursive] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5/main' gmake[1]: *** [Makefile:829: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/d2x/work/d2x-0.2.5' gmake: *** [Makefile:735: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/d2x *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/d2x