<86>Jun 9 05:53:35 userdel[3210743]: delete user 'rooter' <86>Jun 9 05:53:35 userdel[3210743]: removed group 'rooter' owned by 'rooter' <86>Jun 9 05:53:35 userdel[3210743]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 9 05:53:35 groupadd[3210760]: group added to /etc/group: name=rooter, GID=603 <86>Jun 9 05:53:35 groupadd[3210760]: group added to /etc/gshadow: name=rooter <86>Jun 9 05:53:35 groupadd[3210760]: new group: name=rooter, GID=603 <86>Jun 9 05:53:35 useradd[3210771]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Jun 9 05:53:35 userdel[3210793]: delete user 'builder' <86>Jun 9 05:53:35 userdel[3210793]: removed group 'builder' owned by 'builder' <86>Jun 9 05:53:35 userdel[3210793]: removed shadow group 'builder' owned by 'builder' <86>Jun 9 05:53:35 groupadd[3210809]: group added to /etc/group: name=builder, GID=604 <86>Jun 9 05:53:35 groupadd[3210809]: group added to /etc/gshadow: name=builder <86>Jun 9 05:53:35 groupadd[3210809]: new group: name=builder, GID=604 <86>Jun 9 05:53:35 useradd[3210819]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/prboom-2.5.0-alt0.3.1.src.rpm: The use of such a license name is ambiguous: GPL <13>Jun 9 05:53:42 rpmi: libglvnd-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:42 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849991 installed <13>Jun 9 05:53:42 rpmi: udev-rules-1:245.6-alt1 sisyphus+252793.100.1.1 1591265128 installed <13>Jun 9 05:53:42 rpmi: libflac8-1.3.3-alt1 sisyphus+247112.100.1.1 1582855183 installed <13>Jun 9 05:53:42 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Jun 9 05:53:42 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000383 installed <13>Jun 9 05:53:42 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Jun 9 05:53:42 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958863 installed <13>Jun 9 05:53:42 rpmi: libffi6-1:3.2.1-alt4 sisyphus+251953.300.2.1 1589891021 installed <13>Jun 9 05:53:42 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>Jun 9 05:53:42 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Jun 9 05:53:42 rpmi: libdevmapper-1.02.171-alt2 sisyphus+251678.100.1.1 1589428777 installed <13>Jun 9 05:53:42 rpmi: msulogin-1.0-alt1 1366288481 installed <13>Jun 9 05:53:42 rpmi: mount-2.35.2-alt1 sisyphus+252086.100.1.1 1590157782 installed <13>Jun 9 05:53:42 rpmi: sysvinit-2.88-alt6 sisyphus+240403.100.2.1 1573520131 installed <13>Jun 9 05:53:42 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>Jun 9 05:53:42 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Jun 9 05:53:42 rpmi: libOpenGL-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:42 rpmi: libGLES-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:42 rpmi: libwebrtc-0.3-alt2 sisyphus+229377.100.1.1 1557873868 installed <13>Jun 9 05:53:42 rpmi: libspeexdsp-1.2-alt3_0.12.rc3 sisyphus+226105.100.1.1 1554121565 installed <13>Jun 9 05:53:42 rpmi: libsoxr-0.1.2-alt4 sisyphus+222649.100.1.1 1550964841 installed <13>Jun 9 05:53:42 rpmi: libsbc-1.2-alt1.1 1501780340 installed <13>Jun 9 05:53:42 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Jun 9 05:53:42 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Jun 9 05:53:42 rpmi: liborc-0.4.31-alt1 sisyphus+240181.100.1.1 1572853313 installed <13>Jun 9 05:53:42 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906326 installed <13>Jun 9 05:53:42 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jun 9 05:53:42 rpmi: libgomp1-9.3.1-alt1 sisyphus+251917.40.3.1 1589811833 installed <13>Jun 9 05:53:42 rpmi: libfftw3-common-3.3.8-alt1 sisyphus+247390.100.1.1 1583426835 installed <13>Jun 9 05:53:42 rpmi: libfftw3f-3.3.8-alt1 sisyphus+247390.100.1.1 1583426835 installed <13>Jun 9 05:53:42 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Jun 9 05:53:43 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jun 9 05:53:43 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Jun 9 05:53:43 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Jun 9 05:53:43 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jun 9 05:53:43 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Jun 9 05:53:43 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jun 9 05:53:43 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jun 9 05:53:43 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jun 9 05:53:43 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Jun 9 05:53:43 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jun 9 05:53:43 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Jun 9 05:53:43 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Jun 9 05:53:43 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Jun 9 05:53:43 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Jun 9 05:53:43 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Jun 9 05:53:43 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Jun 9 05:53:43 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Jun 9 05:53:45 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Jun 9 05:53:45 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jun 9 05:53:45 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Jun 9 05:53:45 rpmi: libdrm-1:2.4.102-alt1 sisyphus+252307.100.1.1 1590574831 installed <13>Jun 9 05:53:45 rpmi: libGLX-mesa-4:20.1.0-alt3 sisyphus+252960.100.1.1 1591466589 installed <13>Jun 9 05:53:45 rpmi: libGLX-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:45 rpmi: libGL-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:45 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Jun 9 05:53:45 rpmi: libgbm-4:20.1.0-alt3 sisyphus+252960.100.1.1 1591466589 installed <13>Jun 9 05:53:45 rpmi: libEGL-mesa-4:20.1.0-alt3 sisyphus+252960.100.1.1 1591466589 installed <13>Jun 9 05:53:45 rpmi: libEGL-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:45 rpmi: libglvnd-devel-7:1.3.1-alt2 sisyphus+252520.100.1.1 1590837006 installed <13>Jun 9 05:53:45 rpmi: libGL-devel-4:20.1.0-alt3 sisyphus+252960.100.1.1 1591466589 installed <13>Jun 9 05:53:45 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Jun 9 05:53:45 rpmi: udev-hwdb-1:245.6-alt1 sisyphus+252793.100.1.1 1591265128 installed <13>Jun 9 05:53:45 rpmi: libseccomp-2.4.3-alt1 sisyphus+251341.200.2.1 1588963863 installed <13>Jun 9 05:53:45 rpmi: libpcre2-10.35-alt1 sisyphus+251510.100.1.1 1589115548 installed <13>Jun 9 05:53:45 rpmi: libiptables-1.8.4-alt1 sisyphus+246876.100.1.1 1582593434 installed <13>Jun 9 05:53:45 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed <13>Jun 9 05:53:45 rpmi: libjson-c5-0.14-alt1 sisyphus+251354.100.1.1 1588981964 installed <13>Jun 9 05:53:45 rpmi: libargon2-20190702-alt1 sisyphus+235300.100.1.1 1564606506 installed <13>Jun 9 05:53:45 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Jun 9 05:53:46 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Jun 9 05:53:46 rpmi: libsystemd-1:245.6-alt1 sisyphus+252793.100.1.1 1591265128 installed <13>Jun 9 05:53:46 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed <13>Jun 9 05:53:46 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382762 installed <13>Jun 9 05:53:46 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Jun 9 05:53:46 rpmi: libavahi-0.7-alt3 sisyphus+250384.100.2.1 1587547072 installed <13>Jun 9 05:53:46 rpmi: hwclock-1:2.35.2-alt1 sisyphus+252086.100.1.1 1590157782 installed <13>Jun 9 05:53:46 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Jun 9 05:53:46 rpmi: losetup-2.35.2-alt1 sisyphus+252086.100.1.1 1590157782 installed <13>Jun 9 05:53:46 rpmi: lsblk-2.35.2-alt1 sisyphus+252086.100.1.1 1590157782 installed <13>Jun 9 05:53:46 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 9 05:53:46 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Jun 9 05:53:46 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 9 05:53:46 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 9 05:53:46 rpmi: ca-certificates-2020.06.05-alt1 sisyphus+252902.200.1.1 1591391133 installed <13>Jun 9 05:53:46 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 9 05:53:46 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 9 05:53:46 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed <13>Jun 9 05:53:46 rpmi: libkmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>Jun 9 05:53:46 rpmi: kmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>Jun 9 05:53:46 rpmi: libcryptsetup-2.3.3-alt1 sisyphus+252584.100.1.1 1590913536 installed <13>Jun 9 05:53:46 rpmi: startup-0.9.9.9-alt1 sisyphus+242122.100.1.1 1575282386 installed <13>Jun 9 05:53:46 rpmi: systemd-utils-1:245.6-alt1 sisyphus+252793.100.1.1 1591265128 installed <13>Jun 9 05:53:46 rpmi: dmsetup-1.02.171-alt2 sisyphus+251678.100.1.1 1589428777 installed <86>Jun 9 05:53:46 groupadd[3226611]: group added to /etc/group: name=tape, GID=499 <86>Jun 9 05:53:46 groupadd[3226611]: group added to /etc/gshadow: name=tape <86>Jun 9 05:53:46 groupadd[3226611]: new group: name=tape, GID=499 <86>Jun 9 05:53:46 groupadd[3226622]: group added to /etc/group: name=dialout, GID=498 <86>Jun 9 05:53:46 groupadd[3226622]: group added to /etc/gshadow: name=dialout <86>Jun 9 05:53:46 groupadd[3226622]: new group: name=dialout, GID=498 <86>Jun 9 05:53:46 groupadd[3226629]: group added to /etc/group: name=input, GID=497 <86>Jun 9 05:53:46 groupadd[3226629]: group added to /etc/gshadow: name=input <86>Jun 9 05:53:46 groupadd[3226629]: new group: name=input, GID=497 <86>Jun 9 05:53:46 groupadd[3226639]: group added to /etc/group: name=video, GID=496 <86>Jun 9 05:53:46 groupadd[3226639]: group added to /etc/gshadow: name=video <86>Jun 9 05:53:46 groupadd[3226639]: new group: name=video, GID=496 <86>Jun 9 05:53:46 groupadd[3226654]: group added to /etc/group: name=render, GID=495 <86>Jun 9 05:53:46 groupadd[3226654]: group added to /etc/gshadow: name=render <86>Jun 9 05:53:46 groupadd[3226654]: new group: name=render, GID=495 <13>Jun 9 05:53:46 rpmi: udev-1:245.6-alt1 sisyphus+252793.100.1.1 1591265128 installed <13>Jun 9 05:53:46 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>Jun 9 05:53:46 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>Jun 9 05:53:46 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270244 installed <13>Jun 9 05:53:47 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Jun 9 05:53:47 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Jun 9 05:53:47 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Jun 9 05:53:47 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Jun 9 05:53:47 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Jun 9 05:53:47 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Jun 9 05:53:47 rpmi: pulseaudio-daemon-13.0-alt3 sisyphus+242188.100.1.1 1575382762 installed <13>Jun 9 05:53:47 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.41 + 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.82937 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prboom-2.5.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./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_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_main.c i_main.c: In function 'main': i_main.c:359:10: warning: assignment to 'const char * const*' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 359 | myargv = argv; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_video.c i_video.c: In function 'I_CalculateRes': i_video.c:519:27: warning: pointer targets in passing argument 1 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] 519 | I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); | ^~~~~~ | | | unsigned int * i_video.c:453:39: note: expected 'int *' but argument is of type 'unsigned int *' 453 | static void I_ClosestResolution (int *width, int *height, int flags) | ~~~~~^~~~~ i_video.c:519:35: warning: pointer targets in passing argument 2 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] 519 | I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); | ^~~~~~~ | | | unsigned int * i_video.c:453:51: note: expected 'int *' but argument is of type 'unsigned int *' 453 | static void I_ClosestResolution (int *width, int *height, int flags) | ~~~~~^~~~~~ i_video.c: In function 'I_SkipFrame': i_video.c:281:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | if (!paused) | ^ i_video.c:283:3: note: here 283 | default: | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_sound.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_sshot.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c i_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_system.c i_system.c: In function 'I_FindFile': i_system.c:358:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 358 | for (i = 0; i < sizeof(search)/sizeof(*search); i++) { | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src/SDL' 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] 49 | if (demo_smoothturns && demoplayback && players) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 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_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 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 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 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 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 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] 553 | if (angle - player->mo->angle < -ANG90/20) | ^ p_pspr.c: In function 'P_SwitchWeapon': p_pspr.c:169:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 169 | if (!player->powers[pw_strength]) // allow chainsaw override | ^ p_pspr.c:171:7: note: here 171 | case 0: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 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 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 hu_stuff.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_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 s_sound.c s_sound.c: In function 'S_AdjustSoundParams': s_sound.c:596:3: warning: multi-line comment [-Wcomment] 596 | // P_SetupLevel() \ P_LoadThings() \ P_SpawnMapThing() \ P_SpawnPlayer(players[0]) \ | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c sounds.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c g_game.c g_game.c: In function 'G_BuildTiccmd': g_game.c:462:35: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] 462 | if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) | ^~ g_game.c:485:15: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] 485 | if (bstrafe != dclickstate2 && dclicktime2 > 1 ) | ^~ g_game.c: In function 'G_DoLoadLevel': g_game.c:628:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 628 | memset (mousebuttons, 0, sizeof(mousebuttons)); | ^ g_game.c:629:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 629 | memset (joybuttons, 0, sizeof(joybuttons)); | ^ g_game.c: In function 'G_DoLoadGame': g_game.c:1582:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1582 | if (!strncmp(save_p, vcheck, VERSIONSIZE)) { | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: g_game.c:1607:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1607 | char *msg = malloc(strlen(save_p + sizeof checksum) + 128); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} z_zone.h:113:37: note: in definition of macro 'malloc' 113 | #define malloc(n) Z_Malloc(n,PU_STATIC,0) | ^ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1610:59: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 1610 | strcat(strcat(msg,"Wads expected:\n\n"), save_p + sizeof checksum); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1621:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1621 | save_p += strlen(save_p)+1; | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1642:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c:1642:10: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c: In function 'G_DoSaveGame': g_game.c:1805:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1805 | strcpy(save_p, w); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1806:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1806 | save_p += strlen(save_p); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1974 | for (i = 0; i < sizeof(levels)/sizeof(*levels); i++) | ^ g_game.c: In function 'G_ReloadDefaults': g_game.c:2073:27: warning: comparison of integer expressions of different signedness: 'complevel_t' {aka 'enum '} and 'int' [-Wsign-compare] 2073 | if (compatibility_level == -1) | ^~ g_game.c: In function 'G_WriteDemoTiccmd': g_game.c:2255:10: warning: pointer targets in assignment from 'char *' to 'const byte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 2255 | demo_p = buf; | ^ g_game.c: In function 'G_RecordDemo': g_game.c:2292:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2292 | if (pos) | ^~ g_game.c:2304:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2304 | if (slot == -1) I_Error("G_RecordDemo: No save in demo, can't continue"); | ^~ g_game.c: In function 'G_ReadDemoHeader': g_game.c:2764:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2764 | else | ^~~~ g_game.c:2766:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2766 | break; | ^~~~~ g_game.c:2774:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2774 | else | ^~~~ g_game.c:2776:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2776 | break; | ^~~~~ g_game.c: In function 'G_WorldDone': g_game.c:1403:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 1403 | if (!secretexit) | ^ g_game.c:1405:9: note: here 1405 | case 6: | ^~~~ g_game.c: In function 'G_RecordDemo': g_game.c:2307:21: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2307 | fseek(demofp, -rc, SEEK_CUR); | ^~~ g_game.c: In function 'G_BeginRecording': g_game.c:2559:15: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] 2559 | *demo_p++ = v; | ~~~~~~~~~~^~~ g_game.c:2518:17: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] 2518 | *demo_p++ = v; | ~~~~~~~~~~^~~ g_game.c: In function 'G_ReadDemoTiccmd': g_game.c:2226:25: warning: 'at' may be used uninitialized in this function [-Wmaybe-uninitialized] 2226 | cmd->sidemove = (signed char)at; | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c m_cheat.c m_cheat.c: In function 'cheat_tntweapx': m_cheat.c:620:16: warning: comparison of integer expressions of different signedness: 'int' and 'weapontype_t' {aka 'enum '} [-Wsign-compare] 620 | if (w==plyr->readyweapon) // maybe switch if weapon removed | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_deh.c d_deh.c: In function 'deh_procPointer': d_deh.c:1935:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 1935 | if (value < 0 || value >= NUMSTATES) | ^ d_deh.c:1949:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1949 | for (i=0;ifloorheight); | ^ p_saveg.c:208:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 208 | get = (void *)((char *) get + sizeof sec->ceilingheight); | ^ p_saveg.c:237:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 237 | get = (void *)((char *) get + sizeof si->textureoffset); | ^ p_saveg.c:239:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 239 | get = (void *)((char *) get + sizeof si->rowoffset); | ^ p_saveg.c:246:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 246 | save_p = (byte *) get; | ^ p_saveg.c: In function 'P_ThinkerToIndex': p_saveg.c:274:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 274 | th->prev = (thinker_t *) ++number_of_thinkers; | ^ p_saveg.c: In function 'P_ArchiveThinkers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:320:9: note: in expansion of macro 'PADSAVEP' 320 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveThinkers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:455:9: note: in expansion of macro 'PADSAVEP' 455 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:476:7: note: in expansion of macro 'PADSAVEP' 476 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:499:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 499 | mobj->state = states + (int) mobj->state; | ^ p_saveg.c:502:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 502 | (mobj->player = &players[(int) mobj->player - 1]) -> mo = mobj; | ^ p_saveg.c: In function 'P_ArchiveSpecials': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:662:11: note: in expansion of macro 'PADSAVEP' 662 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:674:11: note: in expansion of macro 'PADSAVEP' 674 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:688:11: note: in expansion of macro 'PADSAVEP' 688 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:701:11: note: in expansion of macro 'PADSAVEP' 701 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:713:11: note: in expansion of macro 'PADSAVEP' 713 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:725:11: note: in expansion of macro 'PADSAVEP' 725 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:737:11: note: in expansion of macro 'PADSAVEP' 737 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:750:11: note: in expansion of macro 'PADSAVEP' 750 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:763:11: note: in expansion of macro 'PADSAVEP' 763 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveSpecials': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:808:9: note: in expansion of macro 'PADSAVEP' 808 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:813:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 813 | ceiling->sector = §ors[(int)ceiling->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:825:9: note: in expansion of macro 'PADSAVEP' 825 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:830:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 830 | door->sector = §ors[(int)door->sector]; | ^ p_saveg.c:833:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:833:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:842:9: note: in expansion of macro 'PADSAVEP' 842 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:847:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 847 | floor->sector = §ors[(int)floor->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:855:9: note: in expansion of macro 'PADSAVEP' 855 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:860:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 860 | plat->sector = §ors[(int)plat->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:872:9: note: in expansion of macro 'PADSAVEP' 872 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:877:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 877 | flash->sector = §ors[(int)flash->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:884:9: note: in expansion of macro 'PADSAVEP' 884 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:889:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 889 | strobe->sector = §ors[(int)strobe->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:896:9: note: in expansion of macro 'PADSAVEP' 896 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:901:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 901 | glow->sector = §ors[(int)glow->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:908:9: note: in expansion of macro 'PADSAVEP' 908 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:913:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | flicker->sector = §ors[(int)flicker->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:921:9: note: in expansion of macro 'PADSAVEP' 921 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:926:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 926 | elevator->sector = §ors[(int)elevator->sector]; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 am_map.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_telept.c p_telept.c: In function 'EV_SilentLineTeleport': p_telept.c:294:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 294 | y -= l->dx < 0 != side ? -1 : 1; | ~~~~~~^~~ p_telept.c:296:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 296 | x += l->dy < 0 != side ? -1 : 1; | ~~~~~~^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_sight.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 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 m_misc.c m_misc.c:316:20: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 316 | {"screen_width",{&desired_screenwidth},{640}, 320, MAX_SCREENWIDTH, | ^ m_misc.c:316:20: note: (near initialization for 'defaults[73].location.pi') m_misc.c:318:21: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 318 | {"screen_height",{&desired_screenheight},{480},200,MAX_SCREENHEIGHT, | ^ m_misc.c:318:21: note: (near initialization for 'defaults[74].location.pi') m_misc.c:361:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 361 | {"gl_tex_filter_string", {NULL,&gl_tex_filter_string}, {0,"GL_LINEAR"},UL,UL, | ^ m_misc.c:361:34: note: (near initialization for 'defaults[94].location.ppsz') m_misc.c:363:34: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 363 | {"gl_tex_format_string", {NULL,&gl_tex_format_string}, {0,"GL_RGB5_A1"},UL,UL, | ^ m_misc.c:363:34: note: (near initialization for 'defaults[95].location.ppsz') m_misc.c: In function 'M_LoadDefaults': m_misc.c:940:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 940 | snprintf((char *)defaultfile, PATH_MAX, | ^ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from m_misc.c:51: m_misc.c:1005:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1005 | free((char*)*(defaults[i].location.ppsz)); /* phares 4/13/98 */ | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' 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 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 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 p_user.c p_user.c: In function 'P_PlayerThink': p_user.c:314:23: warning: the address of 'players' will always evaluate as 'true' [-Waddress] 314 | if (movement_smooth && players && &players[displayplayer] == player) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c st_stuff.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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=] 204 | if (!comp[comp_blazing]) { | ^ p_doors.c:209:11: note: here 209 | default: // other types bounce off the obstruction | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 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 p_ceilng.c p_ceilng.c: In function 'T_MoveCeiling': p_ceilng.c:113:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 113 | ceiling->sector->oldspecial = ceiling->oldspecial; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:114:11: note: here 114 | case genCeilingChg: | ^~~~ p_ceilng.c:121:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 121 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:122:11: note: here 122 | case genSilentCrusher: | ^~~~ p_ceilng.c:177:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 177 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:178:11: note: here 178 | case crushAndRaise: | ^~~~ p_ceilng.c:179:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 179 | ceiling->speed = CEILSPEED; p_ceilng.c:180:11: note: here 180 | case fastCrushAndRaise: | ^~~~ p_ceilng.c:190:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 190 | ceiling->sector->oldspecial = ceiling->oldspecial; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:191:11: note: here 191 | case genCeilingChg: | ^~~~ p_ceilng.c: In function 'EV_DoCeiling': p_ceilng.c:304:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 304 | ceiling->topheight = sec->ceilingheight; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p_ceilng.c:305:7: note: here 305 | case lowerAndCrush: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c v_video.c v_video.c: In function 'V_DrawMemPatch': v_video.c:293:61: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 293 | const int colindex = (flags & VPT_FLIP) ? (w - col) : (col); | ^~~~~ v_video.c: In function 'V_UpdateTrueColorPalette': v_video.c:542:18: warning: pointer targets in assignment from 'int *' to 'unsigned int *' differ in signedness [-Wpointer-sign] 542 | Palettes32 = (int*)malloc(numPals*256*sizeof(int)*VID_NUMCOLORWEIGHTS); | ^ v_video.c:572:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] 572 | Palettes16 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); | ^ v_video.c:602:18: warning: pointer targets in assignment from 'short int *' to 'short unsigned int *' differ in signedness [-Wpointer-sign] 602 | Palettes15 = (short*)malloc(numPals*256*sizeof(short)*VID_NUMCOLORWEIGHTS); | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_floor.c p_floor.c: In function 'EV_DoDonut': p_floor.c:918:14: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 918 | if ((!s2->lines[i]->flags & ML_TWOSIDED) || | ^~~~~~~~~~~~~~~~~~~~ p_floor.c: In function 'EV_DoFloor': p_floor.c:507:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 507 | floor->crush = true; | ~~~~~~~~~~~~~^~~~~~ p_floor.c:508:7: note: here 508 | case raiseFloor: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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_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 w_wad.c w_wad.c: In function 'W_CheckNumForName': w_wad.c:331:46: warning: comparison of integer expressions of different signedness: 'enum ' and 'int' [-Wsign-compare] 331 | lumpinfo[i].li_namespace != li_namespace)) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_data.c r_data.c: In function 'R_InitTextures': r_data.c:259:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 259 | for(j=0;jname);j++) | ^ r_data.c: In function 'R_ColourMap': r_data.c:415:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 415 | if (curline) | ^ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from r_data.c:35: r_data.c: In function 'R_PrecacheLevel': r_data.c:668:51: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 668 | hitlist = malloc((size_t)numtextures > size ? numtextures : size); | ^~~~~~~~~~~ z_zone.h:113:37: note: in definition of macro 'malloc' 113 | #define malloc(n) Z_Malloc(n,PU_STATIC,0) | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c f_finale.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_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 p_enemy.c p_enemy.c: In function 'P_SmartMove': p_enemy.c:450:47: warning: comparison of integer expressions of different signedness: 'mobjtype_t' {aka 'enum '} and 'int' [-Wsign-compare] 450 | if ((actor->type == MT_DOGS || (actor->type == (HelperThing-1) && actor->flags&MF_FRIEND)) | ^~ p_enemy.c: In function 'P_DoNewChaseDir': p_enemy.c:552:36: warning: comparison of integer expressions of different signedness: 'dirtype_t' {aka 'enum '} and 'int' [-Wsign-compare] 552 | for (tdir = DI_SOUTHEAST; tdir != DI_EAST-1; tdir--) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' 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_lights.c p_lights.c: In function 'EV_LightTurnOn': p_lights.c:387:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 387 | if ((temp = getNextSector(sector->lines[j],sector)) && | ^~ p_lights.c:391:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 391 | sector->lightlevel = tbright; | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c wi_stuff.c wi_stuff.c: In function 'WI_loadData': wi_stuff.c:1850:33: warning: '%.2d' directive writing between 2 and 10 bytes into a region of size between 0 and 5 [-Wformat-overflow=] 1850 | sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); | ^~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] 1850 | sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); | ^~~~~~~~~~~~~~~ wi_stuff.c:1850:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:867, from z_zone.h:52, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from wi_stuff.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 35 bytes into a destination of size 9 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_inter.c p_inter.c: In function 'P_GiveAmmo': p_inter.c:145:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 145 | if (player->readyweapon == wp_fist || player->readyweapon == wp_pistol) | ^~ p_inter.c:148:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 148 | break; | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 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 r_main.c r_main.c: In function 'R_ShowStats': r_main.c:540:5: warning: "USE_SDL" is not defined, evaluates to 0 [-Wundef] 540 | #if USE_SDL | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 m_menu.c In file included from doomdef.h:49, from m_menu.c:41: m_menu.c: In function 'M_VerifyForcedLoadGame': m_menu.c:773:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 773 | free((char*)messageString); // free the message strdup()'ed below | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ m_menu.c: In function 'M_DrawSetting': m_menu.c:1894:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1894 | char *text = (char*)*s->var.def->location.ppsz; | ^ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c: In function 'M_ResetDefaults': m_menu.c:3595:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3595 | free((char*)*dp->location.ppsz), | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ m_menu.c: In function 'M_Responder': m_menu.c:4638:27: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] 4638 | if (ptr2->m_group == group && ptr1 != ptr2) | ^~ m_menu.c:4675:27: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] 4675 | if (ptr2->m_group == group && ptr1 != ptr2) | ^~ m_menu.c:4707:21: warning: comparison of integer expressions of different signedness: 'setup_group' {aka 'enum '} and 'int' [-Wsign-compare] 4707 | ptr2->m_group == group && | ^~ In file included from doomdef.h:49, from m_menu.c:41: m_menu.c:4950:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 4950 | free((char*)*ptr1->var.def->location.ppsz); | ^ z_zone.h:114:35: note: in definition of macro 'free' 114 | #define free(p) Z_Free(p) | ^ m_menu.c: In function 'M_ReadSaveStrings': m_menu.c:852:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 852 | fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_menu.c: In function 'M_Init': m_menu.c:5538:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 5538 | ReadDef2.y = 15; | ~~~~~~~~~~~^~~~ m_menu.c:5540:5: note: here 5540 | case shareware: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c md5.c md5.c: In function 'MD5Final': md5.c:134:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 134 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_spec.c p_spec.c: In function 'P_SpawnScrollers': p_spec.c:2806:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 2806 | if (special != 253) | ^ p_spec.c:2809:9: note: here 2809 | case 252: // carry objects on floor | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_filter.c r_filter.c:35:52: warning: missing braces around initializer [-Wmissing-braces] 35 | byte filter_ditherMatrix[DITHER_DIM][DITHER_DIM] = { | ^ 36 | 0*DMR, 14*DMR, 3*DMR, 13*DMR, 11*DMR, 5*DMR, 8*DMR, 6*DMR, | { } { } 37 | 12*DMR, 2*DMR, 15*DMR, 1*DMR, 7*DMR, 9*DMR, 4*DMR, 10*DMR | { } { 38 | }; | } r_filter.c: In function 'R_FilterInit': r_filter.c:79:3: warning: multi-line comment [-Wcomment] 79 | // /4 \ | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c p_checksum.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_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] 148 | char *p = sinfo->wadnames; | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c r_patch.c make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c 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 p_map.c p_map.c: In function 'P_GetMoveFactor': p_map.c:201:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 201 | ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset | ^ p_map.c:220:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 220 | ((mobj_t*)mo)->movefactor = ORIG_FRICTION_FACTOR; // reset | ^ p_map.c: In function 'PTR_ShootTraverse': p_map.c:1499:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1499 | if (li->special) | ^~ p_map.c:1502:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1502 | if (li->flags & ML_TWOSIDED) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c d_server.c d_server.c: In function 'n_players_in_state': d_server.c:234:22: warning: comparison of integer expressions of different signedness: 'enum ' and 'int' [-Wsign-compare] 234 | if (playerstate[i] == ps) j++; | ^~ d_server.c: In function 'main': d_server.c:522:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 522 | strcpy(sinfo->wadnames + extrabytes, wadname[i]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from d_server.c:40: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ d_server.c:573:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 573 | if (verbose>2) printf("%d requests resend from %d\n", from, ptic(packet)); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld d_server.c:591:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 591 | if (verbose) printf("%d quits at %d (%d left)\n", from, ptic(packet),curplayers); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld d_server.c:578:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 578 | { | ^ d_server.c:596:5: note: here 596 | case PKT_EXTRA: | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' 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 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | gl_texture.c: In function 'gld_BindTexture': gl_texture.c:501:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 501 | if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:508:37: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 508 | CR_DEFAULT, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:511:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] 511 | glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1302:57: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); | ~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_BindPatch': gl_texture.c:654:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] 654 | glGenTextures(1,&gltexture->glTexID[cm]); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1302:57: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); | ~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_BindFlat': gl_texture.c:776:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 776 | if (!(gltexture->mipmap & use_mipmapping) & gl_paletted_texture) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:780:49: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 780 | gld_AddFlatToTexture(gltexture, buffer, flat, !(gltexture->mipmap & use_mipmapping) & gl_paletted_texture); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_texture.c:782:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] 782 | glGenTextures(1,&gltexture->glTexID[CR_DEFAULT]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1302:57: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); | ~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_CleanTextures': gl_texture.c:856:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] 856 | glDeleteTextures(1,&(gld_GLTextures[i]->glTexID[j])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1304:66: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' 1304 | GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); | ~~~~~~~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_CleanPatchTextures': gl_texture.c:874:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] 874 | glDeleteTextures(1,&(gld_GLPatchTextures[i]->glTexID[j])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/SDL/SDL_opengl.h:46, from gl_texture.c:46: /usr/include/GL/gl.h:1304:66: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' 1304 | GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); | ~~~~~~~~~~~~~~^~~~~~~~ gl_texture.c: In function 'gld_Precache': gl_texture.c:891:53: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 891 | hitlist = Z_Malloc((size_t)numtextures > size ? numtextures : size,PU_LEVEL,0); | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/prboom-2.5.0/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c gl_main.c In file included from gl_main.c:46: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from gl_main.c:46: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | gl_main.c: In function 'gld_Init': gl_main.c:340:30: warning: pointer targets in initialization of 'const char *' from 'const GLubyte *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 340 | const char *extensions = glGetString(GL_EXTENSIONS); | ^~~~~~~~~~~ In file included from gl_main.c:47: doomtype.h:58:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 58 | #define MIN(a,b) ((a)<(b)?(a):(b)) | ^ gl_main.c:351:19: note: in expansion of macro 'MIN' 351 | int len = MIN(p-rover, sizeof(ext_name)-1); | ^~~ doomtype.h:58:27: warning: operand of ?: changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 58 | #define MIN(a,b) ((a)<(b)?(a):(b)) | ^~~ gl_main.c:351:19: note: in expansion of macro 'MIN' 351 | int len = MIN(p-rover, sizeof(ext_name)-1); | ^~~ gl_main.c:362:22: warning: pointer targets in passing argument 1 of 'gld_InitExtensions' differ in signedness [-Wpointer-sign] 362 | gld_InitExtensions(glGetString(GL_EXTENSIONS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const GLubyte * {aka const unsigned char *} gl_main.c:276:44: note: expected 'const char *' but argument is of type 'const GLubyte *' {aka 'const unsigned char *'} 276 | static void gld_InitExtensions(const char *_extensions) | ~~~~~~~~~~~~^~~~~~~~~~~ gl_main.c: In function 'gld_FlatConvexCarver': gl_main.c:1084:68: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1084 | if (levelinfo) fprintf(levelinfo, "All carved away: subsector %i - sector %i\n", ssec-subsectors, ssec->sector->iSectorID); | ~^ ~~~~~~~~~~~~~~~ | | | | int long int | %li gl_main.c: In function 'gld_EndDrawScene': gl_main.c:1845:28: warning: left shift of negative value [-Wshift-negative-value] 1845 | viewangleoffset >=-1024<= 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.RsJvJ7 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.5au9e9 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Al7Pc9 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 64.06user 8.47system 0:58.83elapsed 123%CPU (0avgtext+0avgdata 270116maxresident)k 0inputs+0outputs (0major+1388817minor)pagefaults 0swaps /.out/prboom-2.5.0-alt0.3.1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/prboom-debuginfo-2.5.0-alt0.3.1.x86_64.rpm: The use of such a license name is ambiguous: GPL 77.51user 16.26system 1:22.13elapsed 114%CPU (0avgtext+0avgdata 270116maxresident)k 0inputs+0outputs (0major+1793979minor)pagefaults 0swaps