<86>Sep 27 03:12:45 userdel[24813]: delete user 'rooter' <86>Sep 27 03:12:45 userdel[24813]: removed group 'rooter' owned by 'rooter' <86>Sep 27 03:12:45 userdel[24813]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 27 03:12:45 groupadd[24834]: group added to /etc/group: name=rooter, GID=573 <86>Sep 27 03:12:45 groupadd[24834]: group added to /etc/gshadow: name=rooter <86>Sep 27 03:12:45 groupadd[24834]: new group: name=rooter, GID=573 <86>Sep 27 03:12:45 useradd[24865]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Sep 27 03:12:45 userdel[24885]: delete user 'builder' <86>Sep 27 03:12:45 userdel[24885]: removed group 'builder' owned by 'builder' <86>Sep 27 03:12:45 userdel[24885]: removed shadow group 'builder' owned by 'builder' <86>Sep 27 03:12:45 groupadd[24902]: group added to /etc/group: name=builder, GID=574 <86>Sep 27 03:12:45 groupadd[24902]: group added to /etc/gshadow: name=builder <86>Sep 27 03:12:45 groupadd[24902]: new group: name=builder, GID=574 <86>Sep 27 03:12:45 useradd[24914]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Sep 27 03:12:48 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Sep 27 03:12:48 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:48 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Sep 27 03:12:48 rpmi: udev-rules-1:243-alt1 sisyphus+237134.300.3.1 1567642568 installed <13>Sep 27 03:12:48 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551972983 installed <13>Sep 27 03:12:48 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Sep 27 03:12:48 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Sep 27 03:12:48 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Sep 27 03:12:48 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Sep 27 03:12:48 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 27 03:12:48 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059262 installed <13>Sep 27 03:12:48 rpmi: libdevmapper-1.02.163-alt1 sisyphus+235860.260.6.1 1565551887 installed <13>Sep 27 03:12:48 rpmi: msulogin-1.0-alt1 1366288481 installed <13>Sep 27 03:12:48 rpmi: mount-2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Sep 27 03:12:48 rpmi: sysvinit-2.88-alt5 1424350685 installed <13>Sep 27 03:12:48 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Sep 27 03:12:48 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:48 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:48 rpmi: libwebrtc-0.3-alt2 sisyphus+229377.100.1.1 1557873868 installed <13>Sep 27 03:12:48 rpmi: libspeexdsp-1.2-alt3_0.12.rc3 sisyphus+226105.100.1.1 1554121565 installed <13>Sep 27 03:12:48 rpmi: libsoxr-0.1.2-alt4 sisyphus+222649.100.1.1 1550964841 installed <13>Sep 27 03:12:48 rpmi: libsbc-1.2-alt1.1 1501780340 installed <13>Sep 27 03:12:48 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Sep 27 03:12:48 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Sep 27 03:12:48 rpmi: liborc-0.4.30.1-alt0.2 sisyphus+238216.100.1.1 1569505613 installed <13>Sep 27 03:12:48 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906326 installed <13>Sep 27 03:12:48 rpmi: libjack-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043815 installed <13>Sep 27 03:12:48 rpmi: libportaudio2-19-alt7 1528701664 installed <13>Sep 27 03:12:48 rpmi: liblirc-0.10.1-alt2 sisyphus+225625.45240.91.1 1555359806 installed <13>Sep 27 03:12:48 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Sep 27 03:12:48 rpmi: libgomp1-8.3.1-alt5 sisyphus+235477.100.1.1 1565021552 installed <13>Sep 27 03:12:48 rpmi: libfftw3-common-3.3.8-alt1 sisyphus+226899.100.1.1 1554782385 installed <13>Sep 27 03:12:48 rpmi: libfftw3f-3.3.8-alt1 sisyphus+226899.100.1.1 1554782385 installed <13>Sep 27 03:12:49 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Sep 27 03:12:49 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Sep 27 03:12:49 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Sep 27 03:12:49 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Sep 27 03:12:49 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Sep 27 03:12:49 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Sep 27 03:12:49 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 27 03:12:49 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Sep 27 03:12:49 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 27 03:12:49 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 27 03:12:49 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 27 03:12:49 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 27 03:12:49 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Sep 27 03:12:49 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Sep 27 03:12:49 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Sep 27 03:12:49 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Sep 27 03:12:49 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Sep 27 03:12:49 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Sep 27 03:12:50 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 27 03:12:50 rpmi: libX11-devel-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 27 03:12:50 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 27 03:12:50 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Sep 27 03:12:50 rpmi: libdrm-1:2.4.99-alt1 sisyphus+234110.100.1.1 1562593655 installed <13>Sep 27 03:12:50 rpmi: libGLX-mesa-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Sep 27 03:12:50 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:50 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:50 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Sep 27 03:12:50 rpmi: libgbm-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Sep 27 03:12:50 rpmi: libEGL-mesa-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Sep 27 03:12:50 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:50 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 27 03:12:50 rpmi: libEGL-devel-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Sep 27 03:12:50 rpmi: libGL-devel-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Sep 27 03:12:50 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Sep 27 03:12:50 rpmi: udev-hwdb-1:243-alt1 sisyphus+237134.300.3.1 1567642568 installed <13>Sep 27 03:12:50 rpmi: libseccomp-2.4.1-alt1 sisyphus+228056.100.1.1 1556057319 installed <13>Sep 27 03:12:50 rpmi: libpcre2-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Sep 27 03:12:50 rpmi: libiptables-1.8.3-alt2 sisyphus+230708.100.1.1 1559139619 installed <13>Sep 27 03:12:50 rpmi: libidn2-2.2.0-alt1 sisyphus+229970.100.1.1 1558625623 installed <13>Sep 27 03:12:50 rpmi: libjson-c4-0.13.1-alt1 sisyphus+226468.100.8.1 1554723265 installed <13>Sep 27 03:12:50 rpmi: libargon2-20190702-alt1 sisyphus+235300.100.1.1 1564606506 installed <13>Sep 27 03:12:50 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Sep 27 03:12:50 rpmi: libgcrypt20-1.8.5-alt1 sisyphus+236872.100.1.1 1567111842 installed <13>Sep 27 03:12:50 rpmi: libsystemd-1:243-alt1 sisyphus+237134.300.3.1 1567642568 installed <13>Sep 27 03:12:50 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Sep 27 03:12:50 rpmi: libpulseaudio-13.0-alt1 sisyphus+237619.100.1.1 1568646711 installed <13>Sep 27 03:12:50 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Sep 27 03:12:50 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Sep 27 03:12:50 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Sep 27 03:12:50 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Sep 27 03:12:50 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Sep 27 03:12:50 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299460 installed <13>Sep 27 03:12:50 rpmi: hwclock-1:2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Sep 27 03:12:50 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Sep 27 03:12:50 rpmi: losetup-2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Sep 27 03:12:50 rpmi: lsblk-2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Sep 27 03:12:50 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Sep 27 03:12:50 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282369 installed <13>Sep 27 03:12:50 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 27 03:12:50 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 27 03:12:51 rpmi: ca-certificates-2019.09.10-alt1 sisyphus+237323.300.1.1 1568103476 installed <13>Sep 27 03:12:51 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 27 03:12:51 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Sep 27 03:12:51 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Sep 27 03:12:51 rpmi: libkmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>Sep 27 03:12:51 rpmi: kmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>Sep 27 03:12:51 rpmi: libcryptsetup-2.2.0-alt1 sisyphus+236388.100.1.1 1566341901 installed <13>Sep 27 03:12:51 rpmi: startup-0.9.9.6-alt1 sisyphus.215964.200 1542884274 installed <13>Sep 27 03:12:51 rpmi: systemd-utils-1:243-alt1 sisyphus+237134.300.3.1 1567642568 installed <13>Sep 27 03:12:51 rpmi: dmsetup-1.02.163-alt1 sisyphus+235860.260.6.1 1565551887 installed <86>Sep 27 03:12:51 groupadd[35681]: group added to /etc/group: name=tape, GID=499 <86>Sep 27 03:12:51 groupadd[35681]: group added to /etc/gshadow: name=tape <86>Sep 27 03:12:51 groupadd[35681]: new group: name=tape, GID=499 <86>Sep 27 03:12:51 groupadd[35692]: group added to /etc/group: name=dialout, GID=498 <86>Sep 27 03:12:51 groupadd[35692]: group added to /etc/gshadow: name=dialout <86>Sep 27 03:12:51 groupadd[35692]: new group: name=dialout, GID=498 <86>Sep 27 03:12:51 groupadd[35702]: group added to /etc/group: name=input, GID=497 <86>Sep 27 03:12:51 groupadd[35702]: group added to /etc/gshadow: name=input <86>Sep 27 03:12:51 groupadd[35702]: new group: name=input, GID=497 <86>Sep 27 03:12:51 groupadd[35713]: group added to /etc/group: name=video, GID=496 <86>Sep 27 03:12:51 groupadd[35713]: group added to /etc/gshadow: name=video <86>Sep 27 03:12:51 groupadd[35713]: new group: name=video, GID=496 <86>Sep 27 03:12:51 groupadd[35726]: group added to /etc/group: name=render, GID=495 <86>Sep 27 03:12:51 groupadd[35726]: group added to /etc/gshadow: name=render <86>Sep 27 03:12:51 groupadd[35726]: new group: name=render, GID=495 <13>Sep 27 03:12:51 rpmi: udev-1:243-alt1 sisyphus+237134.300.3.1 1567642568 installed <13>Sep 27 03:12:51 rpmi: udev-extras-1:243-alt1 sisyphus+237134.300.3.1 1567642568 installed <13>Sep 27 03:12:51 rpmi: pulseaudio-daemon-13.0-alt1 sisyphus+237619.100.1.1 1568646711 installed <13>Sep 27 03:12:51 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Sep 27 03:12:51 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Sep 27 03:12:51 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 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.48617 + 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.67206 + 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 + '[' -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 -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=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... 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' 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_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] 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] 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] I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); ^~~~~~ i_video.c:453:13: note: expected 'int *' but argument is of type 'unsigned int *' static void I_ClosestResolution (int *width, int *height, int flags) ^~~~~~~~~~~~~~~~~~~ i_video.c:519:35: warning: pointer targets in passing argument 2 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); ^~~~~~~ i_video.c:453:13: note: expected 'int *' but argument is of type 'unsigned int *' static void I_ClosestResolution (int *width, int *height, int flags) ^~~~~~~~~~~~~~~~~~~ i_video.c: In function 'I_SkipFrame': i_video.c:281:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!paused) ^ i_video.c:283:3: note: here default: ^~~~~~~ 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_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_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' 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' 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 r_demo.c r_demo.c: In function 'R_SmoothPlaying_Reset': r_demo.c:49:40: warning: the address of 'players' will always evaluate as 'true' [-Waddress] if (demo_smoothturns && demoplayback && players) ^~ 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 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_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 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_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 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 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] if (angle - player->mo->angle < -ANG90/20) ^ p_pspr.c: In function 'P_SwitchWeapon': p_pspr.c:169:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!player->powers[pw_strength]) // allow chainsaw override ^ p_pspr.c:171:7: note: here case 0: ^~~~ 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' {aka 'enum '} and 'int' [-Wsign-compare] if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) ^~ g_game.c:485:15: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] if (bstrafe != dclickstate2 && dclicktime2 > 1 ) ^~ g_game.c: In function 'G_DoLoadLevel': g_game.c:628:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (mousebuttons, 0, sizeof(mousebuttons)); ^ g_game.c:629:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (joybuttons, 0, sizeof(joybuttons)); ^ g_game.c: In function 'G_DoLoadGame': g_game.c:1582:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(save_p, vcheck, VERSIONSIZE)) { ^~~~~~ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: g_game.c:1607:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = malloc(strlen(save_p + sizeof checksum) + 128); ~~~~~~~^~~~~~~~~~~~~~~~~ z_zone.h:113:37: note: in definition of macro 'malloc' #define malloc(n) Z_Malloc(n,PU_STATIC,0) ^ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ g_game.c:1610:59: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(strcat(msg,"Wads expected:\n\n"), save_p + sizeof checksum); ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ g_game.c:1621:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] save_p += strlen(save_p)+1; ^~~~~~ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ g_game.c:1642:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] save_p = (char*)G_ReadOptions(save_p); ^ g_game.c:1642:10: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] save_p = (char*)G_ReadOptions(save_p); ^ g_game.c: In function 'G_DoSaveGame': g_game.c:1805:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(save_p, w); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ g_game.c:1806:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] save_p += strlen(save_p); ^~~~~~ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(levels)/sizeof(*levels); i++) ^ g_game.c: In function 'G_ReloadDefaults': g_game.c:2073:27: warning: comparison of integer expressions of different signedness: 'complevel_t' {aka 'enum '} and 'int' [-Wsign-compare] if (compatibility_level == -1) ^~ g_game.c: In function 'G_WriteDemoTiccmd': g_game.c:2255:10: warning: pointer targets in assignment from 'char *' to 'const byte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] demo_p = buf; ^ g_game.c: In function 'G_RecordDemo': g_game.c:2292:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (pos) ^~ g_game.c:2304:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (slot == -1) I_Error("G_RecordDemo: No save in demo, can't continue"); ^~ g_game.c: In function 'G_ReadDemoHeader': g_game.c:2764:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ g_game.c:2766:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ g_game.c:2774:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ g_game.c:2776:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ g_game.c: In function 'G_WorldDone': g_game.c:1403:14: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!secretexit) ^ g_game.c:1405:9: note: here case 6: ^~~~ g_game.c: In function 'G_RecordDemo': g_game.c:2307:21: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] fseek(demofp, -rc, SEEK_CUR); ^~~ g_game.c: In function 'G_BeginRecording': g_game.c:2570:15: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] *demo_p++ = c; ~~~~~~~~~~^~~ g_game.c:2559:15: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] *demo_p++ = v; ~~~~~~~~~~^~~ g_game.c:2518:17: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] *demo_p++ = v; ~~~~~~~~~~^~~ g_game.c: In function 'G_ReadDemoTiccmd': g_game.c:2226:25: warning: 'at' may be used uninitialized in this function [-Wmaybe-uninitialized] cmd->sidemove = (signed char)at; ^~~~~~~~~~~~~~~ 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 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 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:64:9: note: in expansion of macro 'PADSAVEP' 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:87:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:100:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] &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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:134:3: note: in expansion of macro 'PADSAVEP' 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:196:3: note: in expansion of macro 'PADSAVEP' PADSAVEP(); // killough 3/22/98 ^~~~~~~~ p_saveg.c:206:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof sec->floorheight); ^ p_saveg.c:208:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof sec->ceilingheight); ^ p_saveg.c:237:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof si->textureoffset); ^ p_saveg.c:239:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] get = (void *)((char *) get + sizeof si->rowoffset); ^ p_saveg.c:246:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] save_p = (byte *) get; ^ 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] 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:320:9: note: in expansion of macro 'PADSAVEP' 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:455:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:476:7: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:499:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] mobj->state = states + (int) mobj->state; ^ p_saveg.c:502:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:662:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:674:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:688:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:701:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:713:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:725:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:737:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:750:11: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:763:11: note: in expansion of macro 'PADSAVEP' 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:808:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:813:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ceiling->sector = §ors[(int)ceiling->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:825:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:830:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] door->sector = §ors[(int)door->sector]; ^ p_saveg.c:833:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] 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] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:842:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:847:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] floor->sector = §ors[(int)floor->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:855:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:860:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] plat->sector = §ors[(int)plat->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:872:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:877:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flash->sector = §ors[(int)flash->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:884:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:889:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] strobe->sector = §ors[(int)strobe->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:896:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:901:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] glow->sector = §ors[(int)glow->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:908:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:913:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flicker->sector = §ors[(int)flicker->sector]; ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) ^ p_saveg.c:921:9: note: in expansion of macro 'PADSAVEP' PADSAVEP(); ^~~~~~~~ p_saveg.c:926:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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 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 d_deh.c d_deh.c: In function 'deh_procPointer': d_deh.c:1935:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (value < 0 || value >= NUMSTATES) ^ d_deh.c:1949:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i=0;i'} [-Wsign-compare] 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 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' 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 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 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' 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] // 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 p_telept.c p_telept.c: In function 'EV_SilentLineTeleport': p_telept.c:294:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] y -= l->dx < 0 != side ? -1 : 1; ~~~~~~^~~ p_telept.c:296:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] x += l->dy < 0 != side ? -1 : 1; ~~~~~~^~~ 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=] if (special != 253) ^ p_spec.c:2809:9: note: here 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 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' 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_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' 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] 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 st_stuff.c st_stuff.c: In function 'ST_Init': st_stuff.c:879:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(namebuf, "STYSNUM%d", i); ^ In file included from /usr/include/stdio.h:862, from z_zone.h:52, from doomdef.h:49, from st_stuff.c:36: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 10 bytes into a destination of size 9 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_ceilng.c p_ceilng.c: In function 'T_MoveCeiling': p_ceilng.c:113:41: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->sector->oldspecial = ceiling->oldspecial; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:114:11: note: here case genCeilingChg: ^~~~ p_ceilng.c:121:13: warning: this statement may fall through [-Wimplicit-fallthrough=] S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:122:11: note: here case genSilentCrusher: ^~~~ p_ceilng.c:177:13: warning: this statement may fall through [-Wimplicit-fallthrough=] S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:178:11: note: here case crushAndRaise: ^~~~ p_ceilng.c:179:28: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->speed = CEILSPEED; p_ceilng.c:180:11: note: here case fastCrushAndRaise: ^~~~ p_ceilng.c:190:41: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->sector->oldspecial = ceiling->oldspecial; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:191:11: note: here case genCeilingChg: ^~~~ p_ceilng.c: In function 'EV_DoCeiling': p_ceilng.c:304:28: warning: this statement may fall through [-Wimplicit-fallthrough=] ceiling->topheight = sec->ceilingheight; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p_ceilng.c:305:7: note: here case lowerAndCrush: ^~~~ 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_misc.c m_misc.c:316:20: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] {"screen_width",{&desired_screenwidth},{640}, 320, MAX_SCREENWIDTH, ^ m_misc.c:316:20: note: (near initialization for 'defaults[73].location.pi') m_misc.c:318:21: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] {"screen_height",{&desired_screenheight},{480},200,MAX_SCREENHEIGHT, ^ m_misc.c:318:21: note: (near initialization for 'defaults[74].location.pi') m_misc.c:361:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] {"gl_tex_filter_string", {NULL,&gl_tex_filter_string}, {0,"GL_LINEAR"},UL,UL, ^ m_misc.c:361:34: note: (near initialization for 'defaults[94].location.ppsz') m_misc.c:363:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] {"gl_tex_format_string", {NULL,&gl_tex_format_string}, {0,"GL_RGB5_A1"},UL,UL, ^ m_misc.c:363:34: note: (near initialization for 'defaults[95].location.ppsz') m_misc.c: In function 'M_LoadDefaults': m_misc.c:940:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] snprintf((char *)defaultfile, PATH_MAX, ^ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from m_misc.c:51: m_misc.c:1005:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)*(defaults[i].location.ppsz)); /* phares 4/13/98 */ ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ 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 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' 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=] if (!comp[comp_blazing]) { ^ p_doors.c:209:11: note: here 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 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_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' 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] const int colindex = (flags & VPT_FLIP) ? (w - col) : (col); ^~~~~ v_video.c: In function 'V_UpdateTrueColorPalette': v_video.c:542:18: warning: pointer targets in assignment from 'int *' to 'unsigned int *' differ in signedness [-Wpointer-sign] Palettes32 = (int*)malloc(numPals*256*sizeof(int)*VID_NUMCOLORWEIGHTS); ^ v_video.c:572:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] Palettes16 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); ^ v_video.c:602:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] Palettes15 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); ^ 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] for(j=0;jname);j++) ^ r_data.c: In function 'R_ColourMap': r_data.c:415:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (curline) ^ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from r_data.c:35: r_data.c: In function 'R_PrecacheLevel': r_data.c:668:51: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] hitlist = malloc((size_t)numtextures > size ? numtextures : size); ^~~~~~~~~~~ z_zone.h:113:37: note: in definition of macro 'malloc' #define malloc(n) Z_Malloc(n,PU_STATIC,0) ^ 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] 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=] floor->crush = true; ~~~~~~~~~~~~~^~~~~~ p_floor.c:508:7: note: here 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 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 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 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=] sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); ^~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); ^~~~~~~~~~~~~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, 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:33:10: note: '__builtin___sprintf_chk' output between 9 and 35 bytes into a destination of size 9 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_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' 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 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] 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 p_lights.c p_lights.c: In function 'EV_LightTurnOn': p_lights.c:387:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((temp = getNextSector(sector->lines[j],sector)) && ^~ p_lights.c:391:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' sector->lightlevel = tbright; ^~~~~~ 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 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' 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 p_inter.c p_inter.c: In function 'P_GiveAmmo': p_inter.c:145:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (player->readyweapon == wp_fist || player->readyweapon == wp_pistol) ^~ p_inter.c:148:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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 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] #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 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_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_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 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] free((char*)messageString); // free the message strdup()'ed below ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ m_menu.c: In function 'M_DrawSetting': m_menu.c:1894:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] char *text = (char*)*s->var.def->location.ppsz; ^ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c: In function 'M_ResetDefaults': m_menu.c:3595:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)*dp->location.ppsz), ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ m_menu.c: In function 'M_Responder': m_menu.c:4638:27: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] 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] if (ptr2->m_group == group && ptr1 != ptr2) ^~ m_menu.c:4707:21: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] ptr2->m_group == group && ^~ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c:4950:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] free((char*)*ptr1->var.def->location.ppsz); ^ z_zone.h:114:35: note: in definition of macro 'free' #define free(p) Z_Free(p) ^ m_menu.c: In function 'M_ReadSaveStrings': m_menu.c:852:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_menu.c: In function 'M_Init': m_menu.c:5538:18: warning: this statement may fall through [-Wimplicit-fallthrough=] ReadDef2.y = 15; ~~~~~~~~~~~^~~~ m_menu.c:5540:5: note: here case shareware: ^~~~ 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] 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] byte filter_ditherMatrix[DITHER_DIM][DITHER_DIM] = { ^ 0*DMR, 14*DMR, 3*DMR, 13*DMR, 11*DMR, 5*DMR, 8*DMR, 6*DMR, { } { } 12*DMR, 2*DMR, 15*DMR, 1*DMR, 7*DMR, 9*DMR, 4*DMR, 10*DMR { } { }; } r_filter.c: In function 'R_FilterInit': r_filter.c:79:3: warning: multi-line comment [-Wcomment] // /4 \ ^ 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 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 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 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] 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 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] ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset ^ p_map.c:220:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset ^ p_map.c: In function 'PTR_ShootTraverse': p_map.c:1499:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (li->special) ^~ p_map.c:1502:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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 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] if ((actor->type == MT_DOGS || (actor->type == (HelperThing-1) && actor->flags&MF_FRIEND)) ^~ p_enemy.c: In function 'P_DoNewChaseDir': p_enemy.c:552:36: warning: comparison of integer expressions of different signedness: 'dirtype_t' {aka 'enum '} and 'int' [-Wsign-compare] for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) ^~ 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 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] if (playerstate[i] == ps) j++; ^~ d_server.c: In function 'main': d_server.c:522:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(sinfo->wadnames + extrabytes, wadname[i]); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from d_server.c:40: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ d_server.c:573:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] if (verbose>2) printf("%d requests resend from %d\n", from, ptic(packet)); ~^ ~~~~~~~~~~~~ %ld d_server.c:591:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] if (verbose) printf("%d quits at %d (%d left)\n", from, ptic(packet),curplayers); ~^ ~~~~~~~~~~~~ %ld d_server.c:578:7: warning: this statement may fall through [-Wimplicit-fallthrough=] { ^ d_server.c:596:5: note: here case PKT_EXTRA: ^~~~ 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 -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_texture.c In file included from gl_texture.c:46: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 gl_texture.c: In function 'gld_BindTexture': gl_texture.c:501:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 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] CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:511:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ gl_texture.c: In function 'gld_BindPatch': gl_texture.c:654:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&gltexture->glTexID[cm]); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ gl_texture.c: In function 'gld_BindFlat': gl_texture.c:776:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:780:49: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:782:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ gl_texture.c: In function 'gld_CleanTextures': gl_texture.c:856:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures(1,&(gld_GLTextures[i]->glTexID[j])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ gl_texture.c: In function 'gld_CleanPatchTextures': gl_texture.c:874:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures(1,&(gld_GLPatchTextures[i]->glTexID[j])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ gl_texture.c: In function 'gld_Precache': gl_texture.c:891:53: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 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 gl_main.c In file included from gl_main.c:46: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from gl_main.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 gl_main.c: In function 'gld_Init': gl_main.c:340:30: warning: pointer targets in initialization of 'const char *' from 'const GLubyte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] const char *extensions = glGetString(GL_EXTENSIONS); ^~~~~~~~~~~ In file included from gl_main.c:47: doomtype.h:58:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ gl_main.c:351:19: note: in expansion of macro 'MIN' int len = MIN(p-rover, sizeof(ext_name)-1); ^~~ doomtype.h:58:27: warning: operand of ?: changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] #define MIN(a,b) ((a)<(b)?(a):(b)) ^~~ gl_main.c:351:19: note: in expansion of macro 'MIN' int len = MIN(p-rover, sizeof(ext_name)-1); ^~~ gl_main.c:362:22: warning: pointer targets in passing argument 1 of 'gld_InitExtensions' differ in signedness [-Wpointer-sign] gld_InitExtensions(glGetString(GL_EXTENSIONS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gl_main.c:276:13: note: expected 'const char *' but argument is of type 'const GLubyte *' {aka 'const unsigned char *'} static void gld_InitExtensions(const char *_extensions) ^~~~~~~~~~~~~~~~~~ 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=] if (levelinfo) fprintf(levelinfo, "All carved away: subsector %i - sector %i\n", ssec-subsectors, ssec->sector->iSectorID); ~^ ~~~~~~~~~~~~~~~ %li gl_main.c: In function 'gld_EndDrawScene': gl_main.c:1845:28: warning: left shift of negative value [-Wshift-negative-value] viewangleoffset >=-1024<= set:pjdsTwt1Stpl2MpS9Jm8eGEZrDX8yeraOmKD6M86OhLbZcQedz7Oq4TEBq9RvK0K7cNPRCEFmZHDSmxArpZyDw0qs5Mo0Ff22PreoZjGeb5uMSyWrjghL9zniEQtPv5Zt1yPKKlKXc31ZGuZIVB699um7BdZqraX9uXb0, libGLU.so.1()(64bit) >= set:jhYZcAu8, libSDL-1.2.so.0()(64bit) >= set:lgkZiUfG0446X5lqoH7PWKWzhPzQthmqfaEN6Nbu0kTcPIrpdmTj6pzOLIUm7YHWAft8bt7nlku2, libSDL_mixer-1.2.so.0()(64bit) >= set:kgaF2XXCvMIdaOQGvIZmKNqhhZpb, libSDL_net-1.2.so.0()(64bit) >= set:jfJVQmHHUNcrl2Lf2dL5zBfuZy6VQV5R8ZiM0, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.15)(64bit), libpng16.so.16()(64bit) >= set:lhHMWzge3yIESueg6hZuf7Fe0JEV7xBp5U, libpng16.so.16(PNG16_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), 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.Ainhgb 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.ZhKZ1n find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GQSTYE find-requires: running scripts (debuginfo) Requires: prboom = 2.5.0-alt0.3.1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libSDL_net-1.2.so.0), debug64(libc.so.6), debug64(libm.so.6), debug64(libpng16.so.16), debug64(libpthread.so.0) Adding to prboom-debuginfo a strict dependency on prboom Wrote: /usr/src/RPM/RPMS/x86_64/prboom-2.5.0-alt0.3.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/prboom-debuginfo-2.5.0-alt0.3.1.x86_64.rpm 40.51user 3.81system 0:44.44elapsed 99%CPU (0avgtext+0avgdata 268668maxresident)k 0inputs+0outputs (0major+1444506minor)pagefaults 0swaps 48.20user 6.79system 0:56.99elapsed 96%CPU (0avgtext+0avgdata 268668maxresident)k 0inputs+0outputs (0major+1846986minor)pagefaults 0swaps