>>> Building on exopi-6 under games/prboom BDEPENDS = [devel/metaauto;devel/autoconf/2.61;graphics/png;devel/sdl-net;devel/sdl-mixer] DIST = [games/prboom:prboom-2.5.0.tar.gz] FULLPKGNAME = prboom-2.5.0p4 RDEPENDS = [audio/timidity;devel/sdl-net;devel/sdl-mixer;graphics/png] (Junk lock obtained for exopi-6 at 1731877671.69) >>> Running depends in games/prboom at 1731877671.74 last junk was in emulators/mame /usr/sbin/pkg_add -aI -Drepair autoconf-2.61p5 png-1.6.44 sdl-mixer-1.2.12p5 sdl-net-1.2.8p4 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.61p5 metaauto-1.0p4 png-1.6.44 sdl-mixer-1.2.12p5 sdl-net-1.2.8p4 /usr/sbin/pkg_add -aI -Drepair autoconf-2.61p5 png-1.6.44 sdl-mixer-1.2.12p5 sdl-net-1.2.8p4 >>> Running show-prepare-results in games/prboom at 1731877673.52 ===> games/prboom ===> Building from scratch prboom-2.5.0p4 ===> prboom-2.5.0p4 depends on: metaauto-* -> metaauto-1.0p4 ===> prboom-2.5.0p4 depends on: autoconf-2.61 -> autoconf-2.61p5 ===> prboom-2.5.0p4 depends on: sdl-mixer-* -> sdl-mixer-1.2.12p5 ===> prboom-2.5.0p4 depends on: sdl-net-* -> sdl-net-1.2.8p4 ===> prboom-2.5.0p4 depends on: png-* -> png-1.6.44 ===> Verifying specs: SDL c m pthread GL GLU SDL_mixer>=3 SDL_net>=1 png>=4 ===> found SDL.8.0 c.100.3 m.10.1 pthread.27.1 GL.19.1 GLU.9.0 SDL_mixer.5.0 SDL_net.2.0 png.18.0 autoconf-2.61p5 metaauto-1.0p4 png-1.6.44 sdl-mixer-1.2.12p5 sdl-net-1.2.8p4 (Junk lock released for exopi-6 at 1731877674.68) distfiles size=1049505 >>> Running build in games/prboom at 1731877674.72 ===> games/prboom ===> Checking files for prboom-2.5.0p4 `/exopi-cvs/ports/distfiles/prboom-2.5.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for prboom-2.5.0p4 ===> Patching for prboom-2.5.0p4 ===> Applying OpenBSD patch patch-autotools_ac_c_compile_flags_m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: autotools/ac_c_compile_flags.m4 |--- autotools/ac_c_compile_flags.m4.orig |+++ autotools/ac_c_compile_flags.m4 -------------------------- Patching file autotools/ac_c_compile_flags.m4 using Plan A... Hunk #1 succeeded at 5. done ===> Applying OpenBSD patch patch-configure_ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: configure.ac |--- configure.ac.orig |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 26. done ===> Applying OpenBSD patch patch-src_SDL_i_sshot_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with png-1.5. | |--- src/SDL/i_sshot.c.orig Wed Mar 27 00:17:06 2013 |+++ src/SDL/i_sshot.c Wed Mar 27 00:18:10 2013 -------------------------- Patching file src/SDL/i_sshot.c using Plan A... Hunk #1 succeeded at 231. Hunk #2 succeeded at 279. done ===> Applying OpenBSD patch patch-src_gl_intern_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/gl_intern.h |--- src/gl_intern.h.orig |+++ src/gl_intern.h -------------------------- Patching file src/gl_intern.h using Plan A... Hunk #1 succeeded at 83. done ===> Applying OpenBSD patch patch-src_gl_main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/gl_main.c |--- src/gl_main.c.orig |+++ src/gl_main.c -------------------------- Patching file src/gl_main.c using Plan A... Hunk #1 succeeded at 83. done ===> Applying OpenBSD patch patch-src_m_fixed_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/m_fixed.h |--- src/m_fixed.h.orig |+++ src/m_fixed.h -------------------------- Patching file src/m_fixed.h using Plan A... Hunk #1 succeeded at 113. Hunk #2 succeeded at 186. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for prboom-2.5.0p4 Running autoconf-2.61 in /exopi-obj/pobj/prboom-2.5.0/prboom-2.5.0 Running autoheader-2.61 in /exopi-obj/pobj/prboom-2.5.0/prboom-2.5.0 ===> Configuring for prboom-2.5.0p4 Using /exopi-obj/pobj/prboom-2.5.0/config.site (generated) configure: loading site script /exopi-obj/pobj/prboom-2.5.0/config.site checking build system type... x86_64-unknown-openbsd7.6 checking host system type... x86_64-unknown-openbsd7.6 checking target system type... x86_64-unknown-openbsd7.6 checking for a BSD-compatible install... /exopi-obj/pobj/prboom-2.5.0/bin/install -c checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking checking whether to use x86 asm versions of some functions... no checking for gcc... cc 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether ln -s works... yes checking for ranlib... (cached) 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 -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... (cached) yes checking for inline... inline checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for uid_t in sys/types.h... (cached) yes checking for size_t... (cached) yes checking whether sys_siglist is declared... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for unistd.h... (cached) yes checking asm/byteorder.h usability... no checking asm/byteorder.h presence... no checking for asm/byteorder.h... no 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... (cached) yes checking for inet_aton... (cached) yes checking for inet_pton... (cached) yes checking for inet_ntop... (cached) yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for mmap... (cached) yes checking for usleep... (cached) yes checking for sched_setaffinity... no checking for pow in -lm... (cached) yes checking for OpenGL support... yes checking for sdl-config... /usr/local/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 ===> Building for prboom-2.5.0p4 /usr/bin/make all-recursive Making all in doc Making all in data Making all in src Making all in SDL cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_main.o -MD -MP -MF .deps/i_main.Tpo -c -o i_main.o i_main.c i_main.c:359:10: warning: assigning to 'const char *const *' from 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] myargv = argv; ^ ~~~~ 1 warning generated. mv -f .deps/i_main.Tpo .deps/i_main.Po cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_network.o -MD -MP -MF .deps/i_network.Tpo -c -o i_network.o i_network.c i_network.c:272:27: warning: unused parameter 'fp' [-Wunused-parameter] void I_PrintAddress(FILE* fp, UDP_CHANNEL *addr) ^ i_network.c:272:44: warning: unused parameter 'addr' [-Wunused-parameter] void I_PrintAddress(FILE* fp, UDP_CHANNEL *addr) ^ 2 warnings generated. mv -f .deps/i_network.Tpo .deps/i_network.Po cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_video.o -MD -MP -MF .deps/i_video.Tpo -c -o i_video.o i_video.c mv -f .deps/i_video.Tpo .deps/i_video.Po cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_sound.o -MD -MP -MF .deps/i_sound.Tpo -c -o i_sound.o i_sound.c i_sound.c:287:72: warning: unused parameter 'priority' [-Wunused-parameter] int I_StartSound(int id, int channel, int vol, int sep, int pitch, int priority) ^ i_sound.c:398:15: warning: cast from 'Uint8 *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] leftout = (signed short *)stream; ^~~~~~~~~~~~~~~~~~~~~~ i_sound.c:399:17: warning: cast from 'Uint8 *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] rightout = ((signed short *)stream)+1; ^~~~~~~~~~~~~~~~~~~~~~ i_sound.c:378:33: warning: unused parameter 'unused' [-Wunused-parameter] static void I_UpdateSound(void *unused, Uint8 *stream, int len) ^ i_sound.c:660:21: warning: unused parameter 'handle' [-Wunused-parameter] void I_StopSong(int handle) ^ 5 warnings generated. mv -f .deps/i_sound.Tpo .deps/i_sound.Po cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_system.o -MD -MP -MF .deps/i_system.Tpo -c -o i_system.o i_system.c i_system.c:358:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < sizeof(search)/sizeof(*search); i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. mv -f .deps/i_system.Tpo .deps/i_system.Po cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_joy.o -MD -MP -MF .deps/i_joy.Tpo -c -o i_joy.o i_joy.c mv -f .deps/i_joy.Tpo .deps/i_joy.Po cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT i_sshot.o -MD -MP -MF .deps/i_sshot.Tpo -c -o i_sshot.o i_sshot.c i_sshot.c:61:34: warning: unused parameter 'p' [-Wunused-parameter] static void error_fn(png_structp p, png_const_charp s) ^ i_sshot.c:66:36: warning: unused parameter 'p' [-Wunused-parameter] static void warning_fn(png_structp p, png_const_charp s) ^ i_sshot.c:124:17: warning: cast from 'byte *' (aka 'unsigned char *') to 'Uint32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] Uint32 p = *(Uint32 *)source; ^~~~~~~~~~~~~~~~ 3 warnings generated. 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 ranlib libsdldoom.a Making all in POSIX cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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 -MT i_system.o -MD -MP -MF .deps/i_system.Tpo -c -o i_system.o i_system.c i_system.c:122:43: warning: unused parameter 'sz' [-Wunused-parameter] const char* I_SigString(char* buf, size_t sz, int signum) ^ 1 warning generated. mv -f .deps/i_system.Tpo .deps/i_system.Po rm -f libposixdoom.a ar cru libposixdoom.a i_system.o ranlib libposixdoom.a Making all in MAC cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT mmus2mid.o -MD -MP -MF .deps/mmus2mid.Tpo -c -o mmus2mid.o mmus2mid.c mv -f .deps/mmus2mid.Tpo .deps/mmus2mid.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT am_map.o -MD -MP -MF .deps/am_map.Tpo -c -o am_map.o am_map.c mv -f .deps/am_map.Tpo .deps/am_map.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT g_game.o -MD -MP -MF .deps/g_game.Tpo -c -o g_game.o g_game.c g_game.c:462:35: warning: comparison of integers of different signs: 'boolean' and 'int' [-Wsign-compare] if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ g_game.c:485:15: warning: comparison of integers of different signs: 'boolean' and 'int' [-Wsign-compare] if (bstrafe != dclickstate2 && dclicktime2 > 1 ) ~~~~~~~ ^ ~~~~~~~~~~~~ g_game.c:628:35: warning: 'memset' call operates on objects of type 'boolean' while the size is based on a different type 'boolean *' [-Wsizeof-pointer-memaccess] memset (mousebuttons, 0, sizeof(mousebuttons)); ~~~~~~~~~~~~ ^~~~~~~~~~~~ g_game.c:628:35: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset (mousebuttons, 0, sizeof(mousebuttons)); ^~~~~~~~~~~~ g_game.c:629:33: warning: 'memset' call operates on objects of type 'boolean' while the size is based on a different type 'boolean *' [-Wsizeof-pointer-memaccess] memset (joybuttons, 0, sizeof(joybuttons)); ~~~~~~~~~~ ^~~~~~~~~~ g_game.c:629:33: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset (joybuttons, 0, sizeof(joybuttons)); ^~~~~~~~~~ g_game.c:1642:19: warning: cast from 'const unsigned char *' to 'char *' drops const qualifier [-Wcast-qual] save_p = (char*)G_ReadOptions(save_p); ^ g_game.c:1721:47: warning: unused parameter 'file' [-Wunused-parameter] void (CheckSaveGame)(size_t size, const char* file, int line) ^ g_game.c:1721:57: warning: unused parameter 'line' [-Wunused-parameter] void (CheckSaveGame)(size_t size, const char* file, int line) ^ g_game.c:1974:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < sizeof(levels)/sizeof(*levels); i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_game.c:2073:27: warning: comparison of integers of different signs: 'complevel_t' and 'int' [-Wsign-compare] if (compatibility_level == -1) ~~~~~~~~~~~~~~~~~~~ ^ ~~ g_game.c:2304:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (slot == -1) I_Error("G_RecordDemo: No save in demo, can't continue"); ^ g_game.c:2292:5: note: previous statement is here if (pos) ^ g_game.c:2292:9: warning: variable 'rc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (pos) ^~~ g_game.c:2307:22: note: uninitialized use occurs here fseek(demofp, -rc, SEEK_CUR); ^~ g_game.c:2292:5: note: remove the 'if' if its condition is always true if (pos) ^~~~~~~~ g_game.c:2278:13: note: initialize the variable 'rc' to silence this warning int rc; ^ = 0 g_game.c:2557:5: warning: variable 'v' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: I_Error("G_BeginRecording: Boom compatibility level unrecognised?"); ^~~~~~~ g_game.c:2559:17: note: uninitialized use occurs here *demo_p++ = v; ^ g_game.c:2552:11: note: initialize the variable 'v' to silence this warning byte v, c; /* Nominally, version and compatibility bits */ ^ = '\0' g_game.c:2557:5: warning: variable 'c' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: I_Error("G_BeginRecording: Boom compatibility level unrecognised?"); ^~~~~~~ g_game.c:2570:17: note: uninitialized use occurs here *demo_p++ = c; ^ g_game.c:2552:14: note: initialize the variable 'c' to silence this warning byte v, c; /* Nominally, version and compatibility bits */ ^ = '\0' g_game.c:2766:4: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] break; ^ g_game.c:2764:9: note: previous statement is here else ^ g_game.c:2776:4: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] break; ^ g_game.c:2774:9: note: previous statement is here else ^ 15 warnings generated. mv -f .deps/g_game.Tpo .deps/g_game.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_mobj.o -MD -MP -MF .deps/p_mobj.Tpo -c -o p_mobj.o p_mobj.c p_mobj.c:92:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] st->action(mobj); ^ 1 warning generated. mv -f .deps/p_mobj.Tpo .deps/p_mobj.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_demo.o -MD -MP -MF .deps/r_demo.Tpo -c -o r_demo.o r_demo.c r_demo.c:49:43: warning: address of array 'players' will always evaluate to 'true' [-Wpointer-bool-conversion] if (demo_smoothturns && demoplayback && players) ~~ ^~~~~~~ 1 warning generated. mv -f .deps/r_demo.Tpo .deps/r_demo.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_segs.o -MD -MP -MF .deps/r_segs.Tpo -c -o r_segs.o r_segs.c mv -f .deps/r_segs.Tpo .deps/r_segs.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT hu_lib.o -MD -MP -MF .deps/hu_lib.Tpo -c -o hu_lib.o hu_lib.c mv -f .deps/hu_lib.Tpo .deps/hu_lib.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT lprintf.o -MD -MP -MF .deps/lprintf.Tpo -c -o lprintf.o lprintf.c mv -f .deps/lprintf.Tpo .deps/lprintf.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_plats.o -MD -MP -MF .deps/p_plats.Tpo -c -o p_plats.o p_plats.c mv -f .deps/p_plats.Tpo .deps/p_plats.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -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 cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT d_deh.o -MD -MP -MF .deps/d_deh.Tpo -c -o d_deh.o d_deh.c d_deh.c:1949:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i=0;iaction(player, psp); ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_WeaponReady(); ^ p_pspr.c:305:6: note: conflicting prototype is here void A_WeaponReady(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:100:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_ReFire(); ^ p_pspr.c:357:6: note: conflicting prototype is here void A_ReFire(player_t *player, pspdef_t *psp) ^ p_pspr.c:357:43: warning: unused parameter 'psp' [-Wunused-parameter] void A_ReFire(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:106:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_CheckReload(); ^ p_pspr.c:375:6: note: conflicting prototype is here void A_CheckReload(player_t *player, pspdef_t *psp) ^ p_pspr.c:375:48: warning: unused parameter 'psp' [-Wunused-parameter] void A_CheckReload(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:97:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Lower(); ^ p_pspr.c:393:6: note: conflicting prototype is here void A_Lower(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Raise(); ^ p_pspr.c:426:6: note: conflicting prototype is here void A_Raise(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:111:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_GunFlash(); ^ p_pspr.c:470:6: note: conflicting prototype is here void A_GunFlash(player_t *player, pspdef_t *psp) ^ p_pspr.c:470:45: warning: unused parameter 'psp' [-Wunused-parameter] void A_GunFlash(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:99:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Punch(); ^ p_pspr.c:485:6: note: conflicting prototype is here void A_Punch(player_t *player, pspdef_t *psp) ^ p_pspr.c:485:42: warning: unused parameter 'psp' [-Wunused-parameter] void A_Punch(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Saw(); ^ p_pspr.c:523:6: note: conflicting prototype is here void A_Saw(player_t *player, pspdef_t *psp) ^ p_pspr.c:523:40: warning: unused parameter 'psp' [-Wunused-parameter] void A_Saw(player_t *player, pspdef_t *psp) ^ p_pspr.c:553:35: warning: comparison of integers of different signs: 'angle_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (angle - player->mo->angle < -ANG90/20) ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:112:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FireMissile(); ^ p_pspr.c:572:6: note: conflicting prototype is here void A_FireMissile(player_t *player, pspdef_t *psp) ^ p_pspr.c:572:48: warning: unused parameter 'psp' [-Wunused-parameter] void A_FireMissile(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FireBFG(); ^ p_pspr.c:582:6: note: conflicting prototype is here void A_FireBFG(player_t *player, pspdef_t *psp) ^ p_pspr.c:582:44: warning: unused parameter 'psp' [-Wunused-parameter] void A_FireBFG(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:114:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FirePlasma(); ^ p_pspr.c:592:6: note: conflicting prototype is here void A_FirePlasma(player_t *player, pspdef_t *psp) ^ p_pspr.c:592:47: warning: unused parameter 'psp' [-Wunused-parameter] void A_FirePlasma(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FirePistol(); ^ p_pspr.c:648:6: note: conflicting prototype is here void A_FirePistol(player_t *player, pspdef_t *psp) ^ p_pspr.c:648:47: warning: unused parameter 'psp' [-Wunused-parameter] void A_FirePistol(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:103:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FireShotgun(); ^ p_pspr.c:664:6: note: conflicting prototype is here void A_FireShotgun(player_t *player, pspdef_t *psp) ^ p_pspr.c:664:48: warning: unused parameter 'psp' [-Wunused-parameter] void A_FireShotgun(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:105:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FireShotgun2(); ^ p_pspr.c:685:6: note: conflicting prototype is here void A_FireShotgun2(player_t *player, pspdef_t *psp) ^ p_pspr.c:685:49: warning: unused parameter 'psp' [-Wunused-parameter] void A_FireShotgun2(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:110:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FireCGun(); ^ p_pspr.c:714:6: note: conflicting prototype is here void A_FireCGun(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Light0(); ^ p_pspr.c:732:6: note: conflicting prototype is here void A_Light0(player_t *player, pspdef_t *psp) ^ p_pspr.c:732:43: warning: unused parameter 'psp' [-Wunused-parameter] void A_Light0(player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:102:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Light1(); ^ p_pspr.c:737:6: note: conflicting prototype is here void A_Light1 (player_t *player, pspdef_t *psp) ^ p_pspr.c:737:44: warning: unused parameter 'psp' [-Wunused-parameter] void A_Light1 (player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:104:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Light2(); ^ p_pspr.c:742:6: note: conflicting prototype is here void A_Light2 (player_t *player, pspdef_t *psp) ^ p_pspr.c:742:44: warning: unused parameter 'psp' [-Wunused-parameter] void A_Light2 (player_t *player, pspdef_t *psp) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:117:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BFGSpray(); ^ p_pspr.c:752:6: note: conflicting prototype is here void A_BFGSpray(mobj_t *mo) ^ In file included from p_pspr.c:35: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:115:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BFGsound(); ^ p_pspr.c:786:6: note: conflicting prototype is here void A_BFGsound(player_t *player, pspdef_t *psp) ^ p_pspr.c:786:45: warning: unused parameter 'psp' [-Wunused-parameter] void A_BFGsound(player_t *player, pspdef_t *psp) ^ 37 warnings generated. mv -f .deps/p_pspr.Tpo .deps/p_pspr.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT m_bbox.o -MD -MP -MF .deps/m_bbox.Tpo -c -o m_bbox.o m_bbox.c mv -f .deps/m_bbox.Tpo .deps/m_bbox.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_saveg.o -MD -MP -MF .deps/p_saveg.Tpo -c -o p_saveg.o p_saveg.c p_saveg.c:64:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:65:16: warning: cast from 'byte *' (aka 'unsigned char *') to 'player_t *' (aka 'struct player_s *') increases required alignment from 1 to 8 [-Wcast-align] dest = (player_t *) save_p; ^~~~~~~~~~~~~~~~~~~ p_saveg.c:87:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:100:24: warning: cast to smaller integer type 'int' from 'state_t *' [-Wpointer-to-int-cast] &states[ (int)players[i].psprites[j].state ]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_saveg.c:134:3: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); // killough 3/22/98 ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:136:9: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] put = (short *)save_p; ^~~~~~~~~~~~~~~ p_saveg.c:196:3: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); // killough 3/22/98 ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:198:9: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] get = (short *) save_p; ^~~~~~~~~~~~~~~~ p_saveg.c:206:31: warning: cast from 'const short *' to 'char *' drops const qualifier [-Wcast-qual] get = (void *)((char *) get + sizeof sec->floorheight); ^ p_saveg.c:208:31: warning: cast from 'const short *' to 'char *' drops const qualifier [-Wcast-qual] get = (void *)((char *) get + sizeof sec->ceilingheight); ^ p_saveg.c:237:31: warning: cast from 'const short *' to 'char *' drops const qualifier [-Wcast-qual] get = (void *)((char *) get + sizeof si->textureoffset); ^ p_saveg.c:239:31: warning: cast from 'const short *' to 'char *' drops const qualifier [-Wcast-qual] get = (void *)((char *) get + sizeof si->rowoffset); ^ p_saveg.c:246:21: warning: cast from 'const short *' to 'unsigned char *' drops const qualifier [-Wcast-qual] save_p = (byte *) get; ^ p_saveg.c:274:18: warning: cast to 'thinker_t *' (aka 'struct thinker_s *') from smaller integer type 'int' [-Wint-to-pointer-cast] th->prev = (thinker_t *) ++number_of_thinkers; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_saveg.c:320:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:321:16: warning: cast from 'byte *' (aka 'unsigned char *') to 'mobj_t *' (aka 'struct mobj_s *') increases required alignment from 1 to 8 [-Wcast-align] mobj = (mobj_t *)save_p; ^~~~~~~~~~~~~~~~ p_saveg.c:455:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:476:7: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:499:30: warning: cast to smaller integer type 'int' from 'state_t *' [-Wpointer-to-int-cast] mobj->state = states + (int) mobj->state; ^~~~~~~~~~~~~~~~~ p_saveg.c:502:34: warning: cast to smaller integer type 'int' from 'struct player_s *' [-Wpointer-to-int-cast] (mobj->player = &players[(int) mobj->player - 1]) -> mo = mobj; ^~~~~~~~~~~~~~~~~~ p_saveg.c:662:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:663:21: warning: cast from 'byte *' (aka 'unsigned char *') to 'ceiling_t *' increases required alignment from 1 to 8 [-Wcast-align] ceiling = (ceiling_t *)save_p; ^~~~~~~~~~~~~~~~~~~ p_saveg.c:674:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:675:18: warning: cast from 'byte *' (aka 'unsigned char *') to 'vldoor_t *' increases required alignment from 1 to 8 [-Wcast-align] door = (vldoor_t *) save_p; ^~~~~~~~~~~~~~~~~~~ p_saveg.c:688:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:689:19: warning: cast from 'byte *' (aka 'unsigned char *') to 'floormove_t *' increases required alignment from 1 to 8 [-Wcast-align] floor = (floormove_t *)save_p; ^~~~~~~~~~~~~~~~~~~~~ p_saveg.c:701:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:702:18: warning: cast from 'byte *' (aka 'unsigned char *') to 'plat_t *' increases required alignment from 1 to 8 [-Wcast-align] plat = (plat_t *)save_p; ^~~~~~~~~~~~~~~~ p_saveg.c:713:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:714:19: warning: cast from 'byte *' (aka 'unsigned char *') to 'lightflash_t *' increases required alignment from 1 to 8 [-Wcast-align] flash = (lightflash_t *)save_p; ^~~~~~~~~~~~~~~~~~~~~~ p_saveg.c:725:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:726:20: warning: cast from 'byte *' (aka 'unsigned char *') to 'strobe_t *' increases required alignment from 1 to 8 [-Wcast-align] strobe = (strobe_t *)save_p; ^~~~~~~~~~~~~~~~~~ p_saveg.c:737:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:738:18: warning: cast from 'byte *' (aka 'unsigned char *') to 'glow_t *' increases required alignment from 1 to 8 [-Wcast-align] glow = (glow_t *)save_p; ^~~~~~~~~~~~~~~~ p_saveg.c:750:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:751:21: warning: cast from 'byte *' (aka 'unsigned char *') to 'fireflicker_t *' increases required alignment from 1 to 8 [-Wcast-align] flicker = (fireflicker_t *)save_p; ^~~~~~~~~~~~~~~~~~~~~~~ p_saveg.c:763:11: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:764:22: warning: cast from 'byte *' (aka 'unsigned char *') to 'elevator_t *' increases required alignment from 1 to 8 [-Wcast-align] elevator = (elevator_t *)save_p; ^~~~~~~~~~~~~~~~~~~~ p_saveg.c:808:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:813:38: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] ceiling->sector = §ors[(int)ceiling->sector]; ^~~~~~~~~~~~~~~~~~~~ p_saveg.c:825:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:830:35: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] door->sector = §ors[(int)door->sector]; ^~~~~~~~~~~~~~~~~ p_saveg.c:833:24: warning: cast to smaller integer type 'int' from 'line_t *' (aka 'struct line_s *') [-Wpointer-to-int-cast] door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; ^~~~~~~~~~~~~~~ p_saveg.c:833:52: warning: cast to smaller integer type 'int' from 'line_t *' (aka 'struct line_s *') [-Wpointer-to-int-cast] door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; ^~~~~~~~~~~~~~~ p_saveg.c:842:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:847:36: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] floor->sector = §ors[(int)floor->sector]; ^~~~~~~~~~~~~~~~~~ p_saveg.c:855:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:860:35: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] plat->sector = §ors[(int)plat->sector]; ^~~~~~~~~~~~~~~~~ p_saveg.c:872:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:877:36: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] flash->sector = §ors[(int)flash->sector]; ^~~~~~~~~~~~~~~~~~ p_saveg.c:884:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:889:37: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] strobe->sector = §ors[(int)strobe->sector]; ^~~~~~~~~~~~~~~~~~~ p_saveg.c:896:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:901:35: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] glow->sector = §ors[(int)glow->sector]; ^~~~~~~~~~~~~~~~~ p_saveg.c:908:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:913:38: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] flicker->sector = §ors[(int)flicker->sector]; ^~~~~~~~~~~~~~~~~~~~ p_saveg.c:921:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] PADSAVEP(); ^~~~~~~~~~ p_saveg.c:49:44: note: expanded from macro 'PADSAVEP' #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^~~~~~~~~~~~ p_saveg.c:926:39: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast] elevator->sector = §ors[(int)elevator->sector]; ^~~~~~~~~~~~~~~~~~~~~ 58 warnings generated. mv -f .deps/p_saveg.Tpo .deps/p_saveg.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_things.o -MD -MP -MF .deps/r_things.Tpo -c -o r_things.o r_things.c r_things.c:379:51: warning: unused parameter 'x1' [-Wunused-parameter] static void R_DrawVisSprite(vissprite_t *vis, int x1, int x2) ^ r_things.c:379:59: warning: unused parameter 'x2' [-Wunused-parameter] static void R_DrawVisSprite(vissprite_t *vis, int x1, int x2) ^ 2 warnings generated. mv -f .deps/r_things.Tpo .deps/r_things.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT d_items.o -MD -MP -MF .deps/d_items.Tpo -c -o d_items.o d_items.c mv -f .deps/d_items.Tpo .deps/d_items.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT m_cheat.o -MD -MP -MF .deps/m_cheat.Tpo -c -o m_cheat.o m_cheat.c m_cheat.c:264:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cheat_mus(buf) ^ m_cheat.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cheat_mus(); ^ m_cheat.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cheat_pw(); ^ m_cheat.c:401:13: note: conflicting prototype is here static void cheat_pw(int pw) ^ m_cheat.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cheat_clev(); ^ m_cheat.c:421:13: note: conflicting prototype is here static void cheat_clev(char buf[3]) ^ m_cheat.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cheat_tntkeyxx(); ^ m_cheat.c:588:13: note: conflicting prototype is here static void cheat_tntkeyxx(int key) ^ m_cheat.c:602:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cheat_tntweapx(buf) ^ m_cheat.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cheat_tntweapx(); ^ m_cheat.c:620:16: warning: comparison of integers of different signs: 'int' and 'weapontype_t' [-Wsign-compare] if (w==plyr->readyweapon) // maybe switch if weapon removed ~^ ~~~~~~~~~~~~~~~~~ m_cheat.c:632:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cheat_tntammox(buf) ^ m_cheat.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cheat_tntammox(); ^ m_cheat.c:688:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cheat[cht].func(argbuf); // process the arg buffer ^ m_cheat.c:740:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cheat[i].func(cheat[i].arg); // call cheat handler ^ 12 warnings generated. mv -f .deps/m_cheat.Tpo .deps/m_cheat.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_setup.o -MD -MP -MF .deps/p_setup.Tpo -c -o p_setup.o p_setup.c p_setup.c:170:54: warning: unused parameter 'gl_lumpnum' [-Wunused-parameter] static boolean P_CheckForZDoomNodes(int lumpnum, int gl_lumpnum) ^ p_setup.c:286:18: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const mapglvertex_t *' increases required alignment from 1 to 4 [-Wcast-align] mgl = (const mapglvertex_t *) (gldata + GL_VERT_OFFSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_setup.c:763:33: warning: unused parameter 'lump' [-Wunused-parameter] static void P_LoadLineDefs2(int lump) ^ p_setup.c:1501:45: warning: unused parameter 'playermask' [-Wunused-parameter] void P_SetupLevel(int episode, int map, int playermask, skill_t skill) ^ p_setup.c:1501:65: warning: unused parameter 'skill' [-Wunused-parameter] void P_SetupLevel(int episode, int map, int playermask, skill_t skill) ^ 5 warnings generated. mv -f .deps/p_setup.Tpo .deps/p_setup.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT s_sound.o -MD -MP -MF .deps/s_sound.Tpo -c -o s_sound.o s_sound.c s_sound.c:581:50: warning: unused parameter 'pitch' [-Wunused-parameter] int *vol, int *sep, int *pitch) ^ 1 warning generated. mv -f .deps/s_sound.Tpo .deps/s_sound.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT d_main.o -MD -MP -MF .deps/d_main.Tpo -c -o d_main.o d_main.c mv -f .deps/d_main.Tpo .deps/d_main.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_sight.o -MD -MP -MF .deps/p_sight.Tpo -c -o p_sight.o p_sight.c mv -f .deps/p_sight.Tpo .deps/p_sight.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT sounds.o -MD -MP -MF .deps/sounds.Tpo -c -o sounds.o sounds.c mv -f .deps/sounds.Tpo .deps/sounds.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT m_menu.o -MD -MP -MF .deps/m_menu.Tpo -c -o m_menu.o m_menu.c m_menu.c:441:21: warning: unused parameter 'choice' [-Wunused-parameter] void M_ReadThis(int choice) ^ m_menu.c:446:22: warning: unused parameter 'choice' [-Wunused-parameter] void M_ReadThis2(int choice) ^ m_menu.c:451:27: warning: unused parameter 'choice' [-Wunused-parameter] void M_FinishReadThis(int choice) ^ m_menu.c:456:23: warning: unused parameter 'choice' [-Wunused-parameter] void M_FinishHelp(int choice) // killough 10/98 ^ m_menu.c:624:20: warning: unused parameter 'choice' [-Wunused-parameter] void M_NewGame(int choice) ^ m_menu.c:773:15: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] free((char*)messageString); // free the message strdup()'ed below ^ m_menu.c:786:22: warning: unused parameter 'choice' [-Wunused-parameter] void M_LoadGame (int choice) ^ m_menu.c:912:22: warning: unused parameter 'choice' [-Wunused-parameter] void M_SaveGame (int choice) ^ m_menu.c:998:20: warning: unused parameter 'choice' [-Wunused-parameter] void M_Options(int choice) ^ m_menu.c:1057:21: warning: unused parameter 'choice' [-Wunused-parameter] void M_QuitDOOM(int choice) ^ m_menu.c:1123:18: warning: unused parameter 'choice' [-Wunused-parameter] void M_Sound(int choice) ^ m_menu.c:1223:30: warning: unused parameter 'choice' [-Wunused-parameter] void M_ChangeSensitivity(int choice) ^ m_menu.c:1352:20: warning: unused parameter 'choice' [-Wunused-parameter] void M_EndGame(int choice) ^ m_menu.c:1367:27: warning: parameter 'choice' set but not used [-Wunused-but-set-parameter] void M_ChangeMessages(int choice) ^ m_menu.c:1517:29: warning: unused parameter 'choice' [-Wunused-parameter] static void M_DoNothing(int choice) ^ m_menu.c:1671:18: warning: unused parameter 'choice' [-Wunused-parameter] void M_Setup(int choice) ^ m_menu.c:1894:25: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] char *text = (char*)*s->var.def->location.ppsz; ^ m_menu.c:2300:24: warning: unused parameter 'choice' [-Wunused-parameter] void M_KeyBindings(int choice) ^ m_menu.c:2411:20: warning: unused parameter 'choice' [-Wunused-parameter] void M_Weapons(int choice) ^ m_menu.c:2497:22: warning: unused parameter 'choice' [-Wunused-parameter] void M_StatusBar(int choice) ^ m_menu.c:2618:20: warning: unused parameter 'choice' [-Wunused-parameter] void M_Automap(int choice) ^ m_menu.c:2778:18: warning: unused parameter 'choice' [-Wunused-parameter] void M_Enemy(int choice) ^ m_menu.c:3101:20: warning: unused parameter 'choice' [-Wunused-parameter] void M_General(int choice) ^ m_menu.c:3289:19: warning: unused parameter 'choice' [-Wunused-parameter] void M_Compat(int choice) ^ m_menu.c:3408:21: warning: unused parameter 'choice' [-Wunused-parameter] void M_Messages(int choice) ^ m_menu.c:3483:24: warning: unused parameter 'choice' [-Wunused-parameter] void M_ChatStrings(int choice) ^ m_menu.c:3595:19: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] free((char*)*dp->location.ppsz), ^ m_menu.c:3692:30: warning: parameter 'choice' set but not used [-Wunused-but-set-parameter] void M_ExtHelpNextScreen(int choice) ^ m_menu.c:3739:20: warning: parameter 'choice' set but not used [-Wunused-but-set-parameter] void M_ExtHelp(int choice) ^ m_menu.c:4950:21: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] free((char*)*ptr1->var.def->location.ppsz); ^ m_menu.c:4638:27: warning: comparison of integers of different signs: 'setup_group' and 'int' [-Wsign-compare] if (ptr2->m_group == group && ptr1 != ptr2) ~~~~~~~~~~~~~ ^ ~~~~~ m_menu.c:4675:27: warning: comparison of integers of different signs: 'setup_group' and 'int' [-Wsign-compare] if (ptr2->m_group == group && ptr1 != ptr2) ~~~~~~~~~~~~~ ^ ~~~~~ m_menu.c:4707:21: warning: comparison of integers of different signs: 'setup_group' and 'int' [-Wsign-compare] ptr2->m_group == group && ~~~~~~~~~~~~~ ^ ~~~~~ 33 warnings generated. mv -f .deps/m_menu.Tpo .deps/m_menu.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_spec.o -MD -MP -MF .deps/p_spec.Tpo -c -o p_spec.o p_spec.c mv -f .deps/p_spec.Tpo .deps/p_spec.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT info.o -MD -MP -MF .deps/info.Tpo -c -o info.o info.c mv -f .deps/info.Tpo .deps/info.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT st_lib.o -MD -MP -MF .deps/st_lib.Tpo -c -o st_lib.o st_lib.c mv -f .deps/st_lib.Tpo .deps/st_lib.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT m_misc.o -MD -MP -MF .deps/m_misc.Tpo -c -o m_misc.o m_misc.c m_misc.c:361:34: warning: initializing 'const char **' with an expression of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] {"gl_tex_filter_string", {NULL,&gl_tex_filter_string}, {0,"GL_LINEAR"},UL,UL, ^~~~~~~~~~~~~~~~~~~~~ m_misc.c:363:34: warning: initializing 'const char **' with an expression of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] {"gl_tex_format_string", {NULL,&gl_tex_format_string}, {0,"GL_RGB5_A1"},UL,UL, ^~~~~~~~~~~~~~~~~~~~~ m_misc.c:940:22: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] snprintf((char *)defaultfile, PATH_MAX, ^ m_misc.c:1005:27: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] free((char*)*(defaults[i].location.ppsz)); /* phares 4/13/98 */ ^ 4 warnings generated. mv -f .deps/m_misc.Tpo .deps/m_misc.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_switch.o -MD -MP -MF .deps/p_switch.Tpo -c -o p_switch.o p_switch.c mv -f .deps/p_switch.Tpo .deps/p_switch.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_telept.o -MD -MP -MF .deps/p_telept.Tpo -c -o p_telept.o p_telept.c mv -f .deps/p_telept.Tpo .deps/p_telept.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT st_stuff.o -MD -MP -MF .deps/st_stuff.Tpo -c -o st_stuff.o st_stuff.c st_stuff.c:867:37: warning: unused parameter 'doload' [-Wunused-parameter] static void ST_loadGraphics(boolean doload) ^ 1 warning generated. mv -f .deps/st_stuff.Tpo .deps/st_stuff.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT m_random.o -MD -MP -MF .deps/m_random.Tpo -c -o m_random.o m_random.c mv -f .deps/m_random.Tpo .deps/m_random.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_tick.o -MD -MP -MF .deps/p_tick.Tpo -c -o p_tick.o p_tick.c p_tick.c:250:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] currentthinker->function(currentthinker); ^ 1 warning generated. mv -f .deps/p_tick.Tpo .deps/p_tick.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT tables.o -MD -MP -MF .deps/tables.Tpo -c -o tables.o tables.c mv -f .deps/tables.Tpo .deps/tables.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_user.o -MD -MP -MF .deps/p_user.Tpo -c -o p_user.o p_user.c p_user.c:314:26: warning: address of array 'players' will always evaluate to 'true' [-Wpointer-bool-conversion] if (movement_smooth && players && &players[displayplayer] == player) ~~ ^~~~~~~ 1 warning generated. mv -f .deps/p_user.Tpo .deps/p_user.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_ceilng.o -MD -MP -MF .deps/p_ceilng.Tpo -c -o p_ceilng.o p_ceilng.c mv -f .deps/p_ceilng.Tpo .deps/p_ceilng.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT v_video.o -MD -MP -MF .deps/v_video.Tpo -c -o v_video.o v_video.c v_video.c:179:28: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] unsigned short *dest = (unsigned short *)screens[scrn].data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:190:28: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] unsigned short *dest = (unsigned short *)screens[scrn].data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:201:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] unsigned int *dest = (unsigned int *)screens[scrn].data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:379:30: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] drawvars.short_topleft = (unsigned short *)screens[scrn].data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:380:28: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] drawvars.int_topleft = (unsigned int *)screens[scrn].data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:703:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] unsigned short* dest = (unsigned short *)screens[scrn].data + x + y*screens[scrn].short_pitch; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:716:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] unsigned short* dest = (unsigned short *)screens[scrn].data + x + y*screens[scrn].short_pitch; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:729:24: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] unsigned int* dest = (unsigned int *)screens[scrn].data + x + y*screens[scrn].int_pitch; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:747:35: warning: unused parameter 'scrn' [-Wunused-parameter] static void WRAP_gld_FillRect(int scrn, int x, int y, int width, int height, byte colour) ^ v_video.c:751:35: warning: unused parameter 'srcx' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:45: warning: unused parameter 'srcy' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:55: warning: unused parameter 'srcscrn' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:68: warning: unused parameter 'width' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:79: warning: unused parameter 'height' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:91: warning: unused parameter 'destx' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:102: warning: unused parameter 'desty' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:113: warning: unused parameter 'destscrn' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:751:148: warning: unused parameter 'flags' [-Wunused-parameter] static void WRAP_gld_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) ^ v_video.c:754:63: warning: unused parameter 'n' [-Wunused-parameter] static void WRAP_gld_DrawBackground(const char *flatname, int n) ^ v_video.c:758:53: warning: unused parameter 'scrn' [-Wunused-parameter] static void WRAP_gld_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) ^ v_video.c:762:36: warning: unused parameter 'x' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:762:43: warning: unused parameter 'y' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:762:50: warning: unused parameter 'scrn' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:762:60: warning: unused parameter 'width' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:762:71: warning: unused parameter 'height' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:762:91: warning: unused parameter 'src' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:762:121: warning: unused parameter 'flags' [-Wunused-parameter] static void WRAP_gld_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) ^ v_video.c:765:31: warning: unused parameter 'scrn' [-Wunused-parameter] static void V_PlotPixelGL(int scrn, int x, int y, byte color) { ^ v_video.c:775:31: warning: unused parameter 'scrn' [-Wunused-parameter] static void NULL_FillRect(int scrn, int x, int y, int width, int height, byte colour) {} ^ v_video.c:775:41: warning: unused parameter 'x' [-Wunused-parameter] static void NULL_FillRect(int scrn, int x, int y, int width, int height, byte colour) {} ^ v_video.c:775:48: warning: unused parameter 'y' [-Wunused-parameter] static void NULL_FillRect(int scrn, int x, int y, int width, int height, byte colour) {} ^ v_video.c:775:55: warning: unused parameter 'width' [-Wunused-parameter] static void NULL_FillRect(int scrn, int x, int y, int width, int height, byte colour) {} ^ v_video.c:775:66: warning: unused parameter 'height' [-Wunused-parameter] static void NULL_FillRect(int scrn, int x, int y, int width, int height, byte colour) {} ^ v_video.c:775:79: warning: unused parameter 'colour' [-Wunused-parameter] static void NULL_FillRect(int scrn, int x, int y, int width, int height, byte colour) {} ^ v_video.c:776:31: warning: unused parameter 'srcx' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:41: warning: unused parameter 'srcy' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:51: warning: unused parameter 'srcscrn' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:64: warning: unused parameter 'width' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:75: warning: unused parameter 'height' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:87: warning: unused parameter 'destx' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:98: warning: unused parameter 'desty' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:109: warning: unused parameter 'destscrn' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:776:144: warning: unused parameter 'flags' [-Wunused-parameter] static void NULL_CopyRect(int srcx, int srcy, int srcscrn, int width, int height, int destx, int desty, int destscrn, enum patch_translation_e flags) {} ^ v_video.c:777:45: warning: unused parameter 'flatname' [-Wunused-parameter] static void NULL_DrawBackground(const char *flatname, int n) {} ^ v_video.c:777:59: warning: unused parameter 'n' [-Wunused-parameter] static void NULL_DrawBackground(const char *flatname, int n) {} ^ v_video.c:778:35: warning: unused parameter 'x' [-Wunused-parameter] static void NULL_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) {} ^ v_video.c:778:42: warning: unused parameter 'y' [-Wunused-parameter] static void NULL_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) {} ^ v_video.c:778:49: warning: unused parameter 'scrn' [-Wunused-parameter] static void NULL_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) {} ^ v_video.c:778:59: warning: unused parameter 'lump' [-Wunused-parameter] static void NULL_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) {} ^ v_video.c:778:69: warning: unused parameter 'cm' [-Wunused-parameter] static void NULL_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) {} ^ v_video.c:778:98: warning: unused parameter 'flags' [-Wunused-parameter] static void NULL_DrawNumPatch(int x, int y, int scrn, int lump, int cm, enum patch_translation_e flags) {} ^ v_video.c:779:32: warning: unused parameter 'x' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:779:39: warning: unused parameter 'y' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:779:46: warning: unused parameter 'scrn' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:779:56: warning: unused parameter 'width' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:779:67: warning: unused parameter 'height' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:779:87: warning: unused parameter 'src' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:779:117: warning: unused parameter 'flags' [-Wunused-parameter] static void NULL_DrawBlock(int x, int y, int scrn, int width, int height, const byte *src, enum patch_translation_e flags) {} ^ v_video.c:780:32: warning: unused parameter 'scrn' [-Wunused-parameter] static void NULL_PlotPixel(int scrn, int x, int y, byte color) {} ^ v_video.c:780:42: warning: unused parameter 'x' [-Wunused-parameter] static void NULL_PlotPixel(int scrn, int x, int y, byte color) {} ^ v_video.c:780:49: warning: unused parameter 'y' [-Wunused-parameter] static void NULL_PlotPixel(int scrn, int x, int y, byte color) {} ^ v_video.c:780:57: warning: unused parameter 'color' [-Wunused-parameter] static void NULL_PlotPixel(int scrn, int x, int y, byte color) {} ^ v_video.c:781:36: warning: unused parameter 'fl' [-Wunused-parameter] static void NULL_DrawLine(fline_t* fl, int color) {} ^ v_video.c:781:44: warning: unused parameter 'color' [-Wunused-parameter] static void NULL_DrawLine(fline_t* fl, int color) {} ^ v_video.c:942:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] ((unsigned short *)screens[scrn].data)[x+screens[scrn].short_pitch*y] = VID_PAL15(color, VID_COLORWEIGHTMASK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:946:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] ((unsigned short *)screens[scrn].data)[x+screens[scrn].short_pitch*y] = VID_PAL16(color, VID_COLORWEIGHTMASK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_video.c:950:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] ((unsigned int *)screens[scrn].data)[x+screens[scrn].int_pitch*y] = VID_PAL32(color, VID_COLORWEIGHTMASK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 warnings generated. mv -f .deps/v_video.Tpo .deps/v_video.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT doomdef.o -MD -MP -MF .deps/doomdef.Tpo -c -o doomdef.o doomdef.c mv -f .deps/doomdef.Tpo .deps/doomdef.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_doors.o -MD -MP -MF .deps/p_doors.Tpo -c -o p_doors.o p_doors.c p_doors.c:688:9: warning: unused parameter 'secnum' [-Wunused-parameter] int secnum ) ^ 1 warning generated. mv -f .deps/p_doors.Tpo .deps/p_doors.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_enemy.o -MD -MP -MF .deps/p_enemy.Tpo -c -o p_enemy.o p_enemy.c p_enemy.c:450:47: warning: comparison of integers of different signs: 'mobjtype_t' and 'int' [-Wsign-compare] if ((actor->type == MT_DOGS || (actor->type == (HelperThing-1) && actor->flags&MF_FRIEND)) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ p_enemy.c:552:36: warning: comparison of integers of different signs: 'dirtype_t' and 'int' [-Wsign-compare] for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) ~~~~ ^ ~~~~~~~~~ In file included from p_enemy.c:47: ./p_enemy.h:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_KeenDie(); ^ p_enemy.c:1011:6: note: conflicting prototype is here void A_KeenDie(mobj_t* mo) ^ p_enemy.c:1016:9: warning: passing arguments to 'A_Fall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_Fall(mo); ^ In file included from p_enemy.c:47: ./p_enemy.h:61:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Look(); ^ p_enemy.c:1042:6: note: conflicting prototype is here void A_Look(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:62:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Chase(); ^ p_enemy.c:1116:6: note: conflicting prototype is here void A_Chase(mobj_t *actor) ^ p_enemy.c:1133:17: warning: passing arguments to 'A_FaceTarget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_FaceTarget(actor); ^ In file included from p_enemy.c:47: ./p_enemy.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FaceTarget(); ^ p_enemy.c:1244:6: note: conflicting prototype is here void A_FaceTarget(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_PosAttack(); ^ p_enemy.c:1262:6: note: conflicting prototype is here void A_PosAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:66:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SPosAttack(); ^ p_enemy.c:1280:6: note: conflicting prototype is here void A_SPosAttack(mobj_t* actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:83:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_CPosAttack(); ^ p_enemy.c:1299:6: note: conflicting prototype is here void A_CPosAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_CPosRefire(); ^ p_enemy.c:1317:6: note: conflicting prototype is here void A_CPosRefire(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:91:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SpidRefire(); ^ p_enemy.c:1339:6: note: conflicting prototype is here void A_SpidRefire(mobj_t* actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BspiAttack(); ^ p_enemy.c:1358:6: note: conflicting prototype is here void A_BspiAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:85:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_TroopAttack(); ^ p_enemy.c:1370:6: note: conflicting prototype is here void A_TroopAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:86:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SargAttack(); ^ p_enemy.c:1386:6: note: conflicting prototype is here void A_SargAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:87:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_HeadAttack(); ^ p_enemy.c:1398:6: note: conflicting prototype is here void A_HeadAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_CyberAttack(); ^ p_enemy.c:1412:6: note: conflicting prototype is here void A_CyberAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:88:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BruisAttack(); ^ p_enemy.c:1420:6: note: conflicting prototype is here void A_BruisAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SkelMissile(); ^ p_enemy.c:1439:6: note: conflicting prototype is here void A_SkelMissile(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Tracer(); ^ p_enemy.c:1458:6: note: conflicting prototype is here void A_Tracer(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SkelWhoosh(); ^ p_enemy.c:1540:6: note: conflicting prototype is here void A_SkelWhoosh(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SkelFist(); ^ p_enemy.c:1548:6: note: conflicting prototype is here void A_SkelFist(mobj_t *actor) ^ p_enemy.c:1602:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] corpsehit = thing; ^ p_enemy.c:1587:3: note: previous statement is here if (D_abs(thing->x-viletryx) > maxdist || D_abs(thing->y-viletryy) > maxdist) ^ In file included from p_enemy.c:47: ./p_enemy.h:67:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_VileChase(); ^ p_enemy.c:1635:6: note: conflicting prototype is here void A_VileChase(mobj_t* actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:68:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_VileStart(); ^ p_enemy.c:1719:6: note: conflicting prototype is here void A_VileStart(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:71:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_StartFire(); ^ p_enemy.c:1729:6: note: conflicting prototype is here void A_StartFire(mobj_t *actor) ^ p_enemy.c:1732:9: warning: passing arguments to 'A_Fire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_Fire(actor); ^ In file included from p_enemy.c:47: ./p_enemy.h:73:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FireCrackle(); ^ p_enemy.c:1735:6: note: conflicting prototype is here void A_FireCrackle(mobj_t* actor) ^ p_enemy.c:1738:9: warning: passing arguments to 'A_Fire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_Fire(actor); ^ In file included from p_enemy.c:47: ./p_enemy.h:72:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Fire(); ^ p_enemy.c:1741:6: note: conflicting prototype is here void A_Fire(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:69:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_VileTarget(); ^ p_enemy.c:1767:6: note: conflicting prototype is here void A_VileTarget(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_VileAttack(); ^ p_enemy.c:1791:6: note: conflicting prototype is here void A_VileAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FatRaise(); ^ p_enemy.c:1830:6: note: conflicting prototype is here void A_FatRaise(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:79:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FatAttack1(); ^ p_enemy.c:1836:6: note: conflicting prototype is here void A_FatAttack1(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:80:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FatAttack2(); ^ p_enemy.c:1858:6: note: conflicting prototype is here void A_FatAttack2(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:81:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_FatAttack3(); ^ p_enemy.c:1878:6: note: conflicting prototype is here void A_FatAttack3(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:89:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SkullAttack(); ^ p_enemy.c:1908:6: note: conflicting prototype is here void A_SkullAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_PainAttack(); ^ p_enemy.c:2025:6: note: conflicting prototype is here void A_PainAttack(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:97:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_PainDie(); ^ p_enemy.c:2033:6: note: conflicting prototype is here void A_PainDie(mobj_t *actor) ^ p_enemy.c:2035:9: warning: passing arguments to 'A_Fall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_Fall(actor); ^ In file included from p_enemy.c:47: ./p_enemy.h:65:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Scream(); ^ p_enemy.c:2041:6: note: conflicting prototype is here void A_Scream(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:60:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_XScream(); ^ p_enemy.c:2073:6: note: conflicting prototype is here void A_XScream(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:57:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Pain(); ^ p_enemy.c:2078:6: note: conflicting prototype is here void A_Pain(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:59:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Fall(); ^ p_enemy.c:2084:6: note: conflicting prototype is here void A_Fall(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:56:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Explode(); ^ p_enemy.c:2093:6: note: conflicting prototype is here void A_Explode(mobj_t *thingy) ^ In file included from p_enemy.c:47: ./p_enemy.h:82:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BossDeath(); ^ p_enemy.c:2104:6: note: conflicting prototype is here void A_BossDeath(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Hoof(); ^ p_enemy.c:2263:6: note: conflicting prototype is here void A_Hoof (mobj_t* mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:90:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Metal(); ^ p_enemy.c:2269:6: note: conflicting prototype is here void A_Metal(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:92:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BabyMetal(); ^ p_enemy.c:2275:6: note: conflicting prototype is here void A_BabyMetal(mobj_t *mo) ^ In file included from p_enemy.c:36: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:107:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_OpenShotgun2(); ^ p_enemy.c:2281:6: note: conflicting prototype is here void A_OpenShotgun2(player_t *player, pspdef_t *psp) ^ p_enemy.c:2281:49: warning: unused parameter 'psp' [-Wunused-parameter] void A_OpenShotgun2(player_t *player, pspdef_t *psp) ^ In file included from p_enemy.c:36: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:108:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_LoadShotgun2(); ^ p_enemy.c:2286:6: note: conflicting prototype is here void A_LoadShotgun2(player_t *player, pspdef_t *psp) ^ p_enemy.c:2286:49: warning: unused parameter 'psp' [-Wunused-parameter] void A_LoadShotgun2(player_t *player, pspdef_t *psp) ^ In file included from p_enemy.c:36: In file included from ./doomstat.h:43: In file included from ./d_player.h:44: ./p_pspr.h:109:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_CloseShotgun2(); ^ p_enemy.c:2291:6: note: conflicting prototype is here void A_CloseShotgun2(player_t *player, pspdef_t *psp) ^ p_enemy.c:2294:11: warning: passing arguments to 'A_ReFire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_ReFire(player,psp); ^ In file included from p_enemy.c:47: ./p_enemy.h:102:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BrainAwake(); ^ p_enemy.c:2334:6: note: conflicting prototype is here void A_BrainAwake(mobj_t *mo) ^ p_enemy.c:2334:27: warning: unused parameter 'mo' [-Wunused-parameter] void A_BrainAwake(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:99:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BrainPain(); ^ p_enemy.c:2339:6: note: conflicting prototype is here void A_BrainPain(mobj_t *mo) ^ p_enemy.c:2339:26: warning: unused parameter 'mo' [-Wunused-parameter] void A_BrainPain(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:100:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BrainScream(); ^ p_enemy.c:2344:6: note: conflicting prototype is here void A_BrainScream(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:106:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BrainExplode(); ^ p_enemy.c:2361:6: note: conflicting prototype is here void A_BrainExplode(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BrainDie(); ^ p_enemy.c:2375:6: note: conflicting prototype is here void A_BrainDie(mobj_t *mo) ^ p_enemy.c:2375:25: warning: unused parameter 'mo' [-Wunused-parameter] void A_BrainDie(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:103:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_BrainSpit(); ^ p_enemy.c:2380:6: note: conflicting prototype is here void A_BrainSpit(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:104:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SpawnSound(); ^ p_enemy.c:2410:6: note: conflicting prototype is here void A_SpawnSound(mobj_t *mo) ^ p_enemy.c:2413:13: warning: passing arguments to 'A_SpawnFly' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] A_SpawnFly(mo); ^ In file included from p_enemy.c:47: ./p_enemy.h:105:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_SpawnFly(); ^ p_enemy.c:2416:6: note: conflicting prototype is here void A_SpawnFly(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:58:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_PlayerScream(); ^ p_enemy.c:2478:6: note: conflicting prototype is here void A_PlayerScream(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:107:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Die(); ^ p_enemy.c:2489:6: note: conflicting prototype is here void A_Die(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:108:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Detonate(); /* killough 8/9/98: detonate a bomb or other device */ ^ p_enemy.c:2499:6: note: conflicting prototype is here void A_Detonate(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:109:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Mushroom(); /* killough 10/98: mushroom effect */ ^ p_enemy.c:2509:6: note: conflicting prototype is here void A_Mushroom(mobj_t *actor) ^ In file included from p_enemy.c:47: ./p_enemy.h:110:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Spawn(); // killough 11/98 ^ p_enemy.c:2539:6: note: conflicting prototype is here void A_Spawn(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:111:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Turn(); // killough 11/98 ^ p_enemy.c:2552:6: note: conflicting prototype is here void A_Turn(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:112:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Face(); // killough 11/98 ^ p_enemy.c:2557:6: note: conflicting prototype is here void A_Face(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_Scratch(); // killough 11/98 ^ p_enemy.c:2562:6: note: conflicting prototype is here void A_Scratch(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:114:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_PlaySound(); // killough 11/98 ^ p_enemy.c:2569:6: note: conflicting prototype is here void A_PlaySound(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:115:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_RandomJump(); // killough 11/98 ^ p_enemy.c:2574:6: note: conflicting prototype is here void A_RandomJump(mobj_t *mo) ^ In file included from p_enemy.c:47: ./p_enemy.h:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void A_LineEffect(); // killough 11/98 ^ p_enemy.c:2584:6: note: conflicting prototype is here void A_LineEffect(mobj_t *mo) ^ 79 warnings generated. mv -f .deps/p_enemy.Tpo .deps/p_enemy.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_bsp.o -MD -MP -MF .deps/r_bsp.Tpo -c -o r_bsp.o r_bsp.c mv -f .deps/r_bsp.Tpo .deps/r_bsp.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c mv -f .deps/version.Tpo .deps/version.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT doomstat.o -MD -MP -MF .deps/doomstat.Tpo -c -o doomstat.o doomstat.c mv -f .deps/doomstat.Tpo .deps/doomstat.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_floor.o -MD -MP -MF .deps/p_floor.Tpo -c -o p_floor.o p_floor.c p_floor.c:918:14: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ((!s2->lines[i]->flags & ML_TWOSIDED) || ^ ~ p_floor.c:918:14: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!s2->lines[i]->flags & ML_TWOSIDED) || ^ ( ) p_floor.c:918:14: note: add parentheses around left hand side expression to silence this warning if ((!s2->lines[i]->flags & ML_TWOSIDED) || ^ ( ) 1 warning generated. mv -f .deps/p_floor.Tpo .deps/p_floor.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_data.o -MD -MP -MF .deps/r_data.Tpo -c -o r_data.o r_data.c r_data.c:143:26: warning: cast from 'const char *' to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] nummappatches = LONG(*((const int *)names)); ^~~~~~~~~~~~~~~~~~ ./m_swap.h:131:28: note: expanded from macro 'LONG' #define LONG(x) doom_wtohl(x) ^ ./m_swap.h:117:34: note: expanded from macro 'doom_wtohl' #define doom_wtohl(x) (long int)(x) ^ r_data.c:259:18: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for(j=0;jname);j++) ~^~~~~~~~~~~~~~~~~~~~~~ r_data.c:418:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 3 warnings generated. mv -f .deps/r_data.Tpo .deps/r_data.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT w_wad.o -MD -MP -MF .deps/w_wad.Tpo -c -o w_wad.o w_wad.c w_wad.c:331:46: warning: comparison of integers of different signs: 'enum (unnamed enum at ./w_wad.h:105:3)' and 'int' [-Wsign-compare] lumpinfo[i].li_namespace != li_namespace)) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ 1 warning generated. mv -f .deps/w_wad.Tpo .deps/w_wad.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_genlin.o -MD -MP -MF .deps/p_genlin.Tpo -c -o p_genlin.o p_genlin.c mv -f .deps/p_genlin.Tpo .deps/p_genlin.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT dstrings.o -MD -MP -MF .deps/dstrings.Tpo -c -o dstrings.o dstrings.c mv -f .deps/dstrings.Tpo .deps/dstrings.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_inter.o -MD -MP -MF .deps/p_inter.Tpo -c -o p_inter.o p_inter.c p_inter.c:148:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] break; ^ p_inter.c:145:7: note: previous statement is here if (player->readyweapon == wp_fist || player->readyweapon == wp_pistol) ^ 1 warning generated. mv -f .deps/p_inter.Tpo .deps/p_inter.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT wi_stuff.o -MD -MP -MF .deps/wi_stuff.Tpo -c -o wi_stuff.o wi_stuff.c wi_stuff.c:434:31: warning: unused parameter 'ev' [-Wunused-parameter] boolean WI_Responder(event_t* ev) ^ 1 warning generated. mv -f .deps/wi_stuff.Tpo .deps/wi_stuff.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_draw.o -MD -MP -MF .deps/r_draw.Tpo -c -o r_draw.o r_draw.c In file included from r_draw.c:215: ./r_drawflush.inl:253:32: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if ((sizeof(int) == 4) && (((int)source % 4) == 0) && (((int)dest % 4) == 0)) { ^~~~~~~~~~~ ./r_drawflush.inl:253:60: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if ((sizeof(int) == 4) && (((int)source % 4) == 0) && (((int)dest % 4) == 0)) { ^~~~~~~~~ ./r_drawflush.inl:256:11: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *)dest = *(int *)source; ^~~~~~~~~~~ ./r_drawflush.inl:256:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *)dest = *(int *)source; ^~~~~~~~~~~~~ r_draw.c:1009:28: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] drawvars.short_topleft = (unsigned short *)(screens[0].data) + viewwindowy*screens[0].short_pitch + viewwindowx; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_draw.c:1010:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] drawvars.int_topleft = (unsigned int *)(screens[0].data) + viewwindowy*screens[0].int_pitch + viewwindowx; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. mv -f .deps/r_draw.Tpo .deps/r_draw.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT f_finale.o -MD -MP -MF .deps/f_finale.Tpo -c -o f_finale.o f_finale.c mv -f .deps/f_finale.Tpo .deps/f_finale.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_lights.o -MD -MP -MF .deps/p_lights.Tpo -c -o p_lights.o p_lights.c p_lights.c:391:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] sector->lightlevel = tbright; ^ p_lights.c:387:5: note: previous statement is here if ((temp = getNextSector(sector->lines[j],sector)) && ^ 1 warning generated. mv -f .deps/p_lights.Tpo .deps/p_lights.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT z_bmalloc.o -MD -MP -MF .deps/z_bmalloc.Tpo -c -o z_bmalloc.o z_bmalloc.c mv -f .deps/z_bmalloc.Tpo .deps/z_bmalloc.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_map.o -MD -MP -MF .deps/p_map.Tpo -c -o p_map.o p_map.c p_map.c:201:19: warning: cast from 'const struct mobj_s *' to 'struct mobj_s *' drops const qualifier [-Wcast-qual] ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset ^ p_map.c:220:19: warning: cast from 'const struct mobj_s *' to 'struct mobj_s *' drops const qualifier [-Wcast-qual] ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset ^ p_map.c:1502:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (li->flags & ML_TWOSIDED) ^ p_map.c:1499:5: note: previous statement is here if (li->special) ^ 3 warnings generated. mv -f .deps/p_map.Tpo .deps/p_map.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_main.o -MD -MP -MF .deps/r_main.Tpo -c -o r_main.o r_main.c r_main.c:540:5: warning: 'USE_SDL' is not defined, evaluates to 0 [-Wundef] #if USE_SDL ^ 1 warning generated. mv -f .deps/r_main.Tpo .deps/r_main.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT f_wipe.o -MD -MP -MF .deps/f_wipe.Tpo -c -o f_wipe.o f_wipe.c f_wipe.c:65:30: warning: unused parameter 'ticks' [-Wunused-parameter] static int wipe_initMelt(int ticks) ^ f_wipe.c:142:30: warning: unused parameter 'ticks' [-Wunused-parameter] static int wipe_exitMelt(int ticks) ^ 2 warnings generated. mv -f .deps/f_wipe.Tpo .deps/f_wipe.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT z_zone.o -MD -MP -MF .deps/z_zone.Tpo -c -o z_zone.o z_zone.c z_zone.c:257:26: warning: unused parameter 'buf' [-Wunused-parameter] void Z_DumpHistory(char *buf) ^ z_zone.c:440:11: warning: cast from 'char *' to 'memblock_t *' (aka 'struct memblock *') increases required alignment from 1 to 8 [-Wcast-align] block = (memblock_t *)((char *) block + HEADER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z_zone.c:459:23: warning: cast from 'char *' to 'memblock_t *' (aka 'struct memblock *') increases required alignment from 1 to 8 [-Wcast-align] memblock_t *block = (memblock_t *)((char *) p - HEADER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z_zone.c:562:23: warning: cast from 'char *' to 'memblock_t *' (aka 'struct memblock *') increases required alignment from 1 to 8 [-Wcast-align] memblock_t *block = (memblock_t *)((char *) ptr - HEADER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z_zone.c:646:27: warning: cast from 'char *' to 'memblock_t *' (aka 'struct memblock *') increases required alignment from 1 to 8 [-Wcast-align] memblock_t *block = (memblock_t *)((char *) ptr - HEADER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. mv -f .deps/z_zone.Tpo .deps/z_zone.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_maputl.o -MD -MP -MF .deps/p_maputl.Tpo -c -o p_maputl.o p_maputl.c mv -f .deps/p_maputl.Tpo .deps/p_maputl.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_plane.o -MD -MP -MF .deps/r_plane.Tpo -c -o r_plane.o r_plane.c mv -f .deps/r_plane.Tpo .deps/r_plane.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c md5.c:134:31: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ~~~ ^~~ md5.c:134:31: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~ 1 warning generated. mv -f .deps/md5.Tpo .deps/md5.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT p_checksum.o -MD -MP -MF .deps/p_checksum.Tpo -c -o p_checksum.o p_checksum.c p_checksum.c:16:32: warning: unused parameter 'tic' [-Wunused-parameter] static void p_checksum_nop(int tic){} /* do nothing */ ^ 1 warning generated. mv -f .deps/p_checksum.Tpo .deps/p_checksum.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_patch.o -MD -MP -MF .deps/r_patch.Tpo -c -o r_patch.o r_patch.c r_patch.c:245:20: warning: cast from 'unsigned char *' to 'rcolumn_t *' increases required alignment from 1 to 8 [-Wcast-align] patch->columns = (rcolumn_t*)((unsigned char*)patch->pixels + pixelDataSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_patch.c:246:18: warning: cast from 'unsigned char *' to 'rpost_t *' increases required alignment from 1 to 4 [-Wcast-align] patch->posts = (rpost_t*)((unsigned char*)patch->columns + columnsDataSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_patch.c:470:30: warning: cast from 'unsigned char *' to 'rcolumn_t *' increases required alignment from 1 to 8 [-Wcast-align] composite_patch->columns = (rcolumn_t*)((unsigned char*)composite_patch->pixels + pixelDataSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_patch.c:471:28: warning: cast from 'unsigned char *' to 'rpost_t *' increases required alignment from 1 to 4 [-Wcast-align] composite_patch->posts = (rpost_t*)((unsigned char*)composite_patch->columns + columnsDataSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. mv -f .deps/r_patch.Tpo .deps/r_patch.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_fps.o -MD -MP -MF .deps/r_fps.Tpo -c -o r_fps.o r_fps.c mv -f .deps/r_fps.Tpo .deps/r_fps.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT r_filter.o -MD -MP -MF .deps/r_filter.Tpo -c -o r_filter.o r_filter.c r_filter.c:36:4: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0*DMR, 14*DMR, 3*DMR, 13*DMR, 11*DMR, 5*DMR, 8*DMR, 6*DMR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } r_filter.c:36:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0*DMR, 14*DMR, 3*DMR, 13*DMR, 11*DMR, 5*DMR, 8*DMR, 6*DMR, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } r_filter.c:37:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 12*DMR, 2*DMR, 15*DMR, 1*DMR, 7*DMR, 9*DMR, 4*DMR, 10*DMR ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } r_filter.c:37:36: warning: suggest braces around initialization of subobject [-Wmissing-braces] 12*DMR, 2*DMR, 15*DMR, 1*DMR, 7*DMR, 9*DMR, 4*DMR, 10*DMR ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } 4 warnings generated. mv -f .deps/r_filter.Tpo .deps/r_filter.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT d_client.o -MD -MP -MF .deps/d_client.Tpo -c -o d_client.o d_client.c d_client.c:204:33: warning: unused parameter 'name' [-Wunused-parameter] boolean D_NetGetWad(const char* name) ^ d_client.c:420:14: warning: cast from 'packet_header_t *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align] int *p = (int*)(queuedpacket[i]+1); ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. mv -f .deps/d_client.Tpo .deps/d_client.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT gl_main.o -MD -MP -MF .deps/gl_main.Tpo -c -o gl_main.o gl_main.c gl_main.c:331:19: warning: unused parameter 'width' [-Wunused-parameter] void gld_Init(int width, int height) ^ gl_main.c:331:30: warning: unused parameter 'height' [-Wunused-parameter] void gld_Init(int width, int height) ^ gl_main.c:353:19: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] int len = MIN(p-rover, sizeof(ext_name)-1); ^ ~~~~~~~ ~~~~~~~~~~~~~~~~~~ ./doomtype.h:58:22: note: expanded from macro 'MIN' #define MIN(a,b) ((a)<(b)?(a):(b)) ~ ^ ~ gl_main.c:1086:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (levelinfo) fprintf(levelinfo, "All carved away: subsector %i - sector %i\n", ssec-subsectors, ssec->sector->iSectorID); ~~ ^~~~~~~~~~~~~~~ %li gl_main.c:2605:30: warning: unused parameter 'player' [-Wunused-parameter] void gld_DrawScene(player_t *player) ^ 5 warnings generated. mv -f .deps/gl_main.Tpo .deps/gl_main.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT gl_texture.o -MD -MP -MF .deps/gl_texture.Tpo -c -o gl_texture.o gl_texture.c gl_texture.c:501:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^ ~ gl_texture.c:501:7: note: add parentheses after the '!' to evaluate the bitwise operator first if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^ ( ) gl_texture.c:501:7: note: add parentheses around left hand side expression to silence this warning if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^ ( ) gl_texture.c:508:37: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^ ~ gl_texture.c:508:37: note: add parentheses after the '!' to evaluate the bitwise operator first CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^ ( ) gl_texture.c:508:37: note: add parentheses around left hand side expression to silence this warning CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^ ( ) gl_texture.c:573:44: warning: unused parameter 'cm' [-Wunused-parameter] GLTexture *gld_RegisterPatch(int lump, int cm) ^ gl_texture.c:776:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^ ~ gl_texture.c:776:7: note: add parentheses after the '!' to evaluate the bitwise operator first if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^ ( ) gl_texture.c:776:7: note: add parentheses around left hand side expression to silence this warning if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^ ( ) gl_texture.c:780:49: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^ ~ gl_texture.c:780:49: note: add parentheses after the '!' to evaluate the bitwise operator first gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^ ( ) gl_texture.c:780:49: note: add parentheses around left hand side expression to silence this warning gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^ ( ) 5 warnings generated. mv -f .deps/gl_texture.Tpo .deps/gl_texture.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT w_mmap.o -MD -MP -MF .deps/w_mmap.Tpo -c -o w_mmap.o w_mmap.c mv -f .deps/w_mmap.Tpo .deps/w_mmap.Po cc -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -L/usr/local/lib -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/local/lib -lSDL -pthread -L/usr/X11R6/lib -lGL -lGLU -lpng -lSDL_mixer -lm ld: warning: g_game.c(g_game.o:(G_DoLoadGame)): warning: sprintf() is often misused, please use snprintf() ld: warning: g_game.c(g_game.o:(G_DoLoadGame)): warning: strcat() is almost always misused, please use strlcat() ld: warning: g_game.c(g_game.o:(G_DoSaveGame)): warning: strcpy() is almost always misused, please use strlcpy() cc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT d_server.o -MD -MP -MF .deps/d_server.Tpo -c -o d_server.o d_server.c d_server.c:213:29: warning: parameter 'p' set but not used [-Wunused-but-set-parameter] int M_CheckParm(const char* p) { p = NULL; return 1; } ^ d_server.c:234:22: warning: comparison of integers of different signs: 'enum (unnamed enum at d_server.c:228:1)' and 'int' [-Wsign-compare] if (playerstate[i] == ps) j++; ~~~~~~~~~~~~~~ ^ ~~ d_server.c:492:10: warning: cast from 'packet_header_t *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] n = *(short*)(packet+1); ^~~~~~~~~~~~~~~~~~ d_server.c:573:69: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (verbose>2) printf("%d requests resend from %d\n", from, ptic(packet)); ~~ ^~~~~~~~~~~~ %ld d_server.c:591:60: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (verbose) printf("%d quits at %d (%d left)\n", from, ptic(packet),curplayers); ~~ ^~~~~~~~~~~~ %ld 5 warnings generated. mv -f .deps/d_server.Tpo .deps/d_server.Po cc -O2 -pipe -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/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -L/usr/local/lib -o prboom-game-server d_server.o POSIX/libposixdoom.a SDL/i_network.o -lSDL_net -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lpng -lSDL_mixer -lm ld: warning: d_server.c(d_server.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: i_system.c(i_system.o:(I_SigString) in archive POSIX/libposixdoom.a): warning: sprintf() is often misused, please use snprintf() Making all in ICONS Making all in VisualC8 Making all in VisualC6 >>> Running package in games/prboom at 1731877715.59 ===> games/prboom ===> Faking installation for prboom-2.5.0p4 Making install in doc test -z "/usr/local/share/doc/prboom" || mkdir -p "/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom" /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'boom.txt' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/boom.txt' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'MBF.txt' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/MBF.txt' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'MBFFAQ.txt' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/MBFFAQ.txt' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'README.demos' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/README.demos' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'README.compat' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/README.compat' test -z "/usr/local/man/man5" || mkdir -p "/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/man/man5" /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 './boom.cfg.5' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/man/man5/boom.cfg.5' test -z "/usr/local/man/man6" || mkdir -p "/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/man/man6" /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 './prboom.6' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/man/man6/prboom.6' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 './prboom-game-server.6' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/man/man6/prboom-game-server.6' Making install in data test -z "/usr/local/share/doom" || mkdir -p "/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doom" /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'prboom.wad' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doom/prboom.wad' Making install in src Making install in SDL Making install in POSIX Making install in MAC test -z "/usr/local/bin" || mkdir -p "/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/bin" /exopi-obj/pobj/prboom-2.5.0/bin/install -c -s -m 755 'prboom' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/bin/prboom' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -s -m 755 'prboom-game-server' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/bin/prboom-game-server' Making install in ICONS Making install in VisualC8 Making install in VisualC6 test -z "/usr/local/share/doc/prboom" || mkdir -p "/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom" /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'README' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/README' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'COPYING' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/COPYING' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'AUTHORS' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/AUTHORS' /exopi-obj/pobj/prboom-2.5.0/bin/install -c -m 644 'NEWS' '/exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/prboom/NEWS' Installing /exopi-cvs/ports/games/prboom/pkg/README as /exopi-obj/pobj/prboom-2.5.0/fake-amd64/usr/local/share/doc/pkg-readmes/prboom ===> Building package for prboom-2.5.0p4 Create /exopi-cvs/ports/packages/amd64/all/prboom-2.5.0p4.tgz Creating package prboom-2.5.0p4 reading plist| checking dependencies| checking dependencies|audio/timidity checking dependencies|devel/sdl-mixer checking dependencies|devel/sdl-net checking dependencies|graphics/png checksumming| checksumming| | 0% checksumming|** | 3% checksumming|*** | 5% checksumming|***** | 8% checksumming|****** | 11% checksumming|******** | 13% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************* | 21% checksumming|************** | 24% checksumming|**************** | 26% checksumming|****************** | 29% checksumming|******************* | 32% checksumming|********************* | 34% checksumming|********************** | 37% checksumming|************************ | 39% checksumming|************************** | 42% checksumming|*************************** | 45% checksumming|***************************** | 47% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 55% checksumming|*********************************** | 58% checksumming|************************************* | 61% checksumming|*************************************** | 63% checksumming|**************************************** | 66% checksumming|****************************************** | 68% checksumming|******************************************* | 71% checksumming|********************************************* | 74% checksumming|*********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|***************************************************** | 87% checksumming|******************************************************* | 89% checksumming|******************************************************** | 92% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********************************************** | 72% archiving|*********************************************** | 74% archiving|************************************************ | 75% archiving|************************************************ | 76% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|************************************************** | 78% archiving|**************************************************** | 81% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/prboom-2.5.0p4.tgz >>> Running clean in games/prboom at 1731877720.58 ===> games/prboom ===> Cleaning for prboom-2.5.0p4 >>> Ended at 1731877720.83 max_stuck=5.09/depends=1.78/show-prepare-results=1.21/build=40.87/package=4.99/clean=0.29