<86>Feb 15 04:58:20 userdel[580798]: delete user 'rooter' <86>Feb 15 04:58:20 userdel[580798]: removed group 'rooter' owned by 'rooter' <86>Feb 15 04:58:20 groupadd[580807]: group added to /etc/group: name=rooter, GID=633 <86>Feb 15 04:58:20 groupadd[580807]: group added to /etc/gshadow: name=rooter <86>Feb 15 04:58:20 groupadd[580807]: new group: name=rooter, GID=633 <86>Feb 15 04:58:20 useradd[580816]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Feb 15 04:58:20 userdel[580825]: delete user 'builder' <86>Feb 15 04:58:20 userdel[580825]: removed group 'builder' owned by 'builder' <86>Feb 15 04:58:20 userdel[580825]: removed shadow group 'builder' owned by 'builder' <86>Feb 15 04:58:20 groupadd[580837]: group added to /etc/group: name=builder, GID=634 <86>Feb 15 04:58:20 groupadd[580837]: group added to /etc/gshadow: name=builder <86>Feb 15 04:58:20 groupadd[580837]: new group: name=builder, GID=634 <86>Feb 15 04:58:20 useradd[580844]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/prboom-2.5.0-alt0.3.1.src.rpm: The use of such a license name is ambiguous: GPL <13>Feb 15 04:58:22 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:22 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849991 installed <13>Feb 15 04:58:22 rpmi: libflac8-1.3.3.0.62.ce6d-alt1 sisyphus+262142.100.1.1 1605801575 installed <13>Feb 15 04:58:22 rpmi: libvorbis-1.3.7-alt1 sisyphus+256535.100.1.1 1597965499 installed <13>Feb 15 04:58:22 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Feb 15 04:58:22 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Feb 15 04:58:22 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852852 installed <13>Feb 15 04:58:22 rpmi: libaudiofile1-0.3.6-alt3 sisyphus+222710.100.1.1 1551006551 installed <13>Feb 15 04:58:22 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:22 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:22 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Feb 15 04:58:22 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Feb 15 04:58:22 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Feb 15 04:58:22 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Feb 15 04:58:22 rpmi: libopus-1.3.1-alt3 sisyphus+248017.100.1.1 1584520346 installed <13>Feb 15 04:58:22 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Feb 15 04:58:22 rpmi: libsndfile-1.0.30-alt2 sisyphus+263035.100.1.1 1607353096 installed <13>Feb 15 04:58:22 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099128 installed <13>Feb 15 04:58:22 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440105 installed <13>Feb 15 04:58:22 rpmi: libgcrypt20-1.9.1-alt1 sisyphus+265464.100.1.1 1611920690 installed <13>Feb 15 04:58:22 rpmi: libsystemd-1:247.3-alt2 sisyphus+266129.100.1.3 1613012524 installed <13>Feb 15 04:58:22 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed <13>Feb 15 04:58:22 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Feb 15 04:58:22 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Feb 15 04:58:22 rpmi: libX11-locales-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>Feb 15 04:58:22 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Feb 15 04:58:22 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Feb 15 04:58:22 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Feb 15 04:58:22 rpmi: libX11-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>Feb 15 04:58:22 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Feb 15 04:58:22 rpmi: libpulseaudio-14.2-alt1 sisyphus+265609.100.1.1 1612188811 installed <13>Feb 15 04:58:22 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Feb 15 04:58:22 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Feb 15 04:58:22 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Feb 15 04:58:22 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Feb 15 04:58:22 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595144 installed <13>Feb 15 04:58:22 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Feb 15 04:58:23 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Feb 15 04:58:24 rpmi: libX11-devel-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>Feb 15 04:58:24 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852852 installed <13>Feb 15 04:58:24 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Feb 15 04:58:24 rpmi: libdrm-1:2.4.104-alt1 sisyphus+264662.100.1.1 1610612816 installed <13>Feb 15 04:58:24 rpmi: libGLX-mesa-4:20.3.4-alt1 sisyphus+265564.100.1.1 1612163457 installed <13>Feb 15 04:58:24 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:24 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:24 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Feb 15 04:58:24 rpmi: libgbm-4:20.3.4-alt1 sisyphus+265564.100.1.1 1612163457 installed <13>Feb 15 04:58:24 rpmi: libEGL-mesa-4:20.3.4-alt1 sisyphus+265564.100.1.1 1612163457 installed <13>Feb 15 04:58:24 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:24 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed <13>Feb 15 04:58:24 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Feb 15 04:58:24 rpmi: alsa-ucm-conf-1.2.4-alt1 sisyphus+260180.200.1.1 1603282405 installed <13>Feb 15 04:58:24 rpmi: alsa-topology-conf-1.2.4-alt1 sisyphus+260180.100.1.1 1603282384 installed <13>Feb 15 04:58:24 rpmi: libalsa-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282485 installed <13>Feb 15 04:58:24 rpmi: libSDL-1.2.14-alt9 sisyphus+261262.100.1.1 1604829349 installed <13>Feb 15 04:58:24 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+261262.100.1.1 1604829349 installed <13>Feb 15 04:58:24 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Feb 15 04:58:24 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Feb 15 04:58:24 rpmi: libesd-0.2.41-alt10 1535637761 installed <13>Feb 15 04:58:24 rpmi: esd-0.2.41-alt10 1535637761 installed <13>Feb 15 04:58:24 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Feb 15 04:58:24 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Feb 15 04:58:24 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/prboom-2.5.0-alt0.3.1.nosrc.rpm (w1.gzdio) Installing prboom-2.5.0-alt0.3.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.15417 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf prboom-2.5.0 + echo 'Source #0 (prboom-2.5.0.tar.gz):' Source #0 (prboom-2.5.0.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/prboom-2.5.0.tar.gz + /bin/tar -xf - + cd prboom-2.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (prboom-2.5.0-alt-libpng15.patch):' Patch #0 (prboom-2.5.0-alt-libpng15.patch): + /usr/bin/patch -p2 patching file src/SDL/i_sshot.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.15417 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prboom-2.5.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-cpu-opt checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking checking whether to use x86 asm versions of some functions... no checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking whether ln -s works... yes checking for x86_64-alt-linux-ranlib... no checking for ranlib... 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... yes checking for inline... inline checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for uid_t in sys/types.h... yes checking for size_t... yes checking whether sys_siglist is declared... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking asm/byteorder.h usability... yes checking asm/byteorder.h presence... yes checking for asm/byteorder.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for stricmp... no checking for strnicmp... no checking for min... no checking for max... no checking for getopt... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for vsnprintf... yes checking for mmap... yes checking for usleep... yes checking for sched_setaffinity... yes checking for pow in -lm... yes checking for OpenGL support... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.3... yes checking for SDL_JoystickGetAxis... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_UDP_Bind in -lSDL_net... yes checking for png_create_info_struct in -lpng... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/POSIX/Makefile config.status: creating src/SDL/Makefile config.status: creating src/MAC/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating ICONS/Makefile config.status: creating VisualC6/Makefile config.status: creating VisualC8/Makefile config.status: creating prboom.spec config.status: creating config.h config.status: executing depfiles commands + make -j8 make all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in data make[2]: Nothing to be done for 'all'. Making all in src Making all in SDL make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_joy.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_network.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_sshot.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_main.c i_main.c: In function 'main': i_main.c:359:10: warning: assignment to 'const char * const*' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 359 | myargv = argv; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_system.c i_system.c: In function 'I_FindFile': i_system.c:358:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 358 | for (i = 0; i < sizeof(search)/sizeof(*search); i++) { | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_video.c i_video.c: In function 'I_CalculateRes': i_video.c:519:27: warning: pointer targets in passing argument 1 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] 519 | I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); | ^~~~~~ | | | unsigned int * i_video.c:453:39: note: expected 'int *' but argument is of type 'unsigned int *' 453 | static void I_ClosestResolution (int *width, int *height, int flags) | ~~~~~^~~~~ i_video.c:519:35: warning: pointer targets in passing argument 2 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] 519 | I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); | ^~~~~~~ | | | unsigned int * i_video.c:453:51: note: expected 'int *' but argument is of type 'unsigned int *' 453 | static void I_ClosestResolution (int *width, int *height, int flags) | ~~~~~^~~~~~ i_video.c: In function 'I_SkipFrame': i_video.c:281:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | if (!paused) | ^ i_video.c:283:3: note: here 283 | default: | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_sound.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' 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 make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' Making all in POSIX make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/POSIX' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -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 -c i_system.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/POSIX' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/POSIX' rm -f libposixdoom.a ar cru libposixdoom.a i_system.o ranlib libposixdoom.a make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/POSIX' Making all in MAC make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c lprintf.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_demo.c r_demo.c: In function 'R_SmoothPlaying_Reset': r_demo.c:49:40: warning: the address of 'players' will always evaluate as 'true' [-Waddress] 49 | if (demo_smoothturns && demoplayback && players) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_sky.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c mmus2mid.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_plats.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_argv.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c hu_lib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_bbox.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_segs.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_mobj.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_items.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c am_map.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_pspr.c p_pspr.c: In function 'A_Saw': p_pspr.c:553:35: warning: comparison of integer expressions of different signedness: 'angle_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 553 | if (angle - player->mo->angle < -ANG90/20) | ^ p_pspr.c: In function 'P_SwitchWeapon': p_pspr.c:169:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 169 | if (!player->powers[pw_strength]) // allow chainsaw override | ^ p_pspr.c:171:7: note: here 171 | case 0: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c hu_stuff.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_saveg.c p_saveg.c: In function 'P_ArchivePlayers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:64:9: note: in expansion of macro 'PADSAVEP' 64 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchivePlayers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:87:9: note: in expansion of macro 'PADSAVEP' 87 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:100:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 100 | &states[ (int)players[i].psprites[j].state ]; | ^ p_saveg.c: In function 'P_ArchiveWorld': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:134:3: note: in expansion of macro 'PADSAVEP' 134 | PADSAVEP(); // killough 3/22/98 | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveWorld': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:196:3: note: in expansion of macro 'PADSAVEP' 196 | PADSAVEP(); // killough 3/22/98 | ^~~~~~~~ p_saveg.c:206:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 206 | get = (void *)((char *) get + sizeof sec->floorheight); | ^ p_saveg.c:208:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 208 | get = (void *)((char *) get + sizeof sec->ceilingheight); | ^ p_saveg.c:237:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 237 | get = (void *)((char *) get + sizeof si->textureoffset); | ^ p_saveg.c:239:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 239 | get = (void *)((char *) get + sizeof si->rowoffset); | ^ p_saveg.c:246:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 246 | save_p = (byte *) get; | ^ p_saveg.c: In function 'P_ThinkerToIndex': p_saveg.c:274:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 274 | th->prev = (thinker_t *) ++number_of_thinkers; | ^ p_saveg.c: In function 'P_ArchiveThinkers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:320:9: note: in expansion of macro 'PADSAVEP' 320 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveThinkers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:455:9: note: in expansion of macro 'PADSAVEP' 455 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:476:7: note: in expansion of macro 'PADSAVEP' 476 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:499:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 499 | mobj->state = states + (int) mobj->state; | ^ p_saveg.c:502:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 502 | (mobj->player = &players[(int) mobj->player - 1]) -> mo = mobj; | ^ p_saveg.c: In function 'P_ArchiveSpecials': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:662:11: note: in expansion of macro 'PADSAVEP' 662 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:674:11: note: in expansion of macro 'PADSAVEP' 674 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:688:11: note: in expansion of macro 'PADSAVEP' 688 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:701:11: note: in expansion of macro 'PADSAVEP' 701 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:713:11: note: in expansion of macro 'PADSAVEP' 713 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:725:11: note: in expansion of macro 'PADSAVEP' 725 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:737:11: note: in expansion of macro 'PADSAVEP' 737 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:750:11: note: in expansion of macro 'PADSAVEP' 750 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:763:11: note: in expansion of macro 'PADSAVEP' 763 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveSpecials': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:808:9: note: in expansion of macro 'PADSAVEP' 808 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:813:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 813 | ceiling->sector = §ors[(int)ceiling->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:825:9: note: in expansion of macro 'PADSAVEP' 825 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:830:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 830 | door->sector = §ors[(int)door->sector]; | ^ p_saveg.c:833:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:833:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:842:9: note: in expansion of macro 'PADSAVEP' 842 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:847:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 847 | floor->sector = §ors[(int)floor->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:855:9: note: in expansion of macro 'PADSAVEP' 855 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:860:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 860 | plat->sector = §ors[(int)plat->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:872:9: note: in expansion of macro 'PADSAVEP' 872 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:877:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 877 | flash->sector = §ors[(int)flash->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:884:9: note: in expansion of macro 'PADSAVEP' 884 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:889:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 889 | strobe->sector = §ors[(int)strobe->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:896:9: note: in expansion of macro 'PADSAVEP' 896 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:901:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 901 | glow->sector = §ors[(int)glow->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:908:9: note: in expansion of macro 'PADSAVEP' 908 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:913:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | flicker->sector = §ors[(int)flicker->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:921:9: note: in expansion of macro 'PADSAVEP' 921 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:926:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 926 | elevator->sector = §ors[(int)elevator->sector]; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_things.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_cheat.c m_cheat.c: In function 'cheat_tntweapx': m_cheat.c:620:16: warning: comparison of integer expressions of different signedness: 'int' and 'weapontype_t' [-Wsign-compare] 620 | if (w==plyr->readyweapon) // maybe switch if weapon removed | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c g_game.c g_game.c: In function 'G_BuildTiccmd': g_game.c:462:35: warning: comparison of integer expressions of different signedness: 'boolean' and 'int' [-Wsign-compare] 462 | if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) | ^~ g_game.c:485:15: warning: comparison of integer expressions of different signedness: 'boolean' and 'int' [-Wsign-compare] 485 | if (bstrafe != dclickstate2 && dclicktime2 > 1 ) | ^~ g_game.c: In function 'G_DoLoadLevel': g_game.c:628:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 628 | memset (mousebuttons, 0, sizeof(mousebuttons)); | ^ g_game.c:629:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 629 | memset (joybuttons, 0, sizeof(joybuttons)); | ^ g_game.c: In function 'G_DoLoadGame': g_game.c:1582:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1582 | if (!strncmp(save_p, vcheck, VERSIONSIZE)) { | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: g_game.c:1607:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1607 | char *msg = malloc(strlen(save_p + sizeof checksum) + 128); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} z_zone.h:113:37: note: in definition of macro 'malloc' 113 | #define malloc(n) Z_Malloc(n,PU_STATIC,0) | ^ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1610:59: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 1610 | strcat(strcat(msg,"Wads expected:\n\n"), save_p + sizeof checksum); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:112:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 112 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1621:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1621 | save_p += strlen(save_p)+1; | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1642:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c:1642:10: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c: In function 'G_DoSaveGame': g_game.c:1805:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1805 | strcpy(save_p, w); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1806:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1806 | save_p += strlen(save_p); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1974 | for (i = 0; i < sizeof(levels)/sizeof(*levels); i++) | ^ g_game.c: In function 'G_ReloadDefaults': g_game.c:2073:27: warning: comparison of integer expressions of different signedness: 'complevel_t' and 'int' [-Wsign-compare] 2073 | if (compatibility_level == -1) | ^~ g_game.c: In function 'G_WriteDemoTiccmd': g_game.c:2255:10: warning: pointer targets in assignment from 'char *' to 'const byte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 2255 | demo_p = buf; | ^ g_game.c: In function 'G_RecordDemo': g_game.c:2292:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2292 | if (pos) | ^~ g_game.c:2304:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2304 | if (slot == -1) I_Error("G_RecordDemo: No save in demo, can't continue"); | ^~ g_game.c: In function 'G_ReadDemoHeader': g_game.c:2764:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2764 | else | ^~~~ g_game.c:2766:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2766 | break; | ^~~~~ g_game.c:2774:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2774 | else | ^~~~ g_game.c:2776:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2776 | break; | ^~~~~ g_game.c: In function 'G_WorldDone': g_game.c:1403:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 1403 | if (!secretexit) | ^ g_game.c:1405:9: note: here 1405 | case 6: | ^~~~ g_game.c: In function 'G_RecordDemo': g_game.c:2307:21: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2307 | fseek(demofp, -rc, SEEK_CUR); | ^~~ g_game.c: In function 'G_BeginRecording': g_game.c:2559:15: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] 2559 | *demo_p++ = v; | ~~~~~~~~~~^~~ g_game.c:2518:17: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] 2518 | *demo_p++ = v; | ~~~~~~~~~~^~~ g_game.c: In function 'G_ReadDemoTiccmd': g_game.c:2226:25: warning: 'at' may be used uninitialized in this function [-Wmaybe-uninitialized] 2226 | cmd->sidemove = (signed char)at; | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c sounds.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c s_sound.c s_sound.c: In function 'S_AdjustSoundParams': s_sound.c:596:3: warning: multi-line comment [-Wcomment] 596 | // P_SetupLevel() \ P_LoadThings() \ P_SpawnMapThing() \ P_SpawnPlayer(players[0]) \ | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c info.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_sight.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_deh.c d_deh.c: In function 'deh_procPointer': d_deh.c:1935:17: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1935 | if (value < 0 || value >= NUMSTATES) | ^ d_deh.c:1949:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1949 | for (i=0;isector->oldspecial = ceiling->oldspecial; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:114:11: note: here 114 | case genCeilingChg: | ^~~~ p_ceilng.c:121:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 121 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:122:11: note: here 122 | case genSilentCrusher: | ^~~~ p_ceilng.c:177:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 177 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:178:11: note: here 178 | case crushAndRaise: | ^~~~ p_ceilng.c:179:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 179 | ceiling->speed = CEILSPEED; p_ceilng.c:180:11: note: here 180 | case fastCrushAndRaise: | ^~~~ p_ceilng.c:190:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 190 | ceiling->sector->oldspecial = ceiling->oldspecial; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:191:11: note: here 191 | case genCeilingChg: | ^~~~ p_ceilng.c: In function 'EV_DoCeiling': p_ceilng.c:304:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 304 | ceiling->topheight = sec->ceilingheight; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p_ceilng.c:305:7: note: here 305 | case lowerAndCrush: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_user.c p_user.c: In function 'P_PlayerThink': p_user.c:314:23: warning: the address of 'players' will always evaluate as 'true' [-Waddress] 314 | if (movement_smooth && players && &players[displayplayer] == player) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c version.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c doomstat.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_doors.c p_doors.c: In function 'T_VerticalDoor': p_doors.c:204:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 204 | if (!comp[comp_blazing]) { | ^ p_doors.c:209:11: note: here 209 | default: // other types bounce off the obstruction | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_spec.c p_spec.c: In function 'P_SpawnScrollers': p_spec.c:2806:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 2806 | if (special != 253) | ^ p_spec.c:2809:9: note: here 2809 | case 252: // carry objects on floor | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_bsp.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c v_video.c v_video.c: In function 'V_DrawMemPatch': v_video.c:293:61: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 293 | const int colindex = (flags & VPT_FLIP) ? (w - col) : (col); | ^~~~~ v_video.c: In function 'V_UpdateTrueColorPalette': v_video.c:542:18: warning: pointer targets in assignment from 'int *' to 'unsigned int *' differ in signedness [-Wpointer-sign] 542 | Palettes32 = (int*)malloc(numPals*256*sizeof(int)*VID_NUMCOLORWEIGHTS); | ^ v_video.c:572:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] 572 | Palettes16 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); | ^ v_video.c:602:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] 602 | Palettes15 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c dstrings.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c w_wad.c w_wad.c: In function 'W_CheckNumForName': w_wad.c:331:46: warning: comparison of integer expressions of different signedness: 'enum ' and 'int' [-Wsign-compare] 331 | lumpinfo[i].li_namespace != li_namespace)) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_data.c r_data.c: In function 'R_InitTextures': r_data.c:259:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 259 | for(j=0;jname);j++) | ^ r_data.c: In function 'R_ColourMap': r_data.c:415:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 415 | if (curline) | ^ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from r_data.c:35: r_data.c: In function 'R_PrecacheLevel': r_data.c:668:51: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 668 | hitlist = malloc((size_t)numtextures > size ? numtextures : size); | ^~~~~~~~~~~ z_zone.h:113:37: note: in definition of macro 'malloc' 113 | #define malloc(n) Z_Malloc(n,PU_STATIC,0) | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_floor.c p_floor.c: In function 'EV_DoDonut': p_floor.c:918:14: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 918 | if ((!s2->lines[i]->flags & ML_TWOSIDED) || | ^~~~~~~~~~~~~~~~~~~~ p_floor.c: In function 'EV_DoFloor': p_floor.c:507:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 507 | floor->crush = true; | ~~~~~~~~~~~~~^~~~~~ p_floor.c:508:7: note: here 508 | case raiseFloor: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_genlin.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c st_stuff.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_inter.c p_inter.c: In function 'P_GiveAmmo': p_inter.c:145:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 145 | if (player->readyweapon == wp_fist || player->readyweapon == wp_pistol) | ^~ p_inter.c:148:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 148 | break; | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_menu.c m_menu.c: In function 'M_VerifyNightmare': m_menu.c:653:20: warning: implicit conversion from 'enum ' to 'skill_t' [-Wenum-conversion] 653 | G_DeferedInitNew(nightmare,epi+1,1); | ^~~~~~~~~ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c: In function 'M_VerifyForcedLoadGame': m_menu.c:773:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 773 | free((char*)messageString); // free the message strdup()'ed below | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ m_menu.c: In function 'M_DrawSetting': m_menu.c:1894:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1894 | char *text = (char*)*s->var.def->location.ppsz; | ^ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c: In function 'M_ResetDefaults': m_menu.c:3595:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3595 | free((char*)*dp->location.ppsz), | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ m_menu.c: In function 'M_Responder': m_menu.c:4638:27: warning: comparison of integer expressions of different signedness: 'setup_group' and 'int' [-Wsign-compare] 4638 | if (ptr2->m_group == group && ptr1 != ptr2) | ^~ m_menu.c:4675:27: warning: comparison of integer expressions of different signedness: 'setup_group' and 'int' [-Wsign-compare] 4675 | if (ptr2->m_group == group && ptr1 != ptr2) | ^~ m_menu.c:4707:21: warning: comparison of integer expressions of different signedness: 'setup_group' and 'int' [-Wsign-compare] 4707 | ptr2->m_group == group && | ^~ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c:4950:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 4950 | free((char*)*ptr1->var.def->location.ppsz); | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ m_menu.c: In function 'M_ReadSaveStrings': m_menu.c:852:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 852 | fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_menu.c: In function 'M_Init': m_menu.c:5538:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 5538 | ReadDef2.y = 15; | ~~~~~~~~~~~^~~~ m_menu.c:5540:5: note: here 5540 | case shareware: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c z_bmalloc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c f_wipe.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_enemy.c p_enemy.c: In function 'P_SmartMove': p_enemy.c:450:47: warning: comparison of integer expressions of different signedness: 'mobjtype_t' and 'int' [-Wsign-compare] 450 | if ((actor->type == MT_DOGS || (actor->type == (HelperThing-1) && actor->flags&MF_FRIEND)) | ^~ p_enemy.c: In function 'P_DoNewChaseDir': p_enemy.c:552:36: warning: comparison of integer expressions of different signedness: 'dirtype_t' and 'int' [-Wsign-compare] 552 | for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_lights.c p_lights.c: In function 'EV_LightTurnOn': p_lights.c:387:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 387 | if ((temp = getNextSector(sector->lines[j],sector)) && | ^~ p_lights.c:391:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 391 | sector->lightlevel = tbright; | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_main.c r_main.c: In function 'R_ShowStats': r_main.c:540:5: warning: "USE_SDL" is not defined, evaluates to 0 [-Wundef] 540 | #if USE_SDL | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c wi_stuff.c wi_stuff.c: In function 'WI_loadData': wi_stuff.c:1850:33: warning: '%.2d' directive writing between 2 and 10 bytes into a region of size between 0 and 5 [-Wformat-overflow=] 1850 | sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); | ^~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] 1850 | sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); | ^~~~~~~~~~~~~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:866, from z_zone.h:52, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from wi_stuff.c:35: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 9 and 35 bytes into a destination of size 9 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c z_zone.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c f_finale.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_checksum.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_plane.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c md5.c md5.c: In function 'MD5Final': md5.c:134:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 134 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_filter.c r_filter.c:35:52: warning: missing braces around initializer [-Wmissing-braces] 35 | byte filter_ditherMatrix[DITHER_DIM][DITHER_DIM] = { | ^ 36 | 0*DMR, 14*DMR, 3*DMR, 13*DMR, 11*DMR, 5*DMR, 8*DMR, 6*DMR, | { } { } 37 | 12*DMR, 2*DMR, 15*DMR, 1*DMR, 7*DMR, 9*DMR, 4*DMR, 10*DMR | { } { 38 | }; | } r_filter.c: In function 'R_FilterInit': r_filter.c:79:3: warning: multi-line comment [-Wcomment] 79 | // /4 \ | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_maputl.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_map.c p_map.c: In function 'P_GetMoveFactor': p_map.c:201:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 201 | ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset | ^ p_map.c:220:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 220 | ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset | ^ p_map.c: In function 'PTR_ShootTraverse': p_map.c:1499:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1499 | if (li->special) | ^~ p_map.c:1502:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1502 | if (li->flags & ML_TWOSIDED) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_fps.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_client.c d_client.c: In function 'D_InitNetGame': d_client.c:148:17: warning: pointer targets in initialization of 'char *' from 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 148 | char *p = sinfo->wadnames; | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c w_mmap.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c gl_texture.c In file included from gl_texture.c:46: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | gl_texture.c: In function 'gld_BindTexture': gl_texture.c:501:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 501 | if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:508:37: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 508 | CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:511:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] 511 | glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1302:57: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); | ~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_BindPatch': gl_texture.c:654:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] 654 | glGenTextures(1,&gltexture->glTexID[cm]); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1302:57: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); | ~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_BindFlat': gl_texture.c:776:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 776 | if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:780:49: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 780 | gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:782:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] 782 | glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1302:57: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); | ~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_CleanTextures': gl_texture.c:856:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] 856 | glDeleteTextures(1,&(gld_GLTextures[i]->glTexID[j])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1304:66: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' 1304 | GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); | ~~~~~~~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_CleanPatchTextures': gl_texture.c:874:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] 874 | glDeleteTextures(1,&(gld_GLPatchTextures[i]->glTexID[j])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1304:66: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' 1304 | GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); | ~~~~~~~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_Precache': gl_texture.c:891:53: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 891 | hitlist = Z_Malloc((size_t)numtextures > size ? numtextures : size,PU_LEVEL,0); | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_patch.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_server.c d_server.c: In function 'n_players_in_state': d_server.c:234:22: warning: comparison of integer expressions of different signedness: 'enum ' and 'int' [-Wsign-compare] 234 | if (playerstate[i] == ps) j++; | ^~ d_server.c: In function 'main': d_server.c:522:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 522 | strcpy(sinfo->wadnames + extrabytes, wadname[i]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from d_server.c:40: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ d_server.c:573:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 573 | if (verbose>2) printf("%d requests resend from %d\n", from, ptic(packet)); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld d_server.c:591:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 591 | if (verbose) printf("%d quits at %d (%d left)\n", from, ptic(packet),curplayers); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld d_server.c:578:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 578 | { | ^ d_server.c:596:5: note: here 596 | case PKT_EXTRA: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o prboom-game-server d_server.o POSIX/libposixdoom.a SDL/i_network.o -lSDL_net -lSDL -lpthread -lpng -lSDL_mixer -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c gl_main.c In file included from gl_main.c:46: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from gl_main.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | gl_main.c: In function 'gld_Init': gl_main.c:340:30: warning: pointer targets in initialization of 'const char *' from 'const GLubyte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 340 | const char *extensions = glGetString(GL_EXTENSIONS); | ^~~~~~~~~~~ In file included from gl_main.c:47: doomtype.h:58:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 58 | #define MIN(a,b) ((a)<(b)?(a):(b)) | ^ gl_main.c:351:19: note: in expansion of macro 'MIN' 351 | int len = MIN(p-rover, sizeof(ext_name)-1); | ^~~ doomtype.h:58:27: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 58 | #define MIN(a,b) ((a)<(b)?(a):(b)) | ^~~ gl_main.c:351:19: note: in expansion of macro 'MIN' 351 | int len = MIN(p-rover, sizeof(ext_name)-1); | ^~~ gl_main.c:362:22: warning: pointer targets in passing argument 1 of 'gld_InitExtensions' differ in signedness [-Wpointer-sign] 362 | gld_InitExtensions(glGetString(GL_EXTENSIONS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const GLubyte * {aka const unsigned char *} gl_main.c:276:44: note: expected 'const char *' but argument is of type 'const GLubyte *' {aka 'const unsigned char *'} 276 | static void gld_InitExtensions(const char *_extensions) | ~~~~~~~~~~~~^~~~~~~~~~~ gl_main.c: In function 'gld_FlatConvexCarver': gl_main.c:1084:68: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1084 | if (levelinfo) fprintf(levelinfo, "All carved away: subsector %i - sector %i\n", ssec-subsectors, ssec->sector->iSectorID); | ~^ ~~~~~~~~~~~~~~~ | | | | int long int | %li gl_main.c: In function 'gld_EndDrawScene': gl_main.c:1845:28: warning: left shift of negative value [-Wshift-negative-value] 1845 | viewangleoffset >=-1024<