<86>Sep 10 04:51:31 userdel[679169]: delete user 'rooter' <86>Sep 10 04:51:31 userdel[679169]: removed group 'rooter' owned by 'rooter' <86>Sep 10 04:51:31 userdel[679169]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 10 04:51:31 groupadd[679204]: group added to /etc/group: name=rooter, GID=981 <86>Sep 10 04:51:31 groupadd[679204]: group added to /etc/gshadow: name=rooter <86>Sep 10 04:51:31 groupadd[679204]: new group: name=rooter, GID=981 <86>Sep 10 04:51:31 useradd[679241]: new user: name=rooter, UID=981, GID=981, home=/root, shell=/bin/bash <86>Sep 10 04:51:31 userdel[679302]: delete user 'builder' <86>Sep 10 04:51:31 userdel[679302]: removed group 'builder' owned by 'builder' <86>Sep 10 04:51:31 userdel[679302]: removed shadow group 'builder' owned by 'builder' <86>Sep 10 04:51:31 groupadd[679338]: group added to /etc/group: name=builder, GID=982 <86>Sep 10 04:51:31 groupadd[679338]: group added to /etc/gshadow: name=builder <86>Sep 10 04:51:31 groupadd[679338]: new group: name=builder, GID=982 <86>Sep 10 04:51:31 useradd[679367]: new user: name=builder, UID=982, GID=982, home=/usr/src, shell=/bin/bash warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Sep 10 04:51:33 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 10 04:51:33 rpmi: libjpeg-2:2.1.2-alt1.2 sisyphus+300827.100.2.1 1653916654 installed <13>Sep 10 04:51:33 rpmi: libexpat-2.4.7-alt1 sisyphus+296417.100.1.1 1646812526 installed <13>Sep 10 04:51:33 rpmi: libglvnd-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:33 rpmi: libwebp7-1.2.4-alt1 sisyphus+304909.100.1.1 1659772514 installed <13>Sep 10 04:51:33 rpmi: zlib-devel-1.2.12-alt3 sisyphus+304986.100.1.1 1660039932 installed <13>Sep 10 04:51:33 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Sep 10 04:51:33 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Sep 10 04:51:33 rpmi: libogg-devel-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Sep 10 04:51:33 rpmi: liblcms2-2.13.1-alt1 sisyphus+296040.100.1.1 1646123117 installed <13>Sep 10 04:51:33 rpmi: libgomp1-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Sep 10 04:51:33 rpmi: libltdl7-2.4.7-alt1 sisyphus+299031.3000.6.1 1651139614 installed <13>Sep 10 04:51:33 rpmi: libopenjpeg2.0-2.5.0-alt1 sisyphus+299926.300.3.1 1652478844 installed <13>Sep 10 04:51:33 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Sep 10 04:51:33 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220281 installed <13>Sep 10 04:51:33 rpmi: libfribidi-1.0.12-alt1 sisyphus+298746.100.1.1 1650435950 installed <13>Sep 10 04:51:33 rpmi: libwayland-server-1.21.0-alt1.1 sisyphus+302874.200.2.1 1656661872 installed <13>Sep 10 04:51:33 rpmi: ilmbase25-common-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 10 04:51:33 rpmi: libiex25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 10 04:51:33 rpmi: libilmthread25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 10 04:51:33 rpmi: libimath25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 10 04:51:33 rpmi: libhalf25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 10 04:51:33 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219266 installed <13>Sep 10 04:51:33 rpmi: libvorbis-devel-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Sep 10 04:51:33 rpmi: libpng-devel-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 10 04:51:33 rpmi: libOpenGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:33 rpmi: libGLES-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:33 rpmi: libjasper-2.0.33-alt2 sisyphus+291936.40.2.1 1639478958 installed <13>Sep 10 04:51:33 rpmi: libraw-0.20.2-alt1.1 sisyphus+283972.100.1.1 1630055046 installed <13>Sep 10 04:51:33 rpmi: libflif-0.3-alt3 sisyphus+276388.100.1.1 1624990825 installed <13>Sep 10 04:51:33 rpmi: libnatspec-0.3.1-alt2 sisyphus+275114.100.1.1 1624405313 installed <13>Sep 10 04:51:33 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 10 04:51:33 rpmi: libstdc++12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Sep 10 04:51:34 rpmi: gcc12-c++-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Sep 10 04:51:34 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed <13>Sep 10 04:51:34 rpmi: libjack-1:1.9.21-alt1 sisyphus+302073.200.2.1 1655224183 installed <13>Sep 10 04:51:34 rpmi: alsa-ucm-conf-1.2.6.3-alt3 sisyphus+304828.100.1.1 1659701573 installed <13>Sep 10 04:51:34 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Sep 10 04:51:34 rpmi: libalsa-1:1.2.6.1-alt1 sisyphus+291831.100.1.1 1639213777 installed <13>Sep 10 04:51:34 rpmi: libImageMagick6-common-6.9.12.40-alt1 sisyphus+295711.100.2.1 1645366513 installed <13>Sep 10 04:51:34 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406848 installed <13>Sep 10 04:51:34 rpmi: liblqr-0.4.2-alt1 sisyphus+276247.100.1.2 1624927462 installed <13>Sep 10 04:51:34 rpmi: djvu-common-3.5.28-alt2 sisyphus+297715.100.1.1 1648887081 installed <13>Sep 10 04:51:34 rpmi: libdjvu-3.5.28-alt2 sisyphus+297715.100.1.1 1648887083 installed <13>Sep 10 04:51:34 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749871 installed <13>Sep 10 04:51:34 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100446 installed <13>Sep 10 04:51:34 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Sep 10 04:51:34 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Sep 10 04:51:34 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Sep 10 04:51:34 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Sep 10 04:51:34 rpmi: ca-certificates-2022.07.22-alt1 sisyphus+304126.100.1.2 1658509204 installed <13>Sep 10 04:51:34 rpmi: ca-trust-0.1.3-alt1 sisyphus+299449.100.1.1 1651660001 installed <13>Sep 10 04:51:34 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Sep 10 04:51:35 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Sep 10 04:51:35 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Sep 10 04:51:35 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 10 04:51:35 rpmi: libsystemd-1:251.4-alt1 sisyphus+306253.340.5.1 1662396849 installed <13>Sep 10 04:51:35 rpmi: libdbus-1.12.22-alt1 sisyphus+298998.100.1.1 1650885228 installed <13>Sep 10 04:51:35 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530700 installed <13>Sep 10 04:51:35 rpmi: libcups-2.4.2-alt1 sisyphus+304732.100.2.1 1659624899 installed <13>Sep 10 04:51:35 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Sep 10 04:51:35 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Sep 10 04:51:35 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Sep 10 04:51:35 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625696944 installed <13>Sep 10 04:51:35 rpmi: libdeflate-1.13-alt2 sisyphus+306262.100.1.1 1662361213 installed <13>Sep 10 04:51:35 rpmi: libtiff5-4.4.0-alt1 sisyphus+300978.160.5.1 1654609263 installed <13>Sep 10 04:51:35 rpmi: libgdk-pixbuf-locales-2.42.8-alt1 sisyphus+296847.100.1.1 1647616018 installed <13>Sep 10 04:51:35 rpmi: libde265-1.0.7-alt1 sisyphus+275350.100.1.2 1624489763 installed <13>Sep 10 04:51:35 rpmi: libaom3-3.3.0-alt1 sisyphus+295999.100.1.1 1646050631 installed <13>Sep 10 04:51:35 rpmi: libatk-locales-2.38.0-alt1 sisyphus+297117.100.1.1 1648128465 installed <13>Sep 10 04:51:35 rpmi: libatk-2.38.0-alt1 sisyphus+297117.100.1.1 1648128469 installed <13>Sep 10 04:51:35 rpmi: libdatrie-0.2.13-alt1_2 sisyphus+285649.100.1.1 1632260805 installed <13>Sep 10 04:51:35 rpmi: libthai-0.1.29-alt1_1 sisyphus+292947.100.1.1 1641111918 installed <13>Sep 10 04:51:35 rpmi: desktop-file-utils-0.26-alt3 sisyphus+297027.100.1.1 1648023316 installed <13>Sep 10 04:51:35 rpmi: shared-mime-info-2.2-alt1 sisyphus+297388.100.1.1 1648466617 installed <13>Sep 10 04:51:35 rpmi: gsettings-desktop-schemas-data-42.0-alt1 sisyphus+296812.200.4.2 1647962578 installed <13>Sep 10 04:51:35 rpmi: libgio-2.72.3-alt1 sisyphus+302864.100.1.1 1656608026 installed <13>Sep 10 04:51:35 rpmi: gsettings-desktop-schemas-42.0-alt1 sisyphus+296812.200.4.2 1647962606 installed <13>Sep 10 04:51:35 rpmi: libgdk-pixbuf-2.42.8-alt1 sisyphus+296847.100.1.1 1647616017 installed <13>Sep 10 04:51:35 rpmi: libheif-1.11.0-alt1 sisyphus+279399.100.1.2 1626532547 installed <13>Sep 10 04:51:35 rpmi: gtk4-update-icon-cache-4.6.7-alt1 sisyphus+305442.100.1.1 1660770406 installed <13>Sep 10 04:51:35 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444970 installed <13>Sep 10 04:51:35 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 10 04:51:35 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 10 04:51:35 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 10 04:51:35 rpmi: libharfbuzz-4.4.1-alt1 sisyphus+302811.100.1.1 1656498739 installed <13>Sep 10 04:51:35 rpmi: libfreetype-2.12.1-alt1 sisyphus+299380.100.1.1 1651508335 installed <13>Sep 10 04:51:35 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503405 installed <13>Sep 10 04:51:35 rpmi: xml-utils-1:2.9.14-alt1 sisyphus+299383.100.1.1 1651519556 installed <13>Sep 10 04:51:35 rpmi: fontconfig-2.13.1-alt4 sisyphus+304281.100.1.1 1658733593 installed Updating fonts cache: <29>Sep 10 04:51:36 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 10 04:51:37 rpmi: libgs-9.54.0-alt3 sisyphus+285041.100.1.1 1631376643 installed <13>Sep 10 04:51:37 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Sep 10 04:51:37 rpmi: libwayland-client-1.21.0-alt1.1 sisyphus+302874.200.2.1 1656661872 installed <13>Sep 10 04:51:37 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Sep 10 04:51:37 rpmi: libdrm-1:2.4.113-alt1 sisyphus+306411.100.1.1 1662565700 installed <13>Sep 10 04:51:37 rpmi: libgbm-4:22.1.7-alt1 sisyphus+305516.100.1.1 1660910149 installed <13>Sep 10 04:51:37 rpmi: libX11-locales-3:1.8-alt1 sisyphus+299436.100.1.1 1651655356 installed <13>Sep 10 04:51:37 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Sep 10 04:51:37 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 10 04:51:37 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Sep 10 04:51:37 rpmi: libX11-3:1.8-alt1 sisyphus+299436.100.1.1 1651655362 installed <13>Sep 10 04:51:37 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 10 04:51:37 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 10 04:51:37 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Sep 10 04:51:37 rpmi: libXcursor-1.2.1-alt1 sisyphus+297765.200.1.1 1649053934 installed <13>Sep 10 04:51:37 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Sep 10 04:51:37 rpmi: libGLX-mesa-4:22.1.7-alt1 sisyphus+305516.100.1.1 1660910149 installed <13>Sep 10 04:51:37 rpmi: libEGL-mesa-4:22.1.7-alt1 sisyphus+305516.100.1.1 1660910149 installed <13>Sep 10 04:51:37 rpmi: libEGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:37 rpmi: libGLX-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:37 rpmi: libGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:37 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Sep 10 04:51:37 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Sep 10 04:51:37 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Sep 10 04:51:37 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910448 installed <13>Sep 10 04:51:37 rpmi: libpango-1.50.9-alt1 sisyphus+305293.100.1.1 1660555387 installed <13>Sep 10 04:51:38 rpmi: librsvg-1:2.54.5-alt1 sisyphus+305891.100.1.1 1661619599 installed <13>Sep 10 04:51:38 rpmi: liblasi-1.1.3-alt3 sisyphus+286812.100.2.1 1633968134 installed <13>Sep 10 04:51:38 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Sep 10 04:51:38 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124180 installed <13>Sep 10 04:51:38 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Sep 10 04:51:38 rpmi: libXxf86dga-1.1.5-alt1 sisyphus+275332.100.2.2 1624575559 installed <13>Sep 10 04:51:38 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed <13>Sep 10 04:51:38 rpmi: libXpm-3.5.13-alt1 sisyphus+278339.100.1.2 1626171703 installed <13>Sep 10 04:51:38 rpmi: liballegro4.4-4.4.3.1-alt1 sisyphus+288233.100.1.1 1635332153 installed <13>Sep 10 04:51:38 rpmi: dumb-0.9.3-alt5 sisyphus+275716.100.1.1 1624748871 installed <13>Sep 10 04:51:38 rpmi: libgd3-2.3.3-alt1 sisyphus+286379.100.1.1 1633353310 installed <13>Sep 10 04:51:38 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573270 installed <13>Sep 10 04:51:38 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573270 installed <13>Sep 10 04:51:38 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Sep 10 04:51:38 rpmi: libgraphviz-3.0.0-alt1 sisyphus+297740.100.1.1 1648948931 installed <13>Sep 10 04:51:39 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Sep 10 04:51:39 rpmi: libX11-devel-3:1.8-alt1 sisyphus+299436.100.1.1 1651655362 installed <13>Sep 10 04:51:39 rpmi: libglvnd-devel-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Sep 10 04:51:39 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Sep 10 04:51:39 rpmi: openexr25-common-2.5.6-alt4 sisyphus+289315.100.1.1 1636546968 installed <13>Sep 10 04:51:39 rpmi: libilmimf25-2.5.6-alt4 sisyphus+289315.100.1.1 1636546968 installed <13>Sep 10 04:51:39 rpmi: libImageMagick6.7-6.9.12.40-alt1 sisyphus+295711.100.2.1 1645366513 installed <13>Sep 10 04:51:39 rpmi: ImageMagick-tools-6.9.12.40-alt1 sisyphus+295711.100.2.1 1645366513 installed <13>Sep 10 04:51:39 rpmi: liballegro-devel-4.4.3.1-alt1 sisyphus+288233.100.1.1 1635332153 installed <13>Sep 10 04:51:39 rpmi: dumb-devel-0.9.3-alt5 sisyphus+275716.100.1.1 1624748871 installed <13>Sep 10 04:51:39 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Sep 10 04:51:39 rpmi: unzip-6.0-alt4 sisyphus+278477.100.1.1 1626103441 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/duel3-0.1-alt3_0.34.20060225.nosrc.rpm (w1.gzdio) Installing duel3-0.1-alt3_0.34.20060225.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.70577 + 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 . mode of './Duel3_20060225_bin' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of './Duel3_20060225_bin/models' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of './Duel3_20060225_bin/images' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of './Source' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) + 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 + 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 + echo 'Patch #34 (Duel3_20060225-gcc8-fix.patch):' Patch #34 (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 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70577 + 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 -j16 PREFIX=/usr 'CFLAGS=-std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Standards.o -c Standards.cpp 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; | ^~~~~~~~~~ Standards.cpp:121:9: warning: 'i' is used uninitialized [-Wuninitialized] 121 | x = *(float*)&i; | ^~~~~~~~~~~ Standards.cpp:119:9: note: 'i' declared here 119 | int i = *(int*)&x; | ^ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector2.o -c CVector2.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o BRect.o -c BRect.cpp BRect.cpp: In member function 'virtual bool BRect::checkColWithBRect(BRect*)': BRect.cpp:198:23: warning: variable 'v1InDirofCCLine' set but not used [-Wunused-but-set-variable] 198 | float v1InDirofCCLine,v2InDirofCCLine; | ^~~~~~~~~~~~~~~ BRect.cpp:198:39: warning: variable 'v2InDirofCCLine' set but not used [-Wunused-but-set-variable] 198 | float v1InDirofCCLine,v2InDirofCCLine; | ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Widget.o -c Widget.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CCamera.o -c CCamera.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Starfield.o -c Starfield.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Animation.o -c Animation.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Weapon.o -c Weapon.cpp 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: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CVector3.o -c CVector3.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Arena.o -c Arena.cpp Arena.cpp: In member function 'void Arena::addWall(CVector2, CVector2)': Arena.cpp:30:13: warning: unused variable 'nodes' [-Wunused-variable] 30 | int nodes; | ^~~~~ Arena.cpp: In member function 'virtual void Arena::draw(bool)': Arena.cpp:88:11: warning: unused variable 'lineLength' [-Wunused-variable] 88 | float lineLength; | ^~~~~~~~~~ Arena.cpp:93:11: warning: unused variable 'tx' [-Wunused-variable] 93 | float tx,ty; | ^~ Arena.cpp:93:14: warning: unused variable 'ty' [-Wunused-variable] 93 | float tx,ty; | ^~ Arena.cpp:94:11: warning: unused variable 'rColour' [-Wunused-variable] 94 | float rColour; | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Model.o -c Model.cpp 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: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SObject.o -c SObject.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Proj.o -c Proj.cpp Proj.cpp: In member function 'virtual void Proj::draw(bool)': Proj.cpp:431:11: warning: unused variable 'tx' [-Wunused-variable] 431 | float tx,ty; | ^~ Proj.cpp:431:14: warning: unused variable 'ty' [-Wunused-variable] 431 | float tx,ty; | ^~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Controller.o -c Controller.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particle.o -c particle.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Ship.o -c Ship.cpp Ship.cpp: In member function 'void Ship::shoot(ProjArray*)': Ship.cpp:231:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 231 | if(curWeapon>=0 && curWeapon*, int)': Ship.cpp:463:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | outtext(LOGFILE, "Ship::setupAmmo\n"); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o PObject.o -c PObject.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Game.o -c Game.cpp Game.cpp: In member function 'void Game::setupWeapons(char*, ParticleGenerator**)': Game.cpp:113:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | weapons[iNumWeapons].createWeapon("Lightning Ball",6,pinfo,DATADIR "w_hud/single_shot.bmp"); | ^~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:113:64: note: in expansion of macro 'DATADIR' 113 | weapons[iNumWeapons].createWeapon("Lightning Ball",6,pinfo,DATADIR "w_hud/single_shot.bmp"); | ^~~~~~~ Game.cpp:141:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | weapons[iNumWeapons].createWeapon("Hellstrike",14,pinfo,DATADIR "w_hud/hellstrike.bmp"); | ^~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:141:61: note: in expansion of macro 'DATADIR' 141 | weapons[iNumWeapons].createWeapon("Hellstrike",14,pinfo,DATADIR "w_hud/hellstrike.bmp"); | ^~~~~~~ Game.cpp:171:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | weapons[iNumWeapons].createWeapon("Wrath Missile",14,pinfo,DATADIR "w_hud/missile.bmp"); | ^~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:171:64: note: in expansion of macro 'DATADIR' 171 | weapons[iNumWeapons].createWeapon("Wrath Missile",14,pinfo,DATADIR "w_hud/missile.bmp"); | ^~~~~~~ Game.cpp:200:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 200 | weapons[iNumWeapons].createWeapon("Lightning",2,pinfo,DATADIR "w_hud/lightning.bmp"); | ^~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:200:59: note: in expansion of macro 'DATADIR' 200 | weapons[iNumWeapons].createWeapon("Lightning",2,pinfo,DATADIR "w_hud/lightning.bmp"); | ^~~~~~~ Game.cpp:228:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 228 | weapons[iNumWeapons].createWeapon("Shot Gun",14,pinfo,DATADIR "w_hud/shotgun.bmp"); | ^~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:228:59: note: in expansion of macro 'DATADIR' 228 | weapons[iNumWeapons].createWeapon("Shot Gun",14,pinfo,DATADIR "w_hud/shotgun.bmp"); | ^~~~~~~ Game.cpp:257:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 257 | weapons[iNumWeapons].createWeapon("Plasma Mine",25,pinfo,DATADIR "w_hud/one_mine.bmp"); | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:257:62: note: in expansion of macro 'DATADIR' 257 | weapons[iNumWeapons].createWeapon("Plasma Mine",25,pinfo,DATADIR "w_hud/one_mine.bmp"); | ^~~~~~~ Game.cpp:287:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 287 | weapons[iNumWeapons].createWeapon("Tri-Shot",7,pinfo,DATADIR "w_hud/tri_shot.bmp"); | ^~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:287:58: note: in expansion of macro 'DATADIR' 287 | weapons[iNumWeapons].createWeapon("Tri-Shot",7,pinfo,DATADIR "w_hud/tri_shot.bmp"); | ^~~~~~~ Game.cpp:316:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 316 | weapons[iNumWeapons].createWeapon("Homing Missiles",14,pinfo,DATADIR "w_hud/homing_missile.bmp"); | ^~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:316:66: note: in expansion of macro 'DATADIR' 316 | weapons[iNumWeapons].createWeapon("Homing Missiles",14,pinfo,DATADIR "w_hud/homing_missile.bmp"); | ^~~~~~~ Game.cpp:345:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 345 | weapons[iNumWeapons].createWeapon("Spider Mine",25,pinfo,DATADIR "w_hud/four_mines.bmp"); | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:345:62: note: in expansion of macro 'DATADIR' 345 | weapons[iNumWeapons].createWeapon("Spider Mine",25,pinfo,DATADIR "w_hud/four_mines.bmp"); | ^~~~~~~ Game.cpp:374:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 374 | weapons[iNumWeapons].createWeapon("Concussion",25,pinfo,DATADIR "w_hud/concussion.bmp"); | ^~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:374:61: note: in expansion of macro 'DATADIR' 374 | weapons[iNumWeapons].createWeapon("Concussion",25,pinfo,DATADIR "w_hud/concussion.bmp"); | ^~~~~~~ Game.cpp:403:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | weapons[iNumWeapons].createWeapon("Defense Ring",50,pinfo,DATADIR "w_hud/defense.bmp"); | ^~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:403:63: note: in expansion of macro 'DATADIR' 403 | weapons[iNumWeapons].createWeapon("Defense Ring",50,pinfo,DATADIR "w_hud/defense.bmp"); | ^~~~~~~ Game.cpp:433:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | weapons[iNumWeapons].createWeapon("Redeemer Missile",20,pinfo,DATADIR "w_hud/redeemer.bmp"); | ^~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:433:67: note: in expansion of macro 'DATADIR' 433 | weapons[iNumWeapons].createWeapon("Redeemer Missile",20,pinfo,DATADIR "w_hud/redeemer.bmp"); | ^~~~~~~ Game.cpp:462:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 462 | weapons[iNumWeapons].createWeapon("Gattling Gun",2,pinfo,DATADIR "w_hud/gattling.bmp"); | ^~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:462:62: note: in expansion of macro 'DATADIR' 462 | weapons[iNumWeapons].createWeapon("Gattling Gun",2,pinfo,DATADIR "w_hud/gattling.bmp"); | ^~~~~~~ Game.cpp:490:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 490 | weapons[iNumWeapons].createWeapon("Rebound Gun",40,pinfo,DATADIR "w_hud/rebound.bmp"); | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:490:62: note: in expansion of macro 'DATADIR' 490 | weapons[iNumWeapons].createWeapon("Rebound Gun",40,pinfo,DATADIR "w_hud/rebound.bmp"); | ^~~~~~~ Game.cpp:518:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 518 | weapons[iNumWeapons].createWeapon("EMP Wave",30,pinfo,DATADIR "w_hud/emp.bmp"); | ^~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:518:59: note: in expansion of macro 'DATADIR' 518 | weapons[iNumWeapons].createWeapon("EMP Wave",30,pinfo,DATADIR "w_hud/emp.bmp"); | ^~~~~~~ Game.cpp:548:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | weapons[iNumWeapons].createWeapon("Berserkers",25,pinfo,DATADIR "w_hud/berserkers.bmp"); | ^~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Game.cpp:548:61: note: in expansion of macro 'DATADIR' 548 | weapons[iNumWeapons].createWeapon("Berserkers",25,pinfo,DATADIR "w_hud/berserkers.bmp"); | ^~~~~~~ Game.cpp: In member function 'void Game::constructObjectList()': Game.cpp:581:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 581 | outtext(LOGFILE,"\nConstructing Object List\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:583:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 583 | outtext(LOGFILE," adding players to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:594:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 594 | outtext(LOGFILE," adding walls to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:604:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 604 | outtext(LOGFILE," adding projectiles to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:611:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 611 | outtext(LOGFILE," adding asteroids to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp:618:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 618 | outtext(LOGFILE," adding powerups to object list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp: In member function 'void Game::clearObjectList()': Game.cpp:632:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 632 | outtext(LOGFILE,"\nClearing Object List\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Game.cpp: In member function 'void Game::draw()': Game.cpp:680:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 680 | writeText_2D(400-(strlen(endGameMessage)*15)/2,100,0,makecol(200,200,200),allFonts[4],"Hit Enter to Continue"); | ^~~~~~~~~~~~~~~~~~~~~~~ Game.cpp: In member function 'int Game::addPlayer(Player*)': Game.cpp:896:13: warning: deleting object of polymorphic class type 'Player' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 896 | delete players[n]; //delete the old player | ^~~~~~~~~~~~~~~~~ Game.cpp: In destructor 'Game::~Game()': Game.cpp:987:9: warning: deleting object of polymorphic class type 'Player' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 987 | delete players[n]; | ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ShipArray.o -c ShipArray.cpp ShipArray.cpp: In member function 'void ShipArray::init()': ShipArray.cpp:29:9: warning: unused variable 'iNumDefs' [-Wunused-variable] 29 | int iNumDefs=0; | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o SfxSingleton.o -c SfxSingleton.cpp SfxSingleton.cpp: In member function 'void SfxSingleton::setData(char*)': SfxSingleton.cpp:41:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | outtext(LOGFILE,"Could not load sounds"); | ^~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particlesystem.o -c particlesystem.cpp particlesystem.cpp: In member function 'void ParticleSystem::setupVArray(int)': particlesystem.cpp:198:11: warning: variable 'x' set but not used [-Wunused-but-set-variable] 198 | float x,y,z,s; | ^ particlesystem.cpp:198:13: warning: variable 'y' set but not used [-Wunused-but-set-variable] 198 | float x,y,z,s; | ^ particlesystem.cpp:198:15: warning: variable 'z' set but not used [-Wunused-but-set-variable] 198 | float x,y,z,s; | ^ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o main.o -c main.cpp 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 draw_all()': main.cpp:548:32: warning: value computed is not used [-Wunused-value] 548 | (vel.retX()*vel.retX() + vel.retY()*vel.retY()); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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 '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 '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: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o GameSettingsSingleton.o -c GameSettingsSingleton.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o particlegenerator.o -c particlegenerator.cpp particlegenerator.cpp: In member function 'void ParticleGenerator::makePartRing()': particlegenerator.cpp:301:11: warning: unused variable 'ang2' [-Wunused-variable] 301 | float ang2=(float)(rand()%100)/100 * M_PI; | ^~~~ particlegenerator.cpp:307:11: warning: unused variable 'velRand' [-Wunused-variable] 307 | float velRand; | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Button.o -c Button.cpp Button.cpp: In member function 'virtual void Button::draw()': Button.cpp:59:8: warning: the address of 'Button::caption' will never be NULL [-Waddress] 59 | if(caption) | ^~~~~~~ In file included from Button.cpp:6: Button.h:33:10: note: 'Button::caption' declared here 33 | char caption[50]; | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Player.o -c Player.cpp Player.cpp: In member function 'virtual void Player::drawHUD()': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Player.cpp:22:29: note: in expansion of macro 'DATADIR' 22 | hudl.setPict(400,70,DATADIR "images/hudl_closed.bmp",false); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Player.cpp:24:29: note: in expansion of macro 'DATADIR' 24 | hudr.setPict(400,70,DATADIR "images/hudr_3.bmp",false); | ^~~~~~~ Player.cpp:33:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 33 | sprintf(ammo_left,"",ship.retWepName()); | ^~ Player.cpp:41:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] 41 | sprintf(lives_left,""); | ^~ Player.cpp: In member function 'virtual void Player::drawHotSeatHUD(int)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Player.cpp:107:29: note: in expansion of macro 'DATADIR' 107 | hudl.setPict(400,70,DATADIR "images/hudl_3.bmp",false); | ^~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Player.cpp:109:29: note: in expansion of macro 'DATADIR' 109 | hudr.setPict(400,70,DATADIR "images/hudr_3.bmp",false); | ^~~~~~~ Player.cpp:127:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 127 | sprintf(ammo_left,"",ship.retWepName()); | ^~ Player.cpp:134:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] 134 | sprintf(lives_left,""); | ^~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o unix.o -c unix.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o CheckBox.o -c CheckBox.cpp CheckBox.cpp: In member function 'virtual void CheckBox::draw()': CheckBox.cpp:42:8: warning: the address of 'Button::caption' will never be NULL [-Waddress] 42 | if(caption) | ^~~~~~~ In file included from CheckBox.h:15, from CheckBox.cpp:6: Button.h:33:10: note: 'Button::caption' declared here 33 | char caption[50]; | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ScoreKeeper.o -c ScoreKeeper.cpp ScoreKeeper.cpp: In member function 'int ScoreKeeper::loadPagesCallback(const char*, int, void*)': ScoreKeeper.cpp:156:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | fscanf(fp,"%d",&scorePages[nScorePages].sortType); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScoreKeeper.cpp:158:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fscanf(fp,"%s",scorePages[nScorePages].scores[n].name); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScoreKeeper.cpp:159:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fscanf(fp,"%d",&scorePages[nScorePages].scores[n].score); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o asteroid.o -c asteroid.cpp asteroid.cpp: In member function 'void AsteroidArray::setModels(Model*, int, int)': asteroid.cpp:184:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 184 | int r; | ^ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o NewMenu.o -c NewMenu.cpp NewMenu.cpp: In destructor 'NewMenu::~NewMenu()': NewMenu.cpp:14:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 14 | outtext(LOGFILE,"Deleting Menu\n"); | ^~~~~~~~~~~~~~~~~ NewMenu.cpp:15:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 15 | for(int n=0 ; n::size_type' {aka 'unsigned int'} [-Wsign-compare] 57 | if(curPage>=0 && curPageendGame("Player 2 Wins"); | ^~~~~~~~~~~~~~~ GameMode.cpp:144:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | g->endGame("Player 1 Wins"); | ^~~~~~~~~~~~~~~ GameMode.cpp: In member function 'virtual void GameMode::writeStats(Game*)': GameMode.cpp:164:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ GameMode.cpp:168:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AsteroidsGameMode.o -c AsteroidsGameMode.cpp AsteroidsGameMode.cpp: In member function 'virtual TMenuPage AsteroidsGameMode::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': AsteroidsGameMode.cpp:89:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); | ^~~~~~ AsteroidsGameMode.cpp:92:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); | ^~~~~~ AsteroidsGameMode.cpp:95:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | page.widgets[2] = new CheckBox(2,makeVector2(-19,-10,true),1,1,allFonts[4],"Walls On",bAtts,false); | ^~~~~~~~~~ AsteroidsGameMode.cpp:98:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | page.widgets[3] = new CheckBox(3,makeVector2(-4,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); | ^~~~~~~~~~~~~ AsteroidsGameMode.cpp:101:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | page.widgets[4] = new CheckBox(4,makeVector2(5,-10,true),1,1,allFonts[4],"Projectile Wrap",bAtts,false); | ^~~~~~~~~~~~~~~~~ AsteroidsGameMode.cpp: In member function 'virtual void AsteroidsGameMode::runInGame(Game*)': AsteroidsGameMode.cpp:125:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | g->endGame("Game Over"); | ^~~~~~~~~~~ AsteroidsGameMode.cpp: In member function 'virtual void AsteroidsGameMode::writeStats(Game*)': AsteroidsGameMode.cpp:138:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ AsteroidsGameMode.cpp:142:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o MissileAvoid2p.o -c MissileAvoid2p.cpp MissileAvoid2p.cpp: In member function 'virtual void MissileAvoid2p::writeStats(Game*)': MissileAvoid2p.cpp:75:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ MissileAvoid2p.cpp:79:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player2"); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Turret.o -c Turret.cpp make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o MissileAvoid.o -c MissileAvoid.cpp MissileAvoid.cpp: In member function 'virtual TMenuPage MissileAvoid::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': MissileAvoid.cpp:122:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); | ^~~~~~ MissileAvoid.cpp:125:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); | ^~~~~~ MissileAvoid.cpp:128:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | page.widgets[2] = new CheckBox(2,makeVector2(-15,-10,true),1,1,allFonts[4],"Asteroids On",bAtts,false); | ^~~~~~~~~~~~~~ MissileAvoid.cpp:131:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | page.widgets[3] = new CheckBox(3,makeVector2(0,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); | ^~~~~~~~~~~~~ MissileAvoid.cpp: In member function 'virtual void MissileAvoid::writeStats(Game*)': MissileAvoid.cpp:145:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | writeText_2D(xx,130,0,makecol(200,250,200),allFonts[4],"Player1"); | ^~~~~~~~~ MissileAvoid.cpp: In member function 'virtual void MissileAvoid::runInGame(Game*)': MissileAvoid.cpp:178:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | g->endGame("Game Over"); | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o ShipSelector.o -c ShipSelector.cpp ShipSelector.cpp: In constructor 'ShipSelector::ShipSelector(int, CVector2, Model*, ShipArray*, Game*, FONT*, TButtonAtts&)': ShipSelector.cpp:16:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | b1 = new Button(1,pos+makeVector2(-2.5,-2,true),2,1,f,"<<<",ba); | ^~~~~ ShipSelector.cpp:17:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | b2 = new Button(2,pos+makeVector2(2.5,-2,true),2,1,f,">>>",ba); | ^~~~~ ShipSelector.cpp: In member function 'virtual void ShipSelector::draw()': ShipSelector.cpp:72:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | writeText_3D(pos.retX()-5,pos.retY()-3.5 ,0,makeacol32(0,100,200,255),f,"Acceleration"); | ^~~~~~~~~~~~~~ ShipSelector.cpp:75:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | writeText_3D(pos.retX()-5,pos.retY()-4.25 ,0,makeacol32(0,100,200,255),f,"Max Speed"); | ^~~~~~~~~~~ ShipSelector.cpp:78:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | writeText_3D(pos.retX()-5,pos.retY()-5 ,0,makeacol32(0,100,200,255),f,"Rot Thrust"); | ^~~~~~~~~~~~ ShipSelector.cpp:81:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | writeText_3D(pos.retX()-5,pos.retY()-5.75 ,0,makeacol32(0,100,200,255),f,"Traction"); | ^~~~~~~~~~ ShipSelector.cpp:84:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | writeText_3D(pos.retX()-5,pos.retY()-6.5 ,0,makeacol32(0,100,200,255),f,"Armor"); | ^~~~~~~ ShipSelector.cpp:87:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | writeText_3D(pos.retX()-5,pos.retY()-7.25 ,0,makeacol32(0,100,200,255),f,"Shield"); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o Powerup.o -c Powerup.cpp Powerup.cpp: In member function 'void Powerup::create(TPowerupInfo, CVector2)': Powerup.cpp:24:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | outtext(LOGFILE,"Creating\n"); | ^~~~~~~~~~~~ Powerup.cpp:50:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | outtext(LOGFILE,"Created\n"); | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DALLEGRO_NO_FIX_ALIASES -fsigned-char -Wno-deprecated-declarations -Wno-non-virtual-dtor -DDATADIR=\"/usr/share/duel3/\" -o AsteroidsGameMode2p.o -c AsteroidsGameMode2p.cpp AsteroidsGameMode2p.cpp: In member function 'virtual TMenuPage AsteroidsGameMode2p::createMenuPage(FONT**, TButtonAtts, int, Model*, ShipArray*, Game*)': AsteroidsGameMode2p.cpp:65:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | page.widgets[0] = new Button(0,makeVector2(0,1.5,true),4.5,2.45,allFonts[2],"Play",bAtts); | ^~~~~~ AsteroidsGameMode2p.cpp:68:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | page.widgets[1] = new Button(1,makeVector2(0,-6,true),5,2.45,allFonts[2],"Back",bAtts); | ^~~~~~ AsteroidsGameMode2p.cpp:71:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | page.widgets[2] = new CheckBox(2,makeVector2(-19,-10,true),1,1,allFonts[4],"Walls On",bAtts,false); | ^~~~~~~~~~ AsteroidsGameMode2p.cpp:74:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | page.widgets[3] = new CheckBox(3,makeVector2(-5,-10,true),1,1,allFonts[4],"Maniac Mode",bAtts,false); | ^~~~~~~~~~~~~ AsteroidsGameMode2p.cpp:77:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | page.widgets[4] = new CheckBox(4,makeVector2(10,-10,true),1,1,allFonts[4],"Projectile Wrap",bAtts,false); | ^~~~~~~~~~~~~~~~~ AsteroidsGameMode2p.cpp: In member function 'virtual void AsteroidsGameMode2p::runInGame(Game*)': AsteroidsGameMode2p.cpp:104:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | g->endGame("Game Over"); | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' g++ -o duel3 main.o Standards.o CCamera.o CVector2.o BRect.o SObject.o Model.o Weapon.o Animation.o PObject.o Ship.o Proj.o Arena.o Player.o Game.o Widget.o ShipArray.o Starfield.o CVector3.o particle.o particlesystem.o particlegenerator.o asteroid.o Controller.o SfxSingleton.o GameMode.o AsteroidsGameMode.o NewMenu.o Button.o CheckBox.o ShipSelector.o MissileAvoid.o AIPlayer.o Turret.o MissileAvoid2p.o GameSettingsSingleton.o ScoreKeeper.o AsteroidsGameMode2p.o Powerup.o unix.o `allegro-config --libs` -ldumb -laldmb -lalleggl -lGL -lGLU make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' + popd ~/RPM/BUILD/Duel3_20060225_src + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.89807 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/duel3-buildroot + : + /bin/rm -rf -- /usr/src/tmp/duel3-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd Duel3_20060225_src + pushd Source ~/RPM/BUILD/Duel3_20060225_src/Source ~/RPM/BUILD/Duel3_20060225_src + make install PREFIX=/usr/src/tmp/duel3-buildroot/usr make: Entering directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' mkdir -p /usr/src/tmp/duel3-buildroot/usr/bin/ mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/duel3/images mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/duel3/models mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/duel3/music mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/duel3/w_hud install -p -m 755 duel3 /usr/src/tmp/duel3-buildroot/usr/bin/ install -p -m 644 images/* /usr/src/tmp/duel3-buildroot/usr/share/duel3/images install -p -m 644 models/* /usr/src/tmp/duel3-buildroot/usr/share/duel3/models install -p -m 644 music/* /usr/src/tmp/duel3-buildroot/usr/share/duel3/music install -p -m 644 w_hud/* /usr/src/tmp/duel3-buildroot/usr/share/duel3/w_hud install -p -m 664 *.dat /usr/src/tmp/duel3-buildroot/usr/share/duel3 install -p -m 664 *.d3 /usr/src/tmp/duel3-buildroot/usr/share/duel3 make: Leaving directory '/usr/src/RPM/BUILD/Duel3_20060225_src/Source' + popd ~/RPM/BUILD/Duel3_20060225_src + ln -s opengl-game-wrapper.sh /usr/src/tmp/duel3-buildroot/usr/bin/duel3-wrapper + mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/applications + desktop-file-install --dir /usr/src/tmp/duel3-buildroot/usr/share/applications /usr/src/RPM/SOURCES/duel3.desktop + mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/icons/hicolor/64x64/apps + install -p -m 644 /usr/src/RPM/SOURCES/duel3.png /usr/src/tmp/duel3-buildroot/usr/share/icons/hicolor/64x64/apps + find /usr/src/tmp/duel3-buildroot '(' -name Thumbs.db -o -name Thumbs.db.gz ')' -print -delete /usr/src/tmp/duel3-buildroot/usr/share/duel3/w_hud/Thumbs.db /usr/src/tmp/duel3-buildroot/usr/share/duel3/images/Thumbs.db + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/duel3-buildroot (auto) mode of 'usr/share/duel3/models.d3' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) mode of 'usr/share/duel3/WeaponsSet.d3' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) mode of 'usr/share/duel3/Ships.d3' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) mode of 'usr/share/duel3/ShipAtts.d3' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) mode of 'usr/share/duel3/sounds.dat' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) mode of 'usr/share/duel3/fonts.dat' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/duel3-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/duel3-buildroot/ (default) Compressing files in /usr/src/tmp/duel3-buildroot (auto) Verifying ELF objects in /usr/src/tmp/duel3-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/duel3: uses non-LFS functions: fopen stat Processing files: duel3-0.1-alt3_0.34.20060225 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40371 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Duel3_20060225_src + DOCDIR=/usr/src/tmp/duel3-buildroot/usr/share/doc/duel3-0.1 + export DOCDIR + rm -rf /usr/src/tmp/duel3-buildroot/usr/share/doc/duel3-0.1 + /bin/mkdir -p /usr/src/tmp/duel3-buildroot/usr/share/doc/duel3-0.1 + cp -prL Source/readme.txt license.txt music-credits.txt /usr/src/tmp/duel3-buildroot/usr/share/doc/duel3-0.1 + chmod -R go-w /usr/src/tmp/duel3-buildroot/usr/share/doc/duel3-0.1 + chmod -R a+rX /usr/src/tmp/duel3-buildroot/usr/share/doc/duel3-0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.apup8k find-provides: broken symbolic link /usr/src/tmp/duel3-buildroot/usr/bin/duel3-wrapper -> opengl-game-wrapper.sh is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.01kTRN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) symlinks.req: /usr/src/tmp/duel3-buildroot/usr/bin/duel3-wrapper: /usr/bin/opengl-game-wrapper.sh -> /usr/bin/opengl-game-wrapper.sh (raw, not installed) Requires: icon-theme-hicolor, opengl-games-utils, /lib/ld-linux.so.2, /usr/bin/opengl-game-wrapper.sh, libGL.so.1 >= set:pjdsnIDZsS2mCZk709Ybxs4h5zDyo87Zeifj89j4NdqFmcXZ6M4ZzZmRARZle11kwwyNyfxXLJV0aUg2Gerc15Z6OM5UZfaIZ8qrfQIeyFvVc3NErn7vZvpt2HN78OQAcar0hdi, libGLU.so.1 >= set:jiZbn, libaldmb-0.9.3.so >= set:igZuJKgZ5U, liballeg.so.4.4 >= set:oj1QanYSYSqZkpKhvZb4TZxZqbUBUYxGsAvkPS5Nv6w9h5y8uwUkZoZhrNKY90GbuwzIUdQZvHljZx8ltI7UOlBDeRlePwb6, liballeggl.so.4.4 >= set:okEXdobb32IPKsa5H2ZEbDK1Z0ZAMD1e, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdumb-0.9.3.so >= set:li3wNTlwXHiwW1, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Mwioks Creating duel3-debuginfo package Processing files: duel3-debuginfo-0.1-alt3_0.34.20060225 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Sk7y00 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gsUPLD find-requires: running scripts (debuginfo) Requires: duel3 = 0.1-alt3_0.34.20060225, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libaldmb-0.9.3.so), debug(liballeg.so.4.4), debug(liballeggl.so.4.4), debug(libc.so.6), debug(libdumb-0.9.3.so), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Adding to duel3-debuginfo a strict dependency on duel3 Wrote: /usr/src/RPM/RPMS/i586/duel3-0.1-alt3_0.34.20060225.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/duel3-debuginfo-0.1-alt3_0.34.20060225.i586.rpm (w2.lzdio) 25.34user 4.05system 0:10.69elapsed 274%CPU (0avgtext+0avgdata 83632maxresident)k 0inputs+0outputs (0major+1026427minor)pagefaults 0swaps 2.20user 1.64system 0:24.34elapsed 15%CPU (0avgtext+0avgdata 104748maxresident)k 336inputs+0outputs (30445major+214870minor)pagefaults 0swaps --- duel3-0.1-alt3_0.34.20060225.i586.rpm.repo 2021-10-12 02:26:11.000000000 +0000 +++ duel3-0.1-alt3_0.34.20060225.i586.rpm.hasher 2022-09-10 04:51:53.555085348 +0000 @@ -74,3 +74,3 @@ Requires: liballeg.so.4.4 >= set:oj1QanYSYSqZkpKhvZb4TZxZqbUBUYxGsAvkPS5Nv6w9h5y8uwUkZoZhrNKY90GbuwzIUdQZvHljZx8ltI7UOlBDeRlePwb6 -Requires: liballeggl.so.4.4 >= set:lhWLBEGD9E1J6ZpaW6Ci4SO22I3 +Requires: liballeggl.so.4.4 >= set:okEXdobb32IPKsa5H2ZEbDK1Z0ZAMD1e Requires: libc.so.6(GLIBC_2.0) @@ -79,2 +79,4 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) @@ -94,3 +96,3 @@ Provides: duel3 = 0.1-alt3_0.34.20060225:sisyphus+286850.100.1.3 -File: /usr/bin/duel3 100755 root:root ea73efd37bd34cefdede352f4220dcfb +File: /usr/bin/duel3 100755 root:root a18b08506b15299d6a540ba321bd62f9 File: /usr/bin/duel3-wrapper 120777 root:root opengl-game-wrapper.sh @@ -159,2 +161,2 @@ File: /usr/share/icons/hicolor/64x64/apps/duel3.png 100644 root:root 96df6854cf63b5f8ec4698b1a799753c -RPMIdentity: ec015f1233c63e81c8e50e1a9e362a63937dbbce83e43ac3db300e958f128166d03426bbf1327d0f93fb39fd1119e4fc6115237bc4a3c3db25c1f8921e9b38d7 +RPMIdentity: 4db1a1424c2de87dbf23daf185e8e5d6ddf2f217813e0f9672ce6ffffe722b167c8cc135c711d73d6eba220a88f37fe033a093ed59fa6cc7cb34f01c4c32b0ba --- duel3-debuginfo-0.1-alt3_0.34.20060225.i586.rpm.repo 2021-10-12 02:26:12.000000000 +0000 +++ duel3-debuginfo-0.1-alt3_0.34.20060225.i586.rpm.hasher 2022-09-10 04:51:53.640086656 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/57 40755 root:root -/usr/lib/debug/.build-id/57/8dea7b0feb9ed247b29c46220448e93f5d081f 120777 root:root ../../../../bin/duel3 -/usr/lib/debug/.build-id/57/8dea7b0feb9ed247b29c46220448e93f5d081f.debug 120777 root:root ../../usr/bin/duel3.debug +/usr/lib/debug/.build-id/6f 40755 root:root +/usr/lib/debug/.build-id/6f/b8cd5ff9826ec72e3b75957a1f65246d52ffb9 120777 root:root ../../../../bin/duel3 +/usr/lib/debug/.build-id/6f/b8cd5ff9826ec72e3b75957a1f65246d52ffb9.debug 120777 root:root ../../usr/bin/duel3.debug /usr/lib/debug/usr/bin/duel3.debug 100644 root:root @@ -101,6 +101,6 @@ Provides: duel3-debuginfo = 0.1-alt3_0.34.20060225:sisyphus+286850.100.1.3 -File: /usr/lib/debug/.build-id/57 40755 root:root -File: /usr/lib/debug/.build-id/57/8dea7b0feb9ed247b29c46220448e93f5d081f 120777 root:root ../../../../bin/duel3 -File: /usr/lib/debug/.build-id/57/8dea7b0feb9ed247b29c46220448e93f5d081f.debug 120777 root:root ../../usr/bin/duel3.debug -File: /usr/lib/debug/usr/bin/duel3.debug 100644 root:root 98bb985188e22ada336015c012df9b76 +File: /usr/lib/debug/.build-id/6f 40755 root:root +File: /usr/lib/debug/.build-id/6f/b8cd5ff9826ec72e3b75957a1f65246d52ffb9 120777 root:root ../../../../bin/duel3 +File: /usr/lib/debug/.build-id/6f/b8cd5ff9826ec72e3b75957a1f65246d52ffb9.debug 120777 root:root ../../usr/bin/duel3.debug +File: /usr/lib/debug/usr/bin/duel3.debug 100644 root:root f71fa294efd0c6d7ebfe4b71851ee264 File: /usr/src/debug/Duel3_20060225_src 40755 root:root @@ -188,2 +188,2 @@ File: /usr/src/debug/Duel3_20060225_src/Source/unix.cpp 100644 root:root 5646c3ff50825686f3040abb9f343aa8 -RPMIdentity: 93fb63618ffb950e546d3d4cb99e46404e765b58f33d027c29f9e305fbccd94c38eb0023edb163a506ab085203123b53cd1d9cf241401ad747db142156009344 +RPMIdentity: dd99c03be0bce41cc284e486becd8caec4d22a898865b9903d567b8b82eec9c51fc2217a28132a237d0a0d200e760b189e5bb7cd483ad415aa74cd968c0e6b7c