Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/prboom-plus.spec'], chrootPath='/var/lib/mock/f33-build-233082-50391/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/prboom-plus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Wrote: /builddir/build/SRPMS/prboom-plus-2.5.1.4-18.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/prboom-plus.spec'], chrootPath='/var/lib/mock/f33-build-233082-50391/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/prboom-plus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rBOR07 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prboom-plus-2.5.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/prboom-plus-2.5.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd prboom-plus-2.5.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (CVE-2019-20797.patch):' Patch #0 (CVE-2019-20797.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/SDL/i_network.c + sed -i 's|59 Temple Place - Suite 330, Boston, MA 02111-1307, USA|51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA|' COPYING + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nvSMO9 + umask 022 + cd /builddir/build/BUILD + cd prboom-plus-2.5.1.4 + export 'CPPFLAGS= -fcommon' + CPPFLAGS=' -fcommon' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '%{_lto_cflags}x' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2016-01-10 13:20:42.000000000 -0500 +++ ./configure 2020-06-04 06:22:10.079211415 -0400 @@ -1961,7 +1961,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autotools/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autotools/config.sub ++ basename ./autotools/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autotools/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autotools/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autotools/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autotools/config.guess ++ basename ./autotools/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autotools/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autotools/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --prefix=/usr --with-waddir=/usr/share/doom --disable-cpu-opt --enable-gl checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-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 whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for riscv64-redhat-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether compiler supports -Wall... yes checking whether compiler supports -Wextra... yes checking whether compiler supports -Wno-missing-field-initializers... 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 -Wpointer-arith... yes checking whether compiler supports -ffast-math... yes checking whether compiler supports -Wno-unused... yes checking whether compiler supports -Wno-switch... yes checking whether compiler supports -Wno-sign-compare... yes checking whether compiler supports -Wno-pointer-sign... yes checking if malloc debugging is wanted... no 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 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 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 pcreposix_regcomp in -lpcreposix... no checking for mad_stream_init in -lmad... no checking for new_fluid_synth in -lfluidsynth... yes checking for dumbfile_open in -ldumb... yes checking for ov_test_callbacks in -lvorbisfile... yes checking for Pt_Time in -lporttime... no checking for Pm_OpenInput in -lportmidi... no checking for IMG_Load in -lSDL_image... 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 src/PCSOUND/Makefile config.status: creating src/TEXTSCREEN/Makefile config.status: creating src/MUSIC/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating ICONS/Makefile config.status: creating VisualC6/Makefile config.status: creating VisualC8/Makefile config.status: creating prboom.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/doc' Making all in data make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/data' CC rd_util.o CC rd_output.o CC rd_main.o CC rd_sound.o CC rd_palette.o CC rd_graphic.o rd_graphic.c: In function 'ppm_to_patch': rd_graphic.c:145:4: warning: cast increases required alignment of target type [-Wcast-align] 145 | ((short *)patch)[0] = SHORT(width); | ^ rd_graphic.c:146:4: warning: cast increases required alignment of target type [-Wcast-align] 146 | ((short *)patch)[1] = SHORT(height); | ^ rd_graphic.c:147:4: warning: cast increases required alignment of target type [-Wcast-align] 147 | ((short *)patch)[2] = SHORT(insert_x); | ^ rd_graphic.c:148:4: warning: cast increases required alignment of target type [-Wcast-align] 148 | ((short *)patch)[3] = SHORT(insert_y); | ^ rd_graphic.c:152:6: warning: cast increases required alignment of target type [-Wcast-align] 152 | ((int *)(patch+8))[i] = LONG(offset); | ^ CCLD rdatawad GEN prboom-plus.wad make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/data' Making all in src make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' Making all in SDL make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/SDL' CC i_main.o CC i_sound.o CC i_video.o CC i_network.o CC i_system.o i_sound.c: In function 'I_UpdateSound': i_sound.c:480:13: warning: cast increases required alignment of target type [-Wcast-align] 480 | leftout = (signed short *)stream; | ^ i_sound.c:481:15: warning: cast increases required alignment of target type [-Wcast-align] 481 | rightout = ((signed short *)stream) + 1; | ^ CC i_joy.o CC i_sshot.o i_sshot.c: In function 'fill_buffer_hicolor': i_sshot.c:133:17: warning: cast increases required alignment of target type [-Wcast-align] 133 | Uint32 p = *(Uint32 *)source; | ^ i_sshot.c: In function 'I_GrabScreen': i_sshot.c:388:23: warning: cast increases required alignment of target type [-Wcast-align] 388 | Uint32 p = *(Uint32 *) (pixel_src + i * fmt->BytesPerPixel); | ^ AR libsdldoom.a make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/SDL' Making all in POSIX make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/POSIX' CC i_system.o AR libposixdoom.a make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/POSIX' Making all in MAC make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MAC' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MAC' Making all in PCSOUND make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/PCSOUND' CC pcsound.o CC pcsound_sdl.o pcsound_sdl.c: In function 'PCSound_Mix_Callback': pcsound_sdl.c:91:15: warning: cast increases required alignment of target type [-Wcast-align] 91 | leftptr = (Sint16 *) stream; | ^ pcsound_sdl.c:92:17: warning: cast increases required alignment of target type [-Wcast-align] 92 | rightptr = ((Sint16 *) stream) + 1; | ^ AR libpcsound.a make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/PCSOUND' Making all in TEXTSCREEN make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/TEXTSCREEN' CC txt_checkbox.o CC txt_dropdown.o CC txt_desktop.o CC txt_gui.o CC txt_inputbox.o CC txt_io.o CC txt_button.o CC txt_label.o In file included from /usr/include/string.h:504, from txt_io.c:28: In function 'memcpy', inlined from 'NewLine' at txt_io.c:89:9, inlined from 'NewLine' at txt_io.c:75:13: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' accessing 3840 bytes at offsets 0 and 160 overlaps 3680 bytes at offset 160 [-Wrestrict] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC txt_radiobutton.o CC txt_scrollpane.o CC txt_separator.o CC txt_spinctrl.o CC txt_sdl.o CC txt_strut.o CC txt_table.o CC txt_widget.o CC txt_window.o CC txt_window_action.o AR libtextscreen.a make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/TEXTSCREEN' Making all in MUSIC make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MUSIC' CC dbopl.o CC flplayer.o CC dumbplayer.o CC madplayer.o CC midifile.o CC opl.o dbopl.c: In function 'Chip__WriteReg': dbopl.c:1180:23: warning: cast increases required alignment of target type [-Wcast-align] 1180 | Operator* regOp = (Operator*)( ((char *)self ) + OpOffsetTable[ index ] ); \ | ^ dbopl.c:1221:5: note: in expansion of macro 'REGOP' 1221 | REGOP( Write20 ); | ^~~~~ dbopl.c:1180:23: warning: cast increases required alignment of target type [-Wcast-align] 1180 | Operator* regOp = (Operator*)( ((char *)self ) + OpOffsetTable[ index ] ); \ | ^ dbopl.c:1225:5: note: in expansion of macro 'REGOP' 1225 | REGOP( Write40 ); | ^~~~~ dbopl.c:1180:23: warning: cast increases required alignment of target type [-Wcast-align] 1180 | Operator* regOp = (Operator*)( ((char *)self ) + OpOffsetTable[ index ] ); \ | ^ dbopl.c:1229:5: note: in expansion of macro 'REGOP' 1229 | REGOP( Write60 ); | ^~~~~ dbopl.c:1180:23: warning: cast increases required alignment of target type [-Wcast-align] 1180 | Operator* regOp = (Operator*)( ((char *)self ) + OpOffsetTable[ index ] ); \ | ^ dbopl.c:1233:5: note: in expansion of macro 'REGOP' 1233 | REGOP( Write80 ); | ^~~~~ dbopl.c:1187:24: warning: cast increases required alignment of target type [-Wcast-align] 1187 | Channel* regChan = (Channel*)( ((char *)self ) + ChanOffsetTable[ index ] ); \ | ^ dbopl.c:1236:5: note: in expansion of macro 'REGCHAN' 1236 | REGCHAN( WriteA0 ); | ^~~~~~~ dbopl.c:1187:24: warning: cast increases required alignment of target type [-Wcast-align] 1187 | Channel* regChan = (Channel*)( ((char *)self ) + ChanOffsetTable[ index ] ); \ | ^ dbopl.c:1242:7: note: in expansion of macro 'REGCHAN' 1242 | REGCHAN( WriteB0 ); | ^~~~~~~ dbopl.c:1187:24: warning: cast increases required alignment of target type [-Wcast-align] 1187 | Channel* regChan = (Channel*)( ((char *)self ) + ChanOffsetTable[ index ] ); \ | ^ dbopl.c:1246:5: note: in expansion of macro 'REGCHAN' 1246 | REGCHAN( WriteC0 ); | ^~~~~~~ dbopl.c:1180:23: warning: cast increases required alignment of target type [-Wcast-align] 1180 | Operator* regOp = (Operator*)( ((char *)self ) + OpOffsetTable[ index ] ); \ | ^ dbopl.c:1251:5: note: in expansion of macro 'REGOP' 1251 | REGOP( WriteE0 ); | ^~~~~ dbopl.c: In function 'Operator__TemplateVolume': dbopl.c:457:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 457 | if ( self->reg20 & MASK_SUSTAIN ) { | ^ dbopl.c:461:3: note: here 461 | case RELEASE: | ^~~~ CC oplplayer.o CC opl_queue.o oplplayer.c: In function 'I_OPL_UnRegisterSong': oplplayer.c:1326:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1326 | MIDI_FreeFile((void *) handle); | ^ oplplayer.c: In function 'I_OPL_RegisterSong': oplplayer.c:1359:66: warning: format '%i' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1359 | lprintf (LO_WARN, "I_OPL_RegisterSong: Very short MIDI (%i bytes)\n", mf.len); | ~^ ~~~~~~ | | | | int size_t {aka long unsigned int} | %li CC portmidiplayer.o CC vorbisplayer.o vorbisplayer.c: In function 'vorb_registersong': vorbisplayer.c:262:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 262 | i = ov_test_callbacks ((void *) data, &vf, NULL, 0, vcallback); | ^ AR libdoommusic.a make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MUSIC' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' CC am_map.o CC p_mobj.o CC g_game.o CC r_demo.o g_game.c: In function 'G_DoCompleted': g_game.c:1619:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1619 | else | ^~~~ g_game.c:1634:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1634 | if (gamemission == pack_nerve && singleplayer && gamemap == 9) | ^~ r_demo.c: In function 'CheckWadBufIntegrity': r_demo.c:981:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 981 | header = (wadinfo_t*)buffer; | ^ r_demo.c:981:14: warning: cast increases required alignment of target type [-Wcast-align] r_demo.c:991:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 991 | fileinfo = (filelump_t*)(buffer + header->infotableofs); | ^ r_demo.c:991:20: warning: cast increases required alignment of target type [-Wcast-align] g_game.c: In function 'G_ReadDemoHeaderEx': g_game.c:3521:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 3521 | else | ^~~~ g_game.c:3523:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 3523 | break; | ^~~~~ g_game.c:3531:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 3531 | else | ^~~~ g_game.c:3533:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 3533 | break; | ^~~~~ am_map.c: In function 'AM_setFrameVariables': am_map.c:2241:17: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 2241 | fixed_t r = (fixed_t)sqrt(dx * dx + dy * dy); | ^ g_game.c: In function 'G_DoCompleted': g_game.c:1626:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 1626 | if (bfgedition && singleplayer) | ^ g_game.c:1631:11: note: here 1631 | default: | ^~~~~~~ g_game.c: In function 'G_WorldDone': g_game.c:1735:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 1735 | if (!secretexit) | ^ g_game.c:1737:9: note: here 1737 | case 6: | ^~~~ In file included from /usr/include/string.h:504, from z_zone.h:54, from doomdef.h:49, from r_demo.c:49: In function 'strncpy', inlined from 'W_AddLump.part.0' at r_demo.c:351:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'W_InitPWADTable' at r_demo.c:314:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'W_InitPWADTable' at r_demo.c:314:3, inlined from 'G_WriteDemoFooter' at r_demo.c:1183:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'G_ReadDemoFooter' at r_demo.c:1072:5, inlined from 'CheckDemoExDemo' at r_demo.c:1553:16: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC r_segs.o CC hu_lib.o CC lprintf.o CC p_plats.o CC r_sky.o CC d_deh.o CC hu_stuff.o CC m_argv.o CC p_pspr.o d_deh.c: In function 'deh_procStrings': d_deh.c:2795:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 2795 | "* increased buffer from to %d for buffer size %d\n", | ~^ | | | int | %ld 2796 | maxstrlen,(int)strlen(inbuffer)); | ~~~~~~~~~ | | | size_t {aka long unsigned int} CC m_bbox.o In file included from /usr/include/string.h:504, from z_zone.h:54, from doomdef.h:49, from d_deh.c:38: In function 'strncpy', inlined from 'deh_procError' at d_deh.c:2743:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procSprite' at d_deh.c:2306:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procPars' at d_deh.c:2349:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC p_saveg.o In function 'strncpy', inlined from 'deh_procBexCodePointers' at d_deh.c:1665:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_pspr.c: In function 'P_SwitchWeapon': p_pspr.c:188:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | if (!player->powers[pw_strength]) // allow chainsaw override | ^ p_pspr.c:190:7: note: here 190 | case 0: | ^~~~ p_saveg.c: In function 'P_ArchivePlayers': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:66:9: note: in expansion of macro 'PADSAVEP' 66 | PADSAVEP(); | ^~~~~~~~ hu_stuff.c: In function 'HU_widget_build_monsec': hu_stuff.c:1950:24: warning: '%s' directive writing up to 199 bytes into a region of size 72 [-Wformat-overflow=] 1950 | "STS \x1b\x36K %s \x1b%c%d/%d \x1b\x36I \x1b%c%d/%d \x1b\x36S %s \x1b%c%d/%d", | ^~ 1951 | allkills,killcolor,fullkillcount,totalkills, | ~~~~~~~~ p_saveg.c:67:16: warning: cast increases required alignment of target type [-Wcast-align] 67 | dest = (player_t *) save_p; | ^ In file included from /usr/include/stdio.h:872, from z_zone.h:52, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from hu_stuff.c:36: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 36 and 494 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_saveg.c: In function 'P_UnArchivePlayers': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:89:9: note: in expansion of macro 'PADSAVEP' 89 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:102:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 102 | &states[ (int)players[i].psprites[j].state ]; | ^ p_saveg.c: In function 'P_ArchiveWorld': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:136:3: note: in expansion of macro 'PADSAVEP' 136 | PADSAVEP(); // killough 3/22/98 | ^~~~~~~~ p_saveg.c:138:9: warning: cast increases required alignment of target type [-Wcast-align] 138 | put = (short *)save_p; | ^ p_saveg.c: In function 'P_UnArchiveWorld': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:201:3: note: in expansion of macro 'PADSAVEP' 201 | PADSAVEP(); // killough 3/22/98 | ^~~~~~~~ p_saveg.c:203:9: warning: cast increases required alignment of target type [-Wcast-align] 203 | get = (short *) save_p; | ^ p_saveg.c: In function 'P_ThinkerToIndex': p_saveg.c:282:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 282 | th->prev = (thinker_t *) ++number_of_thinkers; | ^ p_saveg.c: In function 'P_ArchiveThinkers': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:328:9: note: in expansion of macro 'PADSAVEP' 328 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:329:16: warning: cast increases required alignment of target type [-Wcast-align] 329 | mobj = (mobj_t *)save_p; | ^ p_saveg.c: In function 'P_UnArchiveThinkers': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:452:9: note: in expansion of macro 'PADSAVEP' 452 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:472:7: note: in expansion of macro 'PADSAVEP' 472 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:477:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 477 | mobj->state = states + (int) mobj->state; | ^ p_saveg.c:480:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 480 | (mobj->player = &players[(int) mobj->player - 1]) -> mo = mobj; | ^ p_saveg.c: In function 'P_ArchiveSpecials': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:651:11: note: in expansion of macro 'PADSAVEP' 651 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:652:21: warning: cast increases required alignment of target type [-Wcast-align] 652 | ceiling = (ceiling_t *)save_p; | ^ p_saveg.c:655:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 655 | ceiling->sector = (sector_t *)(ceiling->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:663:11: note: in expansion of macro 'PADSAVEP' 663 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:664:18: warning: cast increases required alignment of target type [-Wcast-align] 664 | door = (vldoor_t *) save_p; | ^ p_saveg.c:667:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 667 | door->sector = (sector_t *)(door->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:677:11: note: in expansion of macro 'PADSAVEP' 677 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:678:19: warning: cast increases required alignment of target type [-Wcast-align] 678 | floor = (floormove_t *)save_p; | ^ p_saveg.c:681:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 681 | floor->sector = (sector_t *)(floor->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:690:11: note: in expansion of macro 'PADSAVEP' 690 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:691:18: warning: cast increases required alignment of target type [-Wcast-align] 691 | plat = (plat_t *)save_p; | ^ p_saveg.c:694:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 694 | plat->sector = (sector_t *)(plat->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:702:11: note: in expansion of macro 'PADSAVEP' 702 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:703:19: warning: cast increases required alignment of target type [-Wcast-align] 703 | flash = (lightflash_t *)save_p; | ^ p_saveg.c:706:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 706 | flash->sector = (sector_t *)(flash->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:714:11: note: in expansion of macro 'PADSAVEP' 714 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:715:20: warning: cast increases required alignment of target type [-Wcast-align] 715 | strobe = (strobe_t *)save_p; | ^ p_saveg.c:718:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 718 | strobe->sector = (sector_t *)(strobe->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:726:11: note: in expansion of macro 'PADSAVEP' 726 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:727:18: warning: cast increases required alignment of target type [-Wcast-align] 727 | glow = (glow_t *)save_p; | ^ p_saveg.c:730:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 730 | glow->sector = (sector_t *)(glow->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:739:11: note: in expansion of macro 'PADSAVEP' 739 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:740:21: warning: cast increases required alignment of target type [-Wcast-align] 740 | flicker = (fireflicker_t *)save_p; | ^ p_saveg.c:743:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 743 | flicker->sector = (sector_t *)(flicker->sector->iSectorID); | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:752:11: note: in expansion of macro 'PADSAVEP' 752 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:753:22: warning: cast increases required alignment of target type [-Wcast-align] 753 | elevator = (elevator_t *)save_p; | ^ p_saveg.c:756:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 756 | elevator->sector = (sector_t *)(elevator->sector->iSectorID); | ^ p_saveg.c: In function 'P_UnArchiveSpecials': p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:797:9: note: in expansion of macro 'PADSAVEP' 797 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:802:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 802 | ceiling->sector = §ors[(int)ceiling->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:814:9: note: in expansion of macro 'PADSAVEP' 814 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:819:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 819 | door->sector = §ors[(int)door->sector]; | ^ p_saveg.c:822:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 822 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:822:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 822 | door->line = (int)door->line!=-1? &lines[(int)door->line] : NULL; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:831:9: note: in expansion of macro 'PADSAVEP' 831 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:836:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 836 | floor->sector = §ors[(int)floor->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:844:9: note: in expansion of macro 'PADSAVEP' 844 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:849:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 849 | plat->sector = §ors[(int)plat->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:861:9: note: in expansion of macro 'PADSAVEP' 861 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:866:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 866 | flash->sector = §ors[(int)flash->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:873:9: note: in expansion of macro 'PADSAVEP' 873 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:878:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 878 | strobe->sector = §ors[(int)strobe->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:885:9: note: in expansion of macro 'PADSAVEP' 885 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:890:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 890 | glow->sector = §ors[(int)glow->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:897:9: note: in expansion of macro 'PADSAVEP' 897 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:902:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 902 | flicker->sector = §ors[(int)flicker->sector]; | ^ p_saveg.c:51:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 | #define PADSAVEP() do { save_p += (4 - ((int) save_p & 3)) & 3; } while (0) | ^ p_saveg.c:910:9: note: in expansion of macro 'PADSAVEP' 910 | PADSAVEP(); | ^~~~~~~~ p_saveg.c:915:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 915 | elevator->sector = §ors[(int)elevator->sector]; | ^ In function 'strncpy', inlined from 'deh_procBexMusic' at d_deh.c:3073:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procBexSounds' at d_deh.c:3013:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC r_things.o In function 'strncpy', inlined from 'deh_procBexSprites' at d_deh.c:2954:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procHelperThing' at d_deh.c:2913:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procStrings' at d_deh.c:2773:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procMisc' at d_deh.c:2505:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procCheat' at d_deh.c:2429:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procWeapon' at d_deh.c:2246:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procAmmo' at d_deh.c:2200:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procSounds' at d_deh.c:2130:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC d_items.o In function 'strncpy', inlined from 'deh_procPointer' at d_deh.c:2053:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'deh_procFrame' at d_deh.c:1972:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC m_cheat.o In function 'strncpy', inlined from 'deh_procThing' at d_deh.c:1843:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC p_setup.o CC s_sound.o In file included from p_pspr.h:40, from d_player.h:44, from doomstat.h:43, from s_sound.c:40: s_sound.c: In function 'S_AdjustSoundParams': m_fixed.h:79:15: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 79 | #define D_abs abs | ^~~ s_sound.c:676:11: note: in expansion of macro 'D_abs' 676 | adx = D_abs(walkcamera.x - source->x); | ^~~~~ m_fixed.h:79:15: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 79 | #define D_abs abs | ^~~ s_sound.c:677:11: note: in expansion of macro 'D_abs' 677 | ady = D_abs(walkcamera.y - source->y); | ^~~~~ p_setup.c: In function 'P_LoadVertexes2': p_setup.c:385:18: warning: cast increases required alignment of target type [-Wcast-align] 385 | mgl = (const mapglvertex_t *) (gldata + GL_VERT_OFFSET); | ^ p_setup.c: In function 'P_LoadZNodes': p_setup.c:1122:16: warning: cast increases required alignment of target type [-Wcast-align] 1122 | orgVerts = *((const unsigned int*)data); | ^ p_setup.c:1126:16: warning: cast increases required alignment of target type [-Wcast-align] 1126 | newVerts = *((const unsigned int*)data); | ^ p_setup.c:1144:40: warning: cast increases required alignment of target type [-Wcast-align] 1144 | newvertarray[i + orgVerts].x = *((const unsigned int*)data); | ^ p_setup.c:1147:40: warning: cast increases required alignment of target type [-Wcast-align] 1147 | newvertarray[i + orgVerts].y = *((const unsigned int*)data); | ^ p_setup.c:1175:15: warning: cast increases required alignment of target type [-Wcast-align] 1175 | numSubs = *((const unsigned int*)data); | ^ p_setup.c:1196:15: warning: cast increases required alignment of target type [-Wcast-align] 1196 | numSegs = *((const unsigned int*)data); | ^ p_setup.c:1223:16: warning: cast increases required alignment of target type [-Wcast-align] 1223 | numNodes = *((const unsigned int*)data); | ^ CC d_main.o p_setup.c: In function 'R_CalcSegsLength': p_setup.c:2301:18: warning: cast from function call of type 'double' to non-matching type 'long long int' [-Wbad-function-cast] 2301 | li->length = (int_64_t)sqrt((double)dx*dx + (double)dy*dy); | ^ p_setup.c: In function 'P_LoadSideDefs2': p_setup.c:1574:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 1574 | if (R_CheckTextureNumForName(msd->toptexture) == -1) | ^ p_setup.c:1580:9: note: here 1580 | default: // normal cases | ^~~~~~~ CC p_sight.o CC sounds.o CC m_menu.o p_sight.c: In function 'P_SightTraverseIntercepts': p_sight.c:192:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 192 | for (scan = intercepts ; scan' to 'skill_t' [-Wenum-conversion] 679 | G_DeferedInitNew(nightmare,epi+1,1); | ^~~~~~~~~ m_menu.c: In function 'M_ReadSaveStrings': m_menu.c:885:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 885 | fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_menu.c: In function 'M_Init': m_menu.c:6061:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 6061 | ReadDef2.y = 15; | ~~~~~~~~~~~^~~~ m_menu.c:6063:5: note: here 6063 | case shareware: | ^~~~ CC p_spec.o CC info.o p_spec.c: In function 'P_SpawnScrollers': p_spec.c:2950:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 2950 | if (special != 253) | ^ p_spec.c:2953:9: note: here 2953 | case 252: // carry objects on floor | ^~~~ CC st_lib.o CC m_misc.o CC p_switch.o m_misc.c: In function 'M_LoadDefaults': m_misc.c:1517:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1517 | fgets(cfgline, CFG_BUFFERMAX, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC p_telept.o CC st_stuff.o CC m_random.o CC p_tick.o CC tables.o CC p_user.o CC p_ceilng.o CC v_video.o CC doomdef.o p_ceilng.c: In function 'T_MoveCeiling': p_ceilng.c:114:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 114 | ceiling->sector->oldspecial = ceiling->oldspecial; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:115:11: note: here 115 | case genCeilingChg: | ^~~~ p_ceilng.c:122:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 122 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:123:11: note: here 123 | case genSilentCrusher: | ^~~~ p_ceilng.c:178:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 178 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:179:11: note: here 179 | case crushAndRaise: | ^~~~ p_ceilng.c:180:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 180 | ceiling->speed = CEILSPEED; p_ceilng.c:181:11: note: here 181 | case fastCrushAndRaise: | ^~~~ p_ceilng.c:191:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 191 | ceiling->sector->oldspecial = ceiling->oldspecial; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ p_ceilng.c:192:11: note: here 192 | case genCeilingChg: | ^~~~ p_ceilng.c: In function 'EV_DoCeiling': p_ceilng.c:307:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 307 | ceiling->topheight = sec->ceilingheight; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p_ceilng.c:308:7: note: here 308 | case lowerAndCrush: | ^~~~ CC p_doors.o CC p_enemy.o CC r_bsp.o v_video.c: In function 'FUNC_V_FillFlat': v_video.c:251:12: warning: cast increases required alignment of target type [-Wcast-align] 251 | dest = (dest_type *)screens[scrn].data + dest_pitch * sy + x;\ | ^ v_video.c:310:5: note: in expansion of macro 'FILL_FLAT' 310 | FILL_FLAT(unsigned short, pitch, VID_PAL15); | ^~~~~~~~~ v_video.c:251:12: warning: cast increases required alignment of target type [-Wcast-align] 251 | dest = (dest_type *)screens[scrn].data + dest_pitch * sy + x;\ | ^ v_video.c:313:5: note: in expansion of macro 'FILL_FLAT' 313 | FILL_FLAT(unsigned short, pitch, VID_PAL16); | ^~~~~~~~~ v_video.c:251:12: warning: cast increases required alignment of target type [-Wcast-align] 251 | dest = (dest_type *)screens[scrn].data + dest_pitch * sy + x;\ | ^ v_video.c:316:5: note: in expansion of macro 'FILL_FLAT' 316 | FILL_FLAT(unsigned int, pitch, VID_PAL32); | ^~~~~~~~~ v_video.c: In function 'V_DrawMemPatch': v_video.c:512:30: warning: cast increases required alignment of target type [-Wcast-align] 512 | drawvars.short_topleft = (unsigned short *)screens[scrn].data; | ^ v_video.c:513:28: warning: cast increases required alignment of target type [-Wcast-align] 513 | drawvars.int_topleft = (unsigned int *)screens[scrn].data; | ^ v_video.c: In function 'V_FillRect15': v_video.c:897:26: warning: cast increases required alignment of target type [-Wcast-align] 897 | unsigned short* dest = (unsigned short *)screens[scrn].data + x + y*screens[scrn].short_pitch; | ^ v_video.c: In function 'V_FillRect16': v_video.c:910:26: warning: cast increases required alignment of target type [-Wcast-align] 910 | unsigned short* dest = (unsigned short *)screens[scrn].data + x + y*screens[scrn].short_pitch; | ^ v_video.c: In function 'V_FillRect32': v_video.c:923:24: warning: cast increases required alignment of target type [-Wcast-align] 923 | unsigned int* dest = (unsigned int *)screens[scrn].data + x + y*screens[scrn].int_pitch; | ^ v_video.c: In function 'V_PlotPixel15': v_video.c:1193:4: warning: cast increases required alignment of target type [-Wcast-align] 1193 | ((unsigned short *)screens[scrn].data)[x+screens[scrn].short_pitch*y] = VID_PAL15(color, VID_COLORWEIGHTMASK); | ^ v_video.c: In function 'V_PlotPixel16': v_video.c:1197:4: warning: cast increases required alignment of target type [-Wcast-align] 1197 | ((unsigned short *)screens[scrn].data)[x+screens[scrn].short_pitch*y] = VID_PAL16(color, VID_COLORWEIGHTMASK); | ^ v_video.c: In function 'V_PlotPixel32': v_video.c:1201:4: warning: cast increases required alignment of target type [-Wcast-align] 1201 | ((unsigned int *)screens[scrn].data)[x+screens[scrn].int_pitch*y] = VID_PAL32(color, VID_COLORWEIGHTMASK); | ^ v_video.c: In function 'V_PlotPixelWu15': v_video.c:1330:4: warning: cast increases required alignment of target type [-Wcast-align] 1330 | ((unsigned short *)screens[scrn].data)[x+screens[scrn].short_pitch*y] = | ^ v_video.c: In function 'V_PlotPixelWu16': v_video.c:1341:4: warning: cast increases required alignment of target type [-Wcast-align] 1341 | ((unsigned short *)screens[scrn].data)[x+screens[scrn].short_pitch*y] = | ^ v_video.c: In function 'V_PlotPixelWu32': v_video.c:1352:4: warning: cast increases required alignment of target type [-Wcast-align] 1352 | ((unsigned int *)screens[scrn].data)[x+screens[scrn].int_pitch*y] = | ^ p_doors.c: In function 'T_VerticalDoor': p_doors.c:205:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 205 | if (!comp[comp_blazing]) { | ^ p_doors.c:210:11: note: here 210 | default: // other types bounce off the obstruction | ^~~~~~~ CC version.o CC doomstat.o CC p_floor.o CC r_data.o In file included from doomdef.h:62, 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_InitTextures': r_data.c:142:32: warning: cast increases required alignment of target type [-Wcast-align] 142 | nummappatches = LittleLong(*((const int *)names)); | ^ m_swap.h:117:34: note: in definition of macro 'doom_wtohl' 117 | #define doom_wtohl(x) (long int)(x) | ^ r_data.c:142:19: note: in expansion of macro 'LittleLong' 142 | nummappatches = LittleLong(*((const int *)names)); | ^~~~~~~~~~ p_floor.c: In function 'EV_DoFloor': p_floor.c:532:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 532 | floor->crush = true; | ~~~~~~~~~~~~~^~~~~~ p_floor.c:533:7: note: here 533 | case raiseFloor: | ^~~~ CC w_wad.o CC p_genlin.o CC dstrings.o CC p_inter.o CC wi_stuff.o p_inter.c: In function 'P_GiveAmmo': p_inter.c:148:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 148 | if (player->readyweapon == wp_fist || player->readyweapon == wp_pistol) | ^~ p_inter.c:151:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 151 | break; | ^~~~~ CC r_draw.o CC f_finale.o In file included from r_draw.c:218: r_drawflush.inl: In function 'R_FlushQuad8': r_drawflush.inl:253:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 253 | if ((sizeof(int) == 4) && (((int)source % 4) == 0) && (((int)dest % 4) == 0)) { | ^ r_drawflush.inl:253:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 253 | if ((sizeof(int) == 4) && (((int)source % 4) == 0) && (((int)dest % 4) == 0)) { | ^ r_drawflush.inl:256:11: warning: cast increases required alignment of target type [-Wcast-align] 256 | *(int *)dest = *(int *)source; | ^ r_drawflush.inl:256:26: warning: cast increases required alignment of target type [-Wcast-align] 256 | *(int *)dest = *(int *)source; | ^ CC p_lights.o 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; | ^~~~~~ CC z_bmalloc.o CC p_map.o CC r_main.o r_draw.c: In function 'R_InitBuffer': r_draw.c:1027:28: warning: cast increases required alignment of target type [-Wcast-align] 1027 | drawvars.short_topleft = (unsigned short *)(screens[0].data) + viewwindowy*screens[0].short_pitch + viewwindowx; | ^ r_draw.c:1028:26: warning: cast increases required alignment of target type [-Wcast-align] 1028 | drawvars.int_topleft = (unsigned int *)(screens[0].data) + viewwindowy*screens[0].int_pitch + viewwindowx; | ^ wi_stuff.c: In function 'WI_loadData': wi_stuff.c:1900:33: warning: '%.2d' directive writing between 2 and 10 bytes into a region of size between 0 and 5 [-Wformat-overflow=] 1900 | sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); | ^~~~ wi_stuff.c:1900:27: note: directive argument in the range [0, 2147483647] 1900 | sprintf(name, "WIA%d%.2d%.2d", wbs->epsd, j, i); | ^~~~~~~~~~~~~~~ wi_stuff.c:1900:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:872, from z_zone.h:52, from doomdef.h:49, from d_items.h:38, from d_player.h:43, from doomstat.h:43, from wi_stuff.c:35: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 9 and 35 bytes into a destination of size 9 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC f_wipe.o p_map.c: In function 'PTR_ShootTraverse': p_map.c:1587:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1587 | if (li->special) | ^~ p_map.c:1590:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1590 | if (li->flags & ML_TWOSIDED) | ^~ CC z_zone.o CC p_maputl.o z_zone.c: In function 'Z_Malloc': z_zone.c:445:11: warning: cast increases required alignment of target type [-Wcast-align] 445 | block = (memblock_t *)((char *) block + HEADER_SIZE); | ^ z_zone.c: In function 'Z_Free': z_zone.c:464:23: warning: cast increases required alignment of target type [-Wcast-align] 464 | memblock_t *block = (memblock_t *)((char *) p - HEADER_SIZE); | ^ z_zone.c: In function 'Z_ChangeTag': z_zone.c:567:23: warning: cast increases required alignment of target type [-Wcast-align] 567 | memblock_t *block = (memblock_t *)((char *) ptr - HEADER_SIZE); | ^ z_zone.c: In function 'Z_Realloc': z_zone.c:651:27: warning: cast increases required alignment of target type [-Wcast-align] 651 | memblock_t *block = (memblock_t *)((char *) ptr - HEADER_SIZE); | ^ CC r_plane.o CC md5.o CC p_checksum.o CC r_patch.o CC r_fps.o CC r_filter.o r_patch.c: In function 'createPatch': r_patch.c:485:20: warning: cast increases required alignment of target type [-Wcast-align] 485 | patch->columns = (rcolumn_t*)((unsigned char*)patch->pixels + pixelDataSize); | ^ r_patch.c:486:18: warning: cast increases required alignment of target type [-Wcast-align] 486 | patch->posts = (rpost_t*)((unsigned char*)patch->columns + columnsDataSize); | ^ r_patch.c: In function 'createTextureCompositePatch': r_patch.c:690:30: warning: cast increases required alignment of target type [-Wcast-align] 690 | composite_patch->columns = (rcolumn_t*)((unsigned char*)composite_patch->pixels + pixelDataSize); | ^ CC e6y.o r_patch.c:691:28: warning: cast increases required alignment of target type [-Wcast-align] 691 | composite_patch->posts = (rpost_t*)((unsigned char*)composite_patch->columns + columnsDataSize); | ^ e6y.c: In function 'G_GotoNextLevel': e6y.c:405:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 405 | if (bfgedition && singleplayer) | ^ e6y.c: In function 'e6y_WriteStats': e6y.c:955:61: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 955 | "%%s - %%%dd:%%05.2f (%%%dd:%%02d) K: %%%dd/%%-%dd%%%ds I: %%%dd/%%-%dd%%%ds S: %%%dd/%%-%dd %%%ds\r\n", | ~^ | | | int | %ld 956 | max.stat[TT_TIME], max.stat[TT_TOTALTIME], 957 | max.stat[TT_ALLKILL], max.stat[TT_TOTALKILL], allkills_len, | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} e6y.c:955:83: warning: format '%d' expects argument of type 'int', but argument 10 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 955 | "%%s - %%%dd:%%05.2f (%%%dd:%%02d) K: %%%dd/%%-%dd%%%ds I: %%%dd/%%-%dd%%%ds S: %%%dd/%%-%dd %%%ds\r\n", | ~^ | | | int | %ld ...... 958 | max.stat[TT_ALLITEM], max.stat[TT_TOTALITEM], allitems_len, | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} e6y.c:955:106: warning: format '%d' expects argument of type 'int', but argument 13 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 955 | "%%s - %%%dd:%%05.2f (%%%dd:%%02d) K: %%%dd/%%-%dd%%%ds I: %%%dd/%%-%dd%%%ds S: %%%dd/%%-%dd %%%ds\r\n", | ~^ | | | int | %ld ...... 959 | max.stat[TT_ALLSECRET], max.stat[TT_TOTALSECRET], allsecrets_len); | ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} e6y.c: In function 'PathFindFileName': e6y.c:1133:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1133 | return (char*)pT; | ^ e6y.c: In function 'SmoothEdges': e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1397:22: note: in expansion of macro 'CHKPIX' 1397 | if (l1[MSB]==0 && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1397:22: note: in expansion of macro 'CHKPIX' 1397 | if (l1[MSB]==0 && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1397:33: note: in expansion of macro 'CHKPIX' 1397 | if (l1[MSB]==0 && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1397:33: note: in expansion of macro 'CHKPIX' 1397 | if (l1[MSB]==0 && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1401:25: note: in expansion of macro 'CHKPIX' 1401 | if (l1[MSB]==0 && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1401:25: note: in expansion of macro 'CHKPIX' 1401 | if (l1[MSB]==0 && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ CC i_pcsound.o e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1401:40: note: in expansion of macro 'CHKPIX' 1401 | if (l1[MSB]==0 && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1401:40: note: in expansion of macro 'CHKPIX' 1401 | if (l1[MSB]==0 && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1401:51: note: in expansion of macro 'CHKPIX' 1401 | if (l1[MSB]==0 && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1401:51: note: in expansion of macro 'CHKPIX' 1401 | if (l1[MSB]==0 && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1403:22: note: in expansion of macro 'CHKPIX' 1403 | if (l1[MSB]==0 && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1403:22: note: in expansion of macro 'CHKPIX' 1403 | if (l1[MSB]==0 && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1403:34: note: in expansion of macro 'CHKPIX' 1403 | if (l1[MSB]==0 && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1403:34: note: in expansion of macro 'CHKPIX' 1403 | if (l1[MSB]==0 && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1408:24: note: in expansion of macro 'CHKPIX' 1408 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1408:24: note: in expansion of macro 'CHKPIX' 1408 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1408:39: note: in expansion of macro 'CHKPIX' 1408 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1408:39: note: in expansion of macro 'CHKPIX' 1408 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1408:50: note: in expansion of macro 'CHKPIX' 1408 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1408:50: note: in expansion of macro 'CHKPIX' 1408 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:27: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:27: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:42: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:42: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:57: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:57: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:68: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1412:68: note: in expansion of macro 'CHKPIX' 1412 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1) && !CHKPIX(1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1414:24: note: in expansion of macro 'CHKPIX' 1414 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1414:24: note: in expansion of macro 'CHKPIX' 1414 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1414:39: note: in expansion of macro 'CHKPIX' 1414 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1414:39: note: in expansion of macro 'CHKPIX' 1414 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1414:51: note: in expansion of macro 'CHKPIX' 1414 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1414:51: note: in expansion of macro 'CHKPIX' 1414 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(w); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1418:22: note: in expansion of macro 'CHKPIX' 1418 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1418:22: note: in expansion of macro 'CHKPIX' 1418 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(1); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1418:34: note: in expansion of macro 'CHKPIX' 1418 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1418:34: note: in expansion of macro 'CHKPIX' 1418 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(1); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1422:25: note: in expansion of macro 'CHKPIX' 1422 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1422:25: note: in expansion of macro 'CHKPIX' 1422 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(1); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1422:40: note: in expansion of macro 'CHKPIX' 1422 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1422:40: note: in expansion of macro 'CHKPIX' 1422 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(1); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1422:52: note: in expansion of macro 'CHKPIX' 1422 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1422:52: note: in expansion of macro 'CHKPIX' 1422 | if (l1[MSB]==0 && !CHKPIX(-w) && !CHKPIX(-1)) CHKPIX(1); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1424:22: note: in expansion of macro 'CHKPIX' 1424 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(-1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1424:22: note: in expansion of macro 'CHKPIX' 1424 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(-1); | ^~~~~~ e6y.c:1378:49: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1424:34: note: in expansion of macro 'CHKPIX' 1424 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(-1); | ^~~~~~ e6y.c:1378:74: warning: cast increases required alignment of target type [-Wcast-align] 1378 | #define CHKPIX(ofs) (l1[(ofs)*4+MSB]==255 ? (( ((unsigned int*)l1)[0] = ((unsigned int*)l1)[ofs]&SOME_MASK), trans=true ) : false) | ^ e6y.c:1424:34: note: in expansion of macro 'CHKPIX' 1424 | if (l1[MSB]==0 && !CHKPIX(-w)) CHKPIX(-1); | ^~~~~~ CC r_screenmultiply.o CC g_overflow.o r_screenmultiply.c: In function 'R_ProcessScreenMultiplyBlock2x': r_screenmultiply.c:97:29: warning: cast increases required alignment of target type [-Wcast-align] 97 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 2));\ | ^ r_screenmultiply.c:119:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 119 | PROCESS_SCREEN_MULTIPLY_2X(byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:104:29: warning: cast increases required alignment of target type [-Wcast-align] 104 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 2));\ | ^ r_screenmultiply.c:119:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 119 | PROCESS_SCREEN_MULTIPLY_2X(byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:97:29: warning: cast increases required alignment of target type [-Wcast-align] 97 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 2));\ | ^ r_screenmultiply.c:122:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 122 | PROCESS_SCREEN_MULTIPLY_2X(unsigned short, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:98:26: warning: cast increases required alignment of target type [-Wcast-align] 98 | SCREENTYPE *psrc = (SCREENTYPE *)(pixels_src + y * pitch_src);\ | ^ r_screenmultiply.c:122:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 122 | PROCESS_SCREEN_MULTIPLY_2X(unsigned short, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:104:29: warning: cast increases required alignment of target type [-Wcast-align] 104 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 2));\ | ^ r_screenmultiply.c:122:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 122 | PROCESS_SCREEN_MULTIPLY_2X(unsigned short, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:106:26: warning: cast increases required alignment of target type [-Wcast-align] 106 | SCREENTYPE *psrc = (SCREENTYPE*)(pixels_src + y * pitch_src);\ | ^ r_screenmultiply.c:122:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 122 | PROCESS_SCREEN_MULTIPLY_2X(unsigned short, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:97:29: warning: cast increases required alignment of target type [-Wcast-align] 97 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 2));\ | ^ r_screenmultiply.c:125:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 125 | PROCESS_SCREEN_MULTIPLY_2X(unsigned int, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:98:26: warning: cast increases required alignment of target type [-Wcast-align] 98 | SCREENTYPE *psrc = (SCREENTYPE *)(pixels_src + y * pitch_src);\ | ^ r_screenmultiply.c:125:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 125 | PROCESS_SCREEN_MULTIPLY_2X(unsigned int, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:104:29: warning: cast increases required alignment of target type [-Wcast-align] 104 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 2));\ | ^ r_screenmultiply.c:125:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 125 | PROCESS_SCREEN_MULTIPLY_2X(unsigned int, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:106:26: warning: cast increases required alignment of target type [-Wcast-align] 106 | SCREENTYPE *psrc = (SCREENTYPE*)(pixels_src + y * pitch_src);\ | ^ r_screenmultiply.c:125:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_2X' 125 | PROCESS_SCREEN_MULTIPLY_2X(unsigned int, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c: In function 'R_ProcessScreenMultiplyBlock4x': r_screenmultiply.c:175:27: warning: cast increases required alignment of target type [-Wcast-align] 175 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 4));\ | ^ r_screenmultiply.c:193:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_4X' 193 | PROCESS_SCREEN_MULTIPLY_4X(byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:175:27: warning: cast increases required alignment of target type [-Wcast-align] 175 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 4));\ | ^ r_screenmultiply.c:196:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_4X' 196 | PROCESS_SCREEN_MULTIPLY_4X(unsigned short, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:177:24: warning: cast increases required alignment of target type [-Wcast-align] 177 | SCREENTYPE *psrc = (SCREENTYPE *)(pixels_src + y * pitch_src);\ | ^ r_screenmultiply.c:196:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_4X' 196 | PROCESS_SCREEN_MULTIPLY_4X(unsigned short, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:175:27: warning: cast increases required alignment of target type [-Wcast-align] 175 | unsigned int *pdest = (unsigned int *)(pixels_dest + y * (pitch_dest * 4));\ | ^ r_screenmultiply.c:199:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_4X' 199 | PROCESS_SCREEN_MULTIPLY_4X(unsigned int, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:177:24: warning: cast increases required alignment of target type [-Wcast-align] 177 | SCREENTYPE *psrc = (SCREENTYPE *)(pixels_src + y * pitch_src);\ | ^ r_screenmultiply.c:199:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_4X' 199 | PROCESS_SCREEN_MULTIPLY_4X(unsigned int, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c: In function 'R_ProcessScreenMultiplyBlock': r_screenmultiply.c:206:23: warning: cast increases required alignment of target type [-Wcast-align] 206 | SCREENTYPE *pdest = (SCREENTYPE *)(pixels_dest + pitch_dest * (ybottom * screen_multiply));\ | ^ r_screenmultiply.c:246:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 246 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned short); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:208:23: warning: cast increases required alignment of target type [-Wcast-align] 208 | SCREENTYPE *psrc = (SCREENTYPE *)(pixels_src + pitch_src * ybottom);\ | ^ r_screenmultiply.c:246:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 246 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned short); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:216:14: warning: cast increases required alignment of target type [-Wcast-align] 216 | psrc = (SCREENTYPE *)p;\ | ^ r_screenmultiply.c:246:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 246 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned short); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:230:13: warning: cast increases required alignment of target type [-Wcast-align] 230 | pdest = (SCREENTYPE *)(pdest_saved - pitch_dest * screen_multiply);\ | ^ r_screenmultiply.c:246:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 246 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned short); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:206:23: warning: cast increases required alignment of target type [-Wcast-align] 206 | SCREENTYPE *pdest = (SCREENTYPE *)(pixels_dest + pitch_dest * (ybottom * screen_multiply));\ | ^ r_screenmultiply.c:249:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 249 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:208:23: warning: cast increases required alignment of target type [-Wcast-align] 208 | SCREENTYPE *psrc = (SCREENTYPE *)(pixels_src + pitch_src * ybottom);\ | ^ r_screenmultiply.c:249:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 249 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:216:14: warning: cast increases required alignment of target type [-Wcast-align] 216 | psrc = (SCREENTYPE *)p;\ | ^ r_screenmultiply.c:249:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 249 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_screenmultiply.c:230:13: warning: cast increases required alignment of target type [-Wcast-align] 230 | pdest = (SCREENTYPE *)(pdest_saved - pitch_dest * screen_multiply);\ | ^ r_screenmultiply.c:249:5: note: in expansion of macro 'PROCESS_SCREEN_MULTIPLY_UNI' 249 | PROCESS_SCREEN_MULTIPLY_UNI(unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g_overflow.c: In function 'InterceptsOverrun': g_overflow.c:175:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 175 | InterceptsMemoryOverrun(location + 8, (int) intercept->d.thing); | ^ g_overflow.c: In function 'GetMemoryValue': g_overflow.c:455:37: warning: cast increases required alignment of target type [-Wcast-align] 455 | *((unsigned short*)value) = *((unsigned short*)(&dos_mem_dump[offset])); | ^ g_overflow.c:458:35: warning: cast increases required alignment of target type [-Wcast-align] 458 | *((unsigned int*)value) = *((unsigned int*)(&dos_mem_dump[offset])); | ^ In file included from /usr/include/string.h:504, from e6y.c:46: In function 'strcpy', inlined from 'AbbreviateName' at e6y.c:1200:5: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' accessing between 1 and 9223372036854775806 bytes at offsets 0 and [-2147483648, 2147483647] may overlap up to 9223372034707292158 bytes at offset [0, 9223372034707292157] [-Wrestrict] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC hu_tracers.o CC s_advsound.o CC i_capture.o CC sc_man.o CC d_client.o CC gl_opengl.o CC gl_detail.o d_client.c: In function 'CheckQueuedPackets': d_client.c:427:14: warning: cast increases required alignment of target type [-Wcast-align] 427 | int *p = (int*)(queuedpacket[i]+1); | ^ CC gl_main.o CC gl_texture.o gl_main.c: In function 'gld_EndDrawScene': gl_main.c:1306:28: warning: left shift of negative value [-Wshift-negative-value] 1306 | viewangleoffset >=-1024<sectors = (sector_t **)((unsigned char*)gl_vertexsplit + pos); | ^ gl_vertex.c:398:24: warning: cast increases required alignment of target type [-Wcast-align] 398 | vi->heightlist = (float *)((unsigned char*)gl_vertexsplit + pos); | ^ CC gl_wipe.o CC gl_hires.o CC gl_clipper.o gl_hires.c: In function 'gld_LoadHiresTex': gl_hires.c:1284:59: warning: passing argument 3 of 'IMG_LoadTyped_RW' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1284 | surf_tmp = IMG_LoadTyped_RW(rw_data, false, "TGA"); | ^~~~~ In file included from gl_hires.c:49: /usr/include/SDL/SDL_image.h:83:91: note: expected 'char *' but argument is of type 'const char *' 83 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadTyped_RW(SDL_RWops *src, int freesrc, char *type); | ~~~~~~^~~~ In file included from r_defs.h:42, from r_data.h:39, from v_video.h:43, from gl_clipper.c:73: gl_clipper.c: In function 'gld_FrustumAngle': m_fixed.h:79:15: warning: taking the absolute value of unsigned type 'angle_t' {aka 'unsigned int'} has no effect [-Wabsolute-value] 79 | #define D_abs abs | ^~~ gl_clipper.c:348:7: note: in expansion of macro 'D_abs' 348 | if (D_abs(viewpitch) > 46 * ANG1) | ^~~~~ CC gl_gamma.o CC gl_missingtexture.o CC gl_light.o CC gl_hqresize.o CC gl_sky.o gl_hqresize.c: In function 'HQScaleHelper': gl_hqresize.c:206:21: warning: cast increases required alignment of target type [-Wcast-align] 206 | scaleNxFunction ( (unsigned int*)inputBuffer, (unsigned int*)newBuffer, inWidth, inHeight, seamlessWidth, seamlessHeight ); | ^ gl_hqresize.c:206:49: warning: cast increases required alignment of target type [-Wcast-align] 206 | scaleNxFunction ( (unsigned int*)inputBuffer, (unsigned int*)newBuffer, inWidth, inHeight, seamlessWidth, seamlessHeight ); | ^ CC gl_fbo.o gl_sky.c: In function 'gld_GetSkyCapColors': gl_sky.c:593:29: warning: cast increases required alignment of target type [-Wcast-align] 593 | averageColor(ceiling_rgb, (unsigned int*)buffer, width * MIN(30, height), 0); | ^ gl_sky.c:598:8: warning: cast increases required alignment of target type [-Wcast-align] 598 | ((unsigned int*)buffer) + (height - 30) * width, width * 30, 0); | ^ CC gl_shadow.o CC gl_soft2gl.o CC gl_map.o gl_soft2gl.c: In function 'UpdatePixels': gl_soft2gl.c:121:23: warning: cast increases required alignment of target type [-Wcast-align] 121 | unsigned int *pal = (unsigned int*)(vid_8ingl.colours + | ^ gl_soft2gl.c:129:18: warning: cast increases required alignment of target type [-Wcast-align] 129 | int *py = ((int*)dst) + y * vid_8ingl.width; | ^ gl_soft2gl.c:154:18: warning: cast increases required alignment of target type [-Wcast-align] 154 | int *py = ((int*)dst) + y * vid_8ingl.width; | ^ gl_soft2gl.c:157:24: warning: cast increases required alignment of target type [-Wcast-align] 157 | short color = *(short*)px; | ^ gl_soft2gl.c:172:18: warning: cast increases required alignment of target type [-Wcast-align] 172 | int *py = ((int*)dst) + y * vid_8ingl.width; | ^ gl_soft2gl.c:175:22: warning: cast increases required alignment of target type [-Wcast-align] 175 | *(int*)py = *(int*)px; | ^ CC gl_preprocess.o CC gl_drawinfo.o gl_preprocess.c: In function 'gld_FlatConvexCarver': gl_preprocess.c:236:68: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 236 | if (levelinfo) fprintf(levelinfo, "All carved away: subsector %i - sector %i\n", ssec-subsectors, ssec->sector->iSectorID); | ~^ ~~~~~~~~~~~~~~~ | | | | int long int | %li gl_preprocess.c: In function 'gld_PrecalculateSector': gl_preprocess.c:495:41: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 495 | gluTessCallback(tess, GLU_TESS_BEGIN, ntessBegin); | ^~~~~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from /usr/include/SDL/SDL_opengl.h:49, from gl_opengl.h:45, from gl_preprocess.c:46: /usr/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 340 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ gl_preprocess.c:496:42: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 496 | gluTessCallback(tess, GLU_TESS_VERTEX, ntessVertex); | ^~~~~~~~~~~ | | | void (*)(vertex_t *) In file included from /usr/include/SDL/SDL_opengl.h:49, from gl_opengl.h:45, from gl_preprocess.c:46: /usr/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(vertex_t *)' 340 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ gl_preprocess.c:497:41: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 497 | gluTessCallback(tess, GLU_TESS_ERROR, ntessError); | ^~~~~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from /usr/include/SDL/SDL_opengl.h:49, from gl_opengl.h:45, from gl_preprocess.c:46: /usr/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 340 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ gl_preprocess.c:498:43: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 498 | gluTessCallback(tess, GLU_TESS_COMBINE, ntessCombine); | ^~~~~~~~~~~~ | | | void (*)(GLdouble *, vertex_t **, GLfloat *, void **) {aka void (*)(double *, vertex_t **, float *, void **)} In file included from /usr/include/SDL/SDL_opengl.h:49, from gl_opengl.h:45, from gl_preprocess.c:46: /usr/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLdouble *, vertex_t **, GLfloat *, void **)' {aka 'void (*)(double *, vertex_t **, float *, void **)'} 340 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from p_pspr.h:40, from d_player.h:44, from doomstat.h:43, from gl_preprocess.c:49: m_fixed.h:79:15: warning: taking the absolute value of unsigned type 'angle_t' {aka 'unsigned int'} has no effect [-Wabsolute-value] 79 | #define D_abs abs | ^~~ gl_preprocess.c:676:17: note: in expansion of macro 'D_abs' 676 | if (D_abs(angle-(180-lineangle))v1-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:931:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 931 | v1num=((int)sectors[i].lines[j]->v1-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:932:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 932 | v2num=((int)sectors[i].lines[j]->v2-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:932:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 932 | v2num=((int)sectors[i].lines[j]->v2-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:981:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 981 | v1num=((int)sectors[i].lines[j]->v1-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:981:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 981 | v1num=((int)sectors[i].lines[j]->v1-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:982:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | v2num=((int)sectors[i].lines[j]->v2-(int)vertexes)/sizeof(vertex_t); | ^ gl_preprocess.c:982:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | v2num=((int)sectors[i].lines[j]->v2-(int)vertexes)/sizeof(vertex_t); | ^ CC gl_shader.o CC w_mmap.o CC memio.o memio.c: In function 'mem_fopen_read': memio.c:59:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 59 | file->buf = (unsigned char *) buf; | ^ CC mus2mid.o CC d_server.o d_server.c: In function 'main': d_server.c:483:10: warning: cast increases required alignment of target type [-Wcast-align] 483 | n = *(short*)(packet+1); | ^ d_server.c:569:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 569 | { | ^ d_server.c:587:5: note: here 587 | case PKT_EXTRA: | ^~~~ CCLD prboom-plus-game-server CCLD prboom-plus /usr/bin/ld: r_demo.o: in function `G_ReadDemoFooter': /builddir/build/BUILD/prboom-plus-2.5.1.4/src/r_demo.c:1091: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' Making all in ICONS make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/ICONS' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/ICONS' Making all in VisualC6 make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC6' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC6' Making all in VisualC8 make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC8' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC8' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vqCGS8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 + cd prboom-plus-2.5.1.4 + make DESTDIR=/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 docdir=/usr/share/doc/prboom-plus install Making install in doc make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/doc' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/doc/prboom-plus' /usr/bin/install -c -m 644 boom.txt MBF.txt MBFFAQ.txt README.demos README.compat prboom-plus-history.txt prboom-plus-history.html prboom-plus-usage.txt '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/doc/prboom-plus' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 prboom-plus.cfg.5 '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/man/man6' /usr/bin/install -c -m 644 prboom-plus.6 prboom-plus-game-server.6 '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/man/man6' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/doc' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/doc' Making install in data make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/data' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/doom' /usr/bin/install -c -m 644 prboom-plus.wad '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/doom' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/data' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/data' Making install in src make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' Making install in SDL make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/SDL' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/SDL' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/SDL' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/SDL' Making install in POSIX make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/POSIX' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/POSIX' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/POSIX' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/POSIX' Making install in MAC make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MAC' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MAC' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MAC' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MAC' Making install in PCSOUND make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/PCSOUND' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/PCSOUND' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/PCSOUND' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/PCSOUND' Making install in TEXTSCREEN make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/TEXTSCREEN' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/TEXTSCREEN' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/TEXTSCREEN' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/TEXTSCREEN' Making install in MUSIC make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MUSIC' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MUSIC' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MUSIC' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src/MUSIC' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' make[3]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/games' /usr/bin/install -c prboom-plus prboom-plus-game-server '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/games' make[3]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/src' Making install in ICONS make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/ICONS' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/ICONS' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/ICONS' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/ICONS' Making install in VisualC6 make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC6' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC6' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC6' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC6' Making install in VisualC8 make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC8' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC8' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC8' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4/VisualC8' make[1]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' make[2]: Entering directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/doc/prboom-plus' /usr/bin/install -c -m 644 README COPYING AUTHORS NEWS '/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/doc/prboom-plus' make[2]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' make[1]: Leaving directory '/builddir/build/BUILD/prboom-plus-2.5.1.4' + mv /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/games /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/bin + desktop-file-install --dir=/builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/prboom-plus.desktop + install -Dpm 644 /builddir/build/SOURCES/prboom-plus.png /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/share/pixmaps/prboom-plus.png + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.5.1.4-18.fc33 --unique-debug-suffix -2.5.1.4-18.fc33.riscv64 --unique-debug-src-base prboom-plus-2.5.1.4-18.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/prboom-plus-2.5.1.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/bin/prboom-plus explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/bin/prboom-plus-game-server extracting debug info from /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/bin/prboom-plus extracting debug info from /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64/usr/bin/prboom-plus-game-server original debug info size: 5684kB, size after compression: 4424kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 7277 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: prboom-plus-2.5.1.4-18.fc33.riscv64 Provides: application() application(prboom-plus.desktop) prboom-plus = 2.5.1.4-18.fc33 prboom-plus(riscv-64) = 2.5.1.4-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libSDL_net-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdumb-0.9.3.so()(64bit) libfluidsynth.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: prboom-plus-debugsource-2.5.1.4-18.fc33.riscv64 Provides: prboom-plus-debugsource = 2.5.1.4-18.fc33 prboom-plus-debugsource(riscv-64) = 2.5.1.4-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: prboom-plus-debuginfo-2.5.1.4-18.fc33.riscv64 Provides: debuginfo(build-id) = 088200634ef208cb6c9d736cb19927df8e13f18c debuginfo(build-id) = 7821cc1f90f7f1413d039a6706261939c9a972e0 prboom-plus-debuginfo = 2.5.1.4-18.fc33 prboom-plus-debuginfo(riscv-64) = 2.5.1.4-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: prboom-plus-debugsource(riscv-64) = 2.5.1.4-18.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 Wrote: /builddir/build/RPMS/prboom-plus-2.5.1.4-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/prboom-plus-debuginfo-2.5.1.4-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/prboom-plus-debugsource-2.5.1.4-18.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vDCtOa + umask 022 + cd /builddir/build/BUILD + cd prboom-plus-2.5.1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/prboom-plus-2.5.1.4-18.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0