=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/games/d2x", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for d2x-0.2.5nb15 /opt/local/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5' Making all in 2d gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/2d' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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 '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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/2d' Making all in 3d gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/3d' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/3d' Making all in maths gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/maths' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/maths' Making all in mem gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/mem' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/mem' Making all in cfile gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/cfile' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/cfile' Making all in iff gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/iff' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/iff' Making all in texmap gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/texmap' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -DFL1_WITH_FLAT -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/texmap' Making all in misc gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/misc' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/misc' Making all in arch gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/arch' Making all in linux gmake[3]: Entering directory '/tmp/work/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/arch/linux' Making all in sdl gmake[3]: Entering directory '/tmp/work/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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] 384 | int i, j, k, ncolors; | ^~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '/tmp/work/games/d2x/work/d2x-0.2.5/arch/sdl' gmake[3]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/arch' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/work/games/d2x/work/d2x-0.2.5/arch' gmake[2]: Leaving directory '/tmp/work/games/d2x/work/d2x-0.2.5/arch' Making all in main gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/main' gmake[3]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/main' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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++) | ^~~ 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': ai.c: In function 'do_ai_frame': 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); | ^~~~~~~~~~~~~~~~~ ai.c:913:33: warning: variable 'dtp' set but not used [-Wunused-but-set-variable] 913 | fix dtp = dist_to_player/4; | ^~~ 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) { | ^~~~~~~~~~~~~~~~~ ai2.c: In function 'move_object_to_legal_spot': 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)) { | ^~~~~~~~~~~~~~~~~ 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': 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; | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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; | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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 | ^~~~~ 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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; | ^~~~~~~~~~~~ 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 '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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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: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; | ^ 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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 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; | ^~~~~ gauges.c: In function 'sb_draw_energy_bar': gauges.c:2731:6: warning: type of 'energy' defaults to 'int' [-Wimplicit-int] 2731 | void sb_draw_energy_bar(energy) | ^~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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:21: warning: variable 'use_double_buffer' set but not used [-Wunused-but-set-variable] 1347 | int use_double_buffer = 0; | ^~~~~~~~~~~~~~~~~ inferno.c:1456:21: warning: variable 'played' set but not used [-Wunused-but-set-variable] 1456 | int played=MOVIE_NOT_PLAYED; //default is not played | ^~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 inferno.c: At top level: inferno.c:819:19: warning: 'desc_id_checksum_str' defined but not used [-Wunused-const-variable=] 819 | static const char desc_id_checksum_str[] = DESC_ID_CHKSUM_TAG "0000"; //4-byte checksum | ^~~~~~~~~~~~~~~~~~~~ kconfig.c: In function 'kc_drawquestion': kconfig.c:1678:13: warning: variable 'c' set but not used [-Wunused-but-set-variable] 1678 | int c, x, w, h, aw; | ^ kconfig.c: In function 'kconfig_init_external_controls': kconfig.c:2316:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2316 | kc_external_control = (ext_control_info *)address; | ^ kconfig.c:2322:34: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2322 | kc_external_name = Args[i+1]; | ^ kconfig.c:2324:34: warning: pointer targets in assignment from 'char *' to 'ubyte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2324 | kc_external_name = "External Controller"; | ^ kconfig.c:2326:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2326 | for (i=0;ix)); | ^~~~~~~ newdemo.c:1134:21: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1134 | nd_read_fix(&(v->y)); | ^~~~~~~ newdemo.c:1135:21: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1135 | nd_read_fix(&(v->z)); | ^~~~~~~ newdemo.c: In function 'nd_read_angvec': newdemo.c:1140:24: warning: taking address of packed member of 'struct vms_angvec' may result in an unaligned pointer value [-Waddress-of-packed-member] 1140 | nd_read_fixang(&(v->p)); | ^~~~~~~ newdemo.c:1141:24: warning: taking address of packed member of 'struct vms_angvec' may result in an unaligned pointer value [-Waddress-of-packed-member] 1141 | nd_read_fixang(&(v->b)); | ^~~~~~~ newdemo.c:1142:24: warning: taking address of packed member of 'struct vms_angvec' may result in an unaligned pointer value [-Waddress-of-packed-member] 1142 | nd_read_fixang(&(v->h)); | ^~~~~~~ newdemo.c: In function 'nd_read_shortpos': newdemo.c:1157:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1157 | nd_read_short(&(sp.xo)); | ^~~~~~~~ newdemo.c:1158:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1158 | nd_read_short(&(sp.yo)); | ^~~~~~~~ newdemo.c:1159:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1159 | nd_read_short(&(sp.zo)); | ^~~~~~~~ newdemo.c:1160:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1160 | nd_read_short(&(sp.segment)); | ^~~~~~~~~~~~~ newdemo.c:1161:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1161 | nd_read_short(&(sp.velx)); | ^~~~~~~~~~ newdemo.c:1162:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1162 | nd_read_short(&(sp.vely)); | ^~~~~~~~~~ newdemo.c:1163:23: warning: taking address of packed member of 'struct shortpos' may result in an unaligned pointer value [-Waddress-of-packed-member] 1163 | nd_read_short(&(sp.velz)); | ^~~~~~~~~~ newdemo.c: In function 'nd_read_object': newdemo.c:1181:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1181 | nd_read_byte(&(obj->render_type)); | ^~~~~~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1182:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1182 | nd_read_byte(&(obj->type)); | ^~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1186:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1186 | nd_read_byte(&(obj->id)); | ^~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1187:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1187 | nd_read_byte(&(obj->flags)); | ^~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1188:32: warning: taking address of packed member of 'struct object' may result in an unaligned pointer value [-Waddress-of-packed-member] 1188 | nd_read_short((short *)&(obj->signature)); | ^~~~~~~~~~~~~~~~~ newdemo.c:1220:30: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1220 | nd_read_byte(&(obj->movement_type)); // might have physics movement | ^~~~~~~~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1241:30: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1241 | nd_read_byte(&(obj->control_type)); | ^~~~~~~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1242:30: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1242 | nd_read_byte(&(obj->movement_type)); | ^~~~~~~~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1243:29: warning: taking address of packed member of 'struct object' may result in an unaligned pointer value [-Waddress-of-packed-member] 1243 | nd_read_fix(&(obj->size)); | ^~~~~~~~~~~~ newdemo.c:1250:29: warning: taking address of packed member of 'struct object' may result in an unaligned pointer value [-Waddress-of-packed-member] 1250 | nd_read_fix(&(obj->lifeleft)); | ^~~~~~~~~~~~~~~~ newdemo.c:1254:30: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 1254 | nd_read_byte(&b); | ^~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:1291:29: warning: taking address of packed member of 'struct explosion_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1291 | nd_read_fix(&(obj->ctype.expl_info.spawn_time)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1292:29: warning: taking address of packed member of 'struct explosion_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1292 | nd_read_fix(&(obj->ctype.expl_info.delete_time)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1293:31: warning: taking address of packed member of 'struct explosion_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1293 | nd_read_short(&(obj->ctype.expl_info.delete_objnum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1312:29: warning: taking address of packed member of 'struct light_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1312 | nd_read_fix(&(obj->ctype.light_info.intensity)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1344:37: warning: taking address of packed member of 'struct polyobj_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1344 | nd_read_int(&(obj->rtype.pobj_info.model_num)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1345:37: warning: taking address of packed member of 'struct polyobj_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1345 | nd_read_int(&(obj->rtype.pobj_info.subobj_flags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1381:29: warning: taking address of packed member of 'struct vclip_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1381 | nd_read_int(&(obj->rtype.vclip_info.vclip_num)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:1382:29: warning: taking address of packed member of 'struct vclip_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1382 | nd_read_fix(&(obj->rtype.vclip_info.frametime)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c: In function 'newdemo_read_demo_start': newdemo.c:2148:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2148 | nd_read_byte(&c); | ^~ | | | char * newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'char *' 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2227:29: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 2227 | nd_read_int(&(Players[Player_num].score)); // Note link to above if! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:2230:39: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 2230 | nd_read_short((short*)&(Players[Player_num].primary_ammo[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:2233:47: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 2233 | nd_read_short((short*)&(Players[Player_num].secondary_ammo[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:2257:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2257 | nd_read_byte(&energy); | ^~~~~~~ | | | char * newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'char *' 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2258:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2258 | nd_read_byte(&shield); | ^~~~~~~ | | | char * newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'char *' 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2260:28: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 2260 | nd_read_int((int *)&(Players[Player_num].flags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c: In function 'newdemo_read_frame_information': newdemo.c:2331:30: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2331 | nd_read_byte(&c); | ^~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2352:39: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2352 | nd_read_byte (&WhichWindow); | ^~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2515:54: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2515 | nd_read_byte(&c); | ^~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2614:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2614 | nd_read_byte(&old_energy); | ^~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2615:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2615 | nd_read_byte(&energy); | ^~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2630:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2630 | nd_read_byte(&old_afterburner); | ^~~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2631:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2631 | nd_read_byte(&afterburner); | ^~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2646:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2646 | nd_read_byte(&old_shield); | ^~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2647:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2647 | nd_read_byte(&shield); | ^~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2661:44: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 2661 | nd_read_int((int *)&(Players[Player_num].flags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:2806:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2806 | nd_read_byte(&side); | ^~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2808:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2808 | nd_read_byte(&cside); | ^~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2820:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2820 | nd_read_byte(&side); | ^~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2822:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 2822 | nd_read_byte(&cside); | ^~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 newdemo.c:3052:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3052 | nd_read_byte(&front_wall_num); | ^~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3053:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3053 | nd_read_byte(&back_wall_num); | ^~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3054:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3054 | nd_read_byte(&type); | ^~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3055:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3055 | nd_read_byte(&state); | ^~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3056:38: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3056 | nd_read_byte(&cloak_value); | ^~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3121:55: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3121 | nd_read_byte (&Walls[i].type); | ^~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3122:55: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3122 | nd_read_byte (&Walls[i].flags); | ^~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3123:55: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3123 | nd_read_byte (&Walls[i].state); | ^~~~~~~~~~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:2316:21: warning: variable 'LastReadValue' set but not used [-Wunused-but-set-variable] 2316 | static char LastReadValue=101; | ^~~~~~~~~~~~~ newdemo.c: In function 'newdemo_goto_end': newdemo.c:3240:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3240 | nd_read_byte(&energy); | ^~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3241:22: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3241 | nd_read_byte(&shield); | ^~~~~~~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3244:28: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3244 | nd_read_int((int *)&(Players[Player_num].flags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:3254:40: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3254 | nd_read_short((short *)&(Players[Player_num].primary_ammo[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:3256:40: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3256 | nd_read_short((short *)&(Players[Player_num].secondary_ammo[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:3264:30: warning: pointer targets in passing argument 1 of 'nd_read_byte' differ in signedness [-Wpointer-sign] 3264 | nd_read_byte(&c); | ^~ | | | ubyte * {aka unsigned char *} newdemo.c:1098:32: note: expected 'byte *' {aka 'signed char *'} but argument is of type 'ubyte *' {aka 'unsigned char *'} 1098 | static void nd_read_byte(byte *b) | ~~~~~~^ newdemo.c:3273:45: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3273 | nd_read_int(&(Players[i].score)); | ^~~~~~~~~~~~~~~~~~~ newdemo.c:3275:47: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3275 | nd_read_short((short *)&(Players[i].net_killed_total)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:3276:47: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3276 | nd_read_short((short *)&(Players[i].net_kills_total)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c:3280:29: warning: taking address of packed member of 'struct player' may result in an unaligned pointer value [-Waddress-of-packed-member] 3280 | nd_read_int(&(Players[Player_num].score)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ newdemo.c: In function 'newdemo_strip_frames': newdemo.c:4004:25: warning: variable 'bytes_done' set but not used [-Wunused-but-set-variable] 4004 | int total_size, bytes_done, read_elems, bytes_back; | ^~~~~~~~~~ newdemo.c:4004:13: warning: variable 'total_size' set but not used [-Wunused-but-set-variable] 4004 | int total_size, bytes_done, read_elems, bytes_back; | ^~~~~~~~~~ object.c: In function 'dead_player_frame': object.c:1657:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1657 | else | ^~~~ object.c:1666:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1666 | Player_exploded = 1; | ^~~~~~~~~~~~~~~ object.c: In function 'object_move_one': object.c:2014:67: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 2014 | 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); | ~^ ~~~~~~~~~~~ | | | | int long int | %li newmenu.c: In function 'draw_item': newmenu.c:1100:57: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1100 | sprintf( item->saved_text, "%s%s", item->saved_text,SLIDER_MIDDLE ); | ^ newmenu.c:1100:25: note: 'sprintf' output between 2 and 52 bytes into a destination of size 51 1100 | sprintf( item->saved_text, "%s%s", item->saved_text,SLIDER_MIDDLE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c:1100:25: warning: 'sprintf' argument 3 overlaps destination object 'item' [-Wrestrict] newmenu.c:1060:40: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 1060 | void draw_item( bkg * b, newmenu_item *item, int is_current,int tiny ) | ~~~~~~~~~~~~~~^~~~ newmenu.c:1102:49: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1102 | sprintf( item->saved_text, "%s%s", item->saved_text,SLIDER_RIGHT ); | ^ newmenu.c:1102:17: note: 'sprintf' output between 2 and 52 bytes into a destination of size 51 1102 | sprintf( item->saved_text, "%s%s", item->saved_text,SLIDER_RIGHT ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c:1102:17: warning: 'sprintf' argument 3 overlaps destination object 'item' [-Wrestrict] newmenu.c:1060:40: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 1060 | void draw_item( bkg * b, newmenu_item *item, int is_current,int tiny ) | ~~~~~~~~~~~~~~^~~~ newmenu.c: In function 'newmenu_do4': newmenu.c:1394:33: warning: 'sprintf' argument 3 overlaps destination object '' [-Wrestrict] 1394 | sprintf( item[i].saved_text, "%s%s", item[i].saved_text,SLIDER_MIDDLE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c:1396:25: warning: 'sprintf' argument 3 overlaps destination object '' [-Wrestrict] 1396 | sprintf( item[i].saved_text, "%s%s", item[i].saved_text,SLIDER_RIGHT ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ object.c:1988:33: warning: array subscript 0 is outside array bounds of 'ubyte[0]' {aka 'unsigned char[]'} [-Warray-bounds=] 1988 | * (ubyte *) 0x417 &= ~0x20; //kill numlock | ^~~~~~~~~~~~~~~~~ cc1: note: source object is likely at address zero object.c:1988:33: warning: array subscript 0 is outside array bounds of 'ubyte[0]' {aka 'unsigned char[]'} [-Warray-bounds=] cc1: note: source object is likely at address zero newdemo.c: In function 'newdemo_stop_playback': newdemo.c:3988:9: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 3988 | strncpy(Players[Player_num].callsign, nd_save_callsign, CALLSIGN_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c: In function 'newmenu_get_filename': newmenu.c:2639:33: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 255 [-Wstringop-truncation] 2639 | strncpy( &filenames[NumFiles*14], find.name, FILENAME_LEN ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c:2661:41: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 255 [-Wstringop-truncation] 2661 | strncpy( &filenames[NumFiles*14], find.name, FILENAME_LEN ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 newmenu.c: In function 'newmenu_filelist': newmenu.c:3799:33: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 255 [-Wstringop-truncation] 3799 | strncpy( FilenameText[NumFiles], find.name, FILENAME_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c: In function 'nm_wrap_text': newmenu.c:3901:25: warning: 'sprintf' argument 3 overlaps destination object 'dbuf' [-Wrestrict] 3901 | sprintf(dbuf, "%s%s ", dbuf, wordptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c:3879:25: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 3879 | void nm_wrap_text(char *dbuf, char *sbuf, int line_length) | ~~~~~~^~~~ paging.c: In function 'paging_touch_robot_maker': paging.c:301:65: warning: the comparison will always evaluate as 'true' for the address of 'robot_flags' will never be NULL [-Waddress] 301 | if (RobotCenters[seg2p->matcen_num].robot_flags != 0) { | ^~ In file included from paging.c:57: fuelcen.h:119:33: note: 'robot_flags' declared here 119 | int robot_flags[2]; // Up to 64 different robots | ^~~~~~~~~~~ newmenu.c:3898:25: warning: 'sprintf' argument 3 overlaps destination object 'dbuf' [-Wrestrict] 3898 | sprintf(dbuf, "%s\n%s ", dbuf, wordptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmenu.c:3879:25: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 3879 | void nm_wrap_text(char *dbuf, char *sbuf, int line_length) | ~~~~~~^~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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:24: warning: variable 'save_delta_ang' set but not used [-Wunused-but-set-variable] 161 | fixang save_delta_ang; | ^~~~~~~~~~~~~~ physics.c: In function 'do_physics_sim': physics.c:358:28: warning: variable 'save_p1' set but not used [-Wunused-but-set-variable] 358 | vms_vector save_p0,save_p1; | ^~~~~~~ physics.c:358:20: warning: variable 'save_p0' set but not used [-Wunused-but-set-variable] 358 | vms_vector save_p0,save_p1; | ^~~~~~~ physics.c: In function 'physics_turn_towards_vector': physics.c:1085:41: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1085 | physics_set_rotvel_and_saturate(&rotvel_ptr->x, delta_p); | ^~~~~~~~~~~~~~ physics.c:1086:41: warning: taking address of packed member of 'struct vms_vector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1086 | physics_set_rotvel_and_saturate(&rotvel_ptr->y, delta_h); | ^~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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:37: warning: variable 'data_size' set but not used [-Wunused-but-set-variable] 897 | int header_size, N_bitmaps, data_size, data_start; | ^~~~~~~~~ piggy.c: In function 'piggy_new_pigfile': piggy.c:1028:13: warning: variable 'must_rewrite_pig' set but not used [-Wunused-but-set-variable] 1028 | int must_rewrite_pig = 0; | ^~~~~~~~~~~~~~~~ piggy.c:1027:37: warning: variable 'data_size' set but not used [-Wunused-but-set-variable] 1027 | int header_size, N_bitmaps, data_size, data_start; | ^~~~~~~~~ piggy.c: In function 'read_hamfile': piggy.c:1377:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1377 | temp_sound.data = (ubyte *)(sndh.offset + header_size + sound_start); | ^ piggy.c: In function 'read_sndfile': piggy.c:1454:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1454 | temp_sound.data = (ubyte *)(sndh.offset + header_size + sound_start); | ^ piggy.c:1412:21: warning: variable 'length' set but not used [-Wunused-but-set-variable] 1412 | int i,size, length; | ^~~~~~ piggy.c: In function 'piggy_bitmap_page_in': piggy.c:1637:21: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 1637 | int i,org_i,temp; | ^~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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_init_pigfile': piggy.c:968:49: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] 968 | sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); | ^~ piggy.c:968:45: note: directive argument in the range [0, 63] 968 | sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); | ^~~~~~~ piggy.c:968:25: note: 'sprintf' output between 3 and 19 bytes into a destination of size 16 968 | sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ piggy.c: In function 'piggy_new_pigfile': piggy.c:1103:57: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] 1103 | sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); | ^~ piggy.c:1103:53: note: directive argument in the range [0, 63] 1103 | sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); | ^~~~~~~ piggy.c:1103:33: note: 'sprintf' output between 3 and 19 bytes into a destination of size 16 1103 | sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ playsave.c: In function 'new_player_config': playsave.c:356:13: warning: variable 'nitems' set but not used [-Wunused-but-set-variable] 356 | int nitems; | ^~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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:33: warning: variable 'reflect' set but not used [-Wunused-but-set-variable] 605 | fix reflect; | ^~~~~~~ render.c: In function 'render_side': render.c:936:98: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 936 | Error("Illegal side type in render_side, type = %i, segment # = %i, side # = %i\n", sidep->type, segp-Segments, sidenum); | ~^ ~~~~~~~~~~~~~ | | | | int long int | %li render.c: In function 'render_segment': render.c:1160:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1160 | if (Viewer->type!=OBJ_ROBOT) | ^~ render.c:1163:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1163 | for (sn=0; snanim_states[g][state]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -MT segment.o -MD -MP -MF ".deps/segment.Tpo" \ -c -o segment.o `test -f 'segment.c' || echo './'`segment.c; \ then mv -f ".deps/segment.Tpo" ".deps/segment.Po"; \ else rm -f ".deps/segment.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -MT slew.o -MD -MP -MF ".deps/slew.Tpo" \ -c -o slew.o `test -f 'slew.c' || echo './'`slew.c; \ then mv -f ".deps/slew.Tpo" ".deps/slew.Po"; \ else rm -f ".deps/slew.Tpo"; exit 1; \ fi scores.c: In function 'scores_maybe_add_player': scores.c:493:25: warning: 'strncpy' output may be truncated copying 50 bytes from a string of length 59 [-Wstringop-truncation] 493 | strncpy( Scores.cool_saying, text1, COOL_MESSAGE_LEN ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -MT songs.o -MD -MP -MF ".deps/songs.Tpo" \ -c -o songs.o `test -f 'songs.c' || echo './'`songs.c; \ then mv -f ".deps/songs.Tpo" ".deps/songs.Po"; \ else rm -f ".deps/songs.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -MT state.o -MD -MP -MF ".deps/state.Tpo" \ -c -o state.o `test -f 'state.c' || echo './'`state.c; \ then mv -f ".deps/state.Tpo" ".deps/state.Po"; \ else rm -f ".deps/state.Tpo"; exit 1; \ fi state.c: In function 'state_restore_all_sub': state.c:1053:13: warning: variable 'ObjectStartLocation' set but not used [-Wunused-but-set-variable] 1053 | int ObjectStartLocation; | ^~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -MT switch.o -MD -MP -MF ".deps/switch.Tpo" \ -c -o switch.o `test -f 'switch.c' || echo './'`switch.c; \ then mv -f ".deps/switch.Tpo" ".deps/switch.Po"; \ else rm -f ".deps/switch.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../arch/include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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] 725 | if (weapon_index!=LASER_INDEX) | ^~ weapon.c:728:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 728 | 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 '/tmp/work/games/d2x/work/d2x-0.2.5/main' gmake[2]: Leaving directory '/tmp/work/games/d2x/work/d2x-0.2.5/main' Making all in libmve gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/libmve' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 decoder16.c: In function 'decodeFrame16': decoder16.c:77:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 77 | fprintf(stderr, "DEBUG: junk left over: %d,%d,%d\n", (pData-pOrig), length, (length-(pData-pOrig))); | ~^ ~~~~~~~~~~~~~ | | | | int long int | %ld decoder16.c:77:56: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] 77 | fprintf(stderr, "DEBUG: junk left over: %d,%d,%d\n", (pData-pOrig), length, (length-(pData-pOrig))); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld decoder16.c:18:31: warning: variable 'pEnd' set but not used [-Wunused-but-set-variable] 18 | unsigned char *pOffData, *pEnd; | ^~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I ../arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/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:13: warning: variable 'desired_buffer' set but not used [-Wunused-but-set-variable] 339 | int desired_buffer; | ^~~~~~~~~~~~~~ mveplay.c: In function 'create_videobuf_handler': mveplay.c:496:15: warning: variable 'count' set but not used [-Wunused-but-set-variable] 496 | short count, truecolor; | ^~~~~ mveplay.c: In function 'video_data_handler': mveplay.c:715:23: warning: variable 'nYsize' set but not used [-Wunused-but-set-variable] 715 | short nXsize, nYsize; | ^~~~~~ mveplay.c:715:15: warning: variable 'nXsize' set but not used [-Wunused-but-set-variable] 715 | short nXsize, nYsize; | ^~~~~~ mveplay.c:714:25: warning: variable 'nYoffset' set but not used [-Wunused-but-set-variable] 714 | short nXoffset, nYoffset; | ^~~~~~~~ mveplay.c:714:15: warning: variable 'nXoffset' set but not used [-Wunused-but-set-variable] 714 | short nXoffset, nYoffset; | ^~~~~~~~ mveplay.c:713:26: warning: variable 'nFrameCold' set but not used [-Wunused-but-set-variable] 713 | short nFrameHot, nFrameCold; | ^~~~~~~~~~ mveplay.c:713:15: warning: variable 'nFrameHot' set but not used [-Wunused-but-set-variable] 713 | 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 '/tmp/work/games/d2x/work/d2x-0.2.5/libmve' Making all in utilities gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5/utilities' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/games/d2x/work/d2x-0.2.5/utilities' gmake[2]: Entering directory '/tmp/work/games/d2x/work/d2x-0.2.5' gcc -I ./arch/linux/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -g -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -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/opt/local/lib -R/opt/local/lib -lSDL -lpthread -lposix4 gmake[2]: Leaving directory '/tmp/work/games/d2x/work/d2x-0.2.5' gmake[1]: Leaving directory '/tmp/work/games/d2x/work/d2x-0.2.5'