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/rott.spec'], chrootPath='/var/lib/mock/f33-build-293802-55169/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/rott.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=1596240000 Wrote: /builddir/build/SRPMS/rott-1.1.2-16.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/rott.spec'], chrootPath='/var/lib/mock/f33-build-293802-55169/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/rott.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=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cCNom0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rott-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/rott-1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rott-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a doc/rott.6 rott-shareware.6 + cp -a doc/rott.6 rott-registered.6 + sed -i.orig s/rott/rott-shareware/g rott-shareware.6 + sed -i.orig s/rott/rott-registered/g rott-registered.6 + touch -r rott-shareware.6.orig rott-shareware.6 + touch -r rott-registered.6.orig rott-registered.6 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ACFg80 + umask 022 + cd /builddir/build/BUILD + cd rott-1.1.2 + pushd rott ~/build/BUILD/rott-1.1.2/rott ~/build/BUILD/rott-1.1.2 + make -j4 'EXTRACFLAGS=-O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign' ROTT=rott-shareware.bin cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_actr.o cin_actr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_efct.o cin_efct.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_evnt.o cin_evnt.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_glob.o cin_glob.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_main.o cin_main.c cin_evnt.c: In function 'ParseBack': cin_evnt.c:338:23: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] 338 | event->effect = SpawnCinematicBack ( name, duration, width, startx, endx, yoffset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_util.o cin_util.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o dosutil.o dosutil.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o engine.o engine.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o isr.o isr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o modexlib.o modexlib.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_actor.o rt_actor.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_battl.o rt_battl.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_build.o rt_build.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_cfg.o rt_cfg.c rt_build.c: In function 'DrawPlanePosts': rt_build.c:271:10: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] 271 | DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_crc.o rt_crc.c rt_build.c: In function 'DrawTransformedPlanes': rt_build.c:403:27: warning: 'closest' may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | closest->viewheight = 0; | ~~~~~~~~~~~~~~~~~~~~^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_com.o rt_com.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_debug.o rt_debug.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_dmand.o rt_dmand.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_door.o rt_door.c rt_door.c: In function 'SpawnDoor': rt_door.c:1239:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1239 | else rt=0; | ^~~~ rt_door.c:1241:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1241 | if ((up==1) && (dn==1)) | ^~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2149:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2149 | else rt=0; | ^~~~ rt_door.c:2151:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2151 | if ((up==1) && (dn==1)) | ^~ rt_door.c: In function 'SpawnPushWall': rt_door.c:3355:8: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 3355 | if (!texture&0x1000) | ^~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_draw.o rt_draw.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_floor.o rt_floor.c rt_floor.c: In function 'SetPlaneViewSize': rt_floor.c:493:10: warning: 'skybottom' may be used uninitialized in this function [-Wmaybe-uninitialized] 493 | W_CacheLumpNum(skybottom,PU_CACHE, CvtNull, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_floor.c:492:10: warning: 'skytop' may be used uninitialized in this function [-Wmaybe-uninitialized] 492 | W_CacheLumpNum(skytop,PU_CACHE, CvtNull, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_game.o rt_game.c In file included from rt_actor.c:38: rt_actor.c: In function 'BloodDrip': rt_actor.h:123:22: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 123 | ob->tiley = (ob->y >> TILESHIFT); \ | ^~ rt_actor.c:3945:14: note: 'y' was declared here 3945 | {int dx,dy,x,y,scale; | ^ In file included from rt_actor.c:38: rt_actor.h:122:22: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 122 | ob->tilex = (ob->x >> TILESHIFT); \ | ^~ rt_actor.c:3945:12: note: 'x' was declared here 3945 | {int dx,dy,x,y,scale; | ^ rt_game.c: In function 'BattleLevelCompleted': rt_game.c:4258:24: warning: comparison between 'Direction' and 'enum ' [-Wenum-compare] 4258 | while( ci.dir == (dirtype)key ); | ^~ rt_draw.c: In function 'SetWallLightLevel': rt_draw.c:1780:12: warning: 'la' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | i =16+minshade-lv+la; | ~~^~~~~~~~~~~~~~~~~~ rt_draw.c: In function 'DrawWallPost': rt_draw.c:1920:17: warning: 'src' may be used uninitialized in this function [-Wmaybe-uninitialized] 1920 | dc_source=src+((post->texture>>4)&0xfc0); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c: In function 'InterpolateMaskedWall': rt_draw.c:2654:73: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 2654 | ScaleTransparentPost (p->collumnofs[texture]+shape,buf,(p->translevel+8)); | ~^~~~~~~~~~~~ rt_draw.c:2654:16: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] 2654 | ScaleTransparentPost (p->collumnofs[texture]+shape,buf,(p->translevel+8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c:2667:50: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized] 2667 | ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); | ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2667:19: warning: 'shape3' may be used uninitialized in this function [-Wmaybe-uninitialized] 2667 | ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c:2648:50: warning: 'topoffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 2648 | dc_texturemid=((pheight-nominalheight+topoffset)<>1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_draw.c:2660:50: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized] 2660 | ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); | ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2660:19: warning: 'shape2' may be used uninitialized in this function [-Wmaybe-uninitialized] 2660 | ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c: In function 'DrawNumber': rt_game.c:1137:11: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] 1137 | char *str; | ^~~ rt_game.c:1136:13: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] 1136 | unsigned length,c; | ^~~~~~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2448:13: warning: 'metal' may be used uninitialized in this function [-Wmaybe-uninitialized] 2448 | if (metal==true) | ^ rt_door.c:2560:30: warning: 'bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] 2560 | lastmaskobj->bottomtexture=bottom; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2559:27: warning: 'above' may be used uninitialized in this function [-Wmaybe-uninitialized] 2559 | lastmaskobj->toptexture=above; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rt_door.c:2558:27: warning: 'middle' may be used uninitialized in this function [-Wmaybe-uninitialized] 2558 | lastmaskobj->midtexture=middle; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2564:27: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized] 2564 | lastmaskobj->sidepic=side; | ~~~~~~~~~~~~~~~~~~~~^~~~~ rt_actor.c: In function 'ActorMovement': rt_actor.c:7497:19: warning: 'friction' may be used uninitialized in this function [-Wmaybe-uninitialized] 7497 | ob->momentumy = FixedMul (ob->momentumy, friction); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:7467:9: warning: 'tryz' may be used uninitialized in this function [-Wmaybe-uninitialized] 7467 | ActorTryMove(ob,ob->x+ride->momentumx,ob->y+ride->momentumy,tryz) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c: In function 'DrawRotatedScreen': rt_draw.c:3347:18: warning: 'xct' may be used uninitialized in this function [-Wmaybe-uninitialized] 3347 | mr_yfrac=xct; | ~~~~~~~~^~~~ rt_draw.c:3348:18: warning: 'xst' may be used uninitialized in this function [-Wmaybe-uninitialized] 3348 | mr_xfrac=xst; | ~~~~~~~~^~~~ rt_game.c: In function 'GM_UpdateBonus': rt_game.c:2624:29: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] 2624 | shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c: In function 'DrawPlayScreen': rt_game.c:635:26: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] 635 | shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c: In function 'SelectDodgeDir': rt_actor.c:12084:8: warning: 'dirtry[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 12084 | tdir = dirtry[1]; | ~~~~~^~~~~~~~~~~ rt_actor.c:12085:21: warning: 'dirtry[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] 12085 | dirtry[1] = dirtry[2]; | ~~~~~~^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_in.o rt_in.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_main.o rt_main.c rt_game.c: In function 'LevelCompleted': rt_game.c:3731:31: warning: 'dobonus' may be used uninitialized in this function [-Wmaybe-uninitialized] 3731 | else if ( ( kr == 100 ) && ( dobonus ) ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ rt_game.c:3656:38: warning: 'sr' may be used uninitialized in this function [-Wmaybe-uninitialized] 3656 | if ( ( gamestate.secrettotal ) && ( sr != 100 ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rt_main.c: In function 'Init_Tables': rt_main.c:1029:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1029 | getcwd (CWD, 40); // get the current directory | ^~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_map.o rt_map.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_menu.o rt_menu.c rt_menu.c: In function 'ScanForSavedGames': rt_menu.c:1466:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1466 | if (!_dos_findfirst (filename, 0, &f)) | ^~ rt_menu.c:1481:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1481 | if (found) | ^~ rt_menu.c:1463:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1463 | chdir (ApogeePath); | ^~~~~~~~~~~~~~~~~~ rt_menu.c:1489:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1489 | chdir (pathsave); | ^~~~~~~~~~~~~~~~ rt_actor.c: In function 'T_Projectile': rt_actor.c:4910:29: warning: 'pstate' may be used uninitialized in this function [-Wmaybe-uninitialized] 4910 | (!pstate->buttonstate[bt_attack]) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_msg.o rt_msg.c rt_actor.c: In function 'A_MissileWeapon': rt_actor.c:11931:2: warning: 'nstate' may be used uninitialized in this function [-Wmaybe-uninitialized] 11931 | SpawnMissile(ob,nobclass,nspeed,AngleBetween(ob,PLAYER[0]),nstate,noffset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:11931:2: warning: 'nobclass' may be used uninitialized in this function [-Wmaybe-uninitialized] rt_map.c: In function 'DoMap': rt_map.c:1063:19: warning: 'quitkey' may be used uninitialized in this function [-Wmaybe-uninitialized] 1063 | while (Keyboard[quitkey]) | ~~~~~~~~^~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_net.o rt_net.c rt_menu.c: In function 'DrawNewGameDiff': rt_menu.c:4282:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 4282 | DrawMenuBufPic( 25, newgameY[ w ], W_GetNumForName( "NEWG1" ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4283 | ( ToughMenuNum * 4 ) + x ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_playr.o rt_playr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_rand.o rt_rand.c rt_menu.c: In function 'CP_DisplayMsg': rt_menu.c:2926:10: warning: 'tri' may be used uninitialized in this function [-Wmaybe-uninitialized] 2926 | DrawMenuBufPic( Q_X + 12, Q_Y + 11, tri ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_scale.o rt_scale.c rt_menu.c: In function 'CP_MainMenu': rt_menu.c:1883:10: warning: 'which' may be used uninitialized in this function [-Wmaybe-uninitialized] 1883 | return( which ); | ^ rt_playr.c: In function 'GunAttack': rt_playr.c:1469:4: warning: 'damage' may be used uninitialized in this function [-Wmaybe-uninitialized] 1469 | RayShoot (ob, damage, (characters[pstate->player].accuracy+gamestate.difficulty)<<3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_sound.o rt_sound.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_spbal.o rt_spbal.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_sqrt.o rt_sqrt.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_stat.o rt_stat.c rt_stat.c: In function 'SpawnStatic': rt_stat.c:1242:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1242 | else if (zoffset!=-1) | ^~~~ rt_stat.c:1259:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1259 | temp->visspot = &spotvis[tilex][tiley]; | ^~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_state.o rt_state.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_str.o rt_str.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_swift.o rt_swift.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_ted.o rt_ted.c rt_stat.c: In function 'CheckCriticalStatics': rt_stat.c:1816:5: warning: 'stype' may be used uninitialized in this function [-Wmaybe-uninitialized] 1816 | SpawnStatic(stilex,stiley,stype,-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_str.c: In function 'US_LineInput': rt_str.c:1043:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 1043 | return (result); | ^ rt_str.c: In function 'US_lineinput': rt_str.c:1335:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 1335 | return (result); | ^ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_util.o rt_util.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_view.o rt_view.c rt_str.c: In function 'GetColor': rt_str.c:1599:11: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1599 | return (returnval); | ^ rt_str.c: In function 'DrawIString': rt_str.c:1676:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1676 | fontcolor = GetColor (temp); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rt_str.c:1645:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1645 | oldfontcolor = fontcolor; | ~~~~~~~~~~~~~^~~~~~~~~~~ rt_ted.c: In function 'PreCacheActor': rt_ted.c:403:6: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | int end; | ^~~ rt_ted.c:402:6: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 402 | int start; | ^~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_vid.o rt_vid.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_err.o rt_err.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o scriplib.o scriplib.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o w_wad.o w_wad.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o watcom.o watcom.c rt_ted.c: In function 'SetupTeams': rt_ted.c:2377:7: warning: 'spawnindex' may be used uninitialized in this function [-Wmaybe-uninitialized] 2377 | newy = SPAWNLOC[spawnlocindex].y; \ | ^ rt_ted.c:2455:24: note: 'spawnindex' was declared here 2455 | maxdist,currdist,spawnindex,cnt; | ^~~~~~~~~~ rt_ted.c:2395:6: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] 2395 | SpawnPlayerobj(ntilex,ntiley,dir,j); \ | ^~~~~~~~~~~~~~ rt_ted.c:2454:36: note: 'dir' was declared here 2454 | int i,j,rand,sx,sy,ntilex,ntiley,dir, | ^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o z_zone.o z_zone.c w_wad.c: In function 'W_AddFile': w_wad.c:137:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | read (handle, &header, sizeof(header)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_wad.c:147:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | read (handle, fileinfo, length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_vid.c: In function 'SwitchPalette': rt_vid.c:1003:40: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1003 | delta = palette[j]-palette1[0][j]; | ~~~~~~~~~~~^~~ rt_vid.c:1001:7: note: within this loop 1001 | for (j=start;j<=end;j++) | ^~~ rt_vid.c: In function 'VL_DecompressLBM': rt_vid.c:1003:40: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1003 | delta = palette[j]-palette1[0][j]; | ~~~~~~~~~~~^~~ rt_vid.c:1001:7: note: within this loop 1001 | for (j=start;j<=end;j++) | ^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o byteordr.o byteordr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o dukemusc.o dukemusc.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o winrott.o winrott.c make -C audiolib make[1]: Entering directory '/builddir/build/BUILD/rott-1.1.2/rott/audiolib' cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fx_man.o fx_man.c fx_man.c: In function 'FX_SetVolume': fx_man.c:544:8: warning: unused variable 'status' [-Wunused-variable] 544 | int status; | ^~~~~~ cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dsl.o dsl.c cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ll_man.o ll_man.c dsl.c: In function 'DSL_BeginBufferedPlayback': dsl.c:136:9: warning: unused variable 'tmp' [-Wunused-variable] 136 | Uint8 *tmp; | ^~~ cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o multivoc.o multivoc.c cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mv_mix.o mv_mix.c cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mvreverb.o mvreverb.c In file included from mvreverb.c:2: _multivc.h:200:13: warning: 'MV_Mix' declared 'static' but never defined [-Wunused-function] 200 | static void MV_Mix( VoiceNode *voice, int buffer ); | ^~~~~~ _multivc.h:201:13: warning: 'MV_PlayVoice' declared 'static' but never defined [-Wunused-function] 201 | static void MV_PlayVoice( VoiceNode *voice ); | ^~~~~~~~~~~~ _multivc.h:202:13: warning: 'MV_StopVoice' declared 'static' but never defined [-Wunused-function] 202 | static void MV_StopVoice( VoiceNode *voice ); | ^~~~~~~~~~~~ _multivc.h:203:13: warning: 'MV_ServiceVoc' declared 'static' but never defined [-Wunused-function] 203 | static void MV_ServiceVoc( void ); | ^~~~~~~~~~~~~ _multivc.h:205:23: warning: 'MV_GetNextVOCBlock' declared 'static' but never defined [-Wunused-function] 205 | static playbackstatus MV_GetNextVOCBlock( VoiceNode *voice ); | ^~~~~~~~~~~~~~~~~~ _multivc.h:206:23: warning: 'MV_GetNextDemandFeedBlock' declared 'static' but never defined [-Wunused-function] 206 | static playbackstatus MV_GetNextDemandFeedBlock( VoiceNode *voice ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ _multivc.h:207:23: warning: 'MV_GetNextRawBlock' declared 'static' but never defined [-Wunused-function] 207 | static playbackstatus MV_GetNextRawBlock( VoiceNode *voice ); | ^~~~~~~~~~~~~~~~~~ _multivc.h:208:23: warning: 'MV_GetNextWAVBlock' declared 'static' but never defined [-Wunused-function] 208 | static playbackstatus MV_GetNextWAVBlock( VoiceNode *voice ); | ^~~~~~~~~~~~~~~~~~ _multivc.h:210:19: warning: 'MV_ServiceRecord' declared 'static' but never defined [-Wunused-function] 210 | static void MV_ServiceRecord( void ); | ^~~~~~~~~~~~~~~~ _multivc.h:211:19: warning: 'MV_GetVoice' declared 'static' but never defined [-Wunused-function] 211 | static VoiceNode *MV_GetVoice( int handle ); | ^~~~~~~~~~~ _multivc.h:212:19: warning: 'MV_AllocVoice' declared 'static' but never defined [-Wunused-function] 212 | static VoiceNode *MV_AllocVoice( int priority ); | ^~~~~~~~~~~~~ _multivc.h:214:19: warning: 'MV_GetVolumeTable' declared 'static' but never defined [-Wunused-function] 214 | static short *MV_GetVolumeTable( int vol ); | ^~~~~~~~~~~~~~~~~ _multivc.h:216:19: warning: 'MV_SetVoiceMixMode' declared 'static' but never defined [-Wunused-function] 216 | static void MV_SetVoiceMixMode( VoiceNode *voice ); | ^~~~~~~~~~~~~~~~~~ _multivc.h:218:19: warning: 'MV_SetVoicePitch' declared 'static' but never defined [-Wunused-function] 218 | static void MV_SetVoicePitch( VoiceNode *voice, unsigned long rate, int pitchoffset ); | ^~~~~~~~~~~~~~~~ _multivc.h:219:19: warning: 'MV_CalcVolume' declared 'static' but never defined [-Wunused-function] 219 | static void MV_CalcVolume( int MaxLevel ); | ^~~~~~~~~~~~~ _multivc.h:220:19: warning: 'MV_CalcPanTable' declared 'static' but never defined [-Wunused-function] 220 | static void MV_CalcPanTable( void ); | ^~~~~~~~~~~~~~~ multivoc.c: In function 'MV_ServiceVoc': multivoc.c:507:31: warning: pointer targets in passing argument 1 of 'MV_8BitReverb' differ in signedness [-Wpointer-sign] 507 | MV_8BitReverb( source, dest, (const VOLUME16 *)MV_ReverbTable, count ); | ^~~~~~ | | | char * In file included from multivoc.c:62: _multivc.h:273:40: note: expected 'const signed char *' but argument is of type 'char *' 273 | void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count ); | ~~~~~~~~~~~~~~~~~~~^~~ multivoc.c:507:39: warning: pointer targets in passing argument 2 of 'MV_8BitReverb' differ in signedness [-Wpointer-sign] 507 | MV_8BitReverb( source, dest, (const VOLUME16 *)MV_ReverbTable, count ); | ^~~~ | | | char * In file included from multivoc.c:62: _multivc.h:273:58: note: expected 'signed char *' but argument is of type 'char *' 273 | void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count ); | ~~~~~~~~~~~~~^~~~ multivoc.c:510:41: warning: pointer targets in passing argument 1 of 'MV_8BitReverb' differ in signedness [-Wpointer-sign] 510 | MV_8BitReverb( source + MV_RightChannelOffset, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from multivoc.c:62: _multivc.h:273:40: note: expected 'const signed char *' but argument is of type 'char *' 273 | void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count ); | ~~~~~~~~~~~~~~~~~~~^~~ multivoc.c:511:27: warning: pointer targets in passing argument 2 of 'MV_8BitReverb' differ in signedness [-Wpointer-sign] 511 | dest + MV_RightChannelOffset, (const VOLUME16 *)MV_ReverbTable, count ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from multivoc.c:62: _multivc.h:273:58: note: expected 'signed char *' but argument is of type 'char *' 273 | void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count ); | ~~~~~~~~~~~~~^~~~ multivoc.c:516:35: warning: pointer targets in passing argument 1 of 'MV_8BitReverbFast' differ in signedness [-Wpointer-sign] 516 | MV_8BitReverbFast( source, dest, count, MV_ReverbLevel ); | ^~~~~~ | | | char * In file included from multivoc.c:62: _multivc.h:277:44: note: expected 'const signed char *' but argument is of type 'char *' 277 | void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift ); | ~~~~~~~~~~~~~~~~~~~^~~ multivoc.c:516:43: warning: pointer targets in passing argument 2 of 'MV_8BitReverbFast' differ in signedness [-Wpointer-sign] 516 | MV_8BitReverbFast( source, dest, count, MV_ReverbLevel ); | ^~~~ | | | char * In file included from multivoc.c:62: _multivc.h:277:62: note: expected 'signed char *' but argument is of type 'char *' 277 | void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift ); | ~~~~~~~~~~~~~^~~~ multivoc.c:519:45: warning: pointer targets in passing argument 1 of 'MV_8BitReverbFast' differ in signedness [-Wpointer-sign] 519 | MV_8BitReverbFast( source + MV_RightChannelOffset, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from multivoc.c:62: _multivc.h:277:44: note: expected 'const signed char *' but argument is of type 'char *' 277 | void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift ); | ~~~~~~~~~~~~~~~~~~~^~~ multivoc.c:520:27: warning: pointer targets in passing argument 2 of 'MV_8BitReverbFast' differ in signedness [-Wpointer-sign] 520 | dest + MV_RightChannelOffset, count, MV_ReverbLevel ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from multivoc.c:62: _multivc.h:277:62: note: expected 'signed char *' but argument is of type 'char *' 277 | void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift ); | ~~~~~~~~~~~~~^~~~ multivoc.c:421:15: warning: unused variable 'buffer' [-Wunused-variable] 421 | char *buffer; | ^~~~~~ multivoc.c: In function 'MV_GetNextVOCBlock': multivoc.c:759:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 759 | voice->LoopStart = ptr + blocklength; | ^ multivoc.c:775:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 775 | ptr = voice->LoopStart; | ^ multivoc.c:838:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 838 | voice->NextBlock = ptr + blocklength; | ^ multivoc.c:839:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 839 | voice->sound = ptr; | ^ multivoc.c: In function 'MV_PlayLoopedWAV': multivoc.c:2554:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2554 | if ( strncmp( data->DATA, "data", 4 ) != 0 ) | ~~~~^~~~~~ | | | unsigned char * In file included from multivoc.c:34: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ At top level: multivoc.c:1013:13: warning: 'MV_ServiceRecord' defined but not used [-Wunused-function] 1013 | static void MV_ServiceRecord | ^~~~~~~~~~~~~~~~ cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o nodpmi.o nodpmi.c cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pitch.o pitch.c cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o user.o user.c cc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o usrhooks.o usrhooks.c rm -f audiolib.a ar rv audiolib.a fx_man.o dsl.o ll_man.o multivoc.o mv_mix.o mvreverb.o nodpmi.o pitch.o user.o usrhooks.o ar: creating audiolib.a a - fx_man.o a - dsl.o a - ll_man.o a - multivoc.o a - mv_mix.o a - mvreverb.o a - nodpmi.o a - pitch.o a - user.o a - usrhooks.o ranlib audiolib.a make[1]: Leaving directory '/builddir/build/BUILD/rott-1.1.2/rott/audiolib' cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o dukemusc.o winrott.o audiolib/audiolib.a -lSDL -lpthread -lSDL_mixer -o rott-shareware.bin rt_menu.c:5362:13: warning: type of 'inverse_mouse' does not match original declaration [-Wlto-type-mismatch] 5362 | extern long inverse_mouse; | ^ rt_cfg.c:113:9: note: type 'int' should match type 'long int' 113 | int inverse_mouse = 1; //set to -1 to invert mouse | ^ rt_cfg.c:113:9: note: 'inverse_mouse' was previously declared here rt_cfg.c:113:9: note: code may be misoptimized unless '-fno-strict-aliasing' is used rt_menu.c:5364:12: warning: type of 'iG_aimCross' does not match original declaration [-Wlto-type-mismatch] 5364 | extern int iG_aimCross; | ^ winrott.c:27:9: note: type 'boolean' should match type 'int' 27 | boolean iG_aimCross = 0; | ^ winrott.c:27:9: note: 'iG_aimCross' was previously declared here rt_vid.c: In function 'VL_FadeIn.constprop': rt_vid.c:1003:40: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1003 | delta = palette[j]-palette1[0][j]; | ^ rt_vid.c:1001:7: note: within this loop 1001 | for (j=start;j<=end;j++) | ^ + make tidy rm -f cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o dukemusc.o winrott.o rott rott.exe + make -j4 'EXTRACFLAGS=-O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign' ROTT=rott-registered.bin SHAREWARE=0 SUPERROTT=1 cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_actr.o cin_actr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_efct.o cin_efct.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_evnt.o cin_evnt.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_glob.o cin_glob.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_main.o cin_main.c cin_evnt.c: In function 'ParseBack': cin_evnt.c:338:23: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] 338 | event->effect = SpawnCinematicBack ( name, duration, width, startx, endx, yoffset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o cin_util.o cin_util.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o dosutil.o dosutil.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o engine.o engine.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o isr.o isr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o modexlib.o modexlib.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_actor.o rt_actor.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_battl.o rt_battl.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_build.o rt_build.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_cfg.o rt_cfg.c rt_build.c: In function 'DrawPlanePosts': rt_build.c:271:10: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] 271 | DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_crc.o rt_crc.c rt_build.c: In function 'DrawTransformedPlanes': rt_build.c:403:27: warning: 'closest' may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | closest->viewheight = 0; | ~~~~~~~~~~~~~~~~~~~~^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_com.o rt_com.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_debug.o rt_debug.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_dmand.o rt_dmand.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_door.o rt_door.c rt_door.c: In function 'SpawnDoor': rt_door.c:1239:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1239 | else rt=0; | ^~~~ rt_door.c:1241:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1241 | if ((up==1) && (dn==1)) | ^~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2149:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2149 | else rt=0; | ^~~~ rt_door.c:2151:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2151 | if ((up==1) && (dn==1)) | ^~ rt_door.c: In function 'SpawnPushWall': rt_door.c:3355:8: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 3355 | if (!texture&0x1000) | ^~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_draw.o rt_draw.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_floor.o rt_floor.c rt_floor.c: In function 'SetPlaneViewSize': rt_floor.c:493:10: warning: 'skybottom' may be used uninitialized in this function [-Wmaybe-uninitialized] 493 | W_CacheLumpNum(skybottom,PU_CACHE, CvtNull, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_floor.c:492:10: warning: 'skytop' may be used uninitialized in this function [-Wmaybe-uninitialized] 492 | W_CacheLumpNum(skytop,PU_CACHE, CvtNull, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_game.o rt_game.c rt_game.c: In function 'BattleLevelCompleted': rt_game.c:4258:24: warning: comparison between 'Direction' and 'enum ' [-Wenum-compare] 4258 | while( ci.dir == (dirtype)key ); | ^~ In file included from rt_actor.c:38: rt_actor.c: In function 'BloodDrip': rt_actor.h:123:22: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 123 | ob->tiley = (ob->y >> TILESHIFT); \ | ^~ rt_actor.c:3945:14: note: 'y' was declared here 3945 | {int dx,dy,x,y,scale; | ^ In file included from rt_actor.c:38: rt_actor.h:122:22: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 122 | ob->tilex = (ob->x >> TILESHIFT); \ | ^~ rt_actor.c:3945:12: note: 'x' was declared here 3945 | {int dx,dy,x,y,scale; | ^ rt_draw.c: In function 'SetWallLightLevel': rt_draw.c:1780:12: warning: 'la' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | i =16+minshade-lv+la; | ~~^~~~~~~~~~~~~~~~~~ rt_draw.c: In function 'DrawWallPost': rt_draw.c:1920:17: warning: 'src' may be used uninitialized in this function [-Wmaybe-uninitialized] 1920 | dc_source=src+((post->texture>>4)&0xfc0); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2448:13: warning: 'metal' may be used uninitialized in this function [-Wmaybe-uninitialized] 2448 | if (metal==true) | ^ rt_door.c:2560:30: warning: 'bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] 2560 | lastmaskobj->bottomtexture=bottom; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2559:27: warning: 'above' may be used uninitialized in this function [-Wmaybe-uninitialized] 2559 | lastmaskobj->toptexture=above; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rt_door.c:2558:27: warning: 'middle' may be used uninitialized in this function [-Wmaybe-uninitialized] 2558 | lastmaskobj->midtexture=middle; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2564:27: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized] 2564 | lastmaskobj->sidepic=side; | ~~~~~~~~~~~~~~~~~~~~^~~~~ rt_draw.c: In function 'InterpolateMaskedWall': rt_draw.c:2654:73: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 2654 | ScaleTransparentPost (p->collumnofs[texture]+shape,buf,(p->translevel+8)); | ~^~~~~~~~~~~~ rt_draw.c:2654:16: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] 2654 | ScaleTransparentPost (p->collumnofs[texture]+shape,buf,(p->translevel+8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c:2667:50: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized] 2667 | ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); | ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2667:19: warning: 'shape3' may be used uninitialized in this function [-Wmaybe-uninitialized] 2667 | ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c:2648:50: warning: 'topoffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 2648 | dc_texturemid=((pheight-nominalheight+topoffset)<>1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_draw.c:2660:50: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized] 2660 | ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); | ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2660:19: warning: 'shape2' may be used uninitialized in this function [-Wmaybe-uninitialized] 2660 | ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c: In function 'DrawNumber': rt_game.c:1137:11: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] 1137 | char *str; | ^~~ rt_game.c:1136:13: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] 1136 | unsigned length,c; | ^~~~~~ rt_game.c: In function 'GM_UpdateBonus': rt_game.c:2624:29: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] 2624 | shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c: In function 'DrawPlayScreen': rt_game.c:635:26: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] 635 | shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c: In function 'DrawRotatedScreen': rt_draw.c:3347:18: warning: 'xct' may be used uninitialized in this function [-Wmaybe-uninitialized] 3347 | mr_yfrac=xct; | ~~~~~~~~^~~~ rt_draw.c:3348:18: warning: 'xst' may be used uninitialized in this function [-Wmaybe-uninitialized] 3348 | mr_xfrac=xst; | ~~~~~~~~^~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_in.o rt_in.c rt_game.c: In function 'LevelCompleted': rt_game.c:3731:31: warning: 'dobonus' may be used uninitialized in this function [-Wmaybe-uninitialized] 3731 | else if ( ( kr == 100 ) && ( dobonus ) ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ rt_game.c:3656:38: warning: 'sr' may be used uninitialized in this function [-Wmaybe-uninitialized] 3656 | if ( ( gamestate.secrettotal ) && ( sr != 100 ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rt_actor.c: In function 'ActorMovement': rt_actor.c:7497:19: warning: 'friction' may be used uninitialized in this function [-Wmaybe-uninitialized] 7497 | ob->momentumy = FixedMul (ob->momentumy, friction); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:7467:9: warning: 'tryz' may be used uninitialized in this function [-Wmaybe-uninitialized] 7467 | ActorTryMove(ob,ob->x+ride->momentumx,ob->y+ride->momentumy,tryz) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_main.o rt_main.c rt_main.c: In function 'SetupWads': rt_main.c:888:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 888 | fread(buf,3,3,f);//is the 3 first letters RTL (RTC) | ^~~~~~~~~~~~~~~~ rt_main.c:924:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 924 | fread(buf,3,3,f);//is the 3 first letters RTL (RTC) | ^~~~~~~~~~~~~~~~ rt_main.c: In function 'Init_Tables': rt_main.c:1029:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1029 | getcwd (CWD, 40); // get the current directory | ^~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_map.o rt_map.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_menu.o rt_menu.c rt_actor.c: In function 'A_DmonkAttack': rt_actor.c:10517:2: warning: 'nobclass' may be used uninitialized in this function [-Wmaybe-uninitialized] 10517 | SpawnMissile(ob,nobclass,nspeed,angle,nstate,0xb000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:10517:2: warning: 'nstate' may be used uninitialized in this function [-Wmaybe-uninitialized] rt_menu.c: In function 'ScanForSavedGames': rt_menu.c:1466:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1466 | if (!_dos_findfirst (filename, 0, &f)) | ^~ rt_menu.c:1481:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1481 | if (found) | ^~ rt_map.c: In function 'DoMap': rt_map.c:1063:19: warning: 'quitkey' may be used uninitialized in this function [-Wmaybe-uninitialized] 1063 | while (Keyboard[quitkey]) | ~~~~~~~~^~~~~~~~~ rt_actor.c: In function 'SelectDodgeDir': rt_actor.c:12084:8: warning: 'dirtry[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 12084 | tdir = dirtry[1]; | ~~~~~^~~~~~~~~~~ rt_actor.c:12085:21: warning: 'dirtry[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] 12085 | dirtry[1] = dirtry[2]; | ~~~~~~^~~ rt_menu.c:1463:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1463 | chdir (ApogeePath); | ^~~~~~~~~~~~~~~~~~ rt_menu.c:1489:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1489 | chdir (pathsave); | ^~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_msg.o rt_msg.c rt_main.c: In function 'GameLoop': rt_main.c:1481:20: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] 1481 | s = W_CacheLumpNum (shape, PU_CACHE, Cvt_patch_t, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_net.o rt_net.c rt_menu.c: In function 'DrawNewGameDiff': rt_menu.c:4282:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 4282 | DrawMenuBufPic( 25, newgameY[ w ], W_GetNumForName( "NEWG1" ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4283 | ( ToughMenuNum * 4 ) + x ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_playr.o rt_playr.c rt_menu.c: In function 'CP_DisplayMsg': rt_menu.c:2926:10: warning: 'tri' may be used uninitialized in this function [-Wmaybe-uninitialized] 2926 | DrawMenuBufPic( Q_X + 12, Q_Y + 11, tri ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_menu.c: In function 'CP_MainMenu': rt_menu.c:1883:10: warning: 'which' may be used uninitialized in this function [-Wmaybe-uninitialized] 1883 | return( which ); | ^ rt_actor.c: In function 'T_Projectile': rt_actor.c:4910:29: warning: 'pstate' may be used uninitialized in this function [-Wmaybe-uninitialized] 4910 | (!pstate->buttonstate[bt_attack]) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_playr.c: In function 'GunAttack': rt_playr.c:1469:4: warning: 'damage' may be used uninitialized in this function [-Wmaybe-uninitialized] 1469 | RayShoot (ob, damage, (characters[pstate->player].accuracy+gamestate.difficulty)<<3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c: In function 'HoleStatus': rt_actor.c:8298:7: warning: 'invisible' may be used uninitialized in this function [-Wmaybe-uninitialized] 8298 | if (invisible) //leave present room | ^ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_rand.o rt_rand.c rt_actor.c: In function 'T_OrobotChase': rt_actor.c:9007:38: warning: 'inrange' may be used uninitialized in this function [-Wmaybe-uninitialized] 9007 | if ((!Near(ob,PLAYER[0],3)) && inrange) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_scale.o rt_scale.c rt_actor.c: In function 'A_MissileWeapon': rt_actor.c:11931:2: warning: 'nstate' may be used uninitialized in this function [-Wmaybe-uninitialized] 11931 | SpawnMissile(ob,nobclass,nspeed,AngleBetween(ob,PLAYER[0]),nstate,noffset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:11931:2: warning: 'nobclass' may be used uninitialized in this function [-Wmaybe-uninitialized] rt_actor.c:11941:16: warning: 'oldyzangle' may be used uninitialized in this function [-Wmaybe-uninitialized] 11941 | ob->yzangle = oldyzangle; | ~~~~~~~~~~~~^~~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_sound.o rt_sound.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_spbal.o rt_spbal.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_sqrt.o rt_sqrt.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_stat.o rt_stat.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_state.o rt_state.c rt_stat.c: In function 'SpawnStatic': rt_stat.c:1242:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1242 | else if (zoffset!=-1) | ^~~~ rt_stat.c:1259:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1259 | temp->visspot = &spotvis[tilex][tiley]; | ^~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_str.o rt_str.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_swift.o rt_swift.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_ted.o rt_ted.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_util.o rt_util.c rt_str.c: In function 'US_LineInput': rt_str.c:1043:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 1043 | return (result); | ^ rt_str.c: In function 'US_lineinput': rt_str.c:1335:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 1335 | return (result); | ^ rt_stat.c: In function 'CheckCriticalStatics': rt_stat.c:1816:5: warning: 'stype' may be used uninitialized in this function [-Wmaybe-uninitialized] 1816 | SpawnStatic(stilex,stiley,stype,-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_str.c: In function 'GetColor': rt_str.c:1599:11: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1599 | return (returnval); | ^ rt_str.c: In function 'DrawIString': rt_str.c:1676:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1676 | fontcolor = GetColor (temp); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rt_str.c:1645:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1645 | oldfontcolor = fontcolor; | ~~~~~~~~~~~~~^~~~~~~~~~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_view.o rt_view.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_vid.o rt_vid.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o rt_err.o rt_err.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o scriplib.o scriplib.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o w_wad.o w_wad.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o watcom.o watcom.c w_wad.c: In function 'W_AddFile': w_wad.c:137:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | read (handle, &header, sizeof(header)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_wad.c:147:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | read (handle, fileinfo, length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'SetupTeams': rt_ted.c:2377:7: warning: 'spawnindex' may be used uninitialized in this function [-Wmaybe-uninitialized] 2377 | newy = SPAWNLOC[spawnlocindex].y; \ | ^ rt_ted.c:2455:24: note: 'spawnindex' was declared here 2455 | maxdist,currdist,spawnindex,cnt; | ^~~~~~~~~~ rt_ted.c:2395:6: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] 2395 | SpawnPlayerobj(ntilex,ntiley,dir,j); \ | ^~~~~~~~~~~~~~ rt_ted.c:2454:36: note: 'dir' was declared here 2454 | int i,j,rand,sx,sy,ntilex,ntiley,dir, | ^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o z_zone.o z_zone.c rt_vid.c: In function 'SwitchPalette': rt_vid.c:1003:40: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1003 | delta = palette[j]-palette1[0][j]; | ~~~~~~~~~~~^~~ rt_vid.c:1001:7: note: within this loop 1001 | for (j=start;j<=end;j++) | ^~~ rt_vid.c: In function 'VL_DecompressLBM': rt_vid.c:1003:40: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1003 | delta = palette[j]-palette1[0][j]; | ~~~~~~~~~~~^~~ rt_vid.c:1001:7: note: within this loop 1001 | for (j=start;j<=end;j++) | ^~~ cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o byteordr.o byteordr.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o dukemusc.o dukemusc.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign -DSHAREWARE=0 -DSUPERROTT=1 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1 -c -o winrott.o winrott.c cc -g -O2 -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -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 -Wno-unused -Wno-pointer-sign cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o dukemusc.o winrott.o audiolib/audiolib.a -lSDL -lpthread -lSDL_mixer -o rott-registered.bin rt_menu.c:5362:13: warning: type of 'inverse_mouse' does not match original declaration [-Wlto-type-mismatch] 5362 | extern long inverse_mouse; | ^ rt_cfg.c:113:9: note: type 'int' should match type 'long int' 113 | int inverse_mouse = 1; //set to -1 to invert mouse | ^ rt_cfg.c:113:9: note: 'inverse_mouse' was previously declared here rt_cfg.c:113:9: note: code may be misoptimized unless '-fno-strict-aliasing' is used rt_menu.c:5364:12: warning: type of 'iG_aimCross' does not match original declaration [-Wlto-type-mismatch] 5364 | extern int iG_aimCross; | ^ winrott.c:27:9: note: type 'boolean' should match type 'int' 27 | boolean iG_aimCross = 0; | ^ winrott.c:27:9: note: 'iG_aimCross' was previously declared here rt_vid.c: In function 'VL_FadeIn.constprop': rt_vid.c:1003:40: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1003 | delta = palette[j]-palette1[0][j]; | ^ rt_vid.c:1001:7: note: within this loop 1001 | for (j=start;j<=end;j++) | ^ + popd ~/build/BUILD/rott-1.1.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A0rqC2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64 + cd rott-1.1.2 + mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/rott + mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/man/man6 + install -m 755 rott/rott-registered.bin rott/rott-shareware.bin /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin + install -p -m 755 /builddir/build/SOURCES/rott-shareware.sh /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin/rott-shareware + install -p -m 755 /builddir/build/SOURCES/rott-registered.sh /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin/rott-registered + install -p -m 644 /builddir/build/SOURCES/rott.autodlrc /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/rott + install -p -m 644 rott-shareware.6 /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/man/man6 + install -p -m 644 rott-registered.6 /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/rott-shareware.desktop + desktop-file-install --dir /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/rott-registered.desktop + mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/appdata + install -p -m 644 /builddir/build/SOURCES/rott-shareware.appdata.xml /builddir/build/SOURCES/rott-registered.metainfo.xml /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/appdata + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/appdata/rott-registered.metainfo.xml /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/appdata/rott-shareware.appdata.xml /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/appdata/rott-registered.metainfo.xml: OK /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/appdata/rott-shareware.appdata.xml: OK + mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/icons/hicolor/64x64/apps + install -p -m 644 /builddir/build/SOURCES/rott.png /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/icons/hicolor/64x64/apps/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.2-16.fc33 --unique-debug-suffix -1.1.2-16.fc33.riscv64 --unique-debug-src-base rott-1.1.2-16.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rott-1.1.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin/rott-shareware.bin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin/rott-registered.bin extracting debug info from /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin/rott-shareware.bin extracting debug info from /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/bin/rott-registered.bin original debug info size: 17820kB, size after compression: 16952kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 5708 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/rott-shareware from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/rott-registered from /bin/bash to #!/usr/bin/bash Processing files: rott-shareware-1.1.2-16.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.p6inDY + umask 022 + cd /builddir/build/BUILD + cd rott-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-shareware + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-shareware + cp -pr README /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-shareware + cp -pr doc/13todo.txt doc/cheats.txt doc/cmdline.txt doc/hacker.txt doc/readme.txt doc/wad.txt /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-shareware + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ajlUJZ + umask 022 + cd /builddir/build/BUILD + cd rott-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/licenses/rott-shareware + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/licenses/rott-shareware + cp -pr COPYING /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/licenses/rott-shareware + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(rott-shareware.desktop) metainfo() metainfo(rott-shareware.appdata.xml) rott-shareware = 1.1.2-16.fc33 rott-shareware(riscv-64) = 1.1.2-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rott-registered-1.1.2-16.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wZSpR2 + umask 022 + cd /builddir/build/BUILD + cd rott-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-registered + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-registered + cp -pr README /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-registered + cp -pr doc/13todo.txt doc/cheats.txt doc/cmdline.txt doc/hacker.txt doc/readme.txt doc/wad.txt /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/doc/rott-registered + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.i9k29Y + umask 022 + cd /builddir/build/BUILD + cd rott-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/licenses/rott-registered + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/licenses/rott-registered + cp -pr COPYING /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64/usr/share/licenses/rott-registered + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(rott-registered.desktop) metainfo() metainfo(rott-registered.metainfo.xml) rott-registered = 1.1.2-16.fc33 rott-registered(riscv-64) = 1.1.2-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rott-debugsource-1.1.2-16.fc33.riscv64 Provides: rott-debugsource = 1.1.2-16.fc33 rott-debugsource(riscv-64) = 1.1.2-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rott-debuginfo-1.1.2-16.fc33.riscv64 Provides: rott-debuginfo = 1.1.2-16.fc33 rott-debuginfo(riscv-64) = 1.1.2-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rott-debugsource(riscv-64) = 1.1.2-16.fc33 Processing files: rott-shareware-debuginfo-1.1.2-16.fc33.riscv64 Provides: debuginfo(build-id) = f2db714cb823ca360ea61904177cf86a934eba84 rott-shareware-debuginfo = 1.1.2-16.fc33 rott-shareware-debuginfo(riscv-64) = 1.1.2-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rott-debugsource(riscv-64) = 1.1.2-16.fc33 Processing files: rott-registered-debuginfo-1.1.2-16.fc33.riscv64 Provides: debuginfo(build-id) = c3f3c95e4e188855552346d1b614eb94c66abd02 rott-registered-debuginfo = 1.1.2-16.fc33 rott-registered-debuginfo(riscv-64) = 1.1.2-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rott-debugsource(riscv-64) = 1.1.2-16.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64 Wrote: /builddir/build/RPMS/rott-registered-1.1.2-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rott-shareware-1.1.2-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rott-debuginfo-1.1.2-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rott-shareware-debuginfo-1.1.2-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rott-registered-debuginfo-1.1.2-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rott-debugsource-1.1.2-16.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YMEjDY + umask 022 + cd /builddir/build/BUILD + cd rott-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rott-1.1.2-16.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0