Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/flobopuyo.spec'], chrootPath='/var/lib/mock/f40-build-753924-117443/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/flobopuyo.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'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/flobopuyo-0.20-37.fc40.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flobopuyo.spec'], chrootPath='/var/lib/mock/f40-build-753924-117443/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flobopuyo.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'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OvOSi2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flobopuyo-0.20 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flobopuyo-0.20.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd flobopuyo-0.20 + rm -rf /builddir/build/BUILD/flobopuyo-0.20-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/flobopuyo-0.20-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (flobopuyo-0.20-64bit.patch): + echo 'Patch #0 (flobopuyo-0.20-64bit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file IosVector.cpp patching file PuyoGame.cpp Patch #1 (flobopuyo-0.20-Makefile.patch): + echo 'Patch #1 (flobopuyo-0.20-Makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Patch #2 (flobopuyo-0.20-segfaults.patch): + echo 'Patch #2 (flobopuyo-0.20-segfaults.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file PuyoGame.cpp patching file PuyoGame.h patching file PuyoIA.cpp Patch #3 (flobopuyo-0.20-set_window_title.patch): + echo 'Patch #3 (flobopuyo-0.20-set_window_title.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file PuyoCommander.cpp Patch #4 (flobopuyo-0.20-fix_typo.patch): + echo 'Patch #4 (flobopuyo-0.20-fix_typo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sofont.c + sed -i 's/\r//' COPYING + rm data/sfx/._bi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IPNGaG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flobopuyo-0.20 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX macro + make PREFIX=/usr Compiling with CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR="/usr/share/flobopuyo" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/sw/include -DUSE_AUDIO=1 Compiling with 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c SDL_prim.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ SDL_prim.c: In function ‘void SDL_drawLine_TG(SDL_Surface*, int, int, int, int, Uint32, Uint8, Uint8)’: SDL_prim.c:164:37: warning: variable ‘b2’ set but not used [-Wunused-but-set-variable] 164 | int xaa, yaa, *a, *b, *a2, *b2, da, xd, yd; | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c HiScores.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ bison -y -d -o scenar.y.c scenar.y scenar.y:130.13-18: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 130 | %type STRING | ^~~~~~ scenar.y:131.13-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 131 | %type INTEGER | ^~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c scenar.y.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ scenar.y.c: In function ‘int yyparse()’: scenar.y.c:1337:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1337 | yyerror (YY_("syntax error")); | ^~~~~~~~~~~~~~ scenar.y.c:364:22: note: in definition of macro ‘YY_’ 364 | # define YY_(Msgid) Msgid | ^~~~~ scenar.y.c:1448:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1448 | yyerror (YY_("memory exhausted")); | ^~~~~~~~~~~~~~~~~~ scenar.y.c:364:22: note: in definition of macro ‘YY_’ 364 | # define YY_(Msgid) Msgid | ^~~~~ flex -oscenar.l.c scenar.l g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c scenar.l.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ scenar.l.c:1257:17: warning: ‘void yyunput(int, char*)’ defined but not used [-Wunused-function] 1257 | | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoCommander.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ PuyoCommander.cpp:25:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 25 | char *kYouDidIt = "You Dit It!!!"; | ^~~~~~~~~~~~~~~ PuyoCommander.cpp:26:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 26 | char *kNextLevel = "Next:\t\t"; | ^~~~~~~~~~~ PuyoCommander.cpp:27:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 27 | char *kLooser = "Looser!!!"; | ^~~~~~~~~~~ PuyoCommander.cpp:28:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | char *kCurrentLevel = "Level:\t\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:29:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 29 | char *kContinueLeft = "Continues:\t\t"; | ^~~~~~~~~~~~~~~~ PuyoCommander.cpp:30:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 30 | char *kGameOver = "Game Over!!!"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:31:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 31 | char *kYouGotToLevel = "You Get To "; | ^~~~~~~~~~~~~ PuyoCommander.cpp:32:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 32 | char *kHitActionToContinue = "Hit Action to continue..."; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:33:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 33 | char *kHitActionForMenu = "Hit Action for menu..."; | ^~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:34:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 34 | char *kContinue = "Continue?"; | ^~~~~~~~~~~ PuyoCommander.cpp:35:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 35 | char *kContinueGame= "Continue Game"; | ^~~~~~~~~~~~~~~ PuyoCommander.cpp:36:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 36 | char *kAbortGame = "Abort Game"; | ^~~~~~~~~~~~ PuyoCommander.cpp:37:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 37 | char *kOptions = "Options"; | ^~~~~~~~~ PuyoCommander.cpp:38:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 38 | char *kPlayer = "Player"; | ^~~~~~~~ PuyoCommander.cpp:39:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 39 | char *kScore = "Score:\t"; | ^~~~~~~~~~ PuyoCommander.cpp:40:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 40 | char *kPlayerName = "Player Name:\t"; | ^~~~~~~~~~~~~~~~ PuyoCommander.cpp:41:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 41 | char *kPlayer1Name = "P1 Name:\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:42:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | char *kPlayer2Name = "P2 Name:\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:58:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 58 | char *kHighScores = "Hall of Fame"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:60:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 60 | static char *kMusicVolume = "MusicVolume"; | ^~~~~~~~~~~~~ PuyoCommander.cpp:61:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 61 | static char *kAudioVolume = "AudioVolume"; | ^~~~~~~~~~~~~ PuyoCommander.cpp:63:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 63 | char *kCongratulations = "Congratulations!!!"; | ^~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:64:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 64 | char *kPuyosInvasion = " You stopped Puyo's invasion.\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | " Peace on Earth is restored!!"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:67:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 67 | static char *kAudioFX = "Audio FX\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:68:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 68 | static char *kMusic = "Music\t"; | ^~~~~~~~~ PuyoCommander.cpp:69:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 69 | static char *kFullScreen = "FullScreen\t"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:70:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 70 | static char *kOpenGL = "Use OpenGL\t"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:71:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | static char *kControls = "Change controls..."; | ^~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:72:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | static char *kGameLevel = "Choose Game Level"; | ^~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:73:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | static char *kLevelEasy = "Easy"; | ^~~~~~ PuyoCommander.cpp:74:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | static char *kLevelMedium = "Medium"; | ^~~~~~~~ PuyoCommander.cpp:75:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 75 | static char *kLevelHard = "Hard"; | ^~~~~~ PuyoCommander.cpp:77:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 77 | static char *kPlayer1Left = "P2 Left:\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:78:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 78 | static char *kPlayer1Right = "P2 Right:\t"; | ^~~~~~~~~~~~~ PuyoCommander.cpp:79:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 79 | static char *kPlayer1Down = "P2 Down:\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:80:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 80 | static char *kPlayer1Clockwise = "P2 Turn L:\t"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:81:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 81 | static char *kPlayer1Counterclockwise = "P2 Turn R:\t"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:83:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 83 | static char *kPlayer2Left = "P1 Left:\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:84:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 84 | static char *kPlayer2Right = "P1 Right:\t"; | ^~~~~~~~~~~~~ PuyoCommander.cpp:85:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 85 | static char *kPlayer2Down = "P1 Down:\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:86:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 86 | static char *kPlayer2Clockwise = "P1 Turn L:\t"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:87:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 87 | static char *kPlayer2Counterclockwise = "P1 Turn R:\t"; | ^~~~~~~~~~~~~~ PuyoCommander.cpp:89:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 89 | static char *kRules01 = "Puyos are fancy smiling bubbles..."; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:90:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 90 | static char *kRules02 = "But they can really be invading sometimes!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:91:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 91 | static char *kRules03 = "Send them away by making groups of 4 or more."; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:92:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 92 | static char *kRules04 = "Try to make large groups, or many at the same time"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:93:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 93 | static char *kRules05 = "to send more bad ghost Puyos to your opponent."; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:95:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 95 | static char *kAbout01 = "FloboPuyo is an iOS-software production.\t\t"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:96:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 96 | static char *kAbout02 = "Puyo's world Meta God:\t\t"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:97:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 97 | static char *kAbout03 = "\t\tFlorent 'flobo' Boudet"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:98:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 98 | static char *kAbout04 = "X Men:\t\t"; | ^~~~~~~~~~~~ PuyoCommander.cpp:99:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 99 | static char *kAbout05 = "\t\tJean-Christophe 'jeko' Hoelt"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:100:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 100 | static char *kAbout06 = "\t\tGuillaume 'gyom' Borios"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:101:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 101 | static char *kAbout07 = "Beta Goddess:\t\t"; | ^~~~~~~~~~~~~~~~~~~ PuyoCommander.cpp:102:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 102 | static char *kAbout08 = "\t\tTania"; | ^~~~~~~~~~~ PuyoCommander.cpp:104:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 104 | char *AI_NAMES[] = { "Fanzy", "Garou", "Big Rabbit", "Gizmo", | ^~~~~~~ PuyoCommander.cpp:104:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 104 | char *AI_NAMES[] = { "Fanzy", "Garou", "Big Rabbit", "Gizmo", | ^~~~~~~ PuyoCommander.cpp:104:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 104 | char *AI_NAMES[] = { "Fanzy", "Garou", "Big Rabbit", "Gizmo", | ^~~~~~~~~~~~ PuyoCommander.cpp:104:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 104 | char *AI_NAMES[] = { "Fanzy", "Garou", "Big Rabbit", "Gizmo", | ^~~~~~~ PuyoCommander.cpp:105:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | "Satanas", "Doctor X", "Tanya", "Mr Gyom", | ^~~~~~~~~ PuyoCommander.cpp:105:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | "Satanas", "Doctor X", "Tanya", "Mr Gyom", | ^~~~~~~~~~ PuyoCommander.cpp:105:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | "Satanas", "Doctor X", "Tanya", "Mr Gyom", | ^~~~~~~ PuyoCommander.cpp:105:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | "Satanas", "Doctor X", "Tanya", "Mr Gyom", | ^~~~~~~~~ PuyoCommander.cpp:106:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 106 | "The Duke","Jeko","--------" }; | ^~~~~~~~~~ PuyoCommander.cpp:106:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 106 | "The Duke","Jeko","--------" }; | ^~~~~~ PuyoCommander.cpp:106:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 106 | "The Duke","Jeko","--------" }; | ^~~~~~~~~~ PuyoCommander.cpp: In member function ‘void PuyoCommander::backLoop(Menu*, PuyoDrawable*)’: PuyoCommander.cpp:1031:20: warning: enumeration value ‘kCursorNone’ not handled in switch [-Wswitch] 1031 | switch (controlEvent.cursorEvent) { | ^ PuyoCommander.cpp:1031:20: warning: enumeration value ‘kUp’ not handled in switch [-Wswitch] PuyoCommander.cpp:1031:20: warning: enumeration value ‘kDown’ not handled in switch [-Wswitch] PuyoCommander.cpp:1031:20: warning: enumeration value ‘kLeft’ not handled in switch [-Wswitch] PuyoCommander.cpp:1031:20: warning: enumeration value ‘kRight’ not handled in switch [-Wswitch] PuyoCommander.cpp:1031:20: warning: enumeration value ‘kCursorLastKey’ not handled in switch [-Wswitch] PuyoCommander.cpp: In member function ‘void PuyoCommander::enterStringLoop(Menu*, const char*, char*)’: PuyoCommander.cpp:1069:14: warning: enumeration value ‘kCursorNone’ not handled in switch [-Wswitch] 1069 | switch (controlEvent.cursorEvent) { | ^ PuyoCommander.cpp:1069:14: warning: enumeration value ‘kUp’ not handled in switch [-Wswitch] PuyoCommander.cpp:1069:14: warning: enumeration value ‘kDown’ not handled in switch [-Wswitch] PuyoCommander.cpp:1069:14: warning: enumeration value ‘kLeft’ not handled in switch [-Wswitch] PuyoCommander.cpp:1069:14: warning: enumeration value ‘kRight’ not handled in switch [-Wswitch] PuyoCommander.cpp:1069:14: warning: enumeration value ‘kCursorLastKey’ not handled in switch [-Wswitch] PuyoCommander.cpp: In member function ‘void PuyoCommander::startTwoPlayerGameLoop()’: PuyoCommander.cpp:1139:16: warning: enumeration value ‘kCursorNone’ not handled in switch [-Wswitch] 1139 | switch (controlEvent.cursorEvent) { | ^ PuyoCommander.cpp:1139:16: warning: enumeration value ‘kLeft’ not handled in switch [-Wswitch] PuyoCommander.cpp:1139:16: warning: enumeration value ‘kRight’ not handled in switch [-Wswitch] PuyoCommander.cpp:1139:16: warning: enumeration value ‘kCursorLastKey’ not handled in switch [-Wswitch] PuyoCommander.cpp: In member function ‘void PuyoCommander::startSingleGameLoop()’: PuyoCommander.cpp:1222:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1222 | defaultName = "Player"; | ^~~~~~~~ PuyoCommander.cpp:1224:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1224 | defaultName = "Player"; | ^~~~~~~~ PuyoCommander.cpp:1241:16: warning: enumeration value ‘kCursorNone’ not handled in switch [-Wswitch] 1241 | switch (controlEvent.cursorEvent) { | ^ PuyoCommander.cpp:1241:16: warning: enumeration value ‘kLeft’ not handled in switch [-Wswitch] PuyoCommander.cpp:1241:16: warning: enumeration value ‘kRight’ not handled in switch [-Wswitch] PuyoCommander.cpp:1241:16: warning: enumeration value ‘kCursorLastKey’ not handled in switch [-Wswitch] g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c IosException.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c IosVector.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ IosVector.cpp: In member function ‘void* IosVector::getElementAt(int) const’: IosVector.cpp:56:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 56 | throw new Exception("Vector index out of bounds"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ IosVector.cpp: In member function ‘void IosVector::removeElementAt(int)’: IosVector.cpp:63:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 63 | throw new Exception("Vector index out of bounds"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ IosVector.cpp: In member function ‘void IosVector::dumpVector() const’: IosVector.cpp:105:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] 105 | fprintf(stderr, "elt[%ld]=%ld ", i, (long)getElementAt(i)); | ~~^ ~ | | | | long int int | %d g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c main.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ main.cpp:13:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 13 | char *dataFolder = "data"; | ^~~~~~ main.cpp: In function ‘int main(int, char**)’: main.cpp:89:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 89 | if (!fileExists("data/gfx/v0.png")) { | ^~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] main.cpp:90:22: note: in expansion of macro ‘DATADIR’ 90 | dataFolder = DATADIR; | ^~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoGame.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ PuyoGame.cpp: In member function ‘PuyoState PuyoRandomSystem::getPuyoForSequence(int)’: PuyoGame.cpp:44:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 44 | sequenceItems.addElement((void *)newItem); | ^~~~~~~~~~~~~~~ PuyoGame.cpp: In member function ‘void PuyoGame::cycle()’: PuyoGame.cpp:159:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 159 | if ((fallingY >= 0)&&(getPuyoCellAt(fallingX, fallingY+1) > PUYO_EMPTY) || (getPuyoCellAt(getFallingCompanionX(), getFallingCompanionY()+1) > PUYO_EMPTY)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PuyoGame.cpp: In member function ‘void PuyoGame::cycleEnding()’: PuyoGame.cpp:666:14: warning: unused variable ‘cmpt’ [-Wunused-variable] 666 | static int cmpt = 0; | ^~~~ PuyoGame.cpp: In member function ‘PuyoState PuyoPuyo::getPuyoState()’: PuyoGame.cpp:64:5: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 64 | if (this != NULL) | ^~ PuyoGame.cpp: In member function ‘void PuyoPuyo::setPuyoState(PuyoState)’: PuyoGame.cpp:71:3: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 71 | if (this != NULL) | ^~ PuyoGame.cpp: In member function ‘int PuyoPuyo::getPuyoX() const’: PuyoGame.cpp:77:3: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 77 | if (this != NULL) | ^~ PuyoGame.cpp: In member function ‘int PuyoPuyo::getPuyoY() const’: PuyoGame.cpp:84:3: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 84 | if (this != NULL) | ^~ PuyoGame.cpp: In member function ‘void PuyoPuyo::setPuyoXY(int, int)’: PuyoGame.cpp:91:3: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 91 | if (this != NULL) | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoVersion.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ PuyoVersion.c:28:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | char *kVersion = "Version " FLOBOPUYOVERSION; | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoView.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ PuyoView.cpp: In member function ‘void PuyoView::cycleAnimation()’: PuyoView.cpp:214:13: warning: deleting object of abstract class type ‘PuyoAnimation’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 214 | delete currentAnimation; | ^~~~~~~~~~~~~~~~~~~~~~~ PuyoView.cpp: In member function ‘virtual void PuyoView::gameDidAddNeutral(PuyoPuyo*, int)’: PuyoView.cpp:366:9: warning: unused variable ‘x’ [-Wunused-variable] 366 | int x = neutralPuyo->getPuyoX(); | ^ PuyoView.cpp:367:9: warning: unused variable ‘y’ [-Wunused-variable] 367 | int y = neutralPuyo->getPuyoY(); | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoAnimations.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ PuyoAnimations.cpp: In constructor ‘NeutralAnimation::NeutralAnimation(AnimatedPuyo&, int)’: PuyoAnimations.cpp:63:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 63 | if (neutral == NULL) | ^~ PuyoAnimations.cpp:65:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 65 | this->X = attachedPuyo.getScreenCoordinateX(); | ^~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c AnimatedPuyo.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ AnimatedPuyo.cpp: In member function ‘void AnimatedPuyo::removeCurrentAnimation()’: AnimatedPuyo.cpp:62:5: warning: deleting object of abstract class type ‘PuyoAnimation’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 62 | delete (PuyoAnimation *)animationQueue.getElementAt(0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoIA.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c sofont.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c menu.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ menu.c: In function ‘int menu_progress_bar(Menu*, const char*, int)’: menu.c:345:24: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 345 | sprintf (nval, "%d %%", value); | ^ In file included from /usr/include/stdio.h:980, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from glSDL.h:19, from menuitems.h:8, from menu.h:6, from menu.c:3: In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘int menu_progress_bar(Menu*, const char*, int)’ at menu.c:345:11: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 4 and 6 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c menuitems.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c audio.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ audio.c:22:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 22 | { "flobopuyo_menu.xm", "flobopuyo_game1.xm", "flobopuyo_game2.xm", "flobopuyo_gameover.xm" }, | ^~~~~~~~~~~~~~~~~~~ audio.c:22:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 22 | { "flobopuyo_menu.xm", "flobopuyo_game1.xm", "flobopuyo_game2.xm", "flobopuyo_gameover.xm" }, | ^~~~~~~~~~~~~~~~~~~~ audio.c:22:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 22 | { "flobopuyo_menu.xm", "flobopuyo_game1.xm", "flobopuyo_game2.xm", "flobopuyo_gameover.xm" }, | ^~~~~~~~~~~~~~~~~~~~ audio.c:22:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 22 | { "flobopuyo_menu.xm", "flobopuyo_game1.xm", "flobopuyo_game2.xm", "flobopuyo_gameover.xm" }, | ^~~~~~~~~~~~~~~~~~~~~~~ audio.c:23:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 23 | { "flobopuyo_menu.xm", "strange_fear.xm", "strange_fear2.xm", "strange_gameover.xm" } | ^~~~~~~~~~~~~~~~~~~ audio.c:23:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 23 | { "flobopuyo_menu.xm", "strange_fear.xm", "strange_fear2.xm", "strange_gameover.xm" } | ^~~~~~~~~~~~~~~~~ audio.c:23:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 23 | { "flobopuyo_menu.xm", "strange_fear.xm", "strange_fear2.xm", "strange_gameover.xm" } | ^~~~~~~~~~~~~~~~~~ audio.c:23:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 23 | { "flobopuyo_menu.xm", "strange_fear.xm", "strange_fear2.xm", "strange_gameover.xm" } | ^~~~~~~~~~~~~~~~~~~~~ audio.c: In function ‘void audio_init()’: audio.c:69:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 69 | sound_pop = CustomMix_LoadWAV (dataFolder, "pop.wav", 30); | ^~~~~~~~~ audio.c:70:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 70 | sound_bam1 = CustomMix_LoadWAV (dataFolder, "bam1.wav", 12); | ^~~~~~~~~~ audio.c:71:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | sound_fff = CustomMix_LoadWAV (dataFolder, "fff.wav", 48); | ^~~~~~~~~ audio.c:72:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | sound_slide = CustomMix_LoadWAV (dataFolder, "slide.wav", 128); | ^~~~~~~~~~~ audio.c:75:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 75 | sound_yahoohoo1[1] = CustomMix_LoadWAV (dataFolder, "yahoohoo.wav", 50); | ^~~~~~~~~~~~~~ audio.c:76:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 76 | sound_yahoohoo1[2] = CustomMix_LoadWAV (dataFolder, "woho.wav", 32); | ^~~~~~~~~~ audio.c:77:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 77 | sound_yahoohoo1[3] = CustomMix_LoadWAV (dataFolder, "pastaga.wav", 70); | ^~~~~~~~~~~~~ audio.c:80:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 80 | sound_yahoohoo2[1] = CustomMix_LoadWAV (dataFolder, "woo.wav", 45); | ^~~~~~~~~ audio.c:82:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 82 | sound_yahoohoo3[0] = CustomMix_LoadWAV (dataFolder, "applose.wav", 96); | ^~~~~~~~~~~~~ audio.c:84:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 84 | sound_splash[0] = CustomMix_LoadWAV (dataFolder, "splash1.wav",72); | ^~~~~~~~~~~~~ audio.c:85:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 85 | sound_splash[1] = CustomMix_LoadWAV (dataFolder, "splash2.wav",72); | ^~~~~~~~~~~~~ audio.c:86:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 86 | sound_splash[2] = CustomMix_LoadWAV (dataFolder, "splash3.wav",72); | ^~~~~~~~~~~~~ audio.c:87:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 87 | sound_splash[3] = CustomMix_LoadWAV (dataFolder, "splash4.wav",72); | ^~~~~~~~~~~~~ audio.c:88:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 88 | sound_splash[4] = CustomMix_LoadWAV (dataFolder, "splash5.wav",72); | ^~~~~~~~~~~~~ audio.c:89:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 89 | sound_splash[5] = CustomMix_LoadWAV (dataFolder, "splash6.wav",72); | ^~~~~~~~~~~~~ audio.c:90:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 90 | sound_splash[6] = CustomMix_LoadWAV (dataFolder, "splash7.wav",72); | ^~~~~~~~~~~~~ audio.c:91:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 91 | sound_splash[7] = CustomMix_LoadWAV (dataFolder, "splash8.wav",72); | ^~~~~~~~~~~~~ audio.c:93:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 93 | sound_bim[0] = CustomMix_LoadWAV (dataFolder, "bim1.wav",72); | ^~~~~~~~~~ audio.c:94:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 94 | sound_bim[1] = CustomMix_LoadWAV (dataFolder, "bim2.wav",72); | ^~~~~~~~~~ audio.c:96:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 96 | music[0] = CustomMix_LoadMUS (dataFolder, "flobopuyo_menu.xm"); | ^~~~~~~~~~~~~~~~~~~ audio.c:97:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 97 | music[1] = CustomMix_LoadMUS (dataFolder, "flobopuyo_game1.xm"); | ^~~~~~~~~~~~~~~~~~~~ audio.c:98:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 98 | music[2] = CustomMix_LoadMUS (dataFolder, "flobopuyo_game2.xm"); | ^~~~~~~~~~~~~~~~~~~~ audio.c:99:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 99 | music[3] = CustomMix_LoadMUS (dataFolder, "flobopuyo_gameover.xm"); | ^~~~~~~~~~~~~~~~~~~~~~~ audio.c:62:7: warning: unused variable ‘i’ [-Wunused-variable] 62 | int i; | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c scrollingtext.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c preferences.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoStory.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ In file included from PuyoStory.cpp:1: PuyoStory.h: In constructor ‘PuyoStory::PuyoStory(PuyoCommander*, int)’: PuyoStory.h:17:9: warning: ‘PuyoStory::num’ will be initialized after [-Wreorder] 17 | int num; | ^~~ PuyoStory.h:14:20: warning: ‘PuyoCommander* PuyoStory::commander’ [-Wreorder] 14 | PuyoCommander *commander; | ^~~~~~~~~ PuyoStory.cpp:15:1: warning: when initialized here [-Wreorder] 15 | PuyoStory::PuyoStory(PuyoCommander *com, int num) : num(num), commander(com) | ^~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c SDL_Painter.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ In file included from SDL_Painter.cpp:1: SDL_Painter.h: In constructor ‘SDL_Painter::SDL_Painter(IIM_Surface*, IIM_Surface*)’: SDL_Painter.h:17:20: warning: ‘SDL_Painter::gameScreen’ will be initialized after [-Wreorder] 17 | IIM_Surface *gameScreen; | ^~~~~~~~~~ SDL_Painter.h:16:20: warning: ‘IIM_Surface* SDL_Painter::backGround’ [-Wreorder] 16 | IIM_Surface *backGround; | ^~~~~~~~~~ SDL_Painter.cpp:8:1: warning: when initialized here [-Wreorder] 8 | SDL_Painter::SDL_Painter(IIM_Surface *gameScreen, IIM_Surface *bg) | ^~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c InputManager.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c GameControls.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoDoomMelt.c cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c IosImgProcess.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ IosImgProcess.cpp: In function ‘void iim_surface_convert_to_gray(IIM_Surface*)’: IosImgProcess.cpp:387:20: warning: unused variable ‘fmt’ [-Wunused-variable] 387 | SDL_PixelFormat *fmt = src->format; | ^~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c corona32.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c corona.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c corona_palette.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -c PuyoStarter.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for C++ PuyoStarter.cpp:34:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 34 | static char *BACKGROUND[NB_MUSIC_THEME] = { "Background.jpg", "BackgroundDark.jpg" }; | ^~~~~~~~~~~~~~~~ PuyoStarter.cpp:34:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 34 | static char *BACKGROUND[NB_MUSIC_THEME] = { "Background.jpg", "BackgroundDark.jpg" }; | ^~~~~~~~~~~~~~~~~~~~ PuyoStarter.cpp: In destructor ‘virtual PuyoStarter::~PuyoStarter()’: PuyoStarter.cpp:308:5: warning: deleting object of polymorphic class type ‘PuyoView’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 308 | delete areaA; | ^~~~~~~~~~~~ PuyoStarter.cpp:309:5: warning: deleting object of polymorphic class type ‘PuyoView’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 309 | delete areaB; | ^~~~~~~~~~~~ PuyoStarter.cpp: In member function ‘void PuyoStarter::run(int, int, int, int, int)’: PuyoStarter.cpp:395:32: warning: enumeration value ‘kGameNone’ not handled in switch [-Wswitch] 395 | switch (controlEvent.gameEvent) { | ^ PuyoStarter.cpp:395:32: warning: enumeration value ‘kPauseGame’ not handled in switch [-Wswitch] PuyoStarter.cpp:395:32: warning: enumeration value ‘kGameLastKey’ not handled in switch [-Wswitch] PuyoStarter.cpp:627:32: warning: enumeration value ‘kCursorNone’ not handled in switch [-Wswitch] 627 | switch (controlEvent.cursorEvent) { | ^ PuyoStarter.cpp:627:32: warning: enumeration value ‘kLeft’ not handled in switch [-Wswitch] PuyoStarter.cpp:627:32: warning: enumeration value ‘kRight’ not handled in switch [-Wswitch] PuyoStarter.cpp:627:32: warning: enumeration value ‘kBack’ not handled in switch [-Wswitch] PuyoStarter.cpp:627:32: warning: enumeration value ‘kQuit’ not handled in switch [-Wswitch] PuyoStarter.cpp:627:32: warning: enumeration value ‘kCursorLastKey’ not handled in switch [-Wswitch] PuyoStarter.cpp:342:14: warning: variable ‘drect’ set but not used [-Wunused-but-set-variable] 342 | SDL_Rect drect; | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DDATADIR=\"/usr/share/flobopuyo\" `sdl-config --cflags` -I/sw/include -DUSE_AUDIO=1 -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes SDL_prim.o HiScores.o scenar.y.o scenar.l.o PuyoCommander.o IosException.o IosVector.o main.o PuyoGame.o PuyoVersion.o PuyoView.o PuyoAnimations.o AnimatedPuyo.o PuyoIA.o sofont.o menu.o menuitems.o audio.o scrollingtext.o preferences.o PuyoStory.o SDL_Painter.o InputManager.o GameControls.o PuyoDoomMelt.o IosImgProcess.o corona32.o corona.o corona_palette.o PuyoStarter.o -o flobopuyo `sdl-config --cflags --libs` -lSDL_mixer -lSDL_image + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ToDdG7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flobopuyo-0.20 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/bin mkdir -p /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo cp -r data/* /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo chmod a+rx /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo chmod a+rx /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo/sfx chmod a+rx /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo/gfx chmod a+rx /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo/story chmod -R a+r /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/share/flobopuyo cp ./flobopuyo /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/bin/flobopuyo chmod a+rx /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64//usr/bin/flobopuyo + install -d -m 755 /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/man/man6 + install -p -m 644 man/flobopuyo.6 /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/man/man6 + desktop-file-install --dir /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/applications /builddir/build/SOURCES/flobopuyo.desktop + icns2png -x mac/icon.icns ---------------------------------------------------- Reading icns family from mac/icon.icns... Extracting icons from /icon.icns... Saved 'it32' element to icon_128x128x32.png. Extracted 1 images from /icon.icns. + install -d -m 755 /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/icons/hicolor/128x128/apps/ + install -p -m 644 icon_128x128x32.png /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/icons/hicolor/128x128/apps/flobopuyo.png + install -d -m 755 /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/metainfo + install -p -m 644 /builddir/build/SOURCES/flobopuyo.appdata.xml /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/metainfo + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/metainfo/flobopuyo.appdata.xml /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/metainfo/flobopuyo.appdata.xml: OK + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.20-37.fc40 --unique-debug-suffix -0.20-37.fc40.riscv64 --unique-debug-src-base flobopuyo-0.20-37.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/flobopuyo-0.20 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/flobopuyo-0.20-37.fc40.riscv64 814 blocks find-debuginfo: done + /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/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: flobopuyo-0.20-37.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vxTj4l + umask 022 + cd /builddir/build/BUILD + cd flobopuyo-0.20 + DOCDIR=/builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/doc/flobopuyo + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/doc/flobopuyo + cp -pr /builddir/build/BUILD/flobopuyo-0.20/TODO /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/doc/flobopuyo + cp -pr /builddir/build/BUILD/flobopuyo-0.20/Changelog /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/doc/flobopuyo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6xZ4jU + umask 022 + cd /builddir/build/BUILD + cd flobopuyo-0.20 + LICENSEDIR=/builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/licenses/flobopuyo + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/licenses/flobopuyo + cp -pr /builddir/build/BUILD/flobopuyo-0.20/COPYING /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64/usr/share/licenses/flobopuyo + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(flobopuyo.desktop) flobopuyo = 0.20-37.fc40 flobopuyo(riscv-64) = 0.20-37.fc40 metainfo() metainfo(flobopuyo.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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: flobopuyo-debugsource-0.20-37.fc40.riscv64 Provides: flobopuyo-debugsource = 0.20-37.fc40 flobopuyo-debugsource(riscv-64) = 0.20-37.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: flobopuyo-debuginfo-0.20-37.fc40.riscv64 Provides: debuginfo(build-id) = 12a0278f73a0881d4a90b9aef0253384ab2a15da flobopuyo-debuginfo = 0.20-37.fc40 flobopuyo-debuginfo(riscv-64) = 0.20-37.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: flobopuyo-debugsource(riscv-64) = 0.20-37.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 Wrote: /builddir/build/RPMS/flobopuyo-debugsource-0.20-37.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/flobopuyo-debuginfo-0.20-37.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/flobopuyo-0.20-37.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LkxRhE + umask 022 + cd /builddir/build/BUILD + cd flobopuyo-0.20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/flobopuyo-0.20-37.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.aKNGvz + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/flobopuyo-0.20-SPECPARTS + rm -rf flobopuyo-0.20 flobopuyo-0.20.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0