Cook: prboom 2.5.0 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): sdl-dev-1.2.15-i486 Installing (pkg/local): alsa-lib-1.2.3-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libogg-1.3.3-i486 Installing (pkg/local): flac-1.3.3-i486 Installing (pkg/local): libvorbis-1.3.6-i486 Installing (pkg/local): libsndfile-1.0.28-i486 Installing (pkg/local): speexdsp-1.2rc3-i486 Installing (pkg/local): libice-1.0.9-i486 Installing (pkg/local): libsm-1.2.3-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libxtst-1.2.3-i486 Installing (pkg/local): pulseaudio-12.2-i486 chroot: can't execute '/usr/bin/glib-compile-schemas': No such file or directory Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): libsamplerate-0.1.9-i486 Installing (pkg/local): jack-0.125.0-i486 Installing (pkg/local): ladspa-1.13-i486 Installing (pkg/local): fluidsynth-1.1.8-i486 Installing (pkg/local): sdl-mixer-1.2.12-i486 Installing (pkg/local): fluidsynth-dev-1.1.8-i486 Installing (pkg/local): sdl-mixer-dev-1.2.12-any Installing (pkg/local): sdl-net-1.2.8-i486 Installing (pkg/local): sdl-net-dev-1.2.8-any Installing (pkg/local): linux-agp-4.17.7-i486 Installing (pkg/local): linux-drm-4.17.7-i486 Installing (pkg/local): libpciaccess-0.14-i486 Installing (pkg/local): libdrm-2.4.96-i486 Installing (pkg/local): libxdamage-1.1.4-i486 Installing (pkg/local): libxfixes-5.0.3-i486 Installing (pkg/local): libxshmfence-1.3-i486 Installing (pkg/local): libxxf86vm-1.1.4-i486 Installing (pkg/local): mesa-18.3.1-i486 Installing (pkg/local): libdrm-amdgpu-2.4.96-i486 Installing (pkg/local): libdrm-etnaviv-2.4.96-i486 Installing (pkg/local): libdrm-intel-2.4.96-i486 Installing (pkg/local): libdrm-nouveau-2.4.96-i486 Installing (pkg/local): libdrm-radeon-2.4.96-i486 Installing (pkg/local): libllvm-7.0.0-i486 Installing (pkg/local): mesa-dri-18.3.1-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): wayland-1.16.0-i486 Installing (pkg/local): mesa-libgbm-18.3.1-i486 Installing (pkg/local): mesa-libegl-18.3.1-i486 Installing (pkg/local): mesa-osmesa-18.3.1-i486 Installing (pkg/local): mesa-libxatracker-18.3.1-i486 Installing (pkg/local): mesa-vdpau-18.3.1-i486 Installing (pkg/local): libdrm-exynos-2.4.96-i486 Installing (pkg/local): libdrm-omap-2.4.96-i486 Installing (pkg/local): libdrm-tegra-2.4.96-i486 Installing (pkg/local): libdrm-dev-2.4.96-any Installing (pkg/local): wayland-dev-1.16.0-any Installing (pkg/local): libxfixes-dev-5.0.3-any Installing (pkg/local): libxdamage-dev-1.1.4-any Installing (pkg/local): libxext-dev-1.3.3-any Installing (pkg/local): libxxf86vm-dev-1.1.4-any Installing (pkg/local): mesa-dev-18.3.1-any Installing (pkg/local): glu-9.0.1-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): glu-dev-9.0.1-any Extracting source archive "prboom-2.5.0.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... autotools/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking checking whether to use x86 asm versions of some functions... no checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 checking whether ln -s works... yes checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking whether compiler supports -Wall... yes checking whether compiler supports -Wno-unused... yes checking whether compiler supports -Wno-switch... yes checking if malloc debugging is wanted... no checking whether compiler supports -march=native... yes checking whether compiler supports -Wextra... yes checking whether compiler supports -Wno-missing-field-initializers... yes checking whether compiler supports -Winline... yes checking whether compiler supports -Wwrite-strings... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wbad-function-cast... yes checking whether compiler supports -Wcast-align... yes checking whether compiler supports -Wcast-qual... yes checking whether compiler supports -Wdeclaration-after-statement... yes checking whether compiler supports -ffast-math... yes checking whether compiler supports -O2... yes checking whether compiler supports -fomit-frame-pointer... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for uid_t in sys/types.h... yes checking for size_t... yes checking whether sys_siglist is declared... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking asm/byteorder.h usability... yes checking asm/byteorder.h presence... yes checking for asm/byteorder.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for stricmp... no checking for strnicmp... no checking for min... no checking for max... no checking for getopt... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for vsnprintf... yes checking for mmap... yes checking for usleep... yes checking for sched_setaffinity... yes checking for pow in -lm... yes checking for OpenGL support... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.3... yes checking for SDL_JoystickGetAxis... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_UDP_Bind in -lSDL_net... yes checking for png_create_info_struct in -lpng... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/POSIX/Makefile config.status: creating src/SDL/Makefile config.status: creating src/MAC/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating ICONS/Makefile config.status: creating VisualC6/Makefile config.status: creating VisualC8/Makefile config.status: creating prboom.spec config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' Making all in doc make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/doc' Making all in data make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/data' Making all in src make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' Making all in SDL make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/SDL' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_main.o -MD -MP -MF .deps/i_main.Tpo -c -o i_main.o i_main.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_network.o -MD -MP -MF .deps/i_network.Tpo -c -o i_network.o i_network.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_video.o -MD -MP -MF .deps/i_video.Tpo -c -o i_video.o i_video.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_sound.o -MD -MP -MF .deps/i_sound.Tpo -c -o i_sound.o i_sound.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_system.o -MD -MP -MF .deps/i_system.Tpo -c -o i_system.o i_system.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_joy.o -MD -MP -MF .deps/i_joy.Tpo -c -o i_joy.o i_joy.c i_video.c: In function 'I_CalculateRes': i_video.c:519:27: warning: pointer targets in passing argument 1 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); ^~~~~~ i_video.c:453:13: note: expected 'int *' but argument is of type 'unsigned int *' static void I_ClosestResolution (int *width, int *height, int flags) ^~~~~~~~~~~~~~~~~~~ i_video.c:519:35: warning: pointer targets in passing argument 2 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); ^~~~~~~ i_video.c:453:13: note: expected 'int *' but argument is of type 'unsigned int *' static void I_ClosestResolution (int *width, int *height, int flags) ^~~~~~~~~~~~~~~~~~~ i_video.c: In function 'I_SkipFrame': i_video.c:281:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!paused) ^ i_video.c:283:3: note: here default: ^~~~~~~ i_main.c: In function 'main': i_main.c:359:10: warning: assignment to 'const char * const*' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] myargv = argv; ^ mv -f .deps/i_joy.Tpo .deps/i_joy.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_sshot.o -MD -MP -MF .deps/i_sshot.Tpo -c -o i_sshot.o i_sshot.c i_system.c: In function 'I_FindFile': i_system.c:358:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(search)/sizeof(*search); i++) { ^ mv -f .deps/i_main.Tpo .deps/i_main.Po mv -f .deps/i_network.Tpo .deps/i_network.Po mv -f .deps/i_video.Tpo .deps/i_video.Po mv -f .deps/i_system.Tpo .deps/i_system.Po mv -f .deps/i_sound.Tpo .deps/i_sound.Po mv -f .deps/i_sshot.Tpo .deps/i_sshot.Po rm -f libsdldoom.a ar cru libsdldoom.a i_main.o i_network.o i_video.o i_sound.o i_system.o i_joy.o i_sshot.o i486-slitaz-linux-ranlib libsdldoom.a make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/SDL' Making all in POSIX make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/POSIX' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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 -MT i_system.o -MD -MP -MF .deps/i_system.Tpo -c -o i_system.o i_system.c mv -f .deps/i_system.Tpo .deps/i_system.Po rm -f libposixdoom.a ar cru libposixdoom.a i_system.o i486-slitaz-linux-ranlib libposixdoom.a make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/POSIX' Making all in MAC make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/MAC' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/MAC' make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT mmus2mid.o -MD -MP -MF .deps/mmus2mid.Tpo -c -o mmus2mid.o mmus2mid.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT am_map.o -MD -MP -MF .deps/am_map.Tpo -c -o am_map.o am_map.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT g_game.o -MD -MP -MF .deps/g_game.Tpo -c -o g_game.o g_game.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_mobj.o -MD -MP -MF .deps/p_mobj.Tpo -c -o p_mobj.o p_mobj.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_demo.o -MD -MP -MF .deps/r_demo.Tpo -c -o r_demo.o r_demo.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_segs.o -MD -MP -MF .deps/r_segs.Tpo -c -o r_segs.o r_segs.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) ^~ g_game.c: In function 'G_BuildTiccmd': g_game.c:462:35: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) ^~ g_game.c:485:15: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] if (bstrafe != dclickstate2 && dclicktime2 > 1 ) ^~ g_game.c: In function 'G_DoLoadLevel': g_game.c:628:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (mousebuttons, 0, sizeof(mousebuttons)); ^ g_game.c:629:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (joybuttons, 0, sizeof(joybuttons)); ^ g_game.c: In function 'G_DoLoadGame': g_game.c:1582:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(save_p, vcheck, VERSIONSIZE)) { ^~~~~~ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: g_game.c:1607:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = malloc(strlen(save_p + sizeof checksum) + 128); ~~~~~~~^~~~~~~~~~~~~~~~~ z_zone.h:113:37: note: in definition of macro 'malloc' #define malloc(n) Z_Malloc(n,PU_STATIC,0) ^ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ g_game.c:1610:59: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(strcat(msg,"Wads expected:\n\n"), save_p + sizeof checksum); ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ g_game.c:1621:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] save_p += strlen(save_p)+1; ^~~~~~ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ g_game.c:1642:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] save_p = (char*)G_ReadOptions(save_p); ^ g_game.c:1642:10: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] save_p = (char*)G_ReadOptions(save_p); ^ g_game.c: In function 'G_DoSaveGame': g_game.c:1805:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(save_p, w); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (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, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384: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 of integer expressions of different signedness: 'int' and 'unsigned int' [-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 of integer expressions of different signedness: 'complevel_t' {aka 'enum '} and 'int' [-Wsign-compare] if (compatibility_level == -1) ^~ mv -f .deps/r_demo.Tpo .deps/r_demo.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT hu_lib.o -MD -MP -MF .deps/hu_lib.Tpo -c -o hu_lib.o hu_lib.c g_game.c: In function 'G_WriteDemoTiccmd': g_game.c:2255:10: warning: pointer targets in assignment from 'char *' to 'const byte *' {aka 'const unsigned char *'} 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 were 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 were 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 were guarded by the 'else' break; ^~~~~ g_game.c: In function 'G_WorldDone': g_game.c:1403:14: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!secretexit) ^ g_game.c:1405:9: note: here case 6: ^~~~ mv -f .deps/mmus2mid.Tpo .deps/mmus2mid.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT lprintf.o -MD -MP -MF .deps/lprintf.Tpo -c -o lprintf.o lprintf.c mv -f .deps/lprintf.Tpo .deps/lprintf.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_plats.o -MD -MP -MF .deps/p_plats.Tpo -c -o p_plats.o p_plats.c mv -f .deps/hu_lib.Tpo .deps/hu_lib.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_sky.o -MD -MP -MF .deps/r_sky.Tpo -c -o r_sky.o r_sky.c mv -f .deps/r_sky.Tpo .deps/r_sky.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT d_deh.o -MD -MP -MF .deps/d_deh.Tpo -c -o d_deh.o d_deh.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 of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i=0;isidemove = (signed char)at; ^~~~~~~~~~~~~~~ mv -f .deps/m_argv.Tpo .deps/m_argv.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_pspr.o -MD -MP -MF .deps/p_pspr.Tpo -c -o p_pspr.o p_pspr.c mv -f .deps/am_map.Tpo .deps/am_map.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT m_bbox.o -MD -MP -MF .deps/m_bbox.Tpo -c -o m_bbox.o m_bbox.c p_pspr.c: In function 'A_Saw': p_pspr.c:553:35: warning: comparison of integer expressions of different signedness: 'angle_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (angle - player->mo->angle < -ANG90/20) ^ p_pspr.c: In function 'P_SwitchWeapon': p_pspr.c:169:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!player->powers[pw_strength]) // allow chainsaw override ^ p_pspr.c:171:7: note: here case 0: ^~~~ mv -f .deps/m_bbox.Tpo .deps/m_bbox.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_saveg.o -MD -MP -MF .deps/p_saveg.Tpo -c -o p_saveg.o p_saveg.c mv -f .deps/r_segs.Tpo .deps/r_segs.Po mv -f .deps/g_game.Tpo .deps/g_game.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_things.o -MD -MP -MF .deps/r_things.Tpo -c -o r_things.o r_things.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT d_items.o -MD -MP -MF .deps/d_items.Tpo -c -o d_items.o d_items.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; ^ mv -f .deps/d_items.Tpo .deps/d_items.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT m_cheat.o -MD -MP -MF .deps/m_cheat.Tpo -c -o m_cheat.o m_cheat.c m_cheat.c: In function 'cheat_tntweapx': m_cheat.c:620:16: warning: comparison of integer expressions of different signedness: 'int' and 'weapontype_t' {aka 'enum '} [-Wsign-compare] if (w==plyr->readyweapon) // maybe switch if weapon removed ^~ mv -f .deps/p_pspr.Tpo .deps/p_pspr.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_setup.o -MD -MP -MF .deps/p_setup.Tpo -c -o p_setup.o p_setup.c mv -f .deps/d_deh.Tpo .deps/d_deh.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT s_sound.o -MD -MP -MF .deps/s_sound.Tpo -c -o s_sound.o s_sound.c mv -f .deps/hu_stuff.Tpo .deps/hu_stuff.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT d_main.o -MD -MP -MF .deps/d_main.Tpo -c -o d_main.o 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]) \ ^ mv -f .deps/m_cheat.Tpo .deps/m_cheat.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_sight.o -MD -MP -MF .deps/p_sight.Tpo -c -o p_sight.o p_sight.c mv -f .deps/p_saveg.Tpo .deps/p_saveg.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sounds.o -MD -MP -MF .deps/sounds.Tpo -c -o sounds.o sounds.c mv -f .deps/s_sound.Tpo .deps/s_sound.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT m_menu.o -MD -MP -MF .deps/m_menu.Tpo -c -o m_menu.o m_menu.c mv -f .deps/sounds.Tpo .deps/sounds.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_spec.o -MD -MP -MF .deps/p_spec.Tpo -c -o p_spec.o p_spec.c mv -f .deps/r_things.Tpo .deps/r_things.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT info.o -MD -MP -MF .deps/info.Tpo -c -o info.o info.c In file included from doomdef.h:49, 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; ^ mv -f .deps/p_sight.Tpo .deps/p_sight.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT st_lib.o -MD -MP -MF .deps/st_lib.Tpo -c -o st_lib.o st_lib.c In file included from doomdef.h:49, 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) ^ mv -f .deps/info.Tpo .deps/info.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT m_misc.o -MD -MP -MF .deps/m_misc.Tpo -c -o m_misc.o m_misc.c m_menu.c: In function 'M_Responder': m_menu.c:4638:27: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] if (ptr2->m_group == group && ptr1 != ptr2) ^~ p_spec.c: In function 'P_SpawnScrollers': p_spec.c:2806:14: warning: this statement may fall through [-Wimplicit-fallthrough=] if (special != 253) ^ p_spec.c:2809:9: note: here case 252: // carry objects on floor ^~~~ m_menu.c:4675:27: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] if (ptr2->m_group == group && ptr1 != ptr2) ^~ m_menu.c:4707:21: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] ptr2->m_group == group && ^~ In file included from doomdef.h:49, 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) ^ m_menu.c: In function 'M_ReadSaveStrings': m_menu.c:852:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_menu.c: In function 'M_Init': m_menu.c:5538:18: warning: this statement may fall through [-Wimplicit-fallthrough=] ReadDef2.y = 15; ~~~~~~~~~~~^~~~ m_menu.c:5540:5: note: here case shareware: ^~~~ m_misc.c:316:20: warning: pointer targets in initialization of 'int *' from 'unsigned int *' 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 of 'int *' from 'unsigned int *' 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:361:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] {"gl_tex_filter_string", {NULL,&gl_tex_filter_string}, {0,"GL_LINEAR"},UL,UL, ^ m_misc.c:361:34: note: (near initialization for 'defaults[94].location.ppsz') m_misc.c:363:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] {"gl_tex_format_string", {NULL,&gl_tex_format_string}, {0,"GL_RGB5_A1"},UL,UL, ^ m_misc.c:363:34: note: (near initialization for 'defaults[95].location.ppsz') 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, 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) ^ mv -f .deps/st_lib.Tpo .deps/st_lib.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_switch.o -MD -MP -MF .deps/p_switch.Tpo -c -o p_switch.o p_switch.c mv -f .deps/m_misc.Tpo .deps/m_misc.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_telept.o -MD -MP -MF .deps/p_telept.Tpo -c -o p_telept.o p_telept.c mv -f .deps/p_setup.Tpo .deps/p_setup.Po 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; ~~~~~~^~~ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT st_stuff.o -MD -MP -MF .deps/st_stuff.Tpo -c -o st_stuff.o st_stuff.c mv -f .deps/d_main.Tpo .deps/d_main.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT m_random.o -MD -MP -MF .deps/m_random.Tpo -c -o m_random.o m_random.c mv -f .deps/p_switch.Tpo .deps/p_switch.Po mv -f .deps/p_telept.Tpo .deps/p_telept.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_tick.o -MD -MP -MF .deps/p_tick.Tpo -c -o p_tick.o p_tick.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT tables.o -MD -MP -MF .deps/tables.Tpo -c -o tables.o tables.c mv -f .deps/m_random.Tpo .deps/m_random.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_user.o -MD -MP -MF .deps/p_user.Tpo -c -o p_user.o p_user.c mv -f .deps/tables.Tpo .deps/tables.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_ceilng.o -MD -MP -MF .deps/p_ceilng.Tpo -c -o p_ceilng.o 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) ^~ p_ceilng.c: In function 'T_MoveCeiling': p_ceilng.c:113:41: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->sector->oldspecial = ceiling->oldspecial; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:114:11: note: here case genCeilingChg: ^~~~ p_ceilng.c:121:13: warning: this statement may fall through [-Wimplicit-fallthrough=] S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:122:11: note: here case genSilentCrusher: ^~~~ p_ceilng.c:177:13: warning: this statement may fall through [-Wimplicit-fallthrough=] S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:178:11: note: here case crushAndRaise: ^~~~ p_ceilng.c:179:28: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->speed = CEILSPEED; p_ceilng.c:180:11: note: here case fastCrushAndRaise: ^~~~ p_ceilng.c:190:41: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->sector->oldspecial = ceiling->oldspecial; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:191:11: note: here case genCeilingChg: ^~~~ p_ceilng.c: In function 'EV_DoCeiling': p_ceilng.c:304:28: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->topheight = sec->ceilingheight; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p_ceilng.c:305:7: note: here case lowerAndCrush: ^~~~ mv -f .deps/p_tick.Tpo .deps/p_tick.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT v_video.o -MD -MP -MF .deps/v_video.Tpo -c -o v_video.o v_video.c st_stuff.c: In function 'ST_Init': st_stuff.c:879:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(namebuf, "STYSNUM%d", i); ^ In file included from /usr/include/stdio.h:873, from z_zone.h:52, from doomdef.h:49, from st_stuff.c:36: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 10 bytes into a destination of size 9 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/st_stuff.Tpo .deps/st_stuff.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT doomdef.o -MD -MP -MF .deps/doomdef.Tpo -c -o doomdef.o doomdef.c mv -f .deps/p_ceilng.Tpo .deps/p_ceilng.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_doors.o -MD -MP -MF .deps/p_doors.Tpo -c -o p_doors.o p_doors.c v_video.c: In function 'V_DrawMemPatch': v_video.c:293:61: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-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 from 'int *' to 'unsigned int *' differ in signedness [-Wpointer-sign] Palettes32 = (int*)malloc(numPals*256*sizeof(int)*VID_NUMCOLORWEIGHTS); ^ v_video.c:572:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] Palettes16 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); ^ v_video.c:602:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] Palettes15 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); ^ mv -f .deps/doomdef.Tpo .deps/doomdef.Po mv -f .deps/p_user.Tpo .deps/p_user.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_enemy.o -MD -MP -MF .deps/p_enemy.Tpo -c -o p_enemy.o p_enemy.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_bsp.o -MD -MP -MF .deps/r_bsp.Tpo -c -o r_bsp.o r_bsp.c p_doors.c: In function 'T_VerticalDoor': p_doors.c:204:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!comp[comp_blazing]) { ^ p_doors.c:209:11: note: here default: // other types bounce off the obstruction ^~~~~~~ p_enemy.c: In function 'P_SmartMove': p_enemy.c:450:47: warning: comparison of integer expressions of different signedness: 'mobjtype_t' {aka 'enum '} and 'int' [-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 of integer expressions of different signedness: 'dirtype_t' {aka 'enum '} and 'int' [-Wsign-compare] for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) ^~ mv -f .deps/p_spec.Tpo .deps/p_spec.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c mv -f .deps/version.Tpo .deps/version.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT doomstat.o -MD -MP -MF .deps/doomstat.Tpo -c -o doomstat.o doomstat.c mv -f .deps/p_doors.Tpo .deps/p_doors.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_floor.o -MD -MP -MF .deps/p_floor.Tpo -c -o p_floor.o p_floor.c mv -f .deps/doomstat.Tpo .deps/doomstat.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_data.o -MD -MP -MF .deps/r_data.Tpo -c -o r_data.o 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) || ^~~~~~~~~~~~~~~~~~~~ mv -f .deps/v_video.Tpo .deps/v_video.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT w_wad.o -MD -MP -MF .deps/w_wad.Tpo -c -o w_wad.o w_wad.c p_floor.c: In function 'EV_DoFloor': p_floor.c:507:22: warning: this statement may fall through [-Wimplicit-fallthrough=] floor->crush = true; ~~~~~~~~~~~~~^~~~~~ p_floor.c:508:7: note: here case raiseFloor: ^~~~ r_data.c: In function 'R_InitTextures': r_data.c:259:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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' [-Wdangling-else] if (curline) ^ In file included from doomdef.h:49, 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:51: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-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) ^ mv -f .deps/r_bsp.Tpo .deps/r_bsp.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_genlin.o -MD -MP -MF .deps/p_genlin.Tpo -c -o p_genlin.o p_genlin.c w_wad.c: In function 'W_CheckNumForName': w_wad.c:331:46: warning: comparison of integer expressions of different signedness: 'enum ' and 'int' [-Wsign-compare] lumpinfo[i].li_namespace != li_namespace)) ^~ mv -f .deps/m_menu.Tpo .deps/m_menu.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT dstrings.o -MD -MP -MF .deps/dstrings.Tpo -c -o dstrings.o dstrings.c mv -f .deps/w_wad.Tpo .deps/w_wad.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_inter.o -MD -MP -MF .deps/p_inter.Tpo -c -o p_inter.o p_inter.c mv -f .deps/dstrings.Tpo .deps/dstrings.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT wi_stuff.o -MD -MP -MF .deps/wi_stuff.Tpo -c -o wi_stuff.o wi_stuff.c mv -f .deps/p_floor.Tpo .deps/p_floor.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_draw.o -MD -MP -MF .deps/r_draw.Tpo -c -o r_draw.o r_draw.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 were guarded by the 'if' break; ^~~~~ mv -f .deps/r_data.Tpo .deps/r_data.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT f_finale.o -MD -MP -MF .deps/f_finale.Tpo -c -o f_finale.o f_finale.c mv -f .deps/p_genlin.Tpo .deps/p_genlin.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_lights.o -MD -MP -MF .deps/p_lights.Tpo -c -o p_lights.o 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 were guarded by the 'if' sector->lightlevel = tbright; ^~~~~~ mv -f .deps/f_finale.Tpo .deps/f_finale.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT z_bmalloc.o -MD -MP -MF .deps/z_bmalloc.Tpo -c -o z_bmalloc.o z_bmalloc.c mv -f .deps/p_inter.Tpo .deps/p_inter.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_map.o -MD -MP -MF .deps/p_map.Tpo -c -o p_map.o p_map.c mv -f .deps/p_lights.Tpo .deps/p_lights.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_main.o -MD -MP -MF .deps/r_main.Tpo -c -o r_main.o r_main.c mv -f .deps/z_bmalloc.Tpo .deps/z_bmalloc.Po 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 ^ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT f_wipe.o -MD -MP -MF .deps/f_wipe.Tpo -c -o f_wipe.o f_wipe.c mv -f .deps/p_enemy.Tpo .deps/p_enemy.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT z_zone.o -MD -MP -MF .deps/z_zone.Tpo -c -o z_zone.o z_zone.c 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 were guarded by the 'if' if (li->flags & ML_TWOSIDED) ^~ r_main.c: In function 'R_ShowStats': r_main.c:540:5: warning: "USE_SDL" is not defined, evaluates to 0 [-Wundef] #if USE_SDL ^~~~~~~ wi_stuff.c: In function 'WI_loadData': wi_stuff.c:1850:33: warning: '%.2d' directive writing between 2 and 10 bytes into a region of size between 0 and 5 [-Wformat-overflow=] sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); ^~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); ^~~~~~~~~~~~~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:873, from z_zone.h:52, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from wi_stuff.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 35 bytes into a destination of size 9 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/wi_stuff.Tpo .deps/wi_stuff.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_maputl.o -MD -MP -MF .deps/p_maputl.Tpo -c -o p_maputl.o p_maputl.c mv -f .deps/z_zone.Tpo .deps/z_zone.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_plane.o -MD -MP -MF .deps/r_plane.Tpo -c -o r_plane.o r_plane.c mv -f .deps/f_wipe.Tpo .deps/f_wipe.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o 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 */ ^ mv -f .deps/r_main.Tpo .deps/r_main.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT p_checksum.o -MD -MP -MF .deps/p_checksum.Tpo -c -o p_checksum.o p_checksum.c mv -f .deps/md5.Tpo .deps/md5.Po mv -f .deps/r_plane.Tpo .deps/r_plane.Po mv -f .deps/p_checksum.Tpo .deps/p_checksum.Po mv -f .deps/p_maputl.Tpo .deps/p_maputl.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_patch.o -MD -MP -MF .deps/r_patch.Tpo -c -o r_patch.o r_patch.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_fps.o -MD -MP -MF .deps/r_fps.Tpo -c -o r_fps.o r_fps.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT r_filter.o -MD -MP -MF .deps/r_filter.Tpo -c -o r_filter.o r_filter.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT d_client.o -MD -MP -MF .deps/d_client.Tpo -c -o d_client.o d_client.c r_filter.c:35:52: warning: missing braces around initializer [-Wmissing-braces] byte filter_ditherMatrix[DITHER_DIM][DITHER_DIM] = { ^ 0*DMR, 14*DMR, 3*DMR, 13*DMR, 11*DMR, 5*DMR, 8*DMR, 6*DMR, { } { } 12*DMR, 2*DMR, 15*DMR, 1*DMR, 7*DMR, 9*DMR, 4*DMR, 10*DMR { } { }; } r_filter.c: In function 'R_FilterInit': r_filter.c:79:3: warning: multi-line comment [-Wcomment] // /4 \ ^ mv -f .deps/r_filter.Tpo .deps/r_filter.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT gl_main.o -MD -MP -MF .deps/gl_main.Tpo -c -o gl_main.o gl_main.c mv -f .deps/p_map.Tpo .deps/p_map.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT gl_texture.o -MD -MP -MF .deps/gl_texture.Tpo -c -o gl_texture.o gl_texture.c d_client.c: In function 'D_InitNetGame': d_client.c:148:17: warning: pointer targets in initialization of 'char *' from 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] char *p = sinfo->wadnames; ^~~~~ In file included from gl_main.c:46: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from gl_main.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 mv -f .deps/r_fps.Tpo .deps/r_fps.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT w_mmap.o -MD -MP -MF .deps/w_mmap.Tpo -c -o w_mmap.o w_mmap.c gl_main.c: In function 'gld_Init': gl_main.c:340:30: warning: pointer targets in initialization of 'const char *' from 'const GLubyte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] const char *extensions = glGetString(GL_EXTENSIONS); ^~~~~~~~~~~ In file included from gl_main.c:47: doomtype.h:58:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ gl_main.c:351:19: note: in expansion of macro 'MIN' int len = MIN(p-rover, sizeof(ext_name)-1); ^~~ doomtype.h:58:27: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] #define MIN(a,b) ((a)<(b)?(a):(b)) ^~~ gl_main.c:351:19: note: in expansion of macro 'MIN' int len = MIN(p-rover, sizeof(ext_name)-1); ^~~ gl_main.c:362:22: warning: pointer targets in passing argument 1 of 'gld_InitExtensions' differ in signedness [-Wpointer-sign] gld_InitExtensions(glGetString(GL_EXTENSIONS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gl_main.c:276:13: note: expected 'const char *' but argument is of type 'const GLubyte *' {aka 'const unsigned char *'} static void gld_InitExtensions(const char *_extensions) ^~~~~~~~~~~~~~~~~~ mv -f .deps/d_client.Tpo .deps/d_client.Po gl_main.c: In function 'gld_EndDrawScene': gl_main.c:1845:28: warning: left shift of negative value [-Wshift-negative-value] viewangleoffset >=-1024<mipmap & use_mipmapping) & gl_paletted_texture) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:508:37: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:511:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ gl_texture.c: In function 'gld_BindPatch': gl_texture.c:654:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&gltexture->glTexID[cm]); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ gl_texture.c: In function 'gld_BindFlat': gl_texture.c:776:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:780:49: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:782:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ gl_texture.c: In function 'gld_CleanTextures': gl_texture.c:856:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures(1,&(gld_GLTextures[i]->glTexID[j])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ gl_texture.c: In function 'gld_CleanPatchTextures': gl_texture.c:874:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures(1,&(gld_GLPatchTextures[i]->glTexID[j])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ gl_texture.c: In function 'gld_Precache': gl_texture.c:891:53: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] hitlist = Z_Malloc((size_t)numtextures > size ? numtextures : size,PU_LEVEL,0); ^~~~~~~~~~~ mv -f .deps/w_mmap.Tpo .deps/w_mmap.Po mv -f .deps/r_patch.Tpo .deps/r_patch.Po d_server.c: In function 'n_players_in_state': d_server.c:234:22: warning: comparison of integer expressions of different signedness: 'enum ' and 'int' [-Wsign-compare] if (playerstate[i] == ps) j++; ^~ d_server.c: In function 'main': d_server.c:522:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(sinfo->wadnames + extrabytes, wadname[i]); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from d_server.c:40: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (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)); ~^ ~~~~~~~~~~~~ %ld 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); ~^ ~~~~~~~~~~~~ %ld d_server.c:578:7: warning: this statement may fall through [-Wimplicit-fallthrough=] { ^ d_server.c:596:5: note: here case PKT_EXTRA: ^~~~ mv -f .deps/gl_texture.Tpo .deps/gl_texture.Po mv -f .deps/d_server.Tpo .deps/d_server.Po i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-Os,--as-needed -o prboom-game-server d_server.o POSIX/libposixdoom.a SDL/i_network.o -lSDL_net -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lpng -lSDL_mixer -lm mv -f .deps/gl_main.Tpo .deps/gl_main.Po mv -f .deps/r_draw.Tpo .deps/r_draw.Po i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-unused -Wno-switch -march=native -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/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-Os,--as-needed -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 gl_main.o gl_texture.o w_mmap.o SDL/libsdldoom.a -lSDL_net -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lGL -lGLU -lpng -lSDL_mixer -lm make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' Making all in ICONS make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/ICONS' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/ICONS' Making all in VisualC8 make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC8' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC8' Making all in VisualC6 make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC6' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC6' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' Making install in doc make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/doc' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/doc' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/doc/prboom-2.5.0" || ../autotools/install-sh -c -d "/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0" test -z "/usr/share/man/man5" || ../autotools/install-sh -c -d "/home/slitaz/wok/prboom/install/usr/share/man/man5" test -z "/usr/share/man/man6" || ../autotools/install-sh -c -d "/home/slitaz/wok/prboom/install/usr/share/man/man6" /usr/bin/install -c -m 644 'boom.txt' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/boom.txt' /usr/bin/install -c -m 644 'MBF.txt' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/MBF.txt' /usr/bin/install -c -m 644 'MBFFAQ.txt' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/MBFFAQ.txt' /usr/bin/install -c -m 644 './boom.cfg.5' '/home/slitaz/wok/prboom/install/usr/share/man/man5/boom.cfg.5' /usr/bin/install -c -m 644 './prboom.6' '/home/slitaz/wok/prboom/install/usr/share/man/man6/prboom.6' /usr/bin/install -c -m 644 'README.demos' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/README.demos' /usr/bin/install -c -m 644 'README.compat' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/README.compat' /usr/bin/install -c -m 644 './prboom-game-server.6' '/home/slitaz/wok/prboom/install/usr/share/man/man6/prboom-game-server.6' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/doc' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/doc' Making install in data make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/data' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/data' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/games/doom" || ../autotools/install-sh -c -d "/home/slitaz/wok/prboom/install/usr/share/games/doom" /usr/bin/install -c -m 644 'prboom.wad' '/home/slitaz/wok/prboom/install/usr/share/games/doom/prboom.wad' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/data' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/data' Making install in src make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' Making install in SDL make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/SDL' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/SDL' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/SDL' Making install in POSIX make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/POSIX' make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/POSIX' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/POSIX' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/POSIX' Making install in MAC make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/MAC' make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/MAC' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/MAC' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src/MAC' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' make[3]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/games" || ../autotools/install-sh -c -d "/home/slitaz/wok/prboom/install/usr/games" /usr/bin/install -c 'prboom' '/home/slitaz/wok/prboom/install/usr/games/prboom' /usr/bin/install -c 'prboom-game-server' '/home/slitaz/wok/prboom/install/usr/games/prboom-game-server' make[3]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/src' Making install in ICONS make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/ICONS' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/ICONS' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/ICONS' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/ICONS' Making install in VisualC8 make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC8' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC8' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC8' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC8' Making install in VisualC6 make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC6' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC6' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC6' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0/VisualC6' make[1]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' make[2]: Entering directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/doc/prboom-2.5.0" || autotools/install-sh -c -d "/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0" /usr/bin/install -c -m 644 'README' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/README' /usr/bin/install -c -m 644 'COPYING' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/COPYING' /usr/bin/install -c -m 644 'AUTHORS' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/AUTHORS' /usr/bin/install -c -m 644 'NEWS' '/home/slitaz/wok/prboom/install/usr/share/doc/prboom-2.5.0/NEWS' make[2]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' make[1]: Leaving directory '/home/slitaz/wok/prboom/source/prboom-2.5.0' ================================================================================ Executing strip on all files... Done Time: 1.22s. Size: 994940 B -> 887976 B. Save: 104 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.87s. Size: 27218 B -> 10861 B. Save: 16 KB. Cache hit: 3/3. Installing (pkg/local): pngquant-static-2.12.2-i486 Installing (pkg/local): optipng-static-0.7.7-i486 Compressing png images... Done Time: 2.85s. Size: 32783 B -> 10870 B. Save: 21 KB. Cache hit: 1/1. Installing (pkg/local): desktop-file-validate-static-0.23-i486 QA: Checking prboom.desktop... |--- /home/slitaz/wok/prboom/install/usr/share/applications/prboom.desktop.orig |+++ /home/slitaz/wok/prboom/install/usr/share/applications/prboom.desktop |@@ -1,8 +1,7 @@ | [Desktop Entry] |-Encoding=UTF-8 |+Type=Application | Name=PrBoom | Comment=DooM for Linux | Exec=prboom | Icon=prboom |-Type=Application |-Categories=Application;Game; |+Categories=Game; Done Time: 2.97s. Size: 136 B -> 109 B. Save: 0 KB. ================================================================================ Build dependencies to remove: 85 Removing: advancecomp-static alsa-lib dbus desktop-file-validate-static eudev flac fluidsynth fluidsynth-dev glib glu glu-dev jack ladspa libdb libdrm libdrm-amdgpu libdrm-dev libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau libdrm-omap libdrm-radeon libdrm-tegra libice libllvm libltdl libogg libpciaccess libpcre libpng libpng-dev libsamplerate libsm libsndfile libvorbis libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdamage libxdamage-dev libxdmcp libxdmcp-dev libxext libxext-dev libxfixes libxfixes-dev libxml2 libxshmfence libxtst libxxf86vm libxxf86vm-dev linux-agp linux-drm mesa mesa-dev mesa-dri mesa-libegl mesa-libgbm mesa-libxatracker mesa-osmesa mesa-vdpau optipng-static pngquant-static pulseaudio sdl sdl-dev sdl-mixer sdl-mixer-dev sdl-net sdl-net-dev speexdsp tslib tslib-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid wayland wayland-dev xorgproto zlib-dev Pack: prboom 2.5.0 ================================================================================ Executing: genpkg_rules Creating package tree Copying package files Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "prboom-2.5.0-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "prboom-2.5.0-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/prboom-2.5.0... Done Checking site script in source/prboom-2.5.0... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Debug information packerr. ================================================================================ Cook date: 2020-09-13 01:14 Wasted time : 87s ~ 01m 27s 37:chroot: can't execute '/usr/bin/glib-compile-schemas': No such file or directory ================================================================================