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/machineball.spec'], chrootPath='/var/lib/mock/f37-build-667016-74455/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/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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658620800 Wrote: /builddir/build/SRPMS/machineball-1.0-41.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/machineball.spec'], chrootPath='/var/lib/mock/f37-build-667016-74455/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/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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658620800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qtyQLc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf machineball-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/machineball-src-1.0-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd machineball-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/machineball-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/machineball-config-only-once.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/machineball-1.0-ode.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/machineball-1.0-timer-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UqKR2F + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 machineball-src + make mbdata.c 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). + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o intro.o intro.cpp intro.cpp: In function 'void showIntro()': intro.cpp:79:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | text.print(120, 280, "BENNY KRAMEK PRESENTS"); | ^~~~~~~~~~~~~~~~~~~~~~~ intro.cpp:95:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | text.print(120, 280, "BENNY KRAMEK PRESENTS"); | ^~~~~~~~~~~~~~~~~~~~~~~ intro.cpp:111:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | text.print(20, (int)(60*(time-8.7)), "THIS IS THE FUTURE."); | ^~~~~~~~~~~~~~~~~~~~~ intro.cpp:112:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | text.print(20, (int)(60*(time-8.7))-50, "A FUTURE WHERE PRIMITIVE SPORTS"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intro.cpp:113:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | text.print(20, (int)(60*(time-8.7))-100, "NO LONGER EXIST. IN THIS WORLD,"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intro.cpp:114:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | text.print(20, (int)(60*(time-8.7))-150, "THERE IS ONLY ONE SPORT."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ intro.cpp:115:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | text.print(20, (int)(60*(time-8.7))-200, "THERE IS ONLY..."); | ^~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o window.o window.cpp window.cpp:30:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | { 320, 200, " 320x200 " }, | ^~~~~~~~~~~ window.cpp:31:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | { 320, 240, " 320x240 " }, | ^~~~~~~~~~~ window.cpp:32:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | { 400, 300, " 400x300 " }, | ^~~~~~~~~~~ window.cpp:33:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | { 512, 384, " 512x384 " }, | ^~~~~~~~~~~ window.cpp:34:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | { 640, 400, " 640x400 " }, | ^~~~~~~~~~~ window.cpp:35:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | { 640, 480, " 640x480 " }, | ^~~~~~~~~~~ window.cpp:36:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | { 800, 600, " 800x600 " }, | ^~~~~~~~~~~ window.cpp:37:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | { 1024, 768, "1024x768 " }, | ^~~~~~~~~~~ window.cpp:38:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | { 1152, 864, "1152x864 " }, | ^~~~~~~~~~~ window.cpp:39:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | { 1280, 960, "1280x960 " }, | ^~~~~~~~~~~ window.cpp:40:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | { 1280, 1024, "1280x1024" }, | ^~~~~~~~~~~ window.cpp:41:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | { 1600, 1200, "1600x1200" }, | ^~~~~~~~~~~ window.cpp:42:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | { 1920, 1440, "1920x1440" } | ^~~~~~~~~~~ window.cpp:60:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | { 15, "15 bpp" }, | ^~~~~~~~ window.cpp:61:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | { 16, "16 bpp" }, | ^~~~~~~~ window.cpp:62:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | { 24, "24 bpp" }, | ^~~~~~~~ window.cpp:63:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | { 32, "32 bpp" } | ^~~~~~~~ window.cpp:79:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | { 8, " 8 bpp" }, | ^~~~~~~~ window.cpp:80:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | { 16, "16 bpp" }, | ^~~~~~~~ window.cpp:81:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | { 24, "24 bpp" }, | ^~~~~~~~ window.cpp:82:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | { 32, "32 bpp" } | ^~~~~~~~ window.cpp: In function 'void createWindow(int, int)': window.cpp:210:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] 210 | text_mode(-1); | ~~~~~~~~~^~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from window.cpp:11: /usr/include/allegro/alcompat.h:155:1: note: declared here 155 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ window.cpp:211:23: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] 211 | textout_centre(screen, font, "Benny Kramek", 300, 90, makecol(255, 255, 255)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:162:1: note: declared here 162 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ window.cpp:212:23: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] 212 | textout_centre(screen, font, "http://benny.kramekweb.com", 300, 110, makecol(255, 255, 255)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:162:1: note: declared here 162 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o text.o text.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.cpp main.cpp: In function 'int main(int, char**)': main.cpp:139:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fgets(tempdummy, 256, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:141:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fscanf(fp, "%d", &versiontest); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:148:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fscanf(fp, "%d", &options.resolution); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:149:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fscanf(fp, "%d", &options.colordepth); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:150:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fscanf(fp, "%d", &options.zdepth); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:151:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fscanf(fp, "%d", &options.musicvol); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:152:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | fscanf(fp, "%d", &options.soundvol); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:153:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | fscanf(fp, "%d", &options.p1left); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:154:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fscanf(fp, "%d", &options.p1right); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:155:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | fscanf(fp, "%d", &options.p1up); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:156:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | fscanf(fp, "%d", &options.p1down); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:157:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fscanf(fp, "%d", &options.p1special); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:158:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fscanf(fp, "%d", &options.p1fire); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fscanf(fp, "%d", &options.p2left); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:160:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | fscanf(fp, "%d", &options.p2right); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:161:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | fscanf(fp, "%d", &options.p2up); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:162:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fscanf(fp, "%d", &options.p2down); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:163:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | fscanf(fp, "%d", &options.p2special); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:164:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 164 | fscanf(fp, "%d", &options.p2fire); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:165:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | fscanf(fp, "%d", &options.logoshow); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:166:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fscanf(fp, "%d", &options.fpsshow); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:167:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | fscanf(fp, "%d", &options.camerashake); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o timer.o timer.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o controls.o controls.cpp controls.cpp: In member function 'int Controls::keydown(int)': controls.cpp:22:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 22 | if(k==KEYUP) | ^ controls.cpp:27:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 27 | if(k==KEYDOWN) | ^ controls.cpp:32:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 32 | if(k==KEYLEFT) | ^ controls.cpp:37:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 37 | if(k==KEYRIGHT) | ^ controls.cpp:42:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 42 | if(k==KEYSPECIAL) | ^ controls.cpp:47:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 47 | if(k==KEYFIRE) | ^ controls.cpp:56:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 56 | if(k==KEYUP) | ^ controls.cpp:61:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 61 | if(k==KEYDOWN) | ^ controls.cpp:66:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 66 | if(k==KEYLEFT) | ^ controls.cpp:71:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 71 | if(k==KEYRIGHT) | ^ controls.cpp:76:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 76 | if(k==KEYSPECIAL) | ^ controls.cpp:81:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 81 | if(k==KEYFIRE) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ball.o ball.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o glode.o glode.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o game.o game.cpp In file included from game.cpp:25: court.h:27:1: warning: multi-line comment [-Wcomment] 27 | // \ | ^ game.cpp: In function 'void startGame(int, int, int, gameoptions)': game.cpp:105:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | bodymodel.load("0"); | ^~~ game.cpp:106:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | pushermodel.load("1"); | ^~~ game.cpp:170:14: warning: variable 'myduh' set but not used [-Wunused-but-set-variable] 170 | DUH *myduh; | ^~~~~ game.cpp: In function 'void collisiondetection()': game.cpp:769:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 769 | if(n=dCollide(ball.geom, explosionsphere, 4, &contact[cn].geom, sizeof(dContact))>0) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:789:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 789 | if(n=dCollide(machine[i].geom[k], court.wall[j], 4, &contact[cn].geom, sizeof(dContact))>0) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:809:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 809 | if(n=dCollide(machine[i].geom[k], court.corner[j], 4, &contact[cn].geom, sizeof(dContact))>0) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:851:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 851 | if(n=dCollide(machine[i].geom[k], court.floor, 4, &contact[cn].geom, sizeof(dContact))>0) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:889:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 889 | if(n=dCollide(machine[i].geom[k], explosionsphere, 4, &contact[cn].geom, sizeof(dContact))>0) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:909:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 909 | if(n=dCollide(machine[0].geom[i], machine[1].geom[k], 4, &contact[cn].geom, sizeof(dContact))>0) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function 'startGame(int, int, int, gameoptions)': game.cpp:224:76: warning: 'keyleftdown' may be used uninitialized [-Wmaybe-uninitialized] 224 | if((key[KEY_LEFT] || controls[0].keydown(KEYLEFT)) && keyleftdown==0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ game.cpp:217:43: note: 'keyleftdown' was declared here 217 | int keyrightdown, keyleftdown; | ^~~~~~~~~~~ game.cpp:230:78: warning: 'keyrightdown' may be used uninitialized [-Wmaybe-uninitialized] 230 | if((key[KEY_RIGHT] || controls[0].keydown(KEYRIGHT)) && keyrightdown==0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ game.cpp:217:29: note: 'keyrightdown' was declared here 217 | int keyrightdown, keyleftdown; | ^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o camera.o camera.cpp In file included from camera.cpp:16: court.h:27:1: warning: multi-line comment [-Wcomment] 27 | // \ | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o court.o court.cpp In file included from court.cpp:11: court.h:27:1: warning: multi-line comment [-Wcomment] 27 | // \ | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o powerup.o powerup.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o machine.o machine.cpp In file included from machine.cpp:15: court.h:27:1: warning: multi-line comment [-Wcomment] 27 | // \ | ^ machine.cpp: In member function 'void Machine::init()': machine.cpp:67:49: warning: 'dxGeom* dCreateGeomTransform(dSpaceID)' is deprecated [-Wdeprecated-declarations] 67 | geom[i+2] = dCreateGeomTransform(0); | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/ode/ode.h:44, from machine.h:14, from machine.cpp:13: /usr/include/ode/collision.h:1089:36: note: declared here 1089 | ODE_API_DEPRECATED ODE_API dGeomID dCreateGeomTransform (dSpaceID space); | ^~~~~~~~~~~~~~~~~~~~ machine.cpp:68:41: warning: 'void dGeomTransformSetCleanup(dGeomID, int)' is deprecated [-Wdeprecated-declarations] 68 | dGeomTransformSetCleanup(geom[i+2], 1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/ode/collision.h:1092:33: note: declared here 1092 | ODE_API_DEPRECATED ODE_API void dGeomTransformSetCleanup (dGeomID g, int mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ machine.cpp:75:38: warning: 'void dGeomTransformSetGeom(dGeomID, dGeomID)' is deprecated [-Wdeprecated-declarations] 75 | dGeomTransformSetGeom(geom[i+2], finE[i]); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/ode/collision.h:1090:33: note: declared here 1090 | ODE_API_DEPRECATED ODE_API void dGeomTransformSetGeom (dGeomID g, dGeomID obj); | ^~~~~~~~~~~~~~~~~~~~~ machine.cpp:86:37: warning: 'void dJointSetHinge2Axis1(dJointID, dReal, dReal, dReal)' is deprecated [-Wdeprecated-declarations] 86 | dJointSetHinge2Axis1(wheeljoint[i], 0, 0, 1); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ode/ode.h:42: /usr/include/ode/objects.h:1986:33: note: declared here 1986 | ODE_API_DEPRECATED ODE_API void dJointSetHinge2Axis1 (dJointID j, dReal x, dReal y, dReal z); | ^~~~~~~~~~~~~~~~~~~~ machine.cpp:87:37: warning: 'void dJointSetHinge2Axis2(dJointID, dReal, dReal, dReal)' is deprecated [-Wdeprecated-declarations] 87 | dJointSetHinge2Axis2(wheeljoint[i], 1, 0, 0); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ode/objects.h:1996:33: note: declared here 1996 | ODE_API_DEPRECATED ODE_API void dJointSetHinge2Axis2 (dJointID j, dReal x, dReal y, dReal z); | ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o explosion.o explosion.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o render.o render.cpp In file included from render.cpp:23: court.h:27:1: warning: multi-line comment [-Wcomment] 27 | // \ | ^ render.cpp: In function 'void render()': render.cpp:943:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 943 | text.print(290, 400, "GAME OVER"); | ^~~~~~~~~~~ render.cpp:947:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 947 | text.print(240, 280, "PLAYER 1 WINS!"); | ^~~~~~~~~~~~~~~~ render.cpp:949:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 949 | text.print(200, 240, "PLAYER 2: YOU SUCK!"); | ^~~~~~~~~~~~~~~~~~~~~ render.cpp:954:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 954 | text.print(240, 280, "PLAYER 2 WINS!"); | ^~~~~~~~~~~~~~~~ render.cpp:956:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 956 | text.print(200, 240, "PLAYER 1: YOU SUCK!"); | ^~~~~~~~~~~~~~~~~~~~~ render.cpp:960:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 960 | text.print(300, 280, "TIE GAME!"); | ^~~~~~~~~~~ render.cpp:961:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 961 | text.print(240, 240, "YOU BOTH SUCK!"); | ^~~~~~~~~~~~~~~~ render.cpp:964:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 964 | text.print(250, 140, "PRESS ESCAPE"); | ^~~~~~~~~~~~~~ render.cpp:969:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 969 | text.print(340, 400, "PAUSE"); | ^~~~~~~ render.cpp:972:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 972 | text.print(120, 340, "CURRENT SONG:"); | ^~~~~~~~~~~~~~~ render.cpp:973:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 973 | text.print(105, 280, "<"); | ^~~ render.cpp:974:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 974 | text.print(680, 280, ">"); | ^~~ render.cpp:989:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 989 | text.print(120, 160, "PRESS ESCAPE TO RESUME"); | ^~~~~~~~~~~~~~~~~~~~~~~~ render.cpp:990:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 990 | text.print(200, 120, "PRESS F11 TO QUIT"); | ^~~~~~~~~~~~~~~~~~~ render.cpp:387:13: warning: unused variable 'j' [-Wunused-variable] 387 | int j; | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o options.o options.cpp gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mbdata.o mbdata.c mbdata.c:65349:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65349 | { &mb_music_menu, DAT_ID('X', 'M', ' ', ' '), 51355, mb_music_menu_prop }, | ^ mbdata.c:65370:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65370 | { &mb_song01, DAT_ID('S', '3', 'M', ' '), 39778, mb_song01_prop }, | ^ mbdata.c:65371:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65371 | { &mb_song02, DAT_ID('M', 'O', 'D', ' '), 40450, mb_song02_prop }, | ^ mbdata.c:65372:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65372 | { &mb_song03, DAT_ID('M', 'O', 'D', ' '), 19772, mb_song03_prop }, | ^ mbdata.c:65373:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65373 | { &mb_song04, DAT_ID('M', 'O', 'D', ' '), 86546, mb_song04_prop }, | ^ mbdata.c:65374:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65374 | { &mb_song05, DAT_ID('X', 'M', ' ', ' '), 53969, mb_song05_prop }, | ^ mbdata.c:65375:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65375 | { &mb_song06, DAT_ID('X', 'M', ' ', ' '), 42300, mb_song06_prop }, | ^ mbdata.c:65376:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65376 | { &mb_song07, DAT_ID('M', 'O', 'D', ' '), 99704, mb_song07_prop }, | ^ mbdata.c:65377:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65377 | { &mb_song08, DAT_ID('X', 'M', ' ', ' '), 59748, mb_song08_prop }, | ^ mbdata.c:65378:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65378 | { &mb_song09, DAT_ID('X', 'M', ' ', ' '), 37452, mb_song09_prop }, | ^ mbdata.c:65379:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65379 | { &mb_song10, DAT_ID('M', 'O', 'D', ' '), 60500, mb_song10_prop }, | ^ mbdata.c:65380:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65380 | { &mb_song11, DAT_ID('M', 'O', 'D', ' '), 15678, mb_song11_prop }, | ^ mbdata.c:65381:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 65381 | { &mb_song12, DAT_ID('M', 'O', 'D', ' '), 29262, mb_song12_prop }, | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o menu.o menu.cpp menu.cpp: In function 'int mainMenu()': menu.cpp:201:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 201 | text.print(40, 0, "BENNY KRAMEK 2002"); | ^~~~~~~~~~~~~~~~~~~ menu.cpp:203:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 203 | text.print(200, 250, "HUMAN VS HUMAN"); | ^~~~~~~~~~~~~~~~ menu.cpp:204:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | text.print(200, 200, "HUMAN VS COMP"); | ^~~~~~~~~~~~~~~ menu.cpp:205:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 205 | text.print(200, 150, "OPTIONS"); | ^~~~~~~~~ menu.cpp:206:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 206 | text.print(200, 100, "QUIT"); | ^~~~~~ menu.cpp: In function 'int ballMenu()': menu.cpp:416:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 416 | text.print(230, 450, "SELECT THE BALL"); | ^~~~~~~~~~~~~~~~~ menu.cpp:418:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 418 | text.print(250, 20, "OFFICIAL BALL"); | ^~~~~~~~~~~~~~~ menu.cpp:420:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | text.print(320, 20, "BOULDER"); | ^~~~~~~~~ menu.cpp:422:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | text.print(280, 20, "BEACH BALL"); | ^~~~~~~~~~~~ menu.cpp:424:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 424 | text.print(270, 20, "SOCCER BALL"); | ^~~~~~~~~~~~~ menu.cpp:426:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | text.print(220, 20, "BIG ORANGE BALL"); | ^~~~~~~~~~~~~~~~~ menu.cpp:428:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | text.print(260, 20, "INFLATED TUX"); | ^~~~~~~~~~~~~~ menu.cpp:268:20: warning: unused variable 'ballbmp' [-Wunused-variable] 268 | DATAFILE * ballbmp; | ^~~~~~~ menu.cpp: In function 'int courtMenu()': menu.cpp:744:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 744 | text.print(160, 450, "SELECT THE COURT SIZE"); | ^~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:746:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 746 | text.print(330, 10, "SMALL"); | ^~~~~~~ menu.cpp:748:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 748 | text.print(320, 10, "NORMAL"); | ^~~~~~~~ menu.cpp:750:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 750 | text.print(330, 10, "LARGE"); | ^~~~~~~ menu.cpp:752:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 752 | text.print(340, 10, "HUGE"); | ^~~~~~ menu.cpp: In function 'void gameoptionsMenu(gameoptions*)': menu.cpp:1131:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1131 | text.print(250, 550, "MATCH OPTIONS"); | ^~~~~~~~~~~~~~~ menu.cpp:1133:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1133 | text.print(60, 500, "MATCH TYPE: TIME / GOAL LIMIT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1135:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1135 | text.print(60, 450, "# OF MINUTES:"); | ^~~~~~~~~~~~~~~ menu.cpp:1137:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1137 | text.print(60, 450, "# OF GOALS:"); | ^~~~~~~~~~~~~ menu.cpp:1138:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1138 | text.print(400, 450, "1 2 5 10 30 60"); | ^~~~~~~~~~~~~~~~~~ menu.cpp:1139:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1139 | text.print(60, 400, "NUKE STUCK BALL: YES / NO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1140:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1140 | text.print(60, 350, "POWERUPS: ENABLED / DISABLED"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1143:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1143 | text.print(60, 300, "FREQUENCY (SECONDS): 1 3 10 30"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1144:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1144 | text.print(60, 250, "TURBO:"); | ^~~~~~~~ menu.cpp:1145:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1145 | text.print(60, 200, "SHIELD:"); | ^~~~~~~~~ menu.cpp:1146:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1146 | text.print(60, 150, "MINE:"); | ^~~~~~~ menu.cpp:1147:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1147 | text.print(60, 100, "MISSLE:"); | ^~~~~~~~~ menu.cpp:1148:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1148 | text.print(60, 50, "EMP:"); | ^~~~~~ menu.cpp: In function 'void humancompmessage()': menu.cpp:1200:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1200 | text.print(200, 440, "SORRY!"); | ^~~~~~~~ menu.cpp:1202:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1202 | text.print(20, 400, "ONLY HUMAN VS HUMAN IS AVAILABLE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1204:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1204 | text.print(120, 120, "IF YOU ARE A TALENTED AI"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1205:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1205 | text.print(65, 80, "PROGRAMMER AND WOULD LIKE TO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1206:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1206 | text.print(60, 40, "PROGRAM SOME COMPUTER AI FOR"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1207:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1207 | text.print(0, 0, "MACHINEBALL THEN PLEASE CONTACT ME."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp: In function 'int optionsMenu()': menu.cpp:1354:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1354 | text.print(310, 500, "OPTIONS"); | ^~~~~~~~~ menu.cpp:1356:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1356 | text.print(300, 350, "CONTROLS"); | ^~~~~~~~~~ menu.cpp:1357:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1357 | text.print(330, 300, "AUDIO"); | ^~~~~~~ menu.cpp:1358:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1358 | text.print(330, 250, "VIDEO"); | ^~~~~~~ menu.cpp:1359:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1359 | text.print(200, 200, "BACK TO MAIN MENU"); | ^~~~~~~~~~~~~~~~~~~ menu.cpp: In function 'void audioMenu()': menu.cpp:1548:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1548 | text.print(240, 500, "AUDIO OPTIONS"); | ^~~~~~~~~~~~~~~ menu.cpp:1550:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1550 | text.print(190, 350, "MASTER-VOL:"); | ^~~~~~~~~~~~~ menu.cpp:1551:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1551 | text.print(190, 300, "MUSIC VOL:"); | ^~~~~~~~~~~~ menu.cpp:1552:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1552 | text.print(190, 250, "BACK TO OPTIONS"); | ^~~~~~~~~~~~~~~~~ menu.cpp: In function 'void videoMenu()': menu.cpp:1730:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1730 | text.print(240, 500, "VIDEO OPTIONS"); | ^~~~~~~~~~~~~~~ menu.cpp:1732:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1732 | text.print(70, 350, "CAMERA-SHAKE FX: YES NO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1733:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1733 | text.print(70, 300, "SHOW LOGO IN GAME: YES NO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1734:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1734 | text.print(70, 250, "SHOW FRAMES-PER-SECOND: YES NO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:1735:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1735 | text.print(70, 200, "BACK TO OPTIONS"); | ^~~~~~~~~~~~~~~~~ menu.cpp: In function 'void controlsMenu()': menu.cpp:2281:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2281 | text.print(240, 560, "CONTROLS OPTIONS"); | ^~~~~~~~~~~~~~~~~~ menu.cpp:2283:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2283 | text.print(20, 480, "DETECTED INPUT DEVICES:"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:2285:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2285 | text.print(20, 440, "KEYBOARD"); | ^~~~~~~~~~ menu.cpp:2287:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2287 | text.print(220, 440, ", JOYSTICK1"); | ^~~~~~~~~~~~~ menu.cpp:2289:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2289 | text.print(450, 440, ", JOYSTICK2"); | ^~~~~~~~~~~~~ menu.cpp:2291:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2291 | text.print(20, 400, "JOYSTICK3"); | ^~~~~~~~~~~ menu.cpp:2293:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2293 | text.print(220, 400, ", JOYSTICK4"); | ^~~~~~~~~~~~~ menu.cpp:2296:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2296 | text.print(40, 300, "PLAYER 1"); | ^~~~~~~~~~ menu.cpp:2297:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2297 | text.print(20, 240, "FORWARD:"); | ^~~~~~~~~~ menu.cpp:2298:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2298 | text.print(20, 200, "REVERSE:"); | ^~~~~~~~~~ menu.cpp:2299:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2299 | text.print(20, 160, "LEFT:"); | ^~~~~~~ menu.cpp:2300:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2300 | text.print(20, 120, "RIGHT:"); | ^~~~~~~~ menu.cpp:2301:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2301 | text.print(20, 80, "KICK:"); | ^~~~~~~ menu.cpp:2302:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2302 | text.print(20, 40, "FIRE:"); | ^~~~~~~ menu.cpp:2304:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2304 | text.print(440, 300, "PLAYER 2"); | ^~~~~~~~~~ menu.cpp:2305:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2305 | text.print(420, 240, "FORWARD:"); | ^~~~~~~~~~ menu.cpp:2306:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2306 | text.print(420, 200, "REVERSE:"); | ^~~~~~~~~~ menu.cpp:2307:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2307 | text.print(420, 160, "LEFT:"); | ^~~~~~~ menu.cpp:2308:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2308 | text.print(420, 120, "RIGHT:"); | ^~~~~~~~ menu.cpp:2309:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2309 | text.print(420, 80, "KICK:"); | ^~~~~~~ menu.cpp:2310:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2310 | text.print(420, 40, "FIRE:"); | ^~~~~~~ menu.cpp:2312:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2312 | text.print(200, 0, "BACK TO OPTIONS"); | ^~~~~~~~~~~~~~~~~ menu.cpp:2333:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2333 | text.print(220, 240, "???"); | ^~~~~ menu.cpp:2337:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2337 | text.print(220, 200, "???"); | ^~~~~ menu.cpp:2341:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2341 | text.print(220, 160, "???"); | ^~~~~ menu.cpp:2345:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2345 | text.print(220, 120, "???"); | ^~~~~ menu.cpp:2349:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2349 | text.print(220, 80, "???"); | ^~~~~ menu.cpp:2353:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2353 | text.print(220, 40, "???"); | ^~~~~ menu.cpp:2357:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2357 | text.print(620, 240, "???"); | ^~~~~ menu.cpp:2361:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2361 | text.print(620, 200, "???"); | ^~~~~ menu.cpp:2365:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2365 | text.print(620, 160, "???"); | ^~~~~ menu.cpp:2369:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2369 | text.print(620, 120, "???"); | ^~~~~ menu.cpp:2373:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2373 | text.print(620, 80, "???"); | ^~~~~ menu.cpp:2377:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2377 | text.print(620, 40, "???"); | ^~~~~ menu.cpp: In function 'void creditsMenu()': menu.cpp:2453:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2453 | text.print(240, 340, "BENNY KRAMEK 2002"); | ^~~~~~~~~~~~~~~~~~~ menu.cpp:2455:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2455 | text.print(10, 120, "OPEN-DYNAMICS-ENGINE : Q12.ORG/ODE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:2456:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2456 | text.print(10, 80, "ALLEGRO : ALLEG.SF.NET"); | ^~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:2457:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2457 | text.print(10, 40, "OPENGL : OPENGL.ORG"); | ^~~~~~~~~~~~~~~~~~~~~ menu.cpp:2458:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2458 | text.print(10, 0, "DUMB : DUMB.SF.NET"); | ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 mbdata.h:51:15: warning: type of 'mb_font' does not match original declaration [-Wlto-type-mismatch] 51 | extern BITMAP mb_font; | ^ mbdata.c:21965:76: note: 'mb_font' was previously declared here 21965 | int x_ofs; int y_ofs; int seg; unsigned char *line[257]; } mb_font = { | ^ mbdata.c:21965:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:39:15: warning: type of 'mb_ball06' does not match original declaration [-Wlto-type-mismatch] 39 | extern BITMAP mb_ball06; | ^ mbdata.c:6945:76: note: 'mb_ball06' was previously declared here 6945 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_ball06 = { | ^ mbdata.c:6945:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:36:15: warning: type of 'mb_ball05' does not match original declaration [-Wlto-type-mismatch] 36 | extern BITMAP mb_ball05; | ^ mbdata.c:5766:76: note: 'mb_ball05' was previously declared here 5766 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_ball05 = { | ^ mbdata.c:5766:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:33:15: warning: type of 'mb_ball04' does not match original declaration [-Wlto-type-mismatch] 33 | extern BITMAP mb_ball04; | ^ mbdata.c:4587:76: note: 'mb_ball04' was previously declared here 4587 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_ball04 = { | ^ mbdata.c:4587:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:30:15: warning: type of 'mb_ball03' does not match original declaration [-Wlto-type-mismatch] 30 | extern BITMAP mb_ball03; | ^ mbdata.c:3408:76: note: 'mb_ball03' was previously declared here 3408 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_ball03 = { | ^ mbdata.c:3408:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:27:15: warning: type of 'mb_ball02' does not match original declaration [-Wlto-type-mismatch] 27 | extern BITMAP mb_ball02; | ^ mbdata.c:2229:76: note: 'mb_ball02' was previously declared here 2229 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_ball02 = { | ^ mbdata.c:2229:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:24:15: warning: type of 'mb_ball01' does not match original declaration [-Wlto-type-mismatch] 24 | extern BITMAP mb_ball01; | ^ mbdata.c:1050:76: note: 'mb_ball01' was previously declared here 1050 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_ball01 = { | ^ mbdata.c:1050:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:69:15: warning: type of 'mb_pattern02' does not match original declaration [-Wlto-type-mismatch] 69 | extern BITMAP mb_pattern02; | ^ mbdata.c:39460:76: note: 'mb_pattern02' was previously declared here 39460 | int x_ofs; int y_ofs; int seg; unsigned char *line[257]; } mb_pattern02 = { | ^ mbdata.c:39460:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:66:15: warning: type of 'mb_pattern01' does not match original declaration [-Wlto-type-mismatch] 66 | extern BITMAP mb_pattern01; | ^ mbdata.c:35081:76: note: 'mb_pattern01' was previously declared here 35081 | int x_ofs; int y_ofs; int seg; unsigned char *line[257]; } mb_pattern01 = { | ^ mbdata.c:35081:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:57:15: warning: type of 'mb_machineball' does not match original declaration [-Wlto-type-mismatch] 57 | extern BITMAP mb_machineball; | ^ mbdata.c:25475:75: note: 'mb_machineball' was previously declared here 25475 | int x_ofs; int y_ofs; int seg; unsigned char *line[65]; } mb_machineball = { | ^ mbdata.c:25475:75: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:45:15: warning: type of 'mb_explosion' does not match original declaration [-Wlto-type-mismatch] 45 | extern BITMAP mb_explosion; | ^ mbdata.c:13207:76: note: 'mb_explosion' was previously declared here 13207 | int x_ofs; int y_ofs; int seg; unsigned char *line[257]; } mb_explosion = { | ^ mbdata.c:13207:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:165:15: warning: type of 'mb_weapons' does not match original declaration [-Wlto-type-mismatch] 165 | extern BITMAP mb_weapons; | ^ mbdata.c:65194:76: note: 'mb_weapons' was previously declared here 65194 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_weapons = { | ^ mbdata.c:65194:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:42:15: warning: type of 'mb_bennykramekweb' does not match original declaration [-Wlto-type-mismatch] 42 | extern BITMAP mb_bennykramekweb; | ^ mbdata.c:7772:75: note: 'mb_bennykramekweb' was previously declared here 7772 | int x_ofs; int y_ofs; int seg; unsigned char *line[33]; } mb_bennykramekweb = { | ^ mbdata.c:7772:75: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:54:15: warning: type of 'mb_goal' does not match original declaration [-Wlto-type-mismatch] 54 | extern BITMAP mb_goal; | ^ mbdata.c:24296:76: note: 'mb_goal' was previously declared here 24296 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_goal = { | ^ mbdata.c:24296:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:75:15: warning: type of 'mb_reflect' does not match original declaration [-Wlto-type-mismatch] 75 | extern BITMAP mb_reflect; | ^ mbdata.c:41242:76: note: 'mb_reflect' was previously declared here 41242 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_reflect = { | ^ mbdata.c:41242:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:60:15: warning: type of 'mb_machinetex' does not match original declaration [-Wlto-type-mismatch] 60 | extern BITMAP mb_machinetex; | ^ mbdata.c:29662:76: note: 'mb_machinetex' was previously declared here 29662 | int x_ofs; int y_ofs; int seg; unsigned char *line[257]; } mb_machinetex = { | ^ mbdata.c:29662:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:162:15: warning: type of 'mb_wall01' does not match original declaration [-Wlto-type-mismatch] 162 | extern BITMAP mb_wall01; | ^ mbdata.c:64015:76: note: 'mb_wall01' was previously declared here 64015 | int x_ofs; int y_ofs; int seg; unsigned char *line[129]; } mb_wall01 = { | ^ mbdata.c:64015:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:48:15: warning: type of 'mb_floor01' does not match original declaration [-Wlto-type-mismatch] 48 | extern BITMAP mb_floor01; | ^ mbdata.c:17586:76: note: 'mb_floor01' was previously declared here 17586 | int x_ofs; int y_ofs; int seg; unsigned char *line[257]; } mb_floor01 = { | ^ mbdata.c:17586:76: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:72:15: warning: type of 'mb_powerup' does not match original declaration [-Wlto-type-mismatch] 72 | extern BITMAP mb_powerup; | ^ mbdata.c:40127:75: note: 'mb_powerup' was previously declared here 40127 | int x_ofs; int y_ofs; int seg; unsigned char *line[65]; } mb_powerup = { | ^ mbdata.c:40127:75: note: code may be misoptimized unless '-fno-strict-aliasing' is used mbdata.h:123:15: warning: type of 'mb_shadow' does not match original declaration [-Wlto-type-mismatch] 123 | extern BITMAP mb_shadow; | ^ mbdata.c:51048:75: note: 'mb_shadow' was previously declared here 51048 | int x_ofs; int y_ofs; int seg; unsigned char *line[65]; } mb_shadow = { | ^ mbdata.c:51048:75: note: code may be misoptimized unless '-fno-strict-aliasing' is used + RPM_EC=0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.974RRY ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 machineball-src + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/bin + install -m 755 machineball /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/bin + ln -s opengl-game-wrapper.sh /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/bin/machineball-wrapper + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/applications /builddir/build/SOURCES/machineball.desktop /builddir/build/BUILDROOT/machineball-1.0-41.fc37.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 + for i in "16x16" "24x24" "32x32" "48x48" "64x64" + mkdir -p /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/icons/hicolor/16x16/apps + install -p -m 644 machineball-icon-16x16.xpm /builddir/build/BUILDROOT/machineball-1.0-41.fc37.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-41.fc37.riscv64/usr/share/icons/hicolor/24x24/apps + install -p -m 644 machineball-icon-24x24.xpm /builddir/build/BUILDROOT/machineball-1.0-41.fc37.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-41.fc37.riscv64/usr/share/icons/hicolor/32x32/apps + install -p -m 644 machineball-icon-32x32.xpm /builddir/build/BUILDROOT/machineball-1.0-41.fc37.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-41.fc37.riscv64/usr/share/icons/hicolor/48x48/apps + install -p -m 644 machineball-icon-48x48.xpm /builddir/build/BUILDROOT/machineball-1.0-41.fc37.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-41.fc37.riscv64/usr/share/icons/hicolor/64x64/apps + install -p -m 644 machineball-icon-64x64.xpm /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/icons/hicolor/64x64/apps/machineball.xpm + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0-41.fc37 --unique-debug-suffix -1.0-41.fc37.riscv64 --unique-debug-src-base machineball-1.0-41.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/machineball-src extracting debug info from /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/bin/machineball original debug info size: 1928kB, size after compression: 1784kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 17496 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: machineball-1.0-41.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sTJc8n + umask 022 + cd /builddir/build/BUILD + cd machineball-src + DOCDIR=/builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/doc/machineball + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/doc/machineball + cp -pr README /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/doc/machineball + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5BLZuc + umask 022 + cd /builddir/build/BUILD + cd machineball-src + LICENSEDIR=/builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/licenses/machineball + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/licenses/machineball + cp -pr COPYING /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64/usr/share/licenses/machineball + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(machineball.desktop) machineball = 1.0-41.fc37 machineball(riscv-64) = 1.0-41.fc37 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) libc.so.6(GLIBC_2.34)(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.8()(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: machineball-debugsource-1.0-41.fc37.riscv64 Provides: machineball-debugsource = 1.0-41.fc37 machineball-debugsource(riscv-64) = 1.0-41.fc37 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-41.fc37.riscv64 Provides: debuginfo(build-id) = 645fefab83b2e061d925aea1e7104cc3da02d805 machineball-debuginfo = 1.0-41.fc37 machineball-debuginfo(riscv-64) = 1.0-41.fc37 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-41.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64 Wrote: /builddir/build/RPMS/machineball-debuginfo-1.0-41.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/machineball-1.0-41.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/machineball-debugsource-1.0-41.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0Yj9yJ + umask 022 + cd /builddir/build/BUILD + cd machineball-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/machineball-1.0-41.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WNFrXM + umask 022 + cd /builddir/build/BUILD + rm -rf machineball-src machineball-src.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0