Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/f29-build-26998-14076/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vodovod.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/vodovod-1.10r22-12.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/f29-build-26998-14076/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vodovod.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ARrImK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vodovod + /usr/bin/gzip -dc /builddir/build/SOURCES/vodovod-1.10r22-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vodovod + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vodovod-1.10r22-locales.patch):' Patch #0 (vodovod-1.10r22-locales.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file allmenus.cpp patching file po/cs.po patching file po/en.po patching file po/sk.po patching file po/sr.po patching file po/sv.po patching file po/vodovod.pot patching file po/zh.po + echo 'Patch #1 (vodovod-1.10r22-format-string.patch):' Patch #1 (vodovod-1.10r22-format-string.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file njamfont.cpp + rm data/font1.ttf + sed -i -e 's|data/font1.ttf|../fonts/dejavu/DejaVuSansMono.ttf|' allmenus.cpp main.cpp game.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.srSCfv + umask 022 + cd /builddir/build/BUILD + cd vodovod + make PREFIX=/usr HIGHSCOREDIR=/var/games -j4 CXX=g++ '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 -fasynchronous-unwind-tables -fstack-clash-protection' g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" game.cpp -o game.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" map.cpp -o map.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" resource.cpp -o resource.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" main.cpp -o main.o BUILDSTDERR: resource.cpp: In destructor 'ResourceManager::~ResourceManager()': BUILDSTDERR: resource.cpp:150:27: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type '_Mix_Music*' [-Wformat=] BUILDSTDERR: fprintf(stderr, _("Freeing music resource: %s (0x%08x)..."), (*it).first.c_str(), (*it).second); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: resource.cpp:22:28: note: in definition of macro '_' BUILDSTDERR: #define _(String) gettext (String) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from allmenus.h:24, BUILDSTDERR: from main.cpp:33: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: int repeatM; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: double xoffset; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: map.cpp: In destructor 'Map::~Map()': BUILDSTDERR: map.cpp:324:25: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete fieldsM[i]; BUILDSTDERR: ^ BUILDSTDERR: map.cpp: In member function 'void Map::Setup(int, int)': BUILDSTDERR: map.cpp:340:25: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete fieldsM[i]; BUILDSTDERR: ^ BUILDSTDERR: map.cpp:350:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete (fieldsM[f]); BUILDSTDERR: ^ BUILDSTDERR: map.cpp:359:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete (fieldsM[f]); BUILDSTDERR: ^ BUILDSTDERR: map.cpp:370:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete (fieldsM[f]); BUILDSTDERR: ^ BUILDSTDERR: map.cpp:384:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete (fieldsM[f]); BUILDSTDERR: ^ BUILDSTDERR: map.cpp:398:44: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete fieldsM[x+y*widthM+f]; BUILDSTDERR: ^ BUILDSTDERR: map.cpp: In member function 'bool Map::PutShape(Shape*)': BUILDSTDERR: map.cpp:510:16: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete s; BUILDSTDERR: ^ BUILDSTDERR: map.cpp: In member function 'int Map::AdvanceFlow()': BUILDSTDERR: map.cpp:542:16: warning: enumeration value 'dNone' not handled in switch [-Wswitch] BUILDSTDERR: switch (d) BUILDSTDERR: ^ BUILDSTDERR: map.cpp:542:16: warning: enumeration value 'dFull' not handled in switch [-Wswitch] BUILDSTDERR: In file included from game.h:27, BUILDSTDERR: from game.cpp:28: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: int repeatM; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: double xoffset; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: game.cpp: In member function 'void Game::ClearQueue()': BUILDSTDERR: game.cpp:48:16: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete s; BUILDSTDERR: ^ g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" allmenus.cpp -o allmenus.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" njamfont.cpp -o njamfont.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" sutils.cpp -o sutils.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" menu.cpp -o menu.o BUILDSTDERR: sutils.cpp:53: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -ccc BUILDSTDERR: BUILDSTDERR: sutils.cpp:54: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -rch BUILDSTDERR: BUILDSTDERR: sutils.cpp:59: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +ccc BUILDSTDERR: BUILDSTDERR: sutils.cpp:60: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +rch BUILDSTDERR: BUILDSTDERR: sutils.cpp:79: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -ccc BUILDSTDERR: BUILDSTDERR: sutils.cpp:80: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -rch BUILDSTDERR: BUILDSTDERR: sutils.cpp:91: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +ccc BUILDSTDERR: BUILDSTDERR: sutils.cpp:92: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +rch BUILDSTDERR: BUILDSTDERR: In file included from game.h:27, BUILDSTDERR: from allmenus.cpp:25: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: int repeatM; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: double xoffset; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: sutils.cpp: In function 'bool RGB2OneColor(SDL_Surface*, Uint8, Uint8, Uint8)': BUILDSTDERR: sutils.cpp:152:9: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: int x, y; BUILDSTDERR: ^ BUILDSTDERR: sutils.cpp:152:12: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: int x, y; BUILDSTDERR: ^ BUILDSTDERR: sutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': BUILDSTDERR: sutils.cpp:250:9: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: int x, y; BUILDSTDERR: ^ BUILDSTDERR: sutils.cpp:250:12: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: int x, y; BUILDSTDERR: ^ BUILDSTDERR: sutils.cpp: In function 'void InitVideo(bool)': BUILDSTDERR: sutils.cpp:373:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i=0; i 499 && key == getKey(taUp)) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:53:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (key == SDLK_DOWN || key > 499 && key == getKey(taDown)) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:55:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (firstIsTitleM && indicator < 1 || !firstIsTitleM && indicator < 0) BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:61:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((key == SDLK_RETURN || key == SDLK_KP_ENTER || key > 499 && key == getKey(taDrop))) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': BUILDSTDERR: sutils.cpp:272:21: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: putpixel(surface, x, y, color); BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" effects.cpp -o effects.o g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" config.cpp -o config.o BUILDSTDERR: hiscore.cpp: In constructor 'HiScores::HiScores()': BUILDSTDERR: hiscore.cpp:71:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff, 80, fp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from effects.cpp:27: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: int repeatM; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: std::string textM; BUILDSTDERR: ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: double xoffset; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: effects.cpp: In destructor 'Effects::~Effects()': BUILDSTDERR: effects.cpp:34:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete (*it); BUILDSTDERR: ^ BUILDSTDERR: effects.cpp: In member function 'void Effects::removeEffect(SpecialEffect*)': BUILDSTDERR: effects.cpp:51:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete p; BUILDSTDERR: ^ BUILDSTDERR: effects.cpp: In member function 'void Effects::Render()': BUILDSTDERR: effects.cpp:66:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete p; BUILDSTDERR: ^ g++ -c `sdl-config --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 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" keys.cpp -o keys.o BUILDSTDERR: config.cpp: In constructor 'Config::Config()': BUILDSTDERR: config.cpp:145:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i=0; i