from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/string.h:83:14: note: expected 'char * restrict' but argument is of type 'byte * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ g_game.c:1806:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] save_p += strlen(save_p); ^~~~~~ In file included from z_zone.h:54:0, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/string.h:247:15: note: expected 'const char *' but argument is of type 'byte * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(levels)/sizeof(*levels); i++) ^ g_game.c: In function 'G_ReloadDefaults': g_game.c:2073:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (compatibility_level == -1) ^~ g_game.c: In function 'G_WriteDemoTiccmd': g_game.c:2255:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] demo_p = buf; ^ g_game.c: In function 'G_RecordDemo': g_game.c:2292:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (pos) ^~ g_game.c:2304:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (slot == -1) I_Error("G_RecordDemo: No save in demo, can't continue"); ^~ g_game.c: In function 'G_ReadDemoHeader': g_game.c:2764:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ g_game.c:2766:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' break; ^~~~~ g_game.c:2774:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ g_game.c:2776:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' break; ^~~~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_demo.c r_demo.c: In function 'R_SmoothPlaying_Reset': r_demo.c:49:40: warning: the address of 'players' will always evaluate as 'true' [-Waddress] if (demo_smoothturns && demoplayback && players) ^~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_segs.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c hu_lib.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c lprintf.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_plats.c g_game.c: In function 'G_RecordDemo': g_game.c:2307:21: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] fseek(demofp, -rc, SEEK_CUR); ^~~ g_game.c: In function 'G_BeginRecording': g_game.c:2559:15: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] *demo_p++ = v; ~~~~~~~~~~^~~ g_game.c:2518:17: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] *demo_p++ = v; ~~~~~~~~~~^~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_sky.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_deh.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c hu_stuff.c g_game.c: In function 'G_ReadDemoTiccmd': g_game.c:2226:25: warning: 'at' may be used uninitialized in this function [-Wmaybe-uninitialized] cmd->sidemove = (signed char)at; ^~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_argv.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_pspr.c d_deh.c: In function 'deh_procPointer': d_deh.c:1935:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (value < 0 || value >= NUMSTATES) ^ d_deh.c:1949:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;imo->angle < -ANG90/20) ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_bbox.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_saveg.c p_saveg.c: In function 'P_UnArchiveWorld': p_saveg.c:206:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof sec->floorheight); ^ p_saveg.c:208:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof sec->ceilingheight); ^ p_saveg.c:237:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof si->textureoffset); ^ p_saveg.c:239:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof si->rowoffset); ^ p_saveg.c:246:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] save_p = (byte *) get; ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_things.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_items.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_cheat.c m_cheat.c: In function 'cheat_tntweapx': m_cheat.c:620:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (w==plyr->readyweapon) // maybe switch if weapon removed ^~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_setup.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c s_sound.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_main.c s_sound.c: In function 'S_AdjustSoundParams': s_sound.c:596:3: warning: multi-line comment [-Wcomment] // P_SetupLevel() \ P_LoadThings() \ P_SpawnMapThing() \ P_SpawnPlayer(players[0]) \ ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_sight.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c sounds.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_menu.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_spec.c In file included from doomdef.h:49:0, from m_menu.c:41: m_menu.c: In function 'M_VerifyForcedLoadGame': m_menu.c:773:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)messageString); // free the message strdup()'ed below ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ m_menu.c: In function 'M_DrawSetting': m_menu.c:1894:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] char *text = (char*)*s->var.def->location.ppsz; ^ In file included from doomdef.h:49:0, from m_menu.c:41: m_menu.c: In function 'M_ResetDefaults': m_menu.c:3595:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)*dp->location.ppsz), ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ m_menu.c: In function 'M_Responder': m_menu.c:4638:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ptr2->m_group == group && ptr1 != ptr2) ^~ m_menu.c:4675:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ptr2->m_group == group && ptr1 != ptr2) ^~ m_menu.c:4707:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ptr2->m_group == group && ^~ In file included from doomdef.h:49:0, from m_menu.c:41: m_menu.c:4950:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)*ptr1->var.def->location.ppsz); ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c info.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c st_lib.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_misc.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_switch.c m_misc.c:316:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"screen_width",{&desired_screenwidth},{640}, 320, MAX_SCREENWIDTH, ^ m_misc.c:316:20: note: (near initialization for 'defaults[73].location.pi') m_misc.c:318:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"screen_height",{&desired_screenheight},{480},200,MAX_SCREENHEIGHT, ^ m_misc.c:318:21: note: (near initialization for 'defaults[74].location.pi') m_misc.c: In function 'M_LoadDefaults': m_misc.c:940:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] snprintf((char *)defaultfile, PATH_MAX, ^ In file included from doomdef.h:49:0, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from m_misc.c:51: m_misc.c:1005:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)*(defaults[i].location.ppsz)); /* phares 4/13/98 */ ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_telept.c p_telept.c: In function 'EV_SilentLineTeleport': p_telept.c:294:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] y -= l->dx < 0 != side ? -1 : 1; ~~~~~~^~~ p_telept.c:296:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] x += l->dy < 0 != side ? -1 : 1; ~~~~~~^~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c st_stuff.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_random.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_tick.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c tables.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_user.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_ceilng.c p_user.c: In function 'P_PlayerThink': p_user.c:314:23: warning: the address of 'players' will always evaluate as 'true' [-Waddress] if (movement_smooth && players && &players[displayplayer] == player) ^~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c v_video.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c doomdef.c v_video.c: In function 'V_DrawMemPatch': v_video.c:293:59: warning: signed and unsigned type in conditional expression [-Wsign-compare] const int colindex = (flags & VPT_FLIP) ? (w - col) : (col); ^ v_video.c: In function 'V_UpdateTrueColorPalette': v_video.c:542:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Palettes32 = (int*)malloc(numPals*256*sizeof(int)*VID_NUMCOLORWEIGHTS); ^ v_video.c:572:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Palettes16 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); ^ v_video.c:602:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Palettes15 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_doors.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_enemy.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_bsp.c p_enemy.c: In function 'P_SmartMove': p_enemy.c:450:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((actor->type == MT_DOGS || (actor->type == (HelperThing-1) && actor->flags&MF_FRIEND)) ^~ p_enemy.c: In function 'P_DoNewChaseDir': p_enemy.c:552:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) ^~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c version.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c doomstat.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_floor.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_data.c p_floor.c: In function 'EV_DoDonut': p_floor.c:918:14: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ((!s2->lines[i]->flags & ML_TWOSIDED) || ^~~~~~~~~~~~~~~~~~~~ r_data.c: In function 'R_InitTextures': r_data.c:259:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;jname);j++) ^ r_data.c: In function 'R_ColourMap': r_data.c:415:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (curline) ^ In file included from doomdef.h:49:0, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from r_data.c:35: r_data.c: In function 'R_PrecacheLevel': r_data.c:668:63: warning: signed and unsigned type in conditional expression [-Wsign-compare] hitlist = malloc((size_t)numtextures > size ? numtextures : size); ^ z_zone.h:113:37: note: in definition of macro 'malloc' #define malloc(n) Z_Malloc(n,PU_STATIC,0) ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c w_wad.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_genlin.c w_wad.c: In function 'W_CheckNumForName': w_wad.c:331:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] lumpinfo[i].li_namespace != li_namespace)) ^~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c dstrings.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_inter.c p_inter.c: In function 'P_GiveAmmo': p_inter.c:145:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (player->readyweapon == wp_fist || player->readyweapon == wp_pistol) ^~ p_inter.c:148:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' break; ^~~~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c wi_stuff.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_draw.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c f_finale.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_lights.c p_lights.c: In function 'EV_LightTurnOn': p_lights.c:387:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((temp = getNextSector(sector->lines[j],sector)) && ^~ p_lights.c:391:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' sector->lightlevel = tbright; ^~~~~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c z_bmalloc.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_map.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_main.c p_map.c: In function 'P_GetMoveFactor': p_map.c:201:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset ^ p_map.c:220:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset ^ p_map.c: In function 'PTR_ShootTraverse': p_map.c:1499:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (li->special) ^~ p_map.c:1502:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (li->flags & ML_TWOSIDED) ^~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c f_wipe.c r_main.c: In function 'R_ShowStats': r_main.c:540:5: warning: "USE_SDL" is not defined [-Wundef] #if USE_SDL ^~~~~~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c z_zone.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_maputl.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_plane.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c md5.c md5.c: In function 'MD5Final': md5.c:134:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_checksum.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_patch.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_fps.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_filter.c r_filter.c:35:52: warning: missing braces around initializer [-Wmissing-braces] byte filter_ditherMatrix[DITHER_DIM][DITHER_DIM] = { ^ r_filter.c:35:52: note: (near initialization for 'filter_ditherMatrix') r_filter.c: In function 'R_FilterInit': r_filter.c:79:3: warning: multi-line comment [-Wcomment] // /4 \ ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_client.c /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c w_mmap.c d_client.c: In function 'D_InitNetGame': d_client.c:148:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p = sinfo->wadnames; ^~~~~ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_server.c d_server.c: In function 'n_players_in_state': d_server.c:234:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (playerstate[i] == ps) j++; ^~ d_server.c: In function 'main': d_server.c:522:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(sinfo->wadnames + extrabytes, wadname[i]); ^~~~~ In file included from d_server.c:44:0: /home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/string.h:83:14: note: expected 'char * restrict' but argument is of type 'byte * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ d_server.c:573:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] if (verbose>2) printf("%d requests resend from %d\n", from, ptic(packet)); ^ d_server.c:591:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] if (verbose) printf("%d quits at %d (%d left)\n", from, ptic(packet),curplayers); ^ /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-elf2flt -static -o prboom-game-server d_server.o POSIX/libposixdoom.a SDL/i_network.o -lSDL_net -L/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib -lSDL -lpthread -lm -lpthread -lSDL_mixer -lm -L/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib -lSDL -lpthread -lm -lpthread /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-elf2flt -static -o prboom mmus2mid.o am_map.o g_game.o p_mobj.o r_demo.o r_segs.o hu_lib.o lprintf.o p_plats.o r_sky.o d_deh.o hu_stuff.o m_argv.o p_pspr.o m_bbox.o p_saveg.o r_things.o d_items.o m_cheat.o p_setup.o s_sound.o d_main.o p_sight.o sounds.o m_menu.o p_spec.o info.o st_lib.o m_misc.o p_switch.o p_telept.o st_stuff.o m_random.o p_tick.o tables.o p_user.o p_ceilng.o v_video.o doomdef.o p_doors.o p_enemy.o r_bsp.o version.o doomstat.o p_floor.o r_data.o w_wad.o p_genlin.o dstrings.o p_inter.o wi_stuff.o r_draw.o f_finale.o p_lights.o z_bmalloc.o p_map.o r_main.o f_wipe.o z_zone.o p_maputl.o r_plane.o md5.o p_checksum.o r_patch.o r_fps.o r_filter.o d_client.o w_mmap.o SDL/libsdldoom.a -lSDL_net -L/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib -lSDL -lpthread -lm -lpthread -lSDL_mixer -lm -L/home/buildroot/autobuild/run/instance-1/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib -lSDL -lpthread -lm -lpthread Making all in ICONS make[4]: Nothing to be done for `all'. Making all in VisualC8 make[4]: Nothing to be done for `all'. Making all in VisualC6 make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. >>> prboom 2.5.0 Installing to target /usr/bin/install -D /home/buildroot/autobuild/run/instance-1/output/build/prboom-2.5.0/src/prboom /home/buildroot/autobuild/run/instance-1/output/target/usr/games/prboom /usr/bin/install -D /home/buildroot/autobuild/run/instance-1/output/build/prboom-2.5.0/src/prboom-game-server /home/buildroot/autobuild/run/instance-1/output/target/usr/games/prboom-game-server /usr/bin/install -D /home/buildroot/autobuild/run/instance-1/output/build/prboom-2.5.0/data/prboom.wad /home/buildroot/autobuild/run/instance-1/output/target/usr/share/games/doom/prboom.wad >>> Finalizing target directory # Check files that are touched by more than one package ./support/scripts/check-uniq-files -t target /home/buildroot/autobuild/run/instance-1/output/build/packages-file-list.txt ./support/scripts/check-uniq-files -t staging /home/buildroot/autobuild/run/instance-1/output/build/packages-file-list-staging.txt ./support/scripts/check-uniq-files -t host /home/buildroot/autobuild/run/instance-1/output/build/packages-file-list-host.txt Warning: host file "./share/man/man8/fsck.8" is touched by more than one package: ['host-util-linux', 'host-e2fsprogs'] Warning: host file "./sbin/fsck" is touched by more than one package: ['host-util-linux', 'host-e2fsprogs'] mkdir -p /home/buildroot/autobuild/run/instance-1/output/target/etc echo "buildroot" > /home/buildroot/autobuild/run/instance-1/output/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/buildroot/autobuild/run/instance-1/output/target/etc/hosts mkdir -p /home/buildroot/autobuild/run/instance-1/output/target/etc echo "Welcome to Buildroot" > /home/buildroot/autobuild/run/instance-1/output/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /home/buildroot/autobuild/run/instance-1/output/target/etc/shadow rm -f /home/buildroot/autobuild/run/instance-1/output/target/bin/sh rm -f /home/buildroot/autobuild/run/instance-1/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /home/buildroot/autobuild/run/instance-1/output/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /home/buildroot/autobuild/run/instance-1/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/buildroot/autobuild/run/instance-1/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/buildroot/autobuild/run/instance-1/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/buildroot/autobuild/run/instance-1/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/include /home/buildroot/autobuild/run/instance-1/output/target/usr/share/aclocal \ /home/buildroot/autobuild/run/instance-1/output/target/usr/lib/pkgconfig /home/buildroot/autobuild/run/instance-1/output/target/usr/share/pkgconfig \ /home/buildroot/autobuild/run/instance-1/output/target/usr/lib/cmake /home/buildroot/autobuild/run/instance-1/output/target/usr/share/cmake find /home/buildroot/autobuild/run/instance-1/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/buildroot/autobuild/run/instance-1/output/target/lib/ /home/buildroot/autobuild/run/instance-1/output/target/usr/lib/ /home/buildroot/autobuild/run/instance-1/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: `/home/buildroot/autobuild/run/instance-1/output/target/usr/libexec/': No such file or directory rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/share/gdb rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/share/bash-completion rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/share/zsh rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/man /home/buildroot/autobuild/run/instance-1/output/target/usr/share/man rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/info /home/buildroot/autobuild/run/instance-1/output/target/usr/share/info rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/doc /home/buildroot/autobuild/run/instance-1/output/target/usr/share/doc rm -rf /home/buildroot/autobuild/run/instance-1/output/target/usr/share/gtk-doc rmdir /home/buildroot/autobuild/run/instance-1/output/target/usr/share 2>/dev/null || true find /home/buildroot/autobuild/run/instance-1/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/buildroot/autobuild/run/instance-1/output/target/lib/ -type f -name 'libpthread*.so*' | \ xargs -r /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-strip --remove-section=.comment --remove-section=.note --strip-debug find /home/buildroot/autobuild/run/instance-1/output/target/lib/ -type f -name 'ld-*.so*' | \ xargs -r /home/buildroot/autobuild/run/instance-1/output/host/bin/m68k-linux-strip --remove-section=.comment --remove-section=.note --strip-debug test -f /home/buildroot/autobuild/run/instance-1/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/buildroot/autobuild/run/instance-1/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /home/buildroot/autobuild/run/instance-1/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2018.05-git-00188-g23696d6"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2018.05-git"; \ echo "PRETTY_NAME=\"Buildroot 2018.05-git\"" \ ) > /home/buildroot/autobuild/run/instance-1/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/buildroot/autobuild/run/instance-1/output/target/etc >>> Sanitizing RPATH in target tree /home/buildroot/autobuild/run/instance-1/buildroot/support/scripts/fix-rpath target make: Leaving directory `/home/buildroot/autobuild/run/instance-1/buildroot' make: Entering directory `/home/buildroot/autobuild/run/instance-1/buildroot' >>> Buildroot 2018.05-git-00188-g23696d6 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> host-lzip 1.20 Collecting legal info COPYING: OK (sha256: 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef) >>> toolchain-external Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> dropbear 2017.75 Collecting legal info ERROR: No hash found for LICENSE >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-e2fsprogs 1.43.9 Collecting legal info NOTICE: OK (sha256: 680f852df303874fe9c722283a7da571ae9a0477768df8af1e363298e2adc51e) lib/ss/mit-sipb-copyright.h: OK (sha256: 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d) lib/et/internal.h: OK (sha256: 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f) >>> host-pkgconf 0.9.12 Collecting legal info ERROR: No hash found for COPYING >>> host-util-linux 2.31.1 Collecting legal info README.licensing: OK (sha256: 1e4b65802b0df8115395c697029d03339f983d451a473a08643309c684410d9a) Documentation/licenses/COPYING.GPLv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.UCB: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.LGPLv2.1: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) Documentation/licenses/COPYING.BSD-3: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> httping 2.5 Collecting legal info ERROR: No hash found for license.txt >>> inconsolata 001.010 Collecting legal info ERROR: No hash found for OFL.txt >>> jimtcl 0.75 Collecting legal info ERROR: No hash found for LICENSE >>> liblockfile 1.09 Collecting legal info ERROR: No hash found for COPYRIGHT >>> memstat 1.0 Collecting legal info ERROR: No hash found for debian/copyright >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> prboom 2.5.0 Collecting legal info ERROR: No hash found for COPYING >>> sdl 1.2.15 Collecting legal info ERROR: No hash found for COPYING >>> host-autoconf 2.69 Collecting legal info ERROR: No hash found for COPYINGv3 ERROR: No hash found for COPYING.EXCEPTION >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> sdl_mixer 1.2.12 Collecting legal info ERROR: No hash found for COPYING >>> sdl_net 1.2.8 Collecting legal info ERROR: No hash found for COPYING WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /home/buildroot/autobuild/run/instance-1/output/legal-info make: Leaving directory `/home/buildroot/autobuild/run/instance-1/buildroot'