Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'], chrootPath='/var/lib/mock/f31-build-85888-31620/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/machineball-1.0-33.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'], chrootPath='/var/lib/mock/f31-build-85888-31620/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G5qTLY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf machineball-src + /usr/bin/gzip -dc /builddir/build/SOURCES/machineball-src-1.0-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd machineball-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/machineball-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/machineball-config-only-once.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/machineball-1.0-ode.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/machineball-1.0-timer-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nD6UG0 + umask 022 + cd /builddir/build/BUILD + cd machineball-src + make mbdata.c + /usr/bin/make -O -j4 V=1 VERBOSE=1 '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' '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' BUILDSTDERR: intro.cpp: In function 'void showIntro()': BUILDSTDERR: intro.cpp:79:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 79 | text.print(120, 280, "BENNY KRAMEK PRESENTS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.cpp:95:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 95 | text.print(120, 280, "BENNY KRAMEK PRESENTS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.cpp:111:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 111 | text.print(20, (int)(60*(time-8.7)), "THIS IS THE FUTURE."); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.cpp:112:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 112 | text.print(20, (int)(60*(time-8.7))-50, "A FUTURE WHERE PRIMITIVE SPORTS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.cpp:113:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 113 | text.print(20, (int)(60*(time-8.7))-100, "NO LONGER EXIST. IN THIS WORLD,"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.cpp:114:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 114 | text.print(20, (int)(60*(time-8.7))-150, "THERE IS ONLY ONE SPORT."); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.cpp:115:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 115 | text.print(20, (int)(60*(time-8.7))-200, "THERE IS ONLY..."); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:30:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 30 | { 320, 200, " 320x200 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:31:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 31 | { 320, 240, " 320x240 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:32:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 32 | { 400, 300, " 400x300 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:33:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 33 | { 512, 384, " 512x384 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:34:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 34 | { 640, 400, " 640x400 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:35:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 35 | { 640, 480, " 640x480 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:36:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 36 | { 800, 600, " 800x600 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:37:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 37 | { 1024, 768, "1024x768 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:38:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 38 | { 1152, 864, "1152x864 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:39:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 39 | { 1280, 960, "1280x960 " }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:40:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 40 | { 1280, 1024, "1280x1024" }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:41:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 41 | { 1600, 1200, "1600x1200" }, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:42:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 42 | { 1920, 1440, "1920x1440" } BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: window.cpp:60:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 60 | { 15, "15 bpp" }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:61:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 61 | { 16, "16 bpp" }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:62:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 62 | { 24, "24 bpp" }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:63:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 63 | { 32, "32 bpp" } BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:79:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 79 | { 8, " 8 bpp" }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:80:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 80 | { 16, "16 bpp" }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:81:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 81 | { 24, "24 bpp" }, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp:82:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 82 | { 32, "32 bpp" } BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: window.cpp: In function 'void createWindow(int, int)': BUILDSTDERR: window.cpp:210:14: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 210 | text_mode(-1); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:155:1: note: declared here BUILDSTDERR: 155 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:210:14: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 210 | text_mode(-1); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:155:1: note: declared here BUILDSTDERR: 155 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:211:78: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 211 | textout_centre(screen, font, "Benny Kramek", 300, 90, makecol(255, 255, 255)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: 162 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:211:78: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 211 | textout_centre(screen, font, "Benny Kramek", 300, 90, makecol(255, 255, 255)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: 162 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:212:93: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 212 | textout_centre(screen, font, "http://benny.kramekweb.com", 300, 110, makecol(255, 255, 255)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: 162 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: window.cpp:212:93: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 212 | textout_centre(screen, font, "http://benny.kramekweb.com", 300, 110, makecol(255, 255, 255)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from window.cpp:11: BUILDSTDERR: /usr/include/allegro/alcompat.h:162:1: note: declared here BUILDSTDERR: 162 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp: In function 'int main(int, char**)': BUILDSTDERR: main.cpp:139:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 139 | fgets(tempdummy, 256, fp); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:141:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 141 | fscanf(fp, "%d", &versiontest); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:148:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 148 | fscanf(fp, "%d", &options.resolution); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:149:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 149 | fscanf(fp, "%d", &options.colordepth); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:150:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 150 | fscanf(fp, "%d", &options.zdepth); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:151:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 151 | fscanf(fp, "%d", &options.musicvol); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:152:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 152 | fscanf(fp, "%d", &options.soundvol); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:153:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 153 | fscanf(fp, "%d", &options.p1left); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:154:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 154 | fscanf(fp, "%d", &options.p1right); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:155:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 155 | fscanf(fp, "%d", &options.p1up); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:156:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 156 | fscanf(fp, "%d", &options.p1down); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:157:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 157 | fscanf(fp, "%d", &options.p1special); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:158:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 158 | fscanf(fp, "%d", &options.p1fire); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:159:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 159 | fscanf(fp, "%d", &options.p2left); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:160:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 160 | fscanf(fp, "%d", &options.p2right); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:161:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 161 | fscanf(fp, "%d", &options.p2up); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:162:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 162 | fscanf(fp, "%d", &options.p2down); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:163:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 163 | fscanf(fp, "%d", &options.p2special); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:164:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 164 | fscanf(fp, "%d", &options.p2fire); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:165:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 165 | fscanf(fp, "%d", &options.logoshow); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:166:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 166 | fscanf(fp, "%d", &options.fpsshow); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.cpp:167:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 167 | fscanf(fp, "%d", &options.camerashake); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: controls.cpp: In member function 'int Controls::keydown(int)': BUILDSTDERR: controls.cpp:22:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 22 | if(k==KEYUP) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:27:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 27 | if(k==KEYDOWN) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:32:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 32 | if(k==KEYLEFT) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:37:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 37 | if(k==KEYRIGHT) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:42:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 42 | if(k==KEYSPECIAL) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:47:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 47 | if(k==KEYFIRE) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:56:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 56 | if(k==KEYUP) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:61:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 61 | if(k==KEYDOWN) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:66:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 66 | if(k==KEYLEFT) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:71:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 71 | if(k==KEYRIGHT) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:76:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 76 | if(k==KEYSPECIAL) BUILDSTDERR: | ^ BUILDSTDERR: controls.cpp:81:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 81 | if(k==KEYFIRE) BUILDSTDERR: | ^ BUILDSTDERR: In file included from game.cpp:25: BUILDSTDERR: court.h:27:1: warning: multi-line comment [-Wcomment] BUILDSTDERR: 27 | // \ BUILDSTDERR: | ^ BUILDSTDERR: game.cpp: In function 'void startGame(int, int, int, gameoptions)': BUILDSTDERR: game.cpp:105:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 105 | bodymodel.load("0"); BUILDSTDERR: | ^~~ BUILDSTDERR: game.cpp:106:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 106 | pushermodel.load("1"); BUILDSTDERR: | ^~~ BUILDSTDERR: game.cpp:170:7: warning: variable 'myduh' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 170 | DUH *myduh; BUILDSTDERR: | ^~~~~ BUILDSTDERR: game.cpp: In function 'void collisiondetection()': BUILDSTDERR: game.cpp:769:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 769 | if(n=dCollide(ball.geom, explosionsphere, 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:789:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 789 | if(n=dCollide(machine[i].geom[k], court.wall[j], 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:809:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 809 | if(n=dCollide(machine[i].geom[k], court.corner[j], 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:851:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 851 | if(n=dCollide(machine[i].geom[k], court.floor, 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:889:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 889 | if(n=dCollide(machine[i].geom[k], explosionsphere, 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:909:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 909 | if(n=dCollide(machine[0].geom[i], machine[1].geom[k], 4, &contact[cn].geom, sizeof(dContact))>0) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp: In function 'void startGame(int, int, int, gameoptions)': BUILDSTDERR: game.cpp:230:57: warning: 'keyrightdown' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 230 | if((key[KEY_RIGHT] || controls[0].keydown(KEYRIGHT)) && keyrightdown==0) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.cpp:224:55: warning: 'keyleftdown' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 224 | if((key[KEY_LEFT] || controls[0].keydown(KEYLEFT)) && keyleftdown==0) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from camera.cpp:16: BUILDSTDERR: court.h:27:1: warning: multi-line comment [-Wcomment] BUILDSTDERR: 27 | // \ BUILDSTDERR: | ^ BUILDSTDERR: In file included from court.cpp:11: BUILDSTDERR: court.h:27:1: warning: multi-line comment [-Wcomment] BUILDSTDERR: 27 | // \ BUILDSTDERR: | ^ dat2c mbdata.dat -o mbdata.c -h mbdata.h -p mb -g Converting mbdata.dat to mbdata.c... I noticed some truecolor images, so you must call fixup_datafile() before using this data! (after setting a video mode). g++ -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 -c -o intro.o intro.cpp g++ -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 -c -o window.o window.cpp g++ -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 -c -o main.o main.cpp g++ -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 -c -o timer.o timer.cpp g++ -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 -c -o text.o text.cpp g++ -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 -c -o controls.o controls.cpp g++ -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 -c -o ball.o ball.cpp g++ -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 -c -o game.o game.cpp g++ -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 -c -o glode.o glode.cpp g++ -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 -c -o camera.o camera.cpp g++ -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 -c -o court.o court.cpp BUILDSTDERR: g++ -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 -fasyIn file included from machine.cpp:15: BUILDSTDERR: court.h:27:1: warning: multi-line comment [-Wcomment] BUILDSTDERR: 27 | // \ BUILDSTDERR: | ^ BUILDSTDERR: machine.cpp: In member function 'void Machine::init()': BUILDSTDERR: machine.cpp:67:37: warning: 'dxGeom* dCreateGeomTransform(dSpaceID)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 67 | geom[i+2] = dCreateGeomTransform(0); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ode/ode.h:43, BUILDSTDERR: from machine.h:14, BUILDSTDERR: from machine.cpp:13: BUILDSTDERR: /usr/include/ode/collision.h:1089:36: note: declared here BUILDSTDERR: 1089 | ODE_API_DEPRECATED ODE_API dGeomID dCreateGeomTransform (dSpaceID space); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: machine.cpp:67:37: warning: 'dxGeom* dCreateGeomTransform(dSpaceID)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 67 | geom[i+2] = dCreateGeomTransform(0); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ode/ode.h:43, BUILDSTDERR: from machine.h:14, BUILDSTDERR: from machine.cpp:13: BUILDSTDERR: /usr/include/ode/collision.h:1089:36: note: declared here BUILDSTDERR: 1089 | ODE_API_DEPRECATED ODE_API dGeomID dCreateGeomTransform (dSpaceID space); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: machine.cpp:68:40: warning: 'void dGeomTransformSetCleanup(dGeomID, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 68 | dGeomTransformSetCleanup(geom[i+2], 1); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ode/ode.h:43, BUILDSTDERR: from machine.h:14, BUILDSTDERR: from machine.cpp:13: BUILDSTDERR: /usr/include/ode/collision.h:1092:33: note: declared here BUILDSTDERR: 1092 | ODE_API_DEPRECATED ODE_API void dGeomTransformSetCleanup (dGeomID g, int mode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: machine.cpp:68:40: warning: 'void dGeomTransformSetCleanup(dGeomID, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 68 | dGeomTransformSetCleanup(geom[i+2], 1); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ode/ode.h:43, BUILDSTDERR: from machine.h:14, BUILDSTDERR: from machine.cpp:13: BUILDSTDERR: /usr/include/ode/collision.h:1092:33: note: declared here BUILDSTDERR: 1092 | ODE_API_DEPRECATED ODE_API void dGeomTransformSetCleanup (dGeomID g, int mode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: machine.cpp:75:43: warning: 'void dGeomTransformSetGeom(dGeomID, dGeomID)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 75 | dGeomTransformSetGeom(geom[i+2], finE[i]); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ode/ode.h:43, BUILDSTDERR: from machine.h:14, BUILDSTDERR: from machine.cpp:13: BUILDSTDERR: /usr/include/ode/collision.h:1090:33: note: declared here BUILDSTDERR: 1090 | ODE_API_DEPRECATED ODE_API void dGeomTransformSetGeom (dGeomID g, dGeomID obj); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: machine.cpp:75:43: warning: 'void dGeomTransformSetGeom(dGeomID, dGeomID)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 75 | dGeomTransformSetGeom(geom[i+2], finE[i]); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ode/ode.h:43, BUILDSTDERR: from machine.h:14, BUILDSTDERR: from machine.cpp:13: BUILDSTDERR: /usr/include/ode/collision.h:1090:33: note: declared here BUILDSTDERR: 1090 | ODE_API_DEPRECATED ODE_API void dGeomTransformSetGeom (dGeomID g, dGeomID obj); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from render.cpp:23: BUILDSTDERR: court.h:27:1: warning: multi-line comment [-Wcomment] BUILDSTDERR: 27 | // \ BUILDSTDERR: | ^ BUILDSTDERR: render.cpp: In function 'void render()': BUILDSTDERR: render.cpp:943:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 943 | text.print(290, 400, "GAME OVER"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: render.cpp:947:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 947 | text.print(240, 280, "PLAYER 1 WINS!"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:949:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 949 | text.print(200, 240, "PLAYER 2: YOU SUCK!"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:954:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 954 | text.print(240, 280, "PLAYER 2 WINS!"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:956:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 956 | text.print(200, 240, "PLAYER 1: YOU SUCK!"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:960:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 960 | text.print(300, 280, "TIE GAME!"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: render.cpp:961:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 961 | text.print(240, 240, "YOU BOTH SUCK!"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:964:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 964 | text.print(250, 140, "PRESS ESCAPE"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:969:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 969 | text.print(340, 400, "PAUSE"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: render.cpp:972:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 972 | text.print(120, 340, "CURRENT SONG:"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:973:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 973 | text.print(105, 280, "<"); BUILDSTDERR: | ^~~ BUILDSTDERR: render.cpp:974:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 974 | text.print(680, 280, ">"); BUILDSTDERR: | ^~~ BUILDSTDERR: render.cpp:989:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 989 | text.print(120, 160, "PRESS ESCAPE TO RESUME"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:990:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 990 | text.print(200, 120, "PRESS F11 TO QUIT"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: render.cpp:387:6: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 387 | int j; BUILDSTDERR: | ^ BUILDSTDERR: menu.cpp: In function 'int mainMenu()': BUILDSTDERR: menu.cpp:201:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 201 | text.print(40, 0, "BENNY KRAMEK 2002"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:203:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 203 | text.print(200, 250, "HUMAN VS HUMAN"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:204:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 204 | text.print(200, 200, "HUMAN VS COMP"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:205:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 205 | text.print(200, 150, "OPTIONS"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu.cpp:206:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 206 | text.print(200, 100, "QUIT"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu.cpp: In function 'int ballMenu()': BUILDSTDERR: menu.cpp:416:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 416 | text.print(230, 450, "SELECT THE BALL"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:418:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 418 | text.print(250, 20, "OFFICIAL BALL"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:420:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 420 | text.print(320, 20, "BOULDER"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu.cpp:422:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 422 | text.print(280, 20, "BEACH BALL"); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu.cpp:424:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 424 | text.print(270, 20, "SOCCER BALL"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:426:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 426 | text.print(220, 20, "BIG ORANGE BALL"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:428:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 428 | text.print(260, 20, "INFLATED TUX"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:268:13: warning: unused variable 'ballbmp' [-Wunused-variable] BUILDSTDERR: 268 | DATAFILE * ballbmp; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp: In function 'int courtMenu()': BUILDSTDERR: menu.cpp:744:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 744 | text.print(160, 450, "SELECT THE COURT SIZE"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:746:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 746 | text.print(330, 10, "SMALL"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:748:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 748 | text.print(320, 10, "NORMAL"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu.cpp:750:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 750 | text.print(330, 10, "LARGE"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:752:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 752 | text.print(340, 10, "HUGE"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu.cpp: In function 'void gameoptionsMenu(gameoptions*)': BUILDSTDERR: menu.cpp:1131:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1131 | text.print(250, 550, "MATCH OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1133:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1133 | text.print(60, 500, "MATCH TYPE: TIME / GOAL LIMIT"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1135:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1135 | text.print(60, 450, "# OF MINUTES:"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1137:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1137 | text.print(60, 450, "# OF GOALS:"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1138:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1138 | text.print(400, 450, "1 2 5 10 30 60"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1139:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1139 | text.print(60, 400, "NUKE STUCK BALL: YES / NO"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1140:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1140 | text.print(60, 350, "POWERUPS: ENABLED / DISABLED"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1143:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1143 | text.print(60, 300, "FREQUENCY (SECONDS): 1 3 10 30"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1144:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1144 | text.print(60, 250, "TURBO:"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu.cpp:1145:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1145 | text.print(60, 200, "SHIELD:"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu.cpp:1146:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1146 | text.print(60, 150, "MINE:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:1147:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1147 | text.print(60, 100, "MISSLE:"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu.cpp:1148:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1148 | text.print(60, 50, "EMP:"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu.cpp: In function 'void humancompmessage()': BUILDSTDERR: menu.cpp:1200:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1200 | text.print(200, 440, "SORRY!"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu.cpp:1202:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1202 | text.print(20, 400, "ONLY HUMAN VS HUMAN IS AVAILABLE"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1204:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1204 | text.print(120, 120, "IF YOU ARE A TALENTED AI"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1205:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1205 | text.print(65, 80, "PROGRAMMER AND WOULD LIKE TO"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1206:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1206 | text.print(60, 40, "PROGRAM SOME COMPUTER AI FOR"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1207:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1207 | text.print(0, 0, "MACHINEBALL THEN PLEASE CONTACT ME."); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp: In function 'int optionsMenu()': BUILDSTDERR: menu.cpp:1354:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1354 | text.print(310, 500, "OPTIONS"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu.cpp:1356:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1356 | text.print(300, 350, "CONTROLS"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:1357:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1357 | text.print(330, 300, "AUDIO"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:1358:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1358 | text.print(330, 250, "VIDEO"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:1359:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1359 | text.print(200, 200, "BACK TO MAIN MENU"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp: In function 'void audioMenu()': BUILDSTDERR: menu.cpp:1548:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1548 | text.print(240, 500, "AUDIO OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1550:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1550 | text.print(190, 350, "MASTER-VOL:"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1551:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1551 | text.print(190, 300, "MUSIC VOL:"); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1552:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1552 | text.print(190, 250, "BACK TO OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp: In function 'void videoMenu()': BUILDSTDERR: menu.cpp:1730:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1730 | text.print(240, 500, "VIDEO OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1732:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1732 | text.print(70, 350, "CAMERA-SHAKE FX: YES NO"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1733:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1733 | text.print(70, 300, "SHOW LOGO IN GAME: YES NO"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1734:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1734 | text.print(70, 250, "SHOW FRAMES-PER-SECOND: YES NO"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:1735:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1735 | text.print(70, 200, "BACK TO OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp: In function 'void controlsMenu()': BUILDSTDERR: menu.cpp:2281:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2281 | text.print(240, 560, "CONTROLS OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2283:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2283 | text.print(20, 480, "DETECTED INPUT DEVICES:"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2285:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2285 | text.print(20, 440, "KEYBOARD"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2287:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2287 | text.print(220, 440, ", JOYSTICK1"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2289:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2289 | text.print(450, 440, ", JOYSTICK2"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2291:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2291 | text.print(20, 400, "JOYSTICK3"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu.cpp:2293:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2293 | text.print(220, 400, ", JOYSTICK4"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2296:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2296 | text.print(40, 300, "PLAYER 1"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2297:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2297 | text.print(20, 240, "FORWARD:"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2298:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2298 | text.print(20, 200, "REVERSE:"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2299:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2299 | text.print(20, 160, "LEFT:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:2300:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2300 | text.print(20, 120, "RIGHT:"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu.cpp:2301:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2301 | text.print(20, 80, "KICK:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:2302:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2302 | text.print(20, 40, "FIRE:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:2304:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2304 | text.print(440, 300, "PLAYER 2"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2305:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2305 | text.print(420, 240, "FORWARD:"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2306:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2306 | text.print(420, 200, "REVERSE:"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.cpp:2307:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2307 | text.print(420, 160, "LEFT:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:2308:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2308 | text.print(420, 120, "RIGHT:"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu.cpp:2309:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2309 | text.print(420, 80, "KICK:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:2310:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2310 | text.print(420, 40, "FIRE:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu.cpp:2312:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2312 | text.print(200, 0, "BACK TO OPTIONS"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2333:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2333 | text.print(220, 240, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2337:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2337 | text.print(220, 200, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2341:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2341 | text.print(220, 160, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2345:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2345 | text.print(220, 120, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2349:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2349 | text.print(220, 80, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2353:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2353 | text.print(220, 40, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2357:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2357 | text.print(620, 240, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2361:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2361 | text.print(620, 200, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2365:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2365 | text.print(620, 160, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2369:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2369 | text.print(620, 120, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2373:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2373 | text.print(620, 80, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp:2377:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2377 | text.print(620, 40, "???"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu.cpp: In function 'void creditsMenu()': BUILDSTDERR: menu.cpp:2453:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2453 | text.print(240, 340, "BENNY KRAMEK 2002"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2455:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2455 | text.print(10, 120, "OPEN-DYNAMICS-ENGINE : Q12.ORG/ODE"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2456:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2456 | text.print(10, 80, "ALLEGRO : ALLEG.SF.NET"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2457:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2457 | text.print(10, 40, "OPENGL : OPENGL.ORG"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:2458:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2458 | text.print(10, 0, "DUMB : DUMB.SF.NET"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbdata.c:65349:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65349 | { &mb_music_menu, DAT_ID('X', 'M', ' ', ' '), 51355, mb_music_menu_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65370:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65370 | { &mb_song01, DAT_ID('S', '3', 'M', ' '), 39778, mb_song01_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65371:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65371 | { &mb_song02, DAT_ID('M', 'O', 'D', ' '), 40450, mb_song02_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65372:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65372 | { &mb_song03, DAT_ID('M', 'O', 'D', ' '), 19772, mb_song03_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65373:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65373 | { &mb_song04, DAT_ID('M', 'O', 'D', ' '), 86546, mb_song04_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65374:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65374 | { &mb_song05, DAT_ID('X', 'M', ' ', ' '), 53969, mb_song05_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65375:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65375 | { &mb_song06, DAT_ID('X', 'M', ' ', ' '), 42300, mb_song06_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65376:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65376 | { &mb_song07, DAT_ID('M', 'O', 'D', ' '), 99704, mb_song07_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65377:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65377 | { &mb_song08, DAT_ID('X', 'M', ' ', ' '), 59748, mb_song08_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65378:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65378 | { &mb_song09, DAT_ID('X', 'M', ' ', ' '), 37452, mb_song09_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65379:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65379 | { &mb_song10, DAT_ID('M', 'O', 'D', ' '), 60500, mb_song10_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65380:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65380 | { &mb_song11, DAT_ID('M', 'O', 'D', ' '), 15678, mb_song11_prop }, BUILDSTDERR: | ^ BUILDSTDERR: mbdata.c:65381:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: 65381 | { &mb_song12, DAT_ID('M', 'O', 'D', ' '), 29262, mb_song12_prop }, BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 nchronous-unwind-tables -fstack-clash-protection -c -o powerup.o powerup.cpp g++ -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 -c -o machine.o machine.cpp g++ -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 -c -o explosion.o explosion.cpp g++ -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 -c -o render.o render.cpp g++ -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 -c -o menu.o menu.cpp g++ -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 -c -o options.o options.cpp cc -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 -c -o mbdata.o mbdata.c g++ -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 -c -o models.o models.cpp g++ main.o window.o intro.o menu.o game.o text.o timer.o controls.o ball.o glode.o camera.o render.o court.o machine.o powerup.o explosion.o models.o mbdata.o options.o -o machineball -laldmb -ldumb -lalleggl `allegro-config --libs` -lGL -lGLU -lode -lm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1kCftZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64 + cd machineball-src + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/bin + install -m 755 machineball /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/bin + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/bin/machineball-wrapper + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/applications /builddir/build/SOURCES/machineball.desktop + for i in "16x16" "24x24" "32x32" "48x48" "64x64" + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/16x16/apps + install -p -m 644 machineball-icon-16x16.xpm /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/16x16/apps/machineball.xpm + for i in "16x16" "24x24" "32x32" "48x48" "64x64" + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/24x24/apps + install -p -m 644 machineball-icon-24x24.xpm /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/24x24/apps/machineball.xpm + for i in "16x16" "24x24" "32x32" "48x48" "64x64" + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/32x32/apps + install -p -m 644 machineball-icon-32x32.xpm /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/32x32/apps/machineball.xpm + for i in "16x16" "24x24" "32x32" "48x48" "64x64" + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/48x48/apps + install -p -m 644 machineball-icon-48x48.xpm /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/48x48/apps/machineball.xpm + for i in "16x16" "24x24" "32x32" "48x48" "64x64" + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/64x64/apps + install -p -m 644 machineball-icon-64x64.xpm /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/icons/hicolor/64x64/apps/machineball.xpm + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0-33.fc31 --unique-debug-suffix -1.0-33.fc31.riscv64 --unique-debug-src-base machineball-1.0-33.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/machineball-src BUILDSTDERR: 17496 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/applications/machineball.desktop: error: (will be fatal in the future): value "machineball.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/bin/machineball extracting debug info from /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/bin/machineball original debug info size: 1748kB, size after compression: 840kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: machineball-1.0-33.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JGa8R1 + umask 022 + cd /builddir/build/BUILD + cd machineball-src + DOCDIR=/builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/doc/machineball + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/doc/machineball + cp -pr README /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/doc/machineball + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.n8nLHY + umask 022 + cd /builddir/build/BUILD + cd machineball-src + LICENSEDIR=/builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/licenses/machineball + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/licenses/machineball + cp -pr COPYING /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64/usr/share/licenses/machineball + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(machineball.desktop) machineball = 1.0-33.fc31 machineball(riscv-64) = 1.0-33.fc31 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) libGL.so.1()(64bit) libGLU.so.1()(64bit) libaldmb-0.9.3.so()(64bit) liballeg.so.4.4()(64bit) liballeggl.so.4.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdumb-0.9.3.so()(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libode.so.4()(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: machineball-debugsource-1.0-33.fc31.riscv64 Provides: machineball-debugsource = 1.0-33.fc31 machineball-debugsource(riscv-64) = 1.0-33.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: machineball-debuginfo-1.0-33.fc31.riscv64 Provides: debuginfo(build-id) = d81ba0901fb4d2d0df76101e3037cbaf8a14f754 machineball-debuginfo = 1.0-33.fc31 machineball-debuginfo(riscv-64) = 1.0-33.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: machineball-debugsource(riscv-64) = 1.0-33.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64 Wrote: /builddir/build/RPMS/machineball-debuginfo-1.0-33.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/machineball-1.0-33.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/machineball-debugsource-1.0-33.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.onHASZ + umask 022 + cd /builddir/build/BUILD + cd machineball-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/machineball-1.0-33.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0