D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/prboom-2.5.0-22.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hTYQNG + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf prboom-2.5.0 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/prboom-2.5.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd prboom-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/prboom-2.5.0-libpng-1.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9p3PyE + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd prboom-2.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I autotools autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:37: installing 'autotools/compile' data/Makefile.am:10: warning: wildcard graphics/*.ppm sprites/*.ppm lumps/*.lmp sounds/*.wav: non-POSIX variable name data/Makefile.am:10: (probably a GNU make extension) autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-cpu-opt --disable-i386-asm --enable-gl checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking target system type... aarch64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking checking whether to use x86 asm versions of some functions... no checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking whether ln -s works... yes checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-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... aarch64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 checking that generated files are newer than configure... done 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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_joy.o i_joy.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_sshot.o i_sshot.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_main.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_network.o i_network.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_sound.o i_sound.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_system.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_video.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/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 aarch64-mageia-linux-gnu-ranlib libsdldoom.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' Making all in POSIX make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-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 -o i_system.o i_system.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' rm -f libposixdoom.a ar cru libposixdoom.a i_system.o aarch64-mageia-linux-gnu-ranlib libposixdoom.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' Making all in MAC make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_demo.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lprintf.o lprintf.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_sky.o r_sky.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hu_lib.o hu_lib.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mmus2mid.o mmus2mid.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_plats.o p_plats.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_argv.o m_argv.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_bbox.o m_bbox.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o am_map.o am_map.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_mobj.o p_mobj.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_items.o d_items.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_segs.o r_segs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_pspr.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hu_stuff.o hu_stuff.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_cheat.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o g_game.o g_game.c g_game.c: In function 'G_BuildTiccmd': g_game.c:462:35: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] 462 | if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) | ^~ g_game.c:485:15: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] 485 | if (bstrafe != dclickstate2 && dclicktime2 > 1 ) | ^~ g_game.c: In function 'G_DoLoadLevel': g_game.c:628:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 628 | memset (mousebuttons, 0, sizeof(mousebuttons)); | ^ g_game.c:629:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 629 | memset (joybuttons, 0, sizeof(joybuttons)); | ^ g_game.c: In function 'G_DoLoadGame': g_game.c:1582:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1582 | if (!strncmp(save_p, vcheck, VERSIONSIZE)) { | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: g_game.c:1607:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1607 | char *msg = malloc(strlen(save_p + sizeof checksum) + 128); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} z_zone.h:113:37: note: in definition of macro 'malloc' 113 | #define malloc(n) Z_Malloc(n,PU_STATIC,0) | ^ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1610:59: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 1610 | strcat(strcat(msg,"Wads expected:\n\n"), save_p + sizeof checksum); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1621:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1621 | save_p += strlen(save_p)+1; | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1642:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c:1642:10: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c: In function 'G_DoSaveGame': g_game.c:1805:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1805 | strcpy(save_p, w); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1806:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1806 | save_p += strlen(save_p); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison of integer expressions of different signedness: 'int' and '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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_deh.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o s_sound.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_things.o r_things.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o info.o info.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_sight.o p_sight.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o st_lib.o st_lib.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_misc.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_telept.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_random.o m_random.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tables.o tables.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_tick.o p_tick.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o st_stuff.o st_stuff.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_switch.o p_switch.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_setup.o p_setup.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o doomdef.o doomdef.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_ceilng.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_main.o d_main.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_user.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o doomstat.o doomstat.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_doors.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_bsp.o r_bsp.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_spec.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dstrings.o dstrings.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_floor.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o v_video.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o w_wad.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_data.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_lights.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o z_bmalloc.o z_bmalloc.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_genlin.o p_genlin.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o f_finale.o f_finale.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_inter.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o f_wipe.o f_wipe.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_menu.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o z_zone.o z_zone.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_enemy.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o md5.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_main.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wi_stuff.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_checksum.o p_checksum.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_plane.o r_plane.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_filter.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_maputl.o p_maputl.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o w_mmap.o w_mmap.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_fps.o r_fps.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_client.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_patch.o r_patch.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_map.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gl_texture.o gl_texture.c 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:48, 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:48, 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:48, 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:48, 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:48, 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_server.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o prboom-game-server d_server.o POSIX/libposixdoom.a SDL/i_network.o -lSDL_net -L/usr/lib64 -lSDL -lpng -lSDL_mixer -lm make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gl_main.o gl_main.c 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<= 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 checking that generated files are newer than configure... done 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: config.h is unchanged config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_joy.o i_joy.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_network.o i_network.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_main.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_sshot.o i_sshot.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_system.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_sound.o i_sound.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_video.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/iurt/rpmbuild/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 aarch64-mageia-linux-gnu-ranlib libsdldoom.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/SDL' Making all in POSIX make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-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 -o i_system.o i_system.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' rm -f libposixdoom.a ar cru libposixdoom.a i_system.o aarch64-mageia-linux-gnu-ranlib libposixdoom.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src/POSIX' Making all in MAC make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lprintf.o lprintf.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_demo.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_sky.o r_sky.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_plats.o p_plats.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mmus2mid.o mmus2mid.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hu_lib.o hu_lib.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_argv.o m_argv.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_bbox.o m_bbox.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_segs.o r_segs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_mobj.o p_mobj.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o am_map.o am_map.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_items.o d_items.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_pspr.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_saveg.o p_saveg.c p_saveg.c: In function 'P_ArchivePlayers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:64:9: note: in expansion of macro 'PADSAVEP' 64 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchivePlayers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:87:9: note: in expansion of macro 'PADSAVEP' 87 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:100:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 100 | &states[ (int)players[i].psprites[j].state ]; | ^ p_saveg.c: In function 'P_ArchiveWorld': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:134:3: note: in expansion of macro 'PADSAVEP' 134 | PADSAVEP(); // killough 3/22/98 | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveWorld': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:196:3: note: in expansion of macro 'PADSAVEP' 196 | PADSAVEP(); // killough 3/22/98 | ^~~~~~~~ p_saveg.c:206:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 206 | get = (void *)((char *) get + sizeof sec->floorheight); | ^ p_saveg.c:208:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 208 | get = (void *)((char *) get + sizeof sec->ceilingheight); | ^ p_saveg.c:237:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 237 | get = (void *)((char *) get + sizeof si->textureoffset); | ^ p_saveg.c:239:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 239 | get = (void *)((char *) get + sizeof si->rowoffset); | ^ p_saveg.c:246:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 246 | save_p = (byte *) get; | ^ p_saveg.c: In function 'P_ThinkerToIndex': p_saveg.c:274:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 274 | th->prev = (thinker_t *) ++number_of_thinkers; | ^ p_saveg.c: In function 'P_ArchiveThinkers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:320:9: note: in expansion of macro 'PADSAVEP' 320 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveThinkers': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:455:9: note: in expansion of macro 'PADSAVEP' 455 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:476:7: note: in expansion of macro 'PADSAVEP' 476 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:499:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 499 | mobj->state = states + (int) mobj->state; | ^ p_saveg.c:502:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 502 | (mobj->player = &players[(int) mobj->player - 1]) -> mo = mobj; | ^ p_saveg.c: In function 'P_ArchiveSpecials': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:662:11: note: in expansion of macro 'PADSAVEP' 662 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:674:11: note: in expansion of macro 'PADSAVEP' 674 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:688:11: note: in expansion of macro 'PADSAVEP' 688 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:701:11: note: in expansion of macro 'PADSAVEP' 701 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:713:11: note: in expansion of macro 'PADSAVEP' 713 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:725:11: note: in expansion of macro 'PADSAVEP' 725 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:737:11: note: in expansion of macro 'PADSAVEP' 737 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:750:11: note: in expansion of macro 'PADSAVEP' 750 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:763:11: note: in expansion of macro 'PADSAVEP' 763 | PADSAVEP(); | ^~~~~~~~ p_saveg.c: In function 'P_UnArchiveSpecials': p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:808:9: note: in expansion of macro 'PADSAVEP' 808 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:813:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 813 | ceiling->sector = §ors[(int)ceiling->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:825:9: note: in expansion of macro 'PADSAVEP' 825 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:830:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 830 | door->sector = §ors[(int)door->sector]; | ^ p_saveg.c:833:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:833:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:842:9: note: in expansion of macro 'PADSAVEP' 842 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:847:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 847 | floor->sector = §ors[(int)floor->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:855:9: note: in expansion of macro 'PADSAVEP' 855 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:860:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 860 | plat->sector = §ors[(int)plat->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:872:9: note: in expansion of macro 'PADSAVEP' 872 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:877:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 877 | flash->sector = §ors[(int)flash->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:884:9: note: in expansion of macro 'PADSAVEP' 884 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:889:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 889 | strobe->sector = §ors[(int)strobe->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:896:9: note: in expansion of macro 'PADSAVEP' 896 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:901:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 901 | glow->sector = §ors[(int)glow->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:908:9: note: in expansion of macro 'PADSAVEP' 908 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:913:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | flicker->sector = §ors[(int)flicker->sector]; | ^ p_saveg.c:49:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:921:9: note: in expansion of macro 'PADSAVEP' 921 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:926:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 926 | elevator->sector = §ors[(int)elevator->sector]; | ^ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hu_stuff.o hu_stuff.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o s_sound.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_cheat.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_things.o r_things.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_deh.o 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;i'} and 'int' [-Wsign-compare] 462 | if (mousebuttons[mousebforward] != dclickstate && dclicktime > 1 ) | ^~ g_game.c:485:15: warning: comparison of integer expressions of different signedness: 'boolean' {aka 'enum '} and 'int' [-Wsign-compare] 485 | if (bstrafe != dclickstate2 && dclicktime2 > 1 ) | ^~ g_game.c: In function 'G_DoLoadLevel': g_game.c:628:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 628 | memset (mousebuttons, 0, sizeof(mousebuttons)); | ^ g_game.c:629:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 629 | memset (joybuttons, 0, sizeof(joybuttons)); | ^ g_game.c: In function 'G_DoLoadGame': g_game.c:1582:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1582 | if (!strncmp(save_p, vcheck, VERSIONSIZE)) { | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ In file included from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: g_game.c:1607:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1607 | char *msg = malloc(strlen(save_p + sizeof checksum) + 128); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} z_zone.h:113:37: note: in definition of macro 'malloc' 113 | #define malloc(n) Z_Malloc(n,PU_STATIC,0) | ^ In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1610:59: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 1610 | strcat(strcat(msg,"Wads expected:\n\n"), save_p + sizeof checksum); | ~~~~~~~^~~~~~~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1621:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1621 | save_p += strlen(save_p)+1; | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c:1642:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c:1642:10: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1642 | save_p = (char*)G_ReadOptions(save_p); | ^ g_game.c: In function 'G_DoSaveGame': g_game.c:1805:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1805 | strcpy(save_p, w); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from g_game.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ g_game.c:1806:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1806 | save_p += strlen(save_p); | ^~~~~~ | | | byte * {aka unsigned char *} In file included from z_zone.h:54, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from g_game.c:55: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ g_game.c: In function 'G_Compatibility': g_game.c:1974:17: warning: comparison of integer expressions of different signedness: 'int' and '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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o st_lib.o st_lib.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_misc.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_telept.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_random.o m_random.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_switch.o p_switch.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_tick.o p_tick.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tables.o tables.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o st_stuff.o st_stuff.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o doomdef.o doomdef.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_setup.o p_setup.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_ceilng.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_user.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_main.o d_main.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o doomstat.o doomstat.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_doors.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_bsp.o r_bsp.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o v_video.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dstrings.o dstrings.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_floor.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o w_wad.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_spec.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_data.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_lights.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_genlin.o p_genlin.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o z_bmalloc.o z_bmalloc.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o f_finale.o f_finale.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_inter.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o m_menu.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o f_wipe.o f_wipe.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o z_zone.o z_zone.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_enemy.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_main.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_checksum.o p_checksum.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o md5.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_maputl.o p_maputl.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wi_stuff.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_filter.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_plane.o r_plane.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o w_mmap.o w_mmap.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_fps.o r_fps.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_client.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o r_patch.o r_patch.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o p_map.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_server.o 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gl_texture.o gl_texture.c 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:48, 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:48, 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:48, 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:48, 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:48, 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 '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o prboom-game-server d_server.o POSIX/libposixdoom.a SDL/i_network.o -lSDL_net -L/usr/lib64 -lSDL -lpng -lSDL_mixer -lm make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/prboom-2.5.0/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gl_main.o gl_main.c 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<