<86>Mar 26 12:27:52 userdel[3127215]: delete user 'rooter' <86>Mar 26 12:27:52 userdel[3127215]: removed group 'rooter' owned by 'rooter' <86>Mar 26 12:27:52 groupadd[3127228]: group added to /etc/group: name=rooter, GID=591 <86>Mar 26 12:27:52 groupadd[3127228]: group added to /etc/gshadow: name=rooter <86>Mar 26 12:27:52 groupadd[3127228]: new group: name=rooter, GID=591 <86>Mar 26 12:27:52 useradd[3127237]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Mar 26 12:27:52 userdel[3127253]: delete user 'builder' <86>Mar 26 12:27:52 userdel[3127253]: removed group 'builder' owned by 'builder' <86>Mar 26 12:27:52 groupadd[3127261]: group added to /etc/group: name=builder, GID=592 <86>Mar 26 12:27:52 groupadd[3127261]: group added to /etc/gshadow: name=builder <86>Mar 26 12:27:52 groupadd[3127261]: new group: name=builder, GID=592 <86>Mar 26 12:27:52 useradd[3127268]: new user: name=builder, UID=592, GID=592, 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>Mar 26 12:27:55 rpmi: libglvnd-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:55 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Mar 26 12:27:55 rpmi: udev-rules-1:245.2-alt1 sisyphus+248437.100.1.1 1585068108 installed <13>Mar 26 12:27:55 rpmi: libflac8-1.3.3-alt1 sisyphus+247112.100.1.1 1582855667 installed <13>Mar 26 12:27:55 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Mar 26 12:27:55 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Mar 26 12:27:55 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Mar 26 12:27:55 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 26 12:27:55 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 26 12:27:55 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Mar 26 12:27:55 rpmi: libdevmapper-1.02.169-alt1 sisyphus+246686.100.1.1 1582206110 installed <13>Mar 26 12:27:55 rpmi: msulogin-1.0-alt1 1366288515 installed <13>Mar 26 12:27:55 rpmi: mount-2.33.2-alt1 sisyphus+227076.100.1.1 1555076789 installed <13>Mar 26 12:27:55 rpmi: sysvinit-2.88-alt6 sisyphus+240403.100.2.1 1573520141 installed <13>Mar 26 12:27:55 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 26 12:27:55 rpmi: libOpenGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:55 rpmi: libGLES-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:55 rpmi: libwebrtc-0.3-alt2 sisyphus+229377.100.1.1 1557873871 installed <13>Mar 26 12:27:55 rpmi: libspeexdsp-1.2-alt3_0.12.rc3 sisyphus+226105.100.1.1 1554121565 installed <13>Mar 26 12:27:55 rpmi: libsoxr-0.1.2-alt4 sisyphus+222649.100.1.1 1550964843 installed <13>Mar 26 12:27:55 rpmi: libsbc-1.2-alt1.1 1501780340 installed <13>Mar 26 12:27:55 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 26 12:27:55 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Mar 26 12:27:55 rpmi: liborc-0.4.31-alt1 sisyphus+240181.100.1.1 1572853315 installed <13>Mar 26 12:27:55 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Mar 26 12:27:55 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 26 12:27:55 rpmi: libgomp1-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 26 12:27:55 rpmi: libfftw3-common-3.3.8-alt1 sisyphus+247390.100.1.1 1583426835 installed <13>Mar 26 12:27:55 rpmi: libfftw3f-3.3.8-alt1 sisyphus+247390.100.1.1 1583426459 installed <13>Mar 26 12:27:55 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Mar 26 12:27:55 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Mar 26 12:27:55 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Mar 26 12:27:55 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Mar 26 12:27:55 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Mar 26 12:27:55 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Mar 26 12:27:55 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Mar 26 12:27:55 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Mar 26 12:27:55 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 26 12:27:55 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Mar 26 12:27:55 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 26 12:27:55 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 26 12:27:55 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Mar 26 12:27:55 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Mar 26 12:27:55 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Mar 26 12:27:55 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Mar 26 12:27:55 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Mar 26 12:27:55 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 26 12:27:58 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Mar 26 12:27:58 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 26 12:27:58 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 26 12:27:58 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Mar 26 12:27:58 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Mar 26 12:27:58 rpmi: libGLX-mesa-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 26 12:27:58 rpmi: libGLX-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:58 rpmi: libGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:58 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Mar 26 12:27:58 rpmi: libgbm-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 26 12:27:58 rpmi: libEGL-mesa-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 26 12:27:58 rpmi: libEGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:58 rpmi: libglvnd-devel-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 26 12:27:58 rpmi: libGL-devel-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 26 12:27:58 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Mar 26 12:27:58 rpmi: udev-hwdb-1:245.2-alt1 sisyphus+248437.100.1.1 1585068108 installed <13>Mar 26 12:27:58 rpmi: libseccomp-2.4.2-alt2 sisyphus+245295.100.1.1 1580406865 installed <13>Mar 26 12:27:59 rpmi: libpcre2-10.34-alt1 sisyphus+241619.100.1.1 1574686794 installed <13>Mar 26 12:27:59 rpmi: libiptables-1.8.4-alt1 sisyphus+246876.100.1.1 1582593405 installed <13>Mar 26 12:27:59 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Mar 26 12:27:59 rpmi: libjson-c4-0.13.1-alt1 sisyphus+226468.100.8.1 1554723266 installed <13>Mar 26 12:27:59 rpmi: libargon2-20190702-alt1 sisyphus+235300.100.1.1 1564606540 installed <13>Mar 26 12:27:59 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Mar 26 12:27:59 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Mar 26 12:27:59 rpmi: libsystemd-1:245.2-alt1 sisyphus+248437.100.1.1 1585068161 installed <13>Mar 26 12:27:59 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 26 12:27:59 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382773 installed <13>Mar 26 12:27:59 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Mar 26 12:27:59 rpmi: libavahi-0.7-alt2 sisyphus+247785.100.1.1 1584114591 installed <13>Mar 26 12:27:59 rpmi: hwclock-1:2.33.2-alt1 sisyphus+227076.100.1.1 1555076789 installed <13>Mar 26 12:27:59 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Mar 26 12:27:59 rpmi: losetup-2.33.2-alt1 sisyphus+227076.100.1.1 1555076789 installed <13>Mar 26 12:27:59 rpmi: lsblk-2.33.2-alt1 sisyphus+227076.100.1.1 1555076789 installed <13>Mar 26 12:27:59 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 26 12:27:59 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 26 12:27:59 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 26 12:27:59 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 26 12:27:59 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 26 12:27:59 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 26 12:27:59 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 26 12:27:59 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 26 12:27:59 rpmi: libkmod-26-alt1 sisyphus+226359.100.1.1 1554129990 installed <13>Mar 26 12:27:59 rpmi: kmod-26-alt1 sisyphus+226359.100.1.1 1554129990 installed <13>Mar 26 12:27:59 rpmi: libcryptsetup-2.2.2-alt1 sisyphus+242851.300.2.1 1576248426 installed <13>Mar 26 12:27:59 rpmi: startup-0.9.9.9-alt1 sisyphus+242122.100.1.1 1575282386 installed <13>Mar 26 12:27:59 rpmi: systemd-utils-1:245.2-alt1 sisyphus+248437.100.1.1 1585068161 installed <13>Mar 26 12:27:59 rpmi: dmsetup-1.02.169-alt1 sisyphus+246686.100.1.1 1582206110 installed <86>Mar 26 12:27:59 groupadd[3133354]: group added to /etc/group: name=tape, GID=499 <86>Mar 26 12:27:59 groupadd[3133354]: group added to /etc/gshadow: name=tape <86>Mar 26 12:27:59 groupadd[3133354]: new group: name=tape, GID=499 <86>Mar 26 12:27:59 groupadd[3133368]: group added to /etc/group: name=dialout, GID=498 <86>Mar 26 12:27:59 groupadd[3133368]: group added to /etc/gshadow: name=dialout <86>Mar 26 12:27:59 groupadd[3133368]: new group: name=dialout, GID=498 <86>Mar 26 12:27:59 groupadd[3133381]: group added to /etc/group: name=input, GID=497 <86>Mar 26 12:27:59 groupadd[3133381]: group added to /etc/gshadow: name=input <86>Mar 26 12:27:59 groupadd[3133381]: new group: name=input, GID=497 <86>Mar 26 12:27:59 groupadd[3133391]: group added to /etc/group: name=video, GID=496 <86>Mar 26 12:27:59 groupadd[3133391]: group added to /etc/gshadow: name=video <86>Mar 26 12:27:59 groupadd[3133391]: new group: name=video, GID=496 <86>Mar 26 12:27:59 groupadd[3133396]: group added to /etc/group: name=render, GID=495 <86>Mar 26 12:27:59 groupadd[3133396]: group added to /etc/gshadow: name=render <86>Mar 26 12:27:59 groupadd[3133396]: new group: name=render, GID=495 <13>Mar 26 12:27:59 rpmi: udev-1:245.2-alt1 sisyphus+248437.100.1.1 1585068161 installed <13>Mar 26 12:27:59 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>Mar 26 12:27:59 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>Mar 26 12:28:00 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270238 installed <13>Mar 26 12:28:00 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Mar 26 12:28:00 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Mar 26 12:28:00 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Mar 26 12:28:00 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Mar 26 12:28:00 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed <13>Mar 26 12:28:00 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Mar 26 12:28:00 rpmi: pulseaudio-daemon-13.0-alt3 sisyphus+242188.100.1.1 1575382773 installed <13>Mar 26 12:28:00 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/prboom-2.5.0-alt0.3.1.nosrc.rpm Installing prboom-2.5.0-alt0.3.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50232 + 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.50232 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-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... yes checking for i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking whether ln -s works... yes checking for i586-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... i586-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... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking asm/byteorder.h usability... yes checking asm/byteorder.h presence... yes checking for asm/byteorder.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for stricmp... no checking for strnicmp... no checking for min... no checking for max... no checking for getopt... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for vsnprintf... yes checking for mmap... yes checking for usleep... yes checking for sched_setaffinity... yes checking for pow in -lm... yes checking for OpenGL support... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.3... yes checking for SDL_JoystickGetAxis... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_UDP_Bind in -lSDL_net... yes checking for png_create_info_struct in -lpng... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/POSIX/Makefile config.status: creating src/SDL/Makefile config.status: creating src/MAC/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating ICONS/Makefile config.status: creating VisualC6/Makefile config.status: creating VisualC8/Makefile config.status: creating prboom.spec config.status: creating config.h config.status: executing depfiles commands + make -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 '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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_UnArchiveWorld': 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; | ^ 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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 < 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 'unsigned int' [-Wsign-compare] 1949 | for (i=0;i'} [-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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' {aka 'enum '} 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' {aka 'enum '} 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:139:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 139 | 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:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | 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:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 126 | __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:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | 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:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 88 | __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:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 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' {aka 'enum '} 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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_misc.c m_misc.c:316:20: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 316 | {"screen_width",{&desired_screenwidth},{640}, 320, MAX_SCREENWIDTH, | ^ m_misc.c:316:20: note: (near initialization for 'defaults[73].location.pi') m_misc.c:318:21: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 318 | {"screen_height",{&desired_screenheight},{480},200,MAX_SCREENHEIGHT, | ^ m_misc.c:318:21: note: (near initialization for 'defaults[74].location.pi') m_misc.c:361:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 361 | {"gl_tex_filter_string", {NULL,&gl_tex_filter_string}, {0,"GL_LINEAR"},UL,UL, | ^ m_misc.c:361:34: note: (near initialization for 'defaults[94].location.ppsz') m_misc.c:363:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 363 | {"gl_tex_format_string", {NULL,&gl_tex_format_string}, {0,"GL_RGB5_A1"},UL,UL, | ^ m_misc.c:363:34: note: (near initialization for 'defaults[95].location.ppsz') m_misc.c: In function 'M_LoadDefaults': m_misc.c:940:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 940 | snprintf((char *)defaultfile, PATH_MAX, | ^ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from m_misc.c:51: m_misc.c:1005:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1005 | free((char*)*(defaults[i].location.ppsz)); /* phares 4/13/98 */ | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ 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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_setup.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_random.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 tables.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_tick.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 doomdef.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_telept.c p_telept.c: In function 'EV_SilentLineTeleport': p_telept.c:294:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 294 | y -= l->dx < 0 != side ? -1 : 1; | ~~~~~~^~~ p_telept.c:296:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 296 | x += l->dy < 0 != side ? -1 : 1; | ~~~~~~^~~ 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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_ceilng.c p_ceilng.c: In function 'T_MoveCeiling': p_ceilng.c:113:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 113 | ceiling->sector->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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_switch.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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_main.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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 '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 '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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 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' {aka 'enum '} 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' {aka 'enum '} 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' {aka 'enum '} 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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' {aka 'enum '} 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' {aka 'enum '} 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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 '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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:867, from z_zone.h:52, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from wi_stuff.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 35 bytes into a destination of size 9 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from d_server.c:40: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 88 | __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' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: 'int' and '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 'int' to '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_EndDrawScene': gl_main.c:1845:28: warning: left shift of negative value [-Wshift-negative-value] 1845 | viewangleoffset >=-1024<= set:pjdsTwt1Stpl2MpS9Jm8eGEZrDX8yeraOmKD6M86OhLbZcQedz7Oq4TEBq9RvK0K7cNPRCEFmZHDSmxArpZyDw0qs5Mo0Ff22PreoZjGeb5uMSyWrjghL9zniEQtPv5Zt1yPKKlKXc31ZGuZIVB699um7BdZqraX9uXb0, libGLU.so.1 >= set:jhYZcAu8, libSDL-1.2.so.0 >= set:lgkZiUfG0446X5lqoH7PWKWzhPzQthmqfaEN6Nbu0kTcPIrpdmTj6pzOLIUm7YHWAft8bt7nlku2, libSDL_mixer-1.2.so.0 >= set:kgaF2XXCvMIdaOQGvIZmKNqhhZpb, libSDL_net-1.2.so.0 >= set:jfJVQmHHUNcrl2Lf2dL5zBfuZy6VQV5R8ZiM0, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libpng16.so.16 >= set:lhHMWzge3yIESueg6hZuf7Fe0JEV7xBp5U, libpng16.so.16(PNG16_0), libpthread.so.0(GLIBC_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZGrZrO Creating prboom-debuginfo package Processing files: prboom-debuginfo-2.5.0-alt0.3.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J0oQeN find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jH48FL find-requires: running scripts (debuginfo) Requires: prboom = 2.5.0-alt0.3.1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libSDL_net-1.2.so.0), debug(libc.so.6), debug(libpng16.so.16), debug(libpthread.so.0) Adding to prboom-debuginfo a strict dependency on prboom Wrote: /usr/src/RPM/RPMS/i586/prboom-2.5.0-alt0.3.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/prboom-debuginfo-2.5.0-alt0.3.1.i586.rpm 54.65user 4.47system 0:49.99elapsed 118%CPU (0avgtext+0avgdata 176552maxresident)k 0inputs+0outputs (0major+1215645minor)pagefaults 0swaps /.out/prboom-2.5.0-alt0.3.1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/prboom-debuginfo-2.5.0-alt0.3.1.i586.rpm: The use of such a license name is ambiguous: GPL 64.91user 8.32system 1:05.56elapsed 111%CPU (0avgtext+0avgdata 176552maxresident)k 31416inputs+0outputs (0major+1628229minor)pagefaults 0swaps