<86>Nov 15 03:13:01 userdel[79129]: delete user 'rooter' <86>Nov 15 03:13:01 groupadd[79273]: group added to /etc/group: name=rooter, GID=681 <86>Nov 15 03:13:01 groupadd[79273]: group added to /etc/gshadow: name=rooter <86>Nov 15 03:13:01 groupadd[79273]: new group: name=rooter, GID=681 <86>Nov 15 03:13:01 useradd[79314]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Nov 15 03:13:01 userdel[79397]: delete user 'builder' <86>Nov 15 03:13:01 userdel[79397]: removed group 'builder' owned by 'builder' <86>Nov 15 03:13:01 userdel[79397]: removed shadow group 'builder' owned by 'builder' <86>Nov 15 03:13:02 groupadd[79518]: group added to /etc/group: name=builder, GID=682 <86>Nov 15 03:13:02 groupadd[79518]: group added to /etc/gshadow: name=builder <86>Nov 15 03:13:02 groupadd[79518]: new group: name=builder, GID=682 <86>Nov 15 03:13:02 useradd[79559]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Nov 15 03:13:08 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Nov 15 03:13:08 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Nov 15 03:13:08 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Nov 15 03:13:08 rpmi: libglvnd-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:08 rpmi: libwebp7-1.0.3-alt1 sisyphus+234493.100.1.1 1563090161 installed <13>Nov 15 03:13:08 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Nov 15 03:13:08 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Nov 15 03:13:08 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Nov 15 03:13:08 rpmi: libogg-devel-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Nov 15 03:13:08 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906326 installed <13>Nov 15 03:13:08 rpmi: libopenjpeg2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284336 installed <13>Nov 15 03:13:08 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Nov 15 03:13:08 rpmi: libtiff5-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed <13>Nov 15 03:13:08 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Nov 15 03:13:08 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Nov 15 03:13:08 rpmi: ilmbase12-common-2.2.0-alt2 sisyphus+237892.200.2.1 1568981821 installed <13>Nov 15 03:13:08 rpmi: libiex12-2.2.0-alt2 sisyphus+237892.200.2.1 1568981821 installed <13>Nov 15 03:13:08 rpmi: libilmthread12-2.2.0-alt2 sisyphus+237892.200.2.1 1568981821 installed <13>Nov 15 03:13:08 rpmi: libhalf12-2.2.0-alt2 sisyphus+237892.200.2.1 1568981821 installed <13>Nov 15 03:13:08 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Nov 15 03:13:08 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Nov 15 03:13:08 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Nov 15 03:13:08 rpmi: libOpenGL-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:08 rpmi: libGLES-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:09 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>Nov 15 03:13:09 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Nov 15 03:13:09 rpmi: gcc-c++-common-1.4.24-alt2 sisyphus+240563.100.1.1 1573475389 installed <13>Nov 15 03:13:09 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Nov 15 03:13:11 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Nov 15 03:13:11 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Nov 15 03:13:11 rpmi: libjack-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043815 installed <13>Nov 15 03:13:11 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Nov 15 03:13:11 rpmi: libwmflite-0.2.8.4-alt13 1506519334 installed <13>Nov 15 03:13:11 rpmi: liblqr-0.4.2-alt1 1383038436 installed <13>Nov 15 03:13:11 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Nov 15 03:13:11 rpmi: libgomp1-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Nov 15 03:13:11 rpmi: djvu-common-3.5.25.3-alt1 1365826139 installed <13>Nov 15 03:13:11 rpmi: libdjvu-3.5.25.3-alt1 1365826137 installed <13>Nov 15 03:13:11 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+225727.500.8.1 1553672625 installed <13>Nov 15 03:13:11 rpmi: libpaper-1.1.26-alt1 sisyphus+221360.100.1.1 1549974198 installed <13>Nov 15 03:13:11 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Nov 15 03:13:11 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Nov 15 03:13:11 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Nov 15 03:13:11 rpmi: libsystemd-1:243-alt4 sisyphus+240263.100.1.1 1573004022 installed <13>Nov 15 03:13:11 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Nov 15 03:13:11 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299460 installed <13>Nov 15 03:13:11 rpmi: libcups-2.2.12-alt3 sisyphus+240570.100.1.1 1573481622 installed <13>Nov 15 03:13:11 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Nov 15 03:13:11 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073793 installed <13>Nov 15 03:13:11 rpmi: gsettings-desktop-schemas-data-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Nov 15 03:13:11 rpmi: libgio-2.62.2-alt1 sisyphus+239591.100.1.1 1571692074 installed <13>Nov 15 03:13:11 rpmi: gsettings-desktop-schemas-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Nov 15 03:13:11 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Nov 15 03:13:12 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Nov 15 03:13:12 rpmi: gtk-update-icon-cache-3.24.12-alt1 sisyphus+238952.400.5.1 1570658028 installed <13>Nov 15 03:13:12 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Nov 15 03:13:12 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Nov 15 03:13:12 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Nov 15 03:13:12 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Nov 15 03:13:12 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Nov 15 03:13:12 rpmi: libfribidi-1.0.7-alt1 sisyphus+238256.100.1.1 1569654630 installed <13>Nov 15 03:13:12 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Nov 15 03:13:12 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Nov 15 03:13:12 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Nov 15 03:13:12 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Nov 15 03:13:12 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599782 installed <13>Nov 15 03:13:12 rpmi: libgbm-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 15 03:13:12 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Nov 15 03:13:12 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506772 installed <13>Nov 15 03:13:12 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Nov 15 03:13:12 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Nov 15 03:13:13 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Nov 15 03:13:14 rpmi: libgs-9.28-alt0.rc1.1 sisyphus+237325.100.1.1 1568103940 installed <13>Nov 15 03:13:14 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 15 03:13:14 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Nov 15 03:13:14 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Nov 15 03:13:14 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Nov 15 03:13:14 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 15 03:13:14 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Nov 15 03:13:14 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Nov 15 03:13:14 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Nov 15 03:13:14 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Nov 15 03:13:14 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Nov 15 03:13:14 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Nov 15 03:13:14 rpmi: libGLX-mesa-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 15 03:13:14 rpmi: libEGL-mesa-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 15 03:13:14 rpmi: libEGL-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:14 rpmi: libGLX-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:14 rpmi: libGL-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:14 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Nov 15 03:13:14 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Nov 15 03:13:14 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Nov 15 03:13:14 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986941 installed <13>Nov 15 03:13:14 rpmi: liblasi-1.1.3-alt2 sisyphus+239300.100.1.1 1571209619 installed <13>Nov 15 03:13:14 rpmi: librsvg-1:2.46.3-alt1 sisyphus+239688.100.1.1 1571895526 installed <13>Nov 15 03:13:14 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Nov 15 03:13:14 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Nov 15 03:13:14 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Nov 15 03:13:14 rpmi: libXxf86dga-1.1.5-alt1 sisyphus+225206.1500.1.2 1552949831 installed <13>Nov 15 03:13:14 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Nov 15 03:13:14 rpmi: libXpm-3.5.12-alt1 sisyphus+223149.400.2.1 1551268300 installed <13>Nov 15 03:13:14 rpmi: liballegro4.4-4.4.2-alt6 sisyphus+222708.100.1.1 1551003598 installed <13>Nov 15 03:13:14 rpmi: dumb-0.9.3-alt5 1523614881 installed <13>Nov 15 03:13:14 rpmi: libgd3-2.2.5-alt3 sisyphus+226800.200.2.1 1554649314 installed <13>Nov 15 03:13:14 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Nov 15 03:13:15 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Nov 15 03:13:15 rpmi: libgraphviz-2.40.1-alt8 sisyphus+239300.200.2.1 1571210533 installed <13>Nov 15 03:13:16 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Nov 15 03:13:16 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 15 03:13:16 rpmi: libglvnd-devel-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 15 03:13:16 rpmi: libGL-devel-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 15 03:13:16 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Nov 15 03:13:16 rpmi: openexr22-common-2.2.0-alt5 sisyphus+238339.100.1.1 1569837251 installed <13>Nov 15 03:13:16 rpmi: libilmimf22-2.2.0-alt5 sisyphus+238339.100.1.1 1569837251 installed <13>Nov 15 03:13:16 rpmi: libImageMagick6.6-6.9.10.65-alt1 sisyphus+237878.100.1.1 1568961878 installed <13>Nov 15 03:13:16 rpmi: ImageMagick-tools-6.9.10.65-alt1 sisyphus+237878.100.1.1 1568961878 installed <13>Nov 15 03:13:16 rpmi: liballegro-devel-4.4.2-alt6 sisyphus+222708.100.1.1 1551003598 installed <13>Nov 15 03:13:16 rpmi: dumb-devel-0.9.3-alt5 1523614881 installed <13>Nov 15 03:13:16 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Nov 15 03:13:16 rpmi: unzip-6.0-alt2.qa1 1366155323 installed <13>Nov 15 03:13:16 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744353 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/duel3-0.1-alt3_0.25.20060225.nosrc.rpm Installing duel3-0.1-alt3_0.25.20060225.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.48277 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf Duel3_20060225_src + echo 'Source #0 (Duel3_20060225_src.zip):' Source #0 (Duel3_20060225_src.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/Duel3_20060225_src.zip + cd Duel3_20060225_src + echo 'Source #1 (Duel3_20060225_bin.zip):' Source #1 (Duel3_20060225_bin.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/Duel3_20060225_bin.zip + /bin/chmod -c -Rf u+rwX,go-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 /usr/src/RPM/SOURCES/music-credits.txt . + echo 'Patch #0 (Duel3_20060225-fixes.patch):' Patch #0 (Duel3_20060225-fixes.patch): + /usr/bin/patch -p1 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 -p1 patching file Source/main.cpp + echo 'Patch #2 (Duel3_20060225-fix-buf-oflow.patch):' Patch #2 (Duel3_20060225-fix-buf-oflow.patch): + /usr/bin/patch -p1 patching file Source/Player.cpp + echo 'Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch):' Patch #3 (Duel3_20060225-extra-fix-buf-oflow.patch): + /usr/bin/patch -p1 patching file Source/Player.cpp + echo 'Patch #4 (Duel3_20060225-gcc8-fix.patch):' Patch #4 (Duel3_20060225-gcc8-fix.patch): + /usr/bin/patch -p2 patching file Source/AsteroidsGameMode.cpp patching file Source/CCamera.cpp patching file Source/Game.cpp patching file Source/GameMode.cpp patching file Source/MissileAvoid.cpp patching file Source/Model.cpp Hunk #1 succeeded at 297 (offset 7 lines). patching file Source/ScoreKeeper.cpp patching file Source/ShipArray.cpp patching file Source/main.cpp Hunk #1 succeeded at 908 (offset 28 lines). patching file Source/particle.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 + echo 'Patch #33 (Duel3_20060225-alt-as-needed.patch):' Patch #33 (Duel3_20060225-alt-as-needed.patch): + /usr/bin/patch -p0 patching file Source/Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.48277 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Duel3_20060225_src + pushd Source ~/RPM/BUILD/Duel3_20060225_src/Source ~/RPM/BUILD/Duel3_20060225_src + make -j8 PREFIX=/usr 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o BRect.o -c BRect.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from BRect.h:13, from BRect.cpp:6: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from BRect.h:12, from BRect.cpp:6: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from BRect.h:13, from BRect.cpp:6: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from BRect.h:12, from BRect.cpp:6: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from BRect.h:13, from BRect.cpp:6: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from BRect.h:12, from BRect.cpp:6: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from BRect.h:13, from BRect.cpp:6: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from BRect.h:12, from BRect.cpp:6: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ make: *** [Makefile:15: BRect.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Standards.o -c Standards.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.cpp:8: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from /usr/include/c++/9/math.h:36, from Standards.cpp:5: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.cpp:8: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from /usr/include/c++/9/math.h:36, from Standards.cpp:5: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.cpp:8: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from /usr/include/c++/9/math.h:36, from Standards.cpp:5: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.cpp:8: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from /usr/include/c++/9/math.h:36, from Standards.cpp:5: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ Standards.cpp: In function 'int loadTexture(char*)': Standards.cpp:51:13: warning: unused variable 'pal' [-Wunused-variable] 51 | PALETTE pal; | ^~~ Standards.cpp: In function 'float FastSqrt(float)': Standards.cpp:119:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 119 | int i = *(int*)&x; | ^~~~~~~~ Standards.cpp:121:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | x = *(float*)&i; | ^~~~~~~~~~ make: *** [Makefile:15: Standards.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector2.o -c CVector2.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.h:5, from CVector2.h:13, from CVector2.cpp:6: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector2.h:11, from CVector2.cpp:6: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.h:5, from CVector2.h:13, from CVector2.cpp:6: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector2.h:11, from CVector2.cpp:6: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.h:5, from CVector2.h:13, from CVector2.cpp:6: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector2.h:11, from CVector2.cpp:6: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Standards.h:5, from CVector2.h:13, from CVector2.cpp:6: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector2.h:11, from CVector2.cpp:6: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ make: *** [Makefile:15: CVector2.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SObject.o -c SObject.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from SObject.h:11, from SObject.cpp:5: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from SObject.h:10, from SObject.cpp:5: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from SObject.h:11, from SObject.cpp:5: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from SObject.h:10, from SObject.cpp:5: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from SObject.h:11, from SObject.cpp:5: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from SObject.h:10, from SObject.cpp:5: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from SObject.h:11, from SObject.cpp:5: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from SObject.h:10, from SObject.cpp:5: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ make: *** [Makefile:15: SObject.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Model.o -c Model.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Model.h:14, from Model.cpp:6: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Model.h:11, from Model.cpp:6: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Model.h:14, from Model.cpp:6: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Model.h:11, from Model.cpp:6: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Model.h:14, from Model.cpp:6: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Model.h:11, from Model.cpp:6: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Model.h:14, from Model.cpp:6: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Model.h:11, from Model.cpp:6: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ Model.cpp: In member function 'bool Model::loadModel(char*)': Model.cpp:30:10: warning: unused variable 'temp' [-Wunused-variable] 30 | char temp[20]; | ^~~~ Model.cpp: In member function 'bool Model::loadAllTextures()': Model.cpp:286:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 286 | outtext(LOGFILE," load model textures\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Model.cpp:293:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 293 | outtext(LOGFILE," texture loaded: "); | ^~~~~~~~~~~~~~~~~~~~ Model.cpp:295:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 295 | outtext(LOGFILE,"\n"); | ^~~~ make: *** [Makefile:15: Model.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o main.o -c main.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from main.cpp:9: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from main.cpp:8: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from main.cpp:9: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from main.cpp:8: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from main.cpp:9: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from main.cpp:8: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from main.cpp:9: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from main.cpp:8: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ main.cpp: In function 'int main(int, const char**)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:291:15: note: in expansion of macro 'DATADIR' 291 | play_song(DATADIR "music/BlackIce1.XM"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:432:27: note: in expansion of macro 'DATADIR' 432 | play_song(DATADIR "music/BlackIce1.XM"); | ^~~~~~~ main.cpp:433:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | outtext(LOGFILE,"RETURNING TO MENU\n"); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:439:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | outtext(LOGFILE,"\nDONE\n"); | ^~~~~~~~~~ main.cpp: In function 'void reset_game()': main.cpp:575:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | outtext(LOGFILE,"\nEntering function reset_game\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:577:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 577 | outtext(LOGFILE,"Setting up camera\n"); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void init_game()': main.cpp:598:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 598 | outtext(LOGFILE,"\nINIT GAME\n"); | ^~~~~~~~~~~~~~~ main.cpp:600:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 600 | outtext(LOGFILE,"Loading DUMB\n\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:604:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 604 | outtext(LOGFILE,"Loading title image\n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:605:28: note: in expansion of macro 'DATADIR' 605 | title.setPict(800,600, DATADIR "images/title.bmp",false); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:609:16: note: in expansion of macro 'DATADIR' 609 | loadModels(DATADIR "models.d3"); | ^~~~~~~ main.cpp:611:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 611 | outtext(LOGFILE,"Models Loaded\n\n"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:615:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 615 | outtext(LOGFILE,"Loading fonts\n"); | ^~~~~~~~~~~~~~~~~ main.cpp:618:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 618 | outtext(LOGFILE,"Fonts Loaded\n\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:620:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 620 | outtext(LOGFILE,"Error loading fonts\n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:624:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 624 | outtext(LOGFILE,"Creating fonts\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:637:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 637 | outtext(LOGFILE,"Fonts created\n\n"); | ^~~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:641:18: note: in expansion of macro 'DATADIR' 641 | loadShipDefs(DATADIR "Ships.d3"); | ^~~~~~~ main.cpp:652:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 652 | outtext(LOGFILE,"Loading sounds\n\n"); | ^~~~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:653:39: note: in expansion of macro 'DATADIR' 653 | SfxSingleton::instance()->setData(DATADIR "sounds.dat"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:660:23: note: in expansion of macro 'DATADIR' 660 | game.setupWeapons(DATADIR "weapons.d3",&partGen); | ^~~~~~~ main.cpp:668:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | outtext(LOGFILE,"\nAdding Game Modes\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:671:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 671 | outtext(LOGFILE," adding asteroids\n"); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:673:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 673 | outtext(LOGFILE," adding missile avoid\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:675:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | outtext(LOGFILE," adding 2p missile avoid\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:677:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 677 | outtext(LOGFILE," adding 2p asteroids\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:680:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 680 | outtext(LOGFILE,"\nInit Menus\n"); | ^~~~~~~~~~~~~~~~ main.cpp:596:10: warning: unused variable 'temp' [-Wunused-variable] 596 | char temp[100]; | ^~~~ main.cpp:613:14: warning: unused variable 'def' [-Wunused-variable] 613 | TShipDef def; | ^~~ main.cpp:635:9: warning: unused variable 'iNumFonts' [-Wunused-variable] 635 | int iNumFonts=n; | ^~~~~~~~~ main.cpp: In function 'void loadShipDefs(char*)': main.cpp:693:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 693 | outtext(LOGFILE,"\nLoading Ship defs\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:714:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 714 | outtext(LOGFILE," Ship defs file loaded\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:727:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 727 | for(; file[n]!='|' ; n++); n++; | ^~~ main.cpp:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 727 | for(; file[n]!='|' ; n++); n++; | ^ main.cpp:742:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 742 | for(; file[n]!='|' ; n++); n++; | ^~~ main.cpp:742:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 742 | for(; file[n]!='|' ; n++); n++; | ^ main.cpp:758:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 758 | for(; file[n]!='|' ; n++); n++; | ^~~ main.cpp:758:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 758 | for(; file[n]!='|' ; n++); n++; | ^ main.cpp:801:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 801 | outtext(LOGFILE,"\n"); | ^~~~ main.cpp:697:9: warning: unused variable 'iFilePos' [-Wunused-variable] 697 | int iFilePos=0; | ^~~~~~~~ main.cpp: In function 'int initAllegroGL()': main.cpp:809:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 809 | outtext(LOGFILE,"INIT ALLEGROGL\n"); | ^~~~~~~~~~~~~~~~~~ main.cpp:815:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 815 | outtext(LOGFILE,"Setting up window\n"); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:829:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 829 | outtext(LOGFILE,"Setting gfx mode\n"); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:837:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 837 | outtext(LOGFILE,"!!Error setting gfx mode!!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:842:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 842 | outtext(LOGFILE,"Installing keyboard and mouse\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:850:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 850 | outtext(LOGFILE,"Converting font\n"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:857:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 857 | outtext(LOGFILE,"Configuring opengl settings\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:907:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 907 | outtext(LOGFILE,"Installing timer\n"); | ^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void end_game()': main.cpp:925:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 925 | outtext(LOGFILE,"\nEND_GAME\n"); | ^~~~~~~~~~~~~~ main.cpp:930:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 930 | outtext(LOGFILE,"unloading datafile\n"); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:934:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 934 | for(int n=0 ; n: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1227:23: note: in expansion of macro 'DATADIR' 1227 | case 0: play_song(DATADIR "music/BlackIce4.XM"); break; | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1228:23: note: in expansion of macro 'DATADIR' 1228 | case 1: play_song(DATADIR "music/BlackIce3.xm"); break; | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1229:23: note: in expansion of macro 'DATADIR' 1229 | case 2: play_song(DATADIR "music/BlackIce2.XM"); break; | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1239:23: note: in expansion of macro 'DATADIR' 1239 | game.setupWeapons(DATADIR "weapons.d3",&partGen); | ^~~~~~~ main.cpp:1245:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1245 | if(gameMode>=0 && gameMode: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1581:28: note: in expansion of macro 'DATADIR' 1581 | splash.setPict(1,1,DATADIR "images/title1.bmp"); | ^~~~~~~ main.cpp: In function 'void initParticleSystems(Game*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1718:27: note: in expansion of macro 'DATADIR' 1718 | partGen[0].setTexture(DATADIR "images/t1.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1724:27: note: in expansion of macro 'DATADIR' 1724 | partGen[1].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1730:27: note: in expansion of macro 'DATADIR' 1730 | partGen[2].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1739:27: note: in expansion of macro 'DATADIR' 1739 | partGen[3].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1748:27: note: in expansion of macro 'DATADIR' 1748 | partGen[4].setTexture(DATADIR "images/t1.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1757:27: note: in expansion of macro 'DATADIR' 1757 | partGen[5].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1764:27: note: in expansion of macro 'DATADIR' 1764 | partGen[6].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1774:27: note: in expansion of macro 'DATADIR' 1774 | partGen[7].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1784:27: note: in expansion of macro 'DATADIR' 1784 | partGen[8].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1794:27: note: in expansion of macro 'DATADIR' 1794 | partGen[9].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1806:28: note: in expansion of macro 'DATADIR' 1806 | partGen[10].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1815:28: note: in expansion of macro 'DATADIR' 1815 | partGen[11].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1826:28: note: in expansion of macro 'DATADIR' 1826 | partGen[12].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1836:28: note: in expansion of macro 'DATADIR' 1836 | partGen[13].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1848:28: note: in expansion of macro 'DATADIR' 1848 | partGen[14].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1858:28: note: in expansion of macro 'DATADIR' 1858 | partGen[15].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1870:28: note: in expansion of macro 'DATADIR' 1870 | partGen[16].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1882:28: note: in expansion of macro 'DATADIR' 1882 | partGen[17].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1894:28: note: in expansion of macro 'DATADIR' 1894 | partGen[18].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1906:28: note: in expansion of macro 'DATADIR' 1906 | partGen[19].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1918:28: note: in expansion of macro 'DATADIR' 1918 | partGen[20].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1929:28: note: in expansion of macro 'DATADIR' 1929 | partGen[21].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1938:28: note: in expansion of macro 'DATADIR' 1938 | partGen[22].setTexture(DATADIR "images/t3.bmp"); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1950:28: note: in expansion of macro 'DATADIR' 1950 | partGen[23].setTexture(DATADIR "images/t4.bmp"); | ^~~~~~~ main.cpp: In function 'void getKeys()': main.cpp:2154:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2154 | char *filename_base="shot"; | ^~~~~~ main.cpp: In function 'void play_song(char*)': main.cpp:2209:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2209 | outtext(LOGFILE,"song loaded"); | ^~~~~~~~~~~~~ main.cpp: In function 'void load_ship_atts(TShipAtts*)': main.cpp:955:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 955 | fscanf(fp,"%d",&numWeaponsSets); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:961:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 961 | fscanf(fp,"%d ", &set.maxAmmo[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:976:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 976 | fscanf(fp,"%d",&iNumAtts); | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:980:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 980 | fscanf(fp,"%f %f %f %f %f %f %f %f %f %d %d %d", | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 981 | &atts[n].fAccel, | ~~~~~~~~~~~~~~~~ 982 | &atts[n].fMaxVel, | ~~~~~~~~~~~~~~~~~ 983 | &atts[n].fRevAccel, | ~~~~~~~~~~~~~~~~~~~ 984 | &atts[n].fMaxRevVel, | ~~~~~~~~~~~~~~~~~~~~ 985 | &atts[n].fAngAccel, | ~~~~~~~~~~~~~~~~~~~ 986 | &atts[n].fMaxAngVel, | ~~~~~~~~~~~~~~~~~~~~ 987 | &atts[n].fDampening, | ~~~~~~~~~~~~~~~~~~~~ 988 | &atts[n].fAngDampening, | ~~~~~~~~~~~~~~~~~~~~~~~ 989 | &atts[n].fMass, | ~~~~~~~~~~~~~~~ 990 | &atts[n].armor, | ~~~~~~~~~~~~~~~ 991 | &atts[n].shield, | ~~~~~~~~~~~~~~~~ 992 | &atts[n].weaponsSet); | ~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void loadModels(char*)': main.cpp:1549:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 1549 | fscanf(fp,"%d",&iNumModels); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:1552:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 1552 | fscanf(fp,"%s",modelName); | ~~~~~~^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:15: main.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CCamera.o -c CCamera.cpp In file included from /usr/include/c++/9/cmath:45, from CVector3.h:11, from CCamera.h:15, from CCamera.cpp:6: /usr/include/bits/mathcalls-narrow.h:24:20: error: conflicting declaration of C function 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from CCamera.h:10, from CCamera.cpp:6: /usr/include/allegro/alcompat.h:44:7: note: previous declaration 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector3.h:11, from CCamera.h:15, from CCamera.cpp:6: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from CCamera.h:10, from CCamera.cpp:6: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector3.h:11, from CCamera.h:15, from CCamera.cpp:6: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from CCamera.h:10, from CCamera.cpp:6: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from CVector3.h:11, from CCamera.h:15, from CCamera.cpp:6: /usr/include/bits/mathcalls-narrow.h:33:20: error: conflicting declaration of C function 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from CCamera.h:10, from CCamera.cpp:6: /usr/include/allegro/alcompat.h:45:7: note: previous declaration 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ make: *** [Makefile:15: CCamera.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Weapon.o -c Weapon.cpp In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Weapon.h:11, from Weapon.cpp:5: /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)' 44 | AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Weapon.h:10, from Weapon.cpp:5: /usr/include/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)' 24 | __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Weapon.h:11, from Weapon.cpp:5: /usr/include/allegro/alcompat.h:45:7: error: conflicting declaration of C function 'fixed fsub(fixed, fixed)' 45 | AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Weapon.h:10, from Weapon.cpp:5: /usr/include/bits/mathcalls-narrow.h:33:20: note: previous declaration 'float fsub(double, double)' 33 | __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Weapon.h:11, from Weapon.cpp:5: /usr/include/allegro/alcompat.h:46:7: error: conflicting declaration of C function 'fixed fmul(fixed, fixed)' 46 | AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Weapon.h:10, from Weapon.cpp:5: /usr/include/bits/mathcalls-narrow.h:30:20: note: previous declaration 'float fmul(double, double)' 30 | __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); | ^~~~~~~~~~~~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, from Weapon.h:11, from Weapon.cpp:5: /usr/include/allegro/alcompat.h:47:7: error: conflicting declaration of C function 'fixed fdiv(fixed, fixed)' 47 | AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) | ^~~~~~~~ In file included from /usr/include/c++/9/cmath:45, from Weapon.h:10, from Weapon.cpp:5: /usr/include/bits/mathcalls-narrow.h:27:20: note: previous declaration 'float fdiv(double, double)' 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ Weapon.cpp: In member function 'void Weapon::createWeapon(char*, int, TProjInfo, char*)': Weapon.cpp:44:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | outtext(LOGFILE,"Creating Weapon: "); | ^~~~~~~~~~~~~~~~~~~ Weapon.cpp:46:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | outtext(LOGFILE,"\n"); | ^~~~ make: *** [Makefile:15: Weapon.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' error: Bad exit status from /usr/src/tmp/rpm-tmp.48277 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.48277 (%build) Command exited with non-zero status 1 3.39user 0.37system 0:03.76elapsed 100%CPU (0avgtext+0avgdata 93872maxresident)k 0inputs+0outputs (0major+146496minor)pagefaults 0swaps hsh-rebuild: rebuild of `duel3-0.1-alt3_0.25.20060225.src.rpm' failed. Command exited with non-zero status 1 13.39user 2.93system 0:27.06elapsed 60%CPU (0avgtext+0avgdata 110880maxresident)k 2904inputs+0outputs (0major+459713minor)pagefaults 0swaps