Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f29-build-6347-1553/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/duel3-0.1-0.26.20060225.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'], chrootPath='/var/lib/mock/f29-build-6347-1553/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/duel3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IaDzbR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Duel3_20060225_src + /usr/bin/unzip -qq /builddir/build/SOURCES/Duel3_20060225_src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd Duel3_20060225_src + /usr/bin/unzip -qq /builddir/build/SOURCES/Duel3_20060225_bin.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv Duel3_20060225_bin/Desktop.ini Duel3_20060225_bin/Duel3.exe Duel3_20060225_bin/ShipAtts.d3 Duel3_20060225_bin/Ships.d3 Duel3_20060225_bin/Thumbs.db Duel3_20060225_bin/WeaponsSet.d3 Duel3_20060225_bin/alleg42.dll Duel3_20060225_bin/fonts.dat Duel3_20060225_bin/images Duel3_20060225_bin/license.txt Duel3_20060225_bin/log.txt Duel3_20060225_bin/models Duel3_20060225_bin/models.d3 Duel3_20060225_bin/music Duel3_20060225_bin/readme.txt Duel3_20060225_bin/sounds.dat Duel3_20060225_bin/w_hud Source + cp /builddir/build/SOURCES/music-credits.txt . Patch #0 (Duel3_20060225-fixes.patch): + echo 'Patch #0 (Duel3_20060225-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/PObject.h patching file Source/Button.h patching file Source/CServer.h patching file Source/Player.cpp patching file Source/Server.h patching file Source/AsteroidsGameMode.h patching file Source/Controller.cpp patching file Source/main.cpp patching file Source/BRect.h patching file Source/unix.cpp patching file Source/CPacket.h patching file Source/CCamera.h patching file Source/CVector3.h patching file Source/Player.h patching file Source/Proj.h patching file Source/Weapon.cpp patching file Source/particlegenerator.h patching file Source/oCVector3.h patching file Source/Makefile patching file Source/Game.h patching file Source/particle.h patching file Source/CNetwork.h patching file Source/CPlayer.h patching file Source/Standards.h patching file Source/CMenuItem.h patching file Source/Client.h patching file Source/Model.cpp patching file Source/Ship.cpp patching file Source/Standards.cpp patching file Source/CVector2.h patching file Source/CMenu.h patching file Source/Weapon.h patching file Source/models.d3 patching file Source/CClient.h patching file Source/Game.cpp + echo 'Patch #1 (Duel3_20060225-windowed-mode.patch):' Patch #1 (Duel3_20060225-windowed-mode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/main.cpp Patch #2 (Duel3_20060225-fix-buf-oflow.patch): + echo 'Patch #2 (Duel3_20060225-fix-buf-oflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/Player.cpp + echo 'Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch): patching file Source/Player.cpp + sed -i 's/\r//' Source/readme.txt license.txt music-credits.txt + iconv -f iso8859-1 -t utf-8 music-credits.txt + mv temp music-credits.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.58Qss5 + umask 022 + cd /builddir/build/BUILD + cd Duel3_20060225_src + pushd Source ~/build/BUILD/Duel3_20060225_src/Source ~/build/BUILD/Duel3_20060225_src + make -j4 PREFIX=/usr '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 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor' 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 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o main.o -c 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 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Standards.o -c Standards.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 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CCamera.o -c CCamera.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 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector2.o -c CVector2.cpp BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.cpp:8: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.h:5, BUILDSTDERR: from CVector2.h:13, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from Standards.cpp:5: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector2.h:11, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.h:5, BUILDSTDERR: from CVector2.h:13, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector2.h:11, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.cpp:8: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from Standards.cpp:5: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.cpp:8: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from Standards.cpp:5: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.h:5, BUILDSTDERR: from CVector2.h:13, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector2.h:11, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.h:5, BUILDSTDERR: from CVector2.h:13, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector2.h:11, BUILDSTDERR: from CVector2.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from Standards.cpp:8: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from Standards.cpp:5: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Standards.cpp: In function 'int loadTexture(char*)': BUILDSTDERR: Standards.cpp:51:13: warning: unused variable 'pal' [-Wunused-variable] BUILDSTDERR: PALETTE pal; BUILDSTDERR: ^~~ BUILDSTDERR: Standards.cpp: In function 'float FastSqrt(float)': BUILDSTDERR: Standards.cpp:119:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: int i = *(int*)&x; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Standards.cpp:121:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: x = *(float*)&i; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:9: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from main.cpp:8: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:9: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from main.cpp:8: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:9: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from main.cpp:8: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from main.cpp:9: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from main.cpp:8: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:14: Standards.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: make: *** [Makefile:14: CVector2.o] Error 1 BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector3.h:11, BUILDSTDERR: from CCamera.h:15, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: error: conflicting declaration of C function 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from CCamera.h:10, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: note: previous declaration 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector3.h:11, BUILDSTDERR: from CCamera.h:15, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from CCamera.h:10, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector3.h:11, BUILDSTDERR: from CCamera.h:15, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from CCamera.h:10, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from CVector3.h:11, BUILDSTDERR: from CCamera.h:15, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33:20: error: conflicting declaration of C function 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from CCamera.h:10, BUILDSTDERR: from CCamera.cpp:6: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: note: previous declaration 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: CCamera.cpp: In member function 'bool CCamera::setOrthoViewport(int, int)': BUILDSTDERR: CCamera.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: make: *** [Makefile:14: CCamera.o] Error 1 BUILDSTDERR: main.cpp: In function 'int main(int, const char**)': BUILDSTDERR: main.cpp:291:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: play_song(DATADIR "music/BlackIce1.XM"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:432:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: play_song(DATADIR "music/BlackIce1.XM"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:433:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"RETURNING TO MENU\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:439:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nDONE\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp: In function 'void reset_game()': BUILDSTDERR: main.cpp:575:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nEntering function reset_game\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:577:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Setting up camera\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp: In function 'void init_game()': BUILDSTDERR: main.cpp:598:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nINIT GAME\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:600:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading DUMB\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:604:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading title image\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:605:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: title.setPict(800,600, DATADIR "images/title.bmp",false); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:609:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: loadModels(DATADIR "models.d3"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:611:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Models Loaded\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:615:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading fonts\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:618:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Fonts Loaded\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:620:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Error loading fonts\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:624:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Creating fonts\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:637:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Fonts created\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:641:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: loadShipDefs(DATADIR "Ships.d3"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:652:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Loading sounds\n\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:653:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: SfxSingleton::instance()->setData(DATADIR "sounds.dat"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:660:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: game.setupWeapons(DATADIR "weapons.d3",&partGen); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:668:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nAdding Game Modes\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:671:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding asteroids\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:673:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding missile avoid\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:675:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding 2p missile avoid\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:677:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," adding 2p asteroids\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:680:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nInit Menus\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:596:10: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: char temp[100]; BUILDSTDERR: ^~~~ BUILDSTDERR: main.cpp:613:14: warning: unused variable 'def' [-Wunused-variable] BUILDSTDERR: TShipDef def; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:635:9: warning: unused variable 'iNumFonts' [-Wunused-variable] BUILDSTDERR: int iNumFonts=n; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: main.cpp: In function 'void loadShipDefs(char*)': BUILDSTDERR: main.cpp:693:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nLoading Ship defs\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:714:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE," Ship defs file loaded\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:727:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^ BUILDSTDERR: main.cpp:742:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:742:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^ BUILDSTDERR: main.cpp:758:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^~~ BUILDSTDERR: main.cpp:758:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for(; file[n]!='|' ; n++); n++; BUILDSTDERR: ^ BUILDSTDERR: main.cpp:801:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:697:9: warning: unused variable 'iFilePos' [-Wunused-variable] BUILDSTDERR: int iFilePos=0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: main.cpp: In function 'int initAllegroGL()': BUILDSTDERR: main.cpp:809:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"INIT ALLEGROGL\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:815:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Setting up window\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:829:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Setting gfx mode\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:837:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"!!Error setting gfx mode!!\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:842:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Installing keyboard and mouse\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:850:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Converting font\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:857:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Configuring opengl settings\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:907:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"Installing timer\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp: In function 'void end_game()': BUILDSTDERR: main.cpp:924:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"\nEND_GAME\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:929:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: outtext(LOGFILE,"unloading datafile\n"); BUILDSTDERR: ^ BUILDSTDERR: main.cpp:933:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for(int n=0 ; n::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if(gameMode>=0 && gameMode