Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ascii-patrol.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1631357912.666282/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zc97isqe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zc97isqe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '843279c25d6a439a915310082f5938f5', '-D', '/var/lib/mock/fedora-35-i686-1631357912.666282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zc97isqe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ascii-patrol.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1631318400 Wrote: /builddir/build/SRPMS/ascii-patrol-1.7-1.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ascii-patrol.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1631357912.666282/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zc97isqe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zc97isqe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b9a02efde2ac4c32bd3cb98a2d929d55', '-D', '/var/lib/mock/fedora-35-i686-1631357912.666282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zc97isqe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ascii-patrol.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1631318400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WN2msE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ascii-patrol-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/ascii-patrol-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ascii-patrol-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/CXXFLAGS = -Wno-multichar -O3 -D NIX/CXXFLAGS += -D NIX/' Makefile + sed -i 's/LDFLAGS = -pthread/LDFLAGS += -pthread/' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3cfk5f + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-1.7 + CFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j2 V=1 VERBOSE=1 Building dependencies... g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o manual.o manual.cpp In file included from manual.cpp:3: manual.h: In constructor 'MANUAL::MANUAL(const ASSET*, char, unsigned char)': manual.h:13:16: warning: 'MANUAL::man' will be initialized after [-Wreorder] 13 | SPRITE man; | ^~~ manual.cpp:16:36: warning: base 'SCREEN' [-Wreorder] 16 | SCREEN(43,17,transp,_tcolor) | ^ manual.cpp:14:1: warning: when initialized here [-Wreorder] 14 | MANUAL::MANUAL(const ASSET* a, char transp, unsigned char _tcolor) : | ^~~~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o mo3.o mo3.cpp g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o unmo3.o unmo3.cpp unmo3.cpp: In function 'unsigned char* mo3_unpack(unsigned char*, unsigned char*, mo3_long)': unmo3.cpp:126:21: warning: comparison of integer expressions of different signedness: 'int' and 'mo3_ulong' {aka 'unsigned int'} [-Wsign-compare] 126 | if ( (dst-initDst)!=initSize ) | ~~~~~~~~~~~~~^~~~~~~~~~ unmo3.cpp: In function 'bool OpenSong(SONG*)': unmo3.cpp:275:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 275 | if (len != sample_data[i]->size) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ unmo3.cpp:277:45: warning: unused variable 'a' [-Wunused-variable] 277 | int a=0; | ^ unmo3.cpp:295:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 295 | if (len != sample_data[i]->size) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ unmo3.cpp:297:45: warning: unused variable 'a' [-Wunused-variable] 297 | int a=0; | ^ unmo3.cpp: In member function 'void XMPlayer::Tck()': unmo3.cpp:657:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 657 | if (cmd_sync==0 || cmd_sync==1 && row+1 == GET_WORD(song.pattern_len+pattern)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unmo3.cpp: In member function 'void XMPlayer::Cmd(int, unsigned char*, int)': unmo3.cpp:860:24: warning: enumeration value 'note' not handled in switch [-Wswitch] 860 | switch ((Mo3CmdType)ptr[0]) | ^ unmo3.cpp:860:24: warning: enumeration value 'instr' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'portamento_up' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'portamento_down' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'vibrato' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'vol_slide_vibrato' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'set_pan' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'sample_offs' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'vol_slide' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'set_vol' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'pattern_brk' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'pattern_delay' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'set_speed' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'vol_slide_up' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'fine_vol_donw' not handled in switch [-Wswitch] unmo3.cpp:860:24: warning: enumeration value 'set_glb_vol' not handled in switch [-Wswitch] unmo3.cpp:1108:37: warning: unused variable 'a' [-Wunused-variable] 1108 | int a=0; | ^ unmo3.cpp: In member function 'void XMPlayer::Mix(int, int, short int*, int)': unmo3.cpp:1126:13: warning: variable 'fade_samples' set but not used [-Wunused-but-set-variable] 1126 | int fade_samples = MIN(tick_samples, frq/20); // Min(20ms, 50ms) | ^~~~~~~~~~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o conf.o conf.cpp g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o gameover.o gameover.cpp In file included from gameover.cpp:8: gameover.h: In constructor 'GAMEOVER_MODAL::GAMEOVER_MODAL(SCREEN*, int*, const LEVEL*)': gameover.h:27:16: warning: 'GAMEOVER_MODAL::bk' will be initialized after [-Wreorder] 27 | SPRITE bk; | ^~ gameover.h:25:16: warning: 'SPRITE GAMEOVER_MODAL::bk2' [-Wreorder] 25 | SPRITE bk2; | ^~~ gameover.cpp:23:1: warning: when initialized here [-Wreorder] 23 | GAMEOVER_MODAL::GAMEOVER_MODAL(SCREEN* _s, int* _score, const LEVEL* _level) : | ^~~~~~~~~~~~~~ gameover.cpp: In member function 'virtual int GAMEOVER_MODAL::Run()': gameover.cpp:158:13: warning: unused variable 'tm_y' [-Wunused-variable] 158 | int tm_y = 0, tm_h = 10; | ^~~~ gameover.cpp:158:24: warning: unused variable 'tm_h' [-Wunused-variable] 158 | int tm_y = 0, tm_h = 10; | ^~~~ gameover.cpp:159:24: warning: unused variable 'bk_h' [-Wunused-variable] 159 | int bk_y = 10, bk_h = 20; | ^~~~ gameover.cpp:160:24: warning: unused variable 'fg_h' [-Wunused-variable] 160 | int fg_y = 30, fg_h = 10; | ^~~~ gameover.cpp:161:13: warning: unused variable 'bm_y' [-Wunused-variable] 161 | int bm_y = 40, bm_h = 10; | ^~~~ gameover.cpp:161:24: warning: unused variable 'bm_h' [-Wunused-variable] 161 | int bm_y = 40, bm_h = 10; | ^~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o inter.o inter.cpp inter.cpp: In member function 'void PERF::Paint(SCREEN*, int, int, int)': inter.cpp:230:21: warning: variable 'minlen' set but not used [-Wunused-but-set-variable] 230 | int minlen; | ^~~~~~ inter.cpp:137:13: warning: unused variable 'h' [-Wunused-variable] 137 | int h=15; | ^ inter.cpp: In member function 'void DLG::Start(const char*, long unsigned int)': inter.cpp:431:37: warning: unused variable 'a' [-Wunused-variable] 431 | int a=0; | ^ In file included from inter.cpp:8: inter.h: In constructor 'INTER_MODAL::INTER_MODAL(SCREEN*, int, int, int*, const char*, const LEVEL*, int, int, int)': inter.h:99:16: warning: 'INTER_MODAL::bkgnd' will be initialized after [-Wreorder] 99 | SPRITE bkgnd; | ^~~~~ inter.h:80:14: warning: 'PERF INTER_MODAL::perf_clear' [-Wreorder] 80 | PERF perf_clear; | ^~~~~~~~~~ inter.cpp:664:1: warning: when initialized here [-Wreorder] 664 | INTER_MODAL::INTER_MODAL(SCREEN* _s, | ^~~~~~~~~~~ inter.cpp: In member function 'virtual int INTER_MODAL::Run()': inter.cpp:806:34: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] 806 | t-phase_t-0, | ~~~~~~~~~^~ inter.cpp:807:34: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] 807 | t-phase_t-0, | ~~~~~~~~~^~ inter.cpp:808:34: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] 808 | t-phase_t-0, | ~~~~~~~~~^~ inter.cpp:809:34: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] 809 | t-phase_t-0, | ~~~~~~~~~^~ inter.cpp:1003:34: warning: narrowing conversion of '(t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t)' from 'long unsigned int' to 'int' [-Wnarrowing] 1003 | t-phase_t, | ~^~~~~~~~ inter.cpp:1004:42: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 200)' from 'long unsigned int' to 'int' [-Wnarrowing] 1004 | t-phase_t-200, | ~~~~~~~~~^~~~ inter.cpp:1005:42: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 100)' from 'long unsigned int' to 'int' [-Wnarrowing] 1005 | t-phase_t-100, | ~~~~~~~~~^~~~ inter.cpp:1006:42: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 300)' from 'long unsigned int' to 'int' [-Wnarrowing] 1006 | t-phase_t-300, | ~~~~~~~~~^~~~ inter.cpp:1000:29: warning: unused variable 'duration' [-Wunused-variable] 1000 | int duration = 800; | ^~~~~~~~ In file included from game.h:5, from inter.h:5, from inter.cpp:8: inter.cpp: In member function 'PERF::Paint(SCREEN*, int, int, int)': inter.cpp:156:46: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 156 | vallen = sprintf_s(valstr,10,"%d:%02d",val/60000,(val/1000)%60); | ^~~~~~~~~ inter.cpp:156:54: note: format string is defined here 156 | vallen = sprintf_s(valstr,10,"%d:%02d",val/60000,(val/1000)%60); | ^ In file included from /usr/include/stdio.h:888, from inter.cpp:3: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from game.h:5, from inter.h:5, from inter.cpp:8: inter.cpp:241:54: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 241 | minlen = sprintf_s(minstr,10,"%d:%02d",minval/60000,(minval/1000)%60); | ^~~~~~~~~ inter.cpp:241:62: note: format string is defined here 241 | minlen = sprintf_s(minstr,10,"%d:%02d",minval/60000,(minval/1000)%60); | ^ In file included from /usr/include/stdio.h:888, from inter.cpp:3: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from game.h:5, from inter.h:5, from inter.cpp:8: inter.cpp:242:54: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 242 | maxlen = sprintf_s(maxstr,10,"%d:%02d",maxval/60000,(maxval/1000)%60); | ^~~~~~~~~ inter.cpp:242:62: note: format string is defined here 242 | maxlen = sprintf_s(maxstr,10,"%d:%02d",maxval/60000,(maxval/1000)%60); | ^ In file included from /usr/include/stdio.h:888, from inter.cpp:3: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ inter.cpp:252:28: warning: 'maxlen' may be used uninitialized in this function [-Wmaybe-uninitialized] 252 | inter_print(s, x+w-1-maxlen,y+9, maxstr, 0x07); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o twister.o twister.cpp g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o stb_vorbis.o stb_vorbis.cpp stb_vorbis.cpp: In function 'void decode_residue(vorb*, float**, int, int, int, uint8*)': stb_vorbis.cpp:898:41: warning: statement has no effect [-Wunused-value] 898 | #define temp_free(f,p) 0 | ^ stb_vorbis.cpp:2268:4: note: in expansion of macro 'temp_free' 2268 | temp_free(f,part_classdata); | ^~~~~~~~~ stb_vorbis.cpp: In function 'void inverse_mdct(float*, int, vorb*, int)': stb_vorbis.cpp:898:41: warning: statement has no effect [-Wunused-value] 898 | #define temp_free(f,p) 0 | ^ stb_vorbis.cpp:2917:4: note: in expansion of macro 'temp_free' 2917 | temp_free(f,buf2); | ^~~~~~~~~ stb_vorbis.cpp: In function 'get_seek_page_info(stb_vorbis*, ProbedPage*)': stb_vorbis.cpp:4560:89: warning: 'header[9]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4560 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~~~^ stb_vorbis.cpp:4560:69: warning: 'header[8]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4560 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~~~^ stb_vorbis.cpp:4560:50: warning: 'header[7]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4560 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~~~^ stb_vorbis.cpp:4560:37: warning: 'header[6]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4560 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~~~^ stb_vorbis.cpp:4547:65: warning: 'header[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4547 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stb_vorbis.cpp:4547:45: warning: 'header[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4547 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stb_vorbis.cpp:4547:25: warning: 'header[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4547 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stb_vorbis.cpp:4547:4: warning: 'header[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4547 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ^~ stb_vorbis.cpp: In function 'seek_to_sample_coarse(stb_vorbis*, unsigned int)': stb_vorbis.cpp:4648:23: warning: 'bytes_per_sample' may be used uninitialized in this function [-Wmaybe-uninitialized] 4648 | double error = ((double) sample_number - mid.last_decoded_sample) * bytes_per_sample; | ^~~~~ stb_vorbis.cpp:4651:23: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized] 4651 | offset += error * 2; | ~~~~~~~^~~~~~~~~~~~ stb_vorbis.cpp: In function 'stb_vorbis_open_memory(unsigned char const*, int, int*, stb_vorbis_alloc const*)': stb_vorbis.cpp:3930:32: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized] 3930 | g->neighbors[j][1] = hi; | ~~~~~~~~~~~~~~~~~~~^~~~ stb_vorbis.cpp:3927:21: note: 'hi' was declared here 3927 | int low,hi; | ^~ stb_vorbis.cpp:3929:32: warning: 'low' may be used uninitialized in this function [-Wmaybe-uninitialized] 3929 | g->neighbors[j][0] = low; | ~~~~~~~~~~~~~~~~~~~^~~~~ stb_vorbis.cpp:3927:17: note: 'low' was declared here 3927 | int low,hi; | ^~~ stb_vorbis.cpp: In function 'stb_vorbis_get_frame_short(stb_vorbis*, int, short**, int)': stb_vorbis.cpp:5140:28: warning: 'output' may be used uninitialized in this function [-Wmaybe-uninitialized] 5140 | convert_samples_short(num_c, buffer, 0, f->channels, output, 0, len); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o temp.o temp.cpp temp.cpp: In member function 'virtual int CAMPAIGN_MODAL::Run()': temp.cpp:871:69: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] 871 | twister_rand(), | ~~~~~~~~~~~~^~ temp.cpp:872:69: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] 872 | twister_rand(), | ~~~~~~~~~~~~^~ temp.cpp:874:69: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] 874 | twister_rand(), | ~~~~~~~~~~~~^~ temp.cpp:875:69: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] 875 | twister_rand() | ~~~~~~~~~~~~^~ temp.cpp: In function 'int FREAD(void*, int, int, FILE*)': temp.cpp:1536:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1536 | if ( fread(buf,siz,cnt,fil) != cnt ) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ temp.cpp: In function 'int main(int, char**)': temp.cpp:2154:29: warning: unused variable 'prefix_args' [-Wunused-variable] 2154 | int prefix_args = terminal_init(0,0,&cols,&rows); | ^~~~~~~~~~~ temp.cpp:2182:13: warning: unused variable 'prefix_args' [-Wunused-variable] 2182 | int prefix_args = terminal_init(0,0,&cols,&rows); | ^~~~~~~~~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o game.o game.cpp game.cpp:1368:16: warning: multi-character character constant [-Wmultichar] 1368 | cookie='scor'; | ^~~~~~ game.cpp:2056:93: warning: multi-character character constant [-Wmultichar] 2056 | spr->cookie='poof'; | ^~~~~~ game.cpp:2115:34: warning: multi-character character constant [-Wmultichar] 2115 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') | ^~~~~~ game.cpp:2115:57: warning: multi-character character constant [-Wmultichar] 2115 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') | ^~~~~~ game.cpp:2115:80: warning: multi-character character constant [-Wmultichar] 2115 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') | ^~~~~~ game.cpp:2121:34: warning: multi-character character constant [-Wmultichar] 2121 | if (spr->cookie=='h1' || spr->cookie=='h2' || spr->cookie=='h3') | ^~~~ game.cpp:2121:55: warning: multi-character character constant [-Wmultichar] 2121 | if (spr->cookie=='h1' || spr->cookie=='h2' || spr->cookie=='h3') | ^~~~ game.cpp:2121:76: warning: multi-character character constant [-Wmultichar] 2121 | if (spr->cookie=='h1' || spr->cookie=='h2' || spr->cookie=='h3') | ^~~~ game.cpp:2181:69: warning: multi-character character constant [-Wmultichar] 2181 | spr->cookie='poof'; | ^~~~~~ game.cpp:2216:37: warning: multi-character character constant [-Wmultichar] 2216 | spr->cookie='poof'; | ^~~~~~ game.cpp:2247:34: warning: multi-character character constant [-Wmultichar] 2247 | if (spr->cookie=='poof' || spr->cookie=='scor') | ^~~~~~ game.cpp:2247:57: warning: multi-character character constant [-Wmultichar] 2247 | if (spr->cookie=='poof' || spr->cookie=='scor') | ^~~~~~ game.cpp:2338:53: warning: multi-character character constant [-Wmultichar] 2338 | spr->cookie='poof'; | ^~~~~~ game.cpp:2363:53: warning: multi-character character constant [-Wmultichar] 2363 | spr->cookie='poof'; | ^~~~~~ game.cpp:2418:34: warning: multi-character character constant [-Wmultichar] 2418 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') | ^~~~~~ game.cpp:2418:57: warning: multi-character character constant [-Wmultichar] 2418 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') | ^~~~~~ game.cpp:2418:80: warning: multi-character character constant [-Wmultichar] 2418 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') | ^~~~~~ game.cpp:2488:26: warning: multi-character character constant [-Wmultichar] 2488 | int h0 = 'h0'; | ^~~~ game.cpp:2489:26: warning: multi-character character constant [-Wmultichar] 2489 | int b0 = 'b0'; | ^~~~ game.cpp:2494:30: warning: multi-character character constant [-Wmultichar] 2494 | case 'h1': | ^~~~ game.cpp:2495:30: warning: multi-character character constant [-Wmultichar] 2495 | case 'h2': | ^~~~ game.cpp:2512:30: warning: multi-character character constant [-Wmultichar] 2512 | case 'h3': | ^~~~ game.cpp:2534:30: warning: multi-character character constant [-Wmultichar] 2534 | case 'b1': | ^~~~ game.cpp:2535:30: warning: multi-character character constant [-Wmultichar] 2535 | case 'b2': | ^~~~ game.cpp:2536:30: warning: multi-character character constant [-Wmultichar] 2536 | case 'b3': | ^~~~ game.cpp:2550:30: warning: multi-character character constant [-Wmultichar] 2550 | case 'b4': | ^~~~ game.cpp:2563:44: warning: multi-character character constant [-Wmultichar] 2563 | b2->cookie='b2'; | ^~~~ game.cpp:2637:30: warning: multi-character character constant [-Wmultichar] 2637 | case 'tb': | ^~~~ game.cpp:2860:54: warning: multi-character character constant [-Wmultichar] 2860 | case 'b1': | ^~~~ game.cpp:2861:54: warning: multi-character character constant [-Wmultichar] 2861 | case 'b2': | ^~~~ game.cpp:2862:54: warning: multi-character character constant [-Wmultichar] 2862 | case 'b3': | ^~~~ game.cpp:2863:54: warning: multi-character character constant [-Wmultichar] 2863 | case 'b4': | ^~~~ game.cpp:2864:54: warning: multi-character character constant [-Wmultichar] 2864 | case 'poof': | ^~~~~~ game.cpp:2873:77: warning: multi-character character constant [-Wmultichar] 2873 | spr->cookie='poof'; | ^~~~~~ game.cpp:2906:37: warning: multi-character character constant [-Wmultichar] 2906 | spr->cookie='poof'; | ^~~~~~ game.cpp:2946:30: warning: multi-character character constant [-Wmultichar] 2946 | case 'scor': | ^~~~~~ game.cpp:2953:30: warning: multi-character character constant [-Wmultichar] 2953 | case 'poof': | ^~~~~~ game.cpp:3045:61: warning: multi-character character constant [-Wmultichar] 3045 | spr->cookie='poof'; | ^~~~~~ game.cpp:3195:30: warning: multi-character character constant [-Wmultichar] 3195 | case 'base': | ^~~~~~ game.cpp:3201:30: warning: multi-character character constant [-Wmultichar] 3201 | case 'poof': | ^~~~~~ game.cpp:3227:30: warning: multi-character character constant [-Wmultichar] 3227 | case 'scor': | ^~~~~~ game.cpp:3248:30: warning: multi-character character constant [-Wmultichar] 3248 | case 'b1': | ^~~~ game.cpp:3249:30: warning: multi-character character constant [-Wmultichar] 3249 | case 'b2': | ^~~~ game.cpp:3250:30: warning: multi-character character constant [-Wmultichar] 3250 | case 'b3': | ^~~~ game.cpp:3251:30: warning: multi-character character constant [-Wmultichar] 3251 | case 'b4': | ^~~~ game.cpp:3314:60: warning: multi-character character constant [-Wmultichar] 3314 | tb->cookie='tb'; | ^~~~ game.cpp:3328:30: warning: multi-character character constant [-Wmultichar] 3328 | case 'tb': | ^~~~ game.cpp:3690:69: warning: multi-character character constant [-Wmultichar] 3690 | spr->cookie='chkp'; | ^~~~~~ game.cpp:3705:69: warning: multi-character character constant [-Wmultichar] 3705 | spr->cookie='base'; | ^~~~~~ game.cpp: In member function 'virtual void SCREEN::Paint(SCREEN*, int, int, int, int, int, int, bool)': game.cpp:1118:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1118 | if (over!='_' && over!=',' && over!='.' || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ game.cpp: In member function 'virtual void SPRITE::Paint(SCREEN*, int, int, int, int, int, int, char, bool)': game.cpp:1464:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1464 | over!='_' && over!=',' && over!='.' || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ game.cpp: In member function 'virtual void SCROLL::Paint(SCREEN*, int, int, int, int, int, int, bool)': game.cpp:1593:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1593 | if (over!='_' && over!=',' && over!='.' || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ game.cpp:1611:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1611 | if (over!='_' && over!=',' && over!='.' || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ game.cpp: In constructor 'TERRAIN::TERRAIN(int, int, int, unsigned char, const char*, const char*, char*, char, char, int)': game.cpp:1915:30: warning: array subscript has type 'char' [-Wchar-subscripts] 1915 | scroll = check_point[_start_point] - 21; | ^~~~~~~~~~~~ game.cpp: In member function 'void TERRAIN::AnimateSprites(int, int, bool)': game.cpp:2821:37: warning: unused variable 'prv' [-Wunused-variable] 2821 | int prv=data[ileft]; | ^~~ game.cpp:3115:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3114 | spr->cookie_data[2] != -spr->width && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3115 | spr->cookie_data[2] != w && | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ 3116 | spr->cookie_data[3] != -spr->height ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:3124:88: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3124 | if (!expl && spr->cookie_data[0]<=fr && bullets= t.check_points && t.check_points>1) // ACC | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ game.cpp:4575:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4575 | if (record_mode!='X' && record_mode!='R' || rec_show>0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ game.cpp:4691:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4691 | if (fr<1000 && (lives == start_lives || expl>=0 && lives+1 == start_lives)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:4796:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4796 | if (record_mode!='X' && record_mode!='R' || rec_show>0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ game.cpp: In destructor 'virtual LEVEL_MODAL::~LEVEL_MODAL()': game.cpp:5492:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5492 | if (rec_len<=sizeof(rec_buf)) | ~~~~~~~^~~~~~~~~~~~~~~~~ game.cpp: In member function 'void LEVEL_MODAL::rec_write(unsigned char)': game.cpp:5704:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5704 | if (rec_lenmodule[i].dbl && mw->module[i].col == mw->module[j].col-1 || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:761:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 761 | if (!mw->module[j].dbl && mw->module[i].col == mw->module[j].col+1 || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp: In function 'int PromptProc(int, void*, void*)': menu.cpp:953:29: warning: unused variable 'f' [-Wunused-variable] 953 | int f = *(int*)p1; | ^ menu.cpp:974:30: warning: unused variable 'clip' [-Wunused-variable] 974 | int* clip = (int*)p2; | ^~~~ menu.cpp: In static member function 'static void ControlProc(MODULE*, int, void*, void*)::ControlData::PaintSld(CON_OUTPUT*, int, int, int, int, int, int*)': menu.cpp:1274:29: warning: unused variable 'fill' [-Wunused-variable] 1274 | int fill = w-4; | ^~~~ menu.cpp: In function 'int ControlProc(MODULE*, int, void*, void*)': menu.cpp:1318:29: warning: unused variable 'f' [-Wunused-variable] 1318 | int f = *(int*)p1; | ^ menu.cpp:1474:37: warning: unused variable 'x' [-Wunused-variable] 1474 | int x = ci->Event.TouchEvent.x - m->x; | ^ menu.cpp: In function 'int ScoreProc(MODULE*, int, void*, void*)': menu.cpp:1695:29: warning: unused variable 'f' [-Wunused-variable] 1695 | int f = *(int*)p1; | ^ menu.cpp:1831:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1831 | data.touch_sp && menu_window.time - data.touch_tm >= 10)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp: In function 'int CampaignProc(MODULE*, int, void*, void*)': menu.cpp:3275:45: warning: unused variable 'len' [-Wunused-variable] 3275 | int len = 0; | ^~~ menu.cpp:3477:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3477 | if (i==data.course && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3503:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3503 | if (i==data.course || i==data.course-1 && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3503:117: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3503 | if (i==data.course || i==data.course-1 && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3524:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3524 | if (i==data.course && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3596:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3596 | if (i==data.course && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3637:104: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3637 | if (i==data.course || i==data.course-1 && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3637:141: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3637 | if (i==data.course || i==data.course-1 && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:3678:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3678 | if (i==data.course && data.anim_y>0 || i==data.course+1 && data.anim_y<0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp: In function 'int KeyboardProc(MODULE*, int, void*, void*)': menu.cpp:3938:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3938 | if (c>='0' && c<='9' || | ~~~~~~~^~~~~~~~~ menu.cpp:3872:28: warning: unused variable 'syskey' [-Wunused-variable] 3872 | const static char* syskey[6]= | ^~~~~~ menu.cpp: In function 'int RunMenu(CON_OUTPUT*)': menu.cpp:4734:100: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4734 | if (mw->state || !mw->focus->upper && !mw->focus->upper2) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ menu.cpp:4770:100: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4770 | if (mw->state || !mw->focus->lower && !mw->focus->lower2) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ menu.cpp:4449:22: warning: unused variable 'hit' [-Wunused-variable] 4449 | bool hit = false; | ^~~ menu.cpp: At global scope: menu.cpp:3872:28: warning: 'syskey' defined but not used [-Wunused-variable] 3872 | const static char* syskey[6]= | ^~~~~~ In file included from game.h:5, from menu.cpp:10: menu.cpp: In function 'ScoreProc(MODULE*, int, void*, void*)': menu.cpp:1753:50: warning: '%8d' directive writing between 8 and 11 bytes into a region of size 10 [-Wformat-overflow=] 1753 | sprintf_s(str,10,"%8d ",rank); | ^~~~~~ menu.cpp:1753:51: note: format string is defined here 1753 | sprintf_s(str,10,"%8d ",rank); | ^~~ In file included from game.h:5, from menu.cpp:10: menu.cpp:1753:50: note: directive argument in the range [-2147483647, 2147483647] 1753 | sprintf_s(str,10,"%8d ",rank); | ^~~~~~ In file included from /usr/include/stdio.h:888, from menu.cpp:4: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 10 and 13 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o spec_web.o spec_web.cpp g++ -c -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NIX -o spec_nix.o spec_nix.cpp spec_nix.cpp:242:15: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:20: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:25: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:30: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:35: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:40: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:45: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:50: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:55: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:60: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:65: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:242:70: warning: multi-character character constant [-Wmultichar] 242 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, | ^~~~ spec_nix.cpp:243:17: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:22: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:27: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:32: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:37: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:42: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:47: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:52: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:57: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:62: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:67: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:243:72: warning: multi-character character constant [-Wmultichar] 243 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, | ^~~~ spec_nix.cpp:244:19: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:24: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:29: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:34: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:39: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:44: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:49: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:54: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:59: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:64: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~ spec_nix.cpp:244:69: warning: multi-character character constant [-Wmultichar] 244 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', | ^~~~~~ spec_nix.cpp:245:4: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:11: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~~ spec_nix.cpp:245:17: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:22: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:27: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:32: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:37: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:42: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:47: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:52: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:57: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp:245:62: warning: multi-character character constant [-Wmultichar] 245 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, | ^~~~ spec_nix.cpp: In function 'int screen_write(CON_OUTPUT*, int, int, int, int, int, int)': spec_nix.cpp:1006:83: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1006 | if (color[(w+1)*y+x]!=cl || x==sw && y==j-1) | ~~~~~~^~~~~~~~~ spec_nix.cpp:1056:76: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1056 | if (color[(w+1)*y+x]!=cl || x==sw && y==sh-1) | ~~~~~~^~~~~~~~~~ spec_nix.cpp: In function 'void audio_context_state_cb(pa_context*, void*)': spec_nix.cpp:1685:16: warning: enumeration value 'PA_CONTEXT_UNCONNECTED' not handled in switch [-Wswitch] 1685 | switch (pa_context_get_state(c)) | ^ spec_nix.cpp: At global scope: spec_nix.cpp:698:12: warning: 'int ansi_set_color_rgb(int, int)' defined but not used [-Wunused-function] 698 | static int ansi_set_color_rgb(int fg, int bg) | ^~~~~~~~~~~~~~~~~~ spec_nix.cpp:682:12: warning: 'int ansi_set_color(int, int)' defined but not used [-Wunused-function] 682 | static int ansi_set_color(int fg, int bg) | ^~~~~~~~~~~~~~ In file included from spec_nix.cpp:56: spec_nix.cpp: In function 'get_hiscore(int, char const*) [clone .part.0]': spec_nix.cpp:1330:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] 1330 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d&id=%s\" 2>/dev/null" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1331 | ,path,ofs+1,id); | ~~~~ spec_nix.cpp:1330:45: note: format string is defined here 1330 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d&id=%s\" 2>/dev/null" | ^~ In file included from spec_nix.cpp:56: spec_nix.cpp:1330:25: note: directive argument in the range [-2147483647, 2147483647] 1330 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d&id=%s\" 2>/dev/null" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from spec_nix.cpp:33: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output 78 or more bytes (assuming 1111) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from spec_nix.cpp:56: spec_nix.cpp:1336:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] 1336 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d\" 2>/dev/null" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1337 | ,path,ofs+1); | ~~~~ spec_nix.cpp:1336:45: note: format string is defined here 1336 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d\" 2>/dev/null" | ^~ In file included from spec_nix.cpp:56: spec_nix.cpp:1336:25: note: directive argument in the range [-2147483647, 2147483647] 1336 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d\" 2>/dev/null" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from spec_nix.cpp:33: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 74 and 1107 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from spec_nix.cpp:56: spec_nix.cpp: In function 'post_hiscore()': spec_nix.cpp:1353:17: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] 1353 | "curl --silent -o \"%s\" -F \"rec=@%s\" \"http://ascii-patrol.com/rank.php\" 2>/dev/null" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1354 | ,path, | ~~~~ spec_nix.cpp:1353:37: note: format string is defined here 1353 | "curl --silent -o \"%s\" -F \"rec=@%s\" \"http://ascii-patrol.com/rank.php\" 2>/dev/null" | ^~ In file included from /usr/include/stdio.h:888, from spec_nix.cpp:33: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 78 and 2124 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -o asciipat -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -pthread manual.o mo3.o unmo3.o stb_vorbis.o conf.o gameover.o inter.o twister.o game.o temp.o menu.o assets.o spec_dos.o spec_win.o spec_nix.o spec_web.o -L/usr/X11/lib -lX11 -lXi -lpulse + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EIcWd7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386 ++ dirname /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386 + cd ascii-patrol-1.7 + install -d /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/bin + install -m 755 asciipat /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/bin + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.7-1.fc35 --unique-debug-suffix -1.7-1.fc35.i386 --unique-debug-src-base ascii-patrol-1.7-1.fc35.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ascii-patrol-1.7 extracting debug info from /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/bin/asciipat original debug info size: 800kB, size after compression: 728kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3564 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ascii-patrol-1.7-1.fc35.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pURHLc + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-1.7 + DOCDIR=/builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/share/doc/ascii-patrol + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/share/doc/ascii-patrol + cp -pr README.md /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/share/doc/ascii-patrol + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.U3Yb7p + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-1.7 + LICENSEDIR=/builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/share/licenses/ascii-patrol + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/share/licenses/ascii-patrol + cp -pr LICENSE /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386/usr/share/licenses/ascii-patrol + RPM_EC=0 ++ jobs -p + exit 0 Provides: ascii-patrol = 1.7-1.fc35 ascii-patrol(x86-32) = 1.7-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6 libXi.so.6 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.27) libm.so.6(GLIBC_2.29) libpulse.so.0 libpulse.so.0(PULSE_0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.8) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: ascii-patrol-debugsource-1.7-1.fc35.i686 Provides: ascii-patrol-debugsource = 1.7-1.fc35 ascii-patrol-debugsource(x86-32) = 1.7-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ascii-patrol-debuginfo-1.7-1.fc35.i686 Provides: ascii-patrol-debuginfo = 1.7-1.fc35 ascii-patrol-debuginfo(x86-32) = 1.7-1.fc35 debuginfo(build-id) = 97b63ba8ae9e2a2cb7ed6f2c8fdd2ac9e86afe83 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ascii-patrol-debugsource(x86-32) = 1.7-1.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386 Wrote: /builddir/build/RPMS/ascii-patrol-debuginfo-1.7-1.fc35.i686.rpm Wrote: /builddir/build/RPMS/ascii-patrol-1.7-1.fc35.i686.rpm Wrote: /builddir/build/RPMS/ascii-patrol-debugsource-1.7-1.fc35.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.u7j3SI + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ascii-patrol-1.7-1.fc35.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0