Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ascii-patrol.spec'], chrootPath='/var/lib/mock/906229-fedora-rawhide-ppc64le-1557319531.166333/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxu8kgkz:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxu8kgkz:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '20ecb95cec3d4a20ba6ff7dfe5d5407d', '-D', '/var/lib/mock/906229-fedora-rawhide-ppc64le-1557319531.166333/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxu8kgkz:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/ascii-patrol-1.4-1.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ascii-patrol.spec'], chrootPath='/var/lib/mock/906229-fedora-rawhide-ppc64le-1557319531.166333/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxu8kgkz:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxu8kgkz:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b3ab2c2e6c8b438992748b0f95eb84eb', '-D', '/var/lib/mock/906229-fedora-rawhide-ppc64le-1557319531.166333/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxu8kgkz:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pAPzav + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + /usr/bin/gzip -dc /builddir/build/SOURCES/ascii-patrol-1.4-ea28c44.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + /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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JGV4pt + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j2 Building dependencies... g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o manual.o manual.cpp BUILDSTDERR: In file included from manual.cpp:3: BUILDSTDERR: manual.h: In constructor 'MANUAL::MANUAL(const ASSET*, char, unsigned char)': BUILDSTDERR: manual.h:13:9: warning: 'MANUAL::man' will be initialized after [-Wreorder] BUILDSTDERR: 13 | SPRITE man; BUILDSTDERR: | ^~~ BUILDSTDERR: manual.cpp:16:29: warning: base 'SCREEN' [-Wreorder] BUILDSTDERR: 16 | SCREEN(43,17,transp,_tcolor) BUILDSTDERR: | ^ BUILDSTDERR: manual.cpp:14:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 14 | MANUAL::MANUAL(const ASSET* a, char transp, unsigned char _tcolor) : BUILDSTDERR: | ^~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o mo3.o mo3.cpp g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o unmo3.o unmo3.cpp BUILDSTDERR: unmo3.cpp: In function 'bool OpenSong(SONG*)': BUILDSTDERR: unmo3.cpp:275:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 275 | if (len != sample_data[i]->size) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unmo3.cpp:277:10: warning: unused variable 'a' [-Wunused-variable] BUILDSTDERR: 277 | int a=0; BUILDSTDERR: | ^ BUILDSTDERR: unmo3.cpp:295:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 295 | if (len != sample_data[i]->size) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unmo3.cpp:297:10: warning: unused variable 'a' [-Wunused-variable] BUILDSTDERR: 297 | int a=0; BUILDSTDERR: | ^ BUILDSTDERR: unmo3.cpp: In member function 'void XMPlayer::Tck()': BUILDSTDERR: unmo3.cpp:651:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 651 | if (cmd_sync==0 || cmd_sync==1 && row+1 == GET_WORD(song.pattern_len+pattern)) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unmo3.cpp: In member function 'void XMPlayer::Cmd(int, unsigned char*, int)': BUILDSTDERR: unmo3.cpp:1045:9: warning: unused variable 'a' [-Wunused-variable] BUILDSTDERR: 1045 | int a=0; BUILDSTDERR: | ^ BUILDSTDERR: unmo3.cpp: In member function 'void XMPlayer::Mix(int, int, short int*, int)': BUILDSTDERR: unmo3.cpp:1065:6: warning: variable 'fade_samples' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1065 | int fade_samples = MIN(tick_samples, frq/20); // Min(20ms, 50ms) BUILDSTDERR: | ^~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o conf.o conf.cpp g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o gameover.o gameover.cpp BUILDSTDERR: In file included from gameover.cpp:8: BUILDSTDERR: gameover.h: In constructor 'GAMEOVER_MODAL::GAMEOVER_MODAL(SCREEN*, int*, const LEVEL*)': BUILDSTDERR: gameover.h:27:9: warning: 'GAMEOVER_MODAL::bk' will be initialized after [-Wreorder] BUILDSTDERR: 27 | SPRITE bk; BUILDSTDERR: | ^~ BUILDSTDERR: gameover.h:25:9: warning: 'SPRITE GAMEOVER_MODAL::bk2' [-Wreorder] BUILDSTDERR: 25 | SPRITE bk2; BUILDSTDERR: | ^~~ BUILDSTDERR: gameover.cpp:23:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 23 | GAMEOVER_MODAL::GAMEOVER_MODAL(SCREEN* _s, int* _score, const LEVEL* _level) : BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: gameover.cpp: In member function 'virtual int GAMEOVER_MODAL::Run()': BUILDSTDERR: gameover.cpp:158:6: warning: unused variable 'tm_y' [-Wunused-variable] BUILDSTDERR: 158 | int tm_y = 0, tm_h = 10; BUILDSTDERR: | ^~~~ BUILDSTDERR: gameover.cpp:158:17: warning: unused variable 'tm_h' [-Wunused-variable] BUILDSTDERR: 158 | int tm_y = 0, tm_h = 10; BUILDSTDERR: | ^~~~ BUILDSTDERR: gameover.cpp:159:17: warning: unused variable 'bk_h' [-Wunused-variable] BUILDSTDERR: 159 | int bk_y = 10, bk_h = 20; BUILDSTDERR: | ^~~~ BUILDSTDERR: gameover.cpp:160:17: warning: unused variable 'fg_h' [-Wunused-variable] BUILDSTDERR: 160 | int fg_y = 30, fg_h = 10; BUILDSTDERR: | ^~~~ BUILDSTDERR: gameover.cpp:161:6: warning: unused variable 'bm_y' [-Wunused-variable] BUILDSTDERR: 161 | int bm_y = 40, bm_h = 10; BUILDSTDERR: | ^~~~ BUILDSTDERR: gameover.cpp:161:17: warning: unused variable 'bm_h' [-Wunused-variable] BUILDSTDERR: 161 | int bm_y = 40, bm_h = 10; BUILDSTDERR: | ^~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o inter.o inter.cpp BUILDSTDERR: inter.cpp: In member function 'void PERF::Paint(SCREEN*, int, int, int)': BUILDSTDERR: inter.cpp:230:7: warning: variable 'minlen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 230 | int minlen; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: inter.cpp:137:6: warning: unused variable 'h' [-Wunused-variable] BUILDSTDERR: 137 | int h=15; BUILDSTDERR: | ^ BUILDSTDERR: inter.cpp: In member function 'void DLG::Start(const char*, long unsigned int)': BUILDSTDERR: inter.cpp:431:9: warning: unused variable 'a' [-Wunused-variable] BUILDSTDERR: 431 | int a=0; BUILDSTDERR: | ^ BUILDSTDERR: In file included from inter.cpp:8: BUILDSTDERR: inter.h: In constructor 'INTER_MODAL::INTER_MODAL(SCREEN*, int, int, int*, const char*, const LEVEL*, int, int, int)': BUILDSTDERR: inter.h:99:9: warning: 'INTER_MODAL::bkgnd' will be initialized after [-Wreorder] BUILDSTDERR: 99 | SPRITE bkgnd; BUILDSTDERR: | ^~~~~ BUILDSTDERR: inter.h:80:7: warning: 'PERF INTER_MODAL::perf_clear' [-Wreorder] BUILDSTDERR: 80 | PERF perf_clear; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: inter.cpp:664:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 664 | INTER_MODAL::INTER_MODAL(SCREEN* _s, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: inter.cpp: In member function 'virtual int INTER_MODAL::Run()': BUILDSTDERR: inter.cpp:806:13: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 806 | t-phase_t-0, BUILDSTDERR: | ~~~~~~~~~^~ BUILDSTDERR: inter.cpp:807:13: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 807 | t-phase_t-0, BUILDSTDERR: | ~~~~~~~~~^~ BUILDSTDERR: inter.cpp:808:13: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 808 | t-phase_t-0, BUILDSTDERR: | ~~~~~~~~~^~ BUILDSTDERR: inter.cpp:809:13: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 0)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 809 | t-phase_t-0, BUILDSTDERR: | ~~~~~~~~~^~ BUILDSTDERR: inter.cpp:1003:6: warning: narrowing conversion of '(t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 1003 | t-phase_t, BUILDSTDERR: | ~^~~~~~~~ BUILDSTDERR: inter.cpp:1004:14: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 200)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 1004 | t-phase_t-200, BUILDSTDERR: | ~~~~~~~~~^~~~ BUILDSTDERR: inter.cpp:1005:14: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 100)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 1005 | t-phase_t-100, BUILDSTDERR: | ~~~~~~~~~^~~~ BUILDSTDERR: inter.cpp:1006:14: warning: narrowing conversion of '((t - ((INTER_MODAL*)this)->INTER_MODAL::phase_t) - 300)' from 'long unsigned int' to 'int' [-Wnarrowing] BUILDSTDERR: 1006 | t-phase_t-300, BUILDSTDERR: | ~~~~~~~~~^~~~ BUILDSTDERR: inter.cpp:1000:8: warning: unused variable 'duration' [-Wunused-variable] BUILDSTDERR: 1000 | int duration = 800; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from game.h:5, BUILDSTDERR: from inter.h:5, BUILDSTDERR: from inter.cpp:8: BUILDSTDERR: inter.cpp: In member function 'void PERF::Paint(SCREEN*, int, int, int)': BUILDSTDERR: inter.cpp:156:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 156 | vallen = sprintf_s(valstr,10,"%d:%02d",val/60000,(val/1000)%60); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: inter.cpp:156:40: note: format string is defined here BUILDSTDERR: 156 | vallen = sprintf_s(valstr,10,"%d:%02d",val/60000,(val/1000)%60); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from inter.cpp:3: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from game.h:5, BUILDSTDERR: from inter.h:5, BUILDSTDERR: from inter.cpp:8: BUILDSTDERR: inter.cpp:241:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 241 | minlen = sprintf_s(minstr,10,"%d:%02d",minval/60000,(minval/1000)%60); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: inter.cpp:241:41: note: format string is defined here BUILDSTDERR: 241 | minlen = sprintf_s(minstr,10,"%d:%02d",minval/60000,(minval/1000)%60); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from inter.cpp:3: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from game.h:5, BUILDSTDERR: from inter.h:5, BUILDSTDERR: from inter.cpp:8: BUILDSTDERR: inter.cpp:242:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 242 | maxlen = sprintf_s(maxstr,10,"%d:%02d",maxval/60000,(maxval/1000)%60); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: inter.cpp:242:41: note: format string is defined here BUILDSTDERR: 242 | maxlen = sprintf_s(maxstr,10,"%d:%02d",maxval/60000,(maxval/1000)%60); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from inter.cpp:3: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: inter.cpp:252:14: warning: 'maxlen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 252 | inter_print(s, x+w-1-maxlen,y+9, maxstr, 0x07); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o twister.o twister.cpp g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o stb_vorbis.o stb_vorbis.cpp BUILDSTDERR: stb_vorbis.cpp: In function 'void decode_residue(vorb*, float**, int, int, int, uint8*)': BUILDSTDERR: stb_vorbis.cpp:898:41: warning: statement has no effect [-Wunused-value] BUILDSTDERR: 898 | #define temp_free(f,p) 0 BUILDSTDERR: | ^ BUILDSTDERR: stb_vorbis.cpp:2268:4: note: in expansion of macro 'temp_free' BUILDSTDERR: 2268 | temp_free(f,part_classdata); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: stb_vorbis.cpp: In function 'void inverse_mdct(float*, int, vorb*, int)': BUILDSTDERR: stb_vorbis.cpp:898:41: warning: statement has no effect [-Wunused-value] BUILDSTDERR: 898 | #define temp_free(f,p) 0 BUILDSTDERR: | ^ BUILDSTDERR: stb_vorbis.cpp:2917:4: note: in expansion of macro 'temp_free' BUILDSTDERR: 2917 | temp_free(f,buf2); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: stb_vorbis.cpp: In function 'int stb_vorbis_seek_frame(stb_vorbis*, unsigned int)': BUILDSTDERR: stb_vorbis.cpp:4651:23: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 4651 | offset += error * 2; BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: stb_vorbis.cpp:4599:11: note: 'offset' was declared here BUILDSTDERR: 4599 | double offset, bytes_per_sample; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: stb_vorbis.cpp:4648:23: warning: 'bytes_per_sample' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 4648 | double error = ((double) sample_number - mid.last_decoded_sample) * bytes_per_sample; BUILDSTDERR: | ^~~~~ BUILDSTDERR: stb_vorbis.cpp:4599:19: note: 'bytes_per_sample' was declared here BUILDSTDERR: 4599 | double offset, bytes_per_sample; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: stb_vorbis.cpp: In function 'stb_vorbis* stb_vorbis_open_memory(const unsigned char*, int, int*, const stb_vorbis_alloc*)': BUILDSTDERR: stb_vorbis.cpp:3930:32: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 3930 | g->neighbors[j][1] = hi; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: stb_vorbis.cpp:3927:21: note: 'hi' was declared here BUILDSTDERR: 3927 | int low,hi; BUILDSTDERR: | ^~ BUILDSTDERR: stb_vorbis.cpp:3929:32: warning: 'low' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 3929 | g->neighbors[j][0] = low; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: stb_vorbis.cpp:3927:17: note: 'low' was declared here BUILDSTDERR: 3927 | int low,hi; BUILDSTDERR: | ^~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o temp.o temp.cpp BUILDSTDERR: temp.cpp: In member function 'virtual int CAMPAIGN_MODAL::Run()': BUILDSTDERR: temp.cpp:871:20: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] BUILDSTDERR: 871 | twister_rand(), BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: temp.cpp:872:20: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] BUILDSTDERR: 872 | twister_rand(), BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: temp.cpp:874:20: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] BUILDSTDERR: 874 | twister_rand(), BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: temp.cpp:875:20: warning: narrowing conversion of 'twister_rand()' from 'int' to 'unsigned int' [-Wnarrowing] BUILDSTDERR: 875 | twister_rand() BUILDSTDERR: | ~~~~~~~~~~~~^~ BUILDSTDERR: temp.cpp: In function 'int FREAD(void*, int, int, FILE*)': BUILDSTDERR: temp.cpp:1536:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 1536 | if ( fread(buf,siz,cnt,fil) != cnt ) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: temp.cpp: In function 'int main(int, char**)': BUILDSTDERR: temp.cpp:2154:8: warning: unused variable 'prefix_args' [-Wunused-variable] BUILDSTDERR: 2154 | int prefix_args = terminal_init(0,0,&cols,&rows); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: temp.cpp:2178:6: warning: unused variable 'prefix_args' [-Wunused-variable] BUILDSTDERR: 2178 | int prefix_args = terminal_init(0,0,&cols,&rows); BUILDSTDERR: | ^~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o game.o game.cpp BUILDSTDERR: game.cpp:1368:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 1368 | cookie='scor'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2056:23: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2056 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2115:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2115 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2115:43: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2115 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2115:66: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2115 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2121:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2121 | if (spr->cookie=='h1' || spr->cookie=='h2' || spr->cookie=='h3') BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2121:41: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2121 | if (spr->cookie=='h1' || spr->cookie=='h2' || spr->cookie=='h3') BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2121:62: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2121 | if (spr->cookie=='h1' || spr->cookie=='h2' || spr->cookie=='h3') BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2181:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2181 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2216:16: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2216 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2247:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2247 | if (spr->cookie=='poof' || spr->cookie=='scor') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2247:43: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2247 | if (spr->cookie=='poof' || spr->cookie=='scor') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2338:18: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2338 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2363:18: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2363 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2418:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2418 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2418:43: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2418 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2418:66: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2418 | if (spr->cookie=='scor' || spr->cookie=='poof' || spr->cookie=='base') BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2488:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2488 | int h0 = 'h0'; BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2489:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2489 | int b0 = 'b0'; BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2494:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2494 | case 'h1': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2495:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2495 | case 'h2': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2512:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2512 | case 'h3': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2534:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2534 | case 'b1': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2535:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2535 | case 'b2': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2536:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2536 | case 'b3': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2550:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2550 | case 'b4': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2563:16: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2563 | b2->cookie='b2'; BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2637:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2637 | case 'tb': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2860:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2860 | case 'b1': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2861:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2861 | case 'b2': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2862:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2862 | case 'b3': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2863:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2863 | case 'b4': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:2864:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2864 | case 'poof': BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2873:21: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2873 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2906:16: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2906 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2946:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2946 | case 'scor': BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:2953:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 2953 | case 'poof': BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:3045:19: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3045 | spr->cookie='poof'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:3195:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3195 | case 'base': BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:3201:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3201 | case 'poof': BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:3227:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3227 | case 'scor': BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:3248:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3248 | case 'b1': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:3249:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3249 | case 'b2': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:3250:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3250 | case 'b3': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:3251:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3251 | case 'b4': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:3314:18: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3314 | tb->cookie='tb'; BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:3328:9: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3328 | case 'tb': BUILDSTDERR: | ^~~~ BUILDSTDERR: game.cpp:3690:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3690 | spr->cookie='chkp'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp:3705:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 3705 | spr->cookie='base'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: game.cpp: In member function 'virtual void SCREEN::Paint(SCREEN*, int, int, int, int, int, int, bool)': BUILDSTDERR: game.cpp:1118:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1118 | if (over!='_' && over!=',' && over!='.' || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: game.cpp: In member function 'virtual void SPRITE::Paint(SCREEN*, int, int, int, int, int, int, char, bool)': BUILDSTDERR: game.cpp:1464:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1464 | over!='_' && over!=',' && over!='.' || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: game.cpp: In member function 'virtual void SCROLL::Paint(SCREEN*, int, int, int, int, int, int, bool)': BUILDSTDERR: game.cpp:1593:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1593 | if (over!='_' && over!=',' && over!='.' || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: game.cpp:1611:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1611 | if (over!='_' && over!=',' && over!='.' || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: game.cpp: In constructor 'TERRAIN::TERRAIN(int, int, int, unsigned char, const char*, const char*, char*, char, char, int)': BUILDSTDERR: game.cpp:1915:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1915 | scroll = check_point[_start_point] - 21; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: game.cpp: In member function 'void TERRAIN::AnimateSprites(int, int, bool)': BUILDSTDERR: game.cpp:2821:9: warning: unused variable 'prv' [-Wunused-variable] BUILDSTDERR: 2821 | int prv=data[ileft]; BUILDSTDERR: | ^~~ BUILDSTDERR: game.cpp:3115:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3114 | spr->cookie_data[2] != -spr->width && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 3115 | spr->cookie_data[2] != w && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 3116 | spr->cookie_data[3] != -spr->height ) ) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:3124:53: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 3124 | if (!expl && spr->cookie_data[0]<=fr && bullets= t.check_points && t.check_points>1) // ACC BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:4563:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 4563 | if (record_mode!='X' && record_mode!='R' || rec_show>0) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:4679:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 4679 | if (fr<1000 && (lives == start_lives || expl>=0 && lives+1 == start_lives)) BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:4784:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 4784 | if (record_mode!='X' && record_mode!='R' || rec_show>0) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp: In destructor 'virtual LEVEL_MODAL::~LEVEL_MODAL()': BUILDSTDERR: game.cpp:5194:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 5194 | if (rec_len<=sizeof(rec_buf)) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp: In member function 'void LEVEL_MODAL::rec_write(unsigned char)': BUILDSTDERR: game.cpp:5406:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 5406 | if (rec_lenmodule[i].dbl && mw->module[i].col == mw->module[j].col-1 || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:744:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 744 | if (!mw->module[j].dbl && mw->module[i].col == mw->module[j].col+1 || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp: In static member function 'static void ControlProc(MODULE*, int, void*, void*)::ControlData::PaintSld(CON_OUTPUT*, int, int, int, int, int, int*)': BUILDSTDERR: menu.cpp:832:8: warning: unused variable 'fill' [-Wunused-variable] BUILDSTDERR: 832 | int fill = w-4; BUILDSTDERR: | ^~~~ BUILDSTDERR: menu.cpp: In function 'int ControlProc(MODULE*, int, void*, void*)': BUILDSTDERR: menu.cpp:876:8: warning: unused variable 'f' [-Wunused-variable] BUILDSTDERR: 876 | int f = *(int*)p1; BUILDSTDERR: | ^ BUILDSTDERR: menu.cpp: In function 'int ScoreProc(MODULE*, int, void*, void*)': BUILDSTDERR: menu.cpp:1122:8: warning: unused variable 'f' [-Wunused-variable] BUILDSTDERR: 1122 | int f = *(int*)p1; BUILDSTDERR: | ^ BUILDSTDERR: menu.cpp: In function 'int CampaignProc(MODULE*, int, void*, void*)': BUILDSTDERR: menu.cpp:2475:10: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: 2475 | int len = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: menu.cpp:2646:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2646 | if (i==data.course && data.anim_y>0 || i==data.course+1 && data.anim_y<0) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2672:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2672 | if (i==data.course || i==data.course-1 && data.anim_y>0 || i==data.course+1 && data.anim_y<0) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2672:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2672 | if (i==data.course || i==data.course-1 && data.anim_y>0 || i==data.course+1 && data.anim_y<0) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2693:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2693 | if (i==data.course && data.anim_y>0 || i==data.course+1 && data.anim_y<0) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp: In function 'int KeyboardProc(MODULE*, int, void*, void*)': BUILDSTDERR: menu.cpp:2943:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2943 | if (c>='0' && c<='9' || BUILDSTDERR: | ~~~~~~~^~~~~~~~~ BUILDSTDERR: menu.cpp:2888:21: warning: unused variable 'syskey' [-Wunused-variable] BUILDSTDERR: 2888 | const static char* syskey[6]= BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu.cpp: In function 'void PostPaint(CON_OUTPUT*)': BUILDSTDERR: menu.cpp:3222:10: warning: unused variable 'mw' [-Wunused-variable] BUILDSTDERR: 3222 | WINDOW* mw = &menu_window; BUILDSTDERR: | ^~ BUILDSTDERR: menu.cpp: In function 'int RunMenu(CON_OUTPUT*)': BUILDSTDERR: menu.cpp:3593:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3593 | if (mw->state || !mw->focus->upper && !mw->focus->upper2) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:3629:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3629 | if (mw->state || !mw->focus->lower && !mw->focus->lower2) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:3469:8: warning: unused variable 'hit' [-Wunused-variable] BUILDSTDERR: 3469 | bool hit = false; BUILDSTDERR: | ^~~ BUILDSTDERR: menu.cpp: At global scope: BUILDSTDERR: menu.cpp:2888:21: warning: 'syskey' defined but not used [-Wunused-variable] BUILDSTDERR: 2888 | const static char* syskey[6]= BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from game.h:5, BUILDSTDERR: from menu.cpp:10: BUILDSTDERR: menu.cpp: In function 'int ScoreProc(MODULE*, int, void*, void*)': BUILDSTDERR: menu.cpp:1178:22: warning: '%8d' directive writing between 8 and 11 bytes into a region of size 10 [-Wformat-overflow=] BUILDSTDERR: 1178 | sprintf_s(str,10,"%8d ",rank); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu.cpp:1178:23: note: format string is defined here BUILDSTDERR: 1178 | sprintf_s(str,10,"%8d ",rank); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from game.h:5, BUILDSTDERR: from menu.cpp:10: BUILDSTDERR: menu.cpp:1178:22: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: 1178 | sprintf_s(str,10,"%8d ",rank); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from menu.cpp:4: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 10 and 13 bytes into a destination of size 10 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o spec_web.o spec_web.cpp g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D NIX -o spec_nix.o spec_nix.cpp BUILDSTDERR: spec_nix.cpp:237:8: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:13: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:18: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:23: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:28: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:33: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:38: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:43: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:48: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:53: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:58: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:237:63: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 237 | 0,27,'!1','@2','#3','$4','%5','^6','&7','*8','(9',')0','_-','+=',8, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:10: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:15: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:20: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:25: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:30: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:35: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:40: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:45: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:50: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:55: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:60: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:238:65: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 238 | '\t','Qq','Ww','Ee','Rr','Tt','Yy','Uu','Ii','Oo','Pp','{[','}]',13, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:12: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:17: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:22: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:27: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:32: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:37: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:42: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:47: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:52: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:57: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:239:62: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 239 | 0,'Aa','Ss','Dd','Ff','Gg','Hh','Jj','Kk','Ll',':;','\"\'', BUILDSTDERR: | ^~~~~~ BUILDSTDERR: spec_nix.cpp:240:4: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:11: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~~ BUILDSTDERR: spec_nix.cpp:240:17: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:22: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:27: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:32: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:37: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:42: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:47: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:52: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:57: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp:240:62: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: 240 | '~`',0,'|\\','Zz','Xx','Cc','Vv','Bb','Nn','Mm','<,','>.','?/',0, BUILDSTDERR: | ^~~~ BUILDSTDERR: spec_nix.cpp: In function 'int screen_write(CON_OUTPUT*, int, int, int, int, int, int)': BUILDSTDERR: spec_nix.cpp:999:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 999 | if (color[(w+1)*y+x]!=cl || x==sw && y==j-1) BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: spec_nix.cpp:1049:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1049 | if (color[(w+1)*y+x]!=cl || x==sw && y==sh-1) BUILDSTDERR: | ~~~~~~^~~~~~~~~~ BUILDSTDERR: spec_nix.cpp: In function 'void audio_context_state_cb(pa_context*, void*)': BUILDSTDERR: spec_nix.cpp:1672:9: warning: enumeration value 'PA_CONTEXT_UNCONNECTED' not handled in switch [-Wswitch] BUILDSTDERR: 1672 | switch (pa_context_get_state(c)) BUILDSTDERR: | ^ BUILDSTDERR: spec_nix.cpp: At global scope: BUILDSTDERR: spec_nix.cpp:693:12: warning: 'int ansi_set_color_rgb(int, int)' defined but not used [-Wunused-function] BUILDSTDERR: 693 | static int ansi_set_color_rgb(int fg, int bg) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: spec_nix.cpp:677:12: warning: 'int ansi_set_color(int, int)' defined but not used [-Wunused-function] BUILDSTDERR: 677 | static int ansi_set_color(int fg, int bg) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from spec_nix.cpp:56: BUILDSTDERR: spec_nix.cpp: In function 'void get_hiscore(int, const char*)': BUILDSTDERR: spec_nix.cpp:1317:4: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] BUILDSTDERR: 1317 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d&id=%s\" 2>/dev/null" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1318 | ,path,ofs+1,id); BUILDSTDERR: | ~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: spec_nix.cpp:1317:24: note: format string is defined here BUILDSTDERR: 1317 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d&id=%s\" 2>/dev/null" BUILDSTDERR: | ^~ BUILDSTDERR: In file included from spec_nix.cpp:56: BUILDSTDERR: spec_nix.cpp:1317:4: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: 1317 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d&id=%s\" 2>/dev/null" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spec_nix.cpp:33: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 78 or more bytes (assuming 1111) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from spec_nix.cpp:56: BUILDSTDERR: spec_nix.cpp:1323:4: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] BUILDSTDERR: 1323 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d\" 2>/dev/null" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1324 | ,path,ofs+1); BUILDSTDERR: | ~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: spec_nix.cpp:1323:24: note: format string is defined here BUILDSTDERR: 1323 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d\" 2>/dev/null" BUILDSTDERR: | ^~ BUILDSTDERR: In file included from spec_nix.cpp:56: BUILDSTDERR: spec_nix.cpp:1323:4: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: 1323 | "curl --silent -o \"%s\" \"http://ascii-patrol.com/rank.php?rank=%d\" 2>/dev/null" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spec_nix.cpp:33: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 74 and 1107 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from spec_nix.cpp:56: BUILDSTDERR: spec_nix.cpp: In function 'void post_hiscore()': BUILDSTDERR: spec_nix.cpp:1340:3: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] BUILDSTDERR: 1340 | "curl --silent -o \"%s\" -F \"rec=@%s\" \"http://ascii-patrol.com/rank.php\" 2>/dev/null" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1341 | ,path, BUILDSTDERR: | ~~~~ BUILDSTDERR: spec.h:83:45: note: in definition of macro 'sprintf_s' BUILDSTDERR: 83 | #define sprintf_s(dst,size,...) sprintf(dst,__VA_ARGS__) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: spec_nix.cpp:1340:23: note: format string is defined here BUILDSTDERR: 1340 | "curl --silent -o \"%s\" -F \"rec=@%s\" \"http://ascii-patrol.com/rank.php\" 2>/dev/null" BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spec_nix.cpp:33: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 78 and 2124 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o asciipat -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aqSwbx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le + cd ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + install -d /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/bin + install -m 755 asciipat /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.4-1.fc31 --unique-debug-suffix -1.4-1.fc31.ppc64le --unique-debug-src-base ascii-patrol-1.4-1.fc31.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/bin/asciipat extracting debug info from /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/bin/asciipat /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 3302 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ascii-patrol-1.4-1.fc31.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J8WQYs + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + DOCDIR=/builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/share/doc/ascii-patrol + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/share/doc/ascii-patrol + cp -pr README.md /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/share/doc/ascii-patrol + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nT2ZZt + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + LICENSEDIR=/builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/share/licenses/ascii-patrol + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/share/licenses/ascii-patrol + cp -pr LICENSE /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le/usr/share/licenses/ascii-patrol + exit 0 Provides: ascii-patrol = 1.4-1.fc31 ascii-patrol(ppc-64) = 1.4-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXi.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libpulse.so.0()(64bit) libpulse.so.0(PULSE_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: ascii-patrol-debugsource-1.4-1.fc31.ppc64le Provides: ascii-patrol-debugsource = 1.4-1.fc31 ascii-patrol-debugsource(ppc-64) = 1.4-1.fc31 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.4-1.fc31.ppc64le Provides: ascii-patrol-debuginfo = 1.4-1.fc31 ascii-patrol-debuginfo(ppc-64) = 1.4-1.fc31 debuginfo(build-id) = 48cf4ff55f38dd524758389e9634b9c819cb9984 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ascii-patrol-debugsource(ppc-64) = 1.4-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le Wrote: /builddir/build/RPMS/ascii-patrol-1.4-1.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/ascii-patrol-debugsource-1.4-1.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/ascii-patrol-debuginfo-1.4-1.fc31.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1NM1Nu + umask 022 + cd /builddir/build/BUILD + cd ascii-patrol-ea28c44134a11b451891e4a9bd9391e1d086958c + /usr/bin/rm -rf /builddir/build/BUILDROOT/ascii-patrol-1.4-1.fc31.ppc64le + exit 0 Child return code was: 0