<86>Dec 25 04:42:06 userdel[3307364]: delete user 'rooter' <86>Dec 25 04:42:06 userdel[3307364]: removed group 'rooter' owned by 'rooter' <86>Dec 25 04:42:06 userdel[3307364]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 04:42:06 groupadd[3307401]: group added to /etc/group: name=rooter, GID=1793 <86>Dec 25 04:42:06 groupadd[3307401]: group added to /etc/gshadow: name=rooter <86>Dec 25 04:42:06 groupadd[3307401]: new group: name=rooter, GID=1793 <86>Dec 25 04:42:06 useradd[3307431]: new user: name=rooter, UID=1793, GID=1793, home=/root, shell=/bin/bash, from=none <86>Dec 25 04:42:06 userdel[3307459]: delete user 'builder' <86>Dec 25 04:42:06 userdel[3307459]: removed group 'builder' owned by 'builder' <86>Dec 25 04:42:06 userdel[3307459]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 04:42:06 groupadd[3307481]: group added to /etc/group: name=builder, GID=1794 <86>Dec 25 04:42:06 groupadd[3307481]: group added to /etc/gshadow: name=builder <86>Dec 25 04:42:06 groupadd[3307481]: new group: name=builder, GID=1794 <86>Dec 25 04:42:06 useradd[3307499]: new user: name=builder, UID=1794, GID=1794, home=/usr/src, shell=/bin/bash, from=none warning: Macro %20 not found <13>Dec 25 04:42:13 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 04:42:13 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 25 04:42:13 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Dec 25 04:42:13 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:13 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Dec 25 04:42:13 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 25 04:42:13 rpmi: libgomp1-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 25 04:42:13 rpmi: libwebp7-1.5.0-alt1 sisyphus+365488.100.1.1 1734677703 installed <13>Dec 25 04:42:13 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Dec 25 04:42:13 rpmi: libSDL2-2.30.10-alt1 sisyphus+364560.100.1.1 1733772087 installed <13>Dec 25 04:42:13 rpmi: libwayland-server-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572111 installed <13>Dec 25 04:42:13 rpmi: liblcms2-2.16-alt1 sisyphus+335676.100.1.1 1701682597 installed <13>Dec 25 04:42:13 rpmi: libltdl7-2.4.7-alt5 sisyphus+341963.200.3.1 1711659208 installed <13>Dec 25 04:42:13 rpmi: libopenjpeg2.0-2.5.3-alt1 sisyphus+364601.100.1.1 1733825032 installed <13>Dec 25 04:42:13 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 04:42:13 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 25 04:42:13 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Dec 25 04:42:13 rpmi: libfribidi-1.0.16-alt1 sisyphus+358393.100.1.1 1727333692 installed <13>Dec 25 04:42:13 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 04:42:13 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 04:42:13 rpmi: libbrotlienc-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 04:42:13 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Dec 25 04:42:13 rpmi: libraw-0.21.3-alt1.1 sisyphus+364570.200.1.1 1733785936 installed <13>Dec 25 04:42:13 rpmi: libSDL2_net-2.2.0-alt1 sisyphus+340661.100.1.1 1707899927 installed <13>Dec 25 04:42:13 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 25 04:42:13 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734007749 installed <13>Dec 25 04:42:13 rpmi: libngtcp2.16-1.10.0-alt1 sisyphus+366376.200.1.1 1735020753 installed <13>Dec 25 04:42:13 rpmi: libngtcp2_crypto_gnutls8-1.10.0-alt1 sisyphus+366376.200.1.1 1735020753 installed <13>Dec 25 04:42:13 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:13 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:13 rpmi: libflif-0.4-alt1 sisyphus+343861.100.1.1 1711656717 installed <13>Dec 25 04:42:13 rpmi: libopenal1-1.22.2-alt2 sisyphus+331513.100.1.2 1697028598 installed <13>Dec 25 04:42:13 rpmi: libenet-1.3.13-alt2 sisyphus+286881.100.1.1 1634034729 installed <13>Dec 25 04:42:13 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 25 04:42:13 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Dec 25 04:42:13 rpmi: libnghttp3.9-1.7.0-alt1 sisyphus+366376.100.1.1 1735020696 installed <13>Dec 25 04:42:13 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118555 installed <13>Dec 25 04:42:13 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 04:42:13 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Dec 25 04:42:13 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Dec 25 04:42:13 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>Dec 25 04:42:13 rpmi: libsensors3-3.6.0-alt4 sisyphus+366234.100.1.1 1734814779 installed <13>Dec 25 04:42:13 rpmi: libspirv-tools0-1:2024.4-alt0.1 sisyphus+365035.200.5.1 1734354502 installed <13>Dec 25 04:42:13 rpmi: llvm18.1-filesystem-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 04:42:13 rpmi: llvm18.1-polly-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 04:42:13 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <13>Dec 25 04:42:13 rpmi: llvm18.1-gold-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 04:42:15 rpmi: llvm18.1-libs-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 04:42:15 rpmi: libwayland-client-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572111 installed <13>Dec 25 04:42:15 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440789 installed <13>Dec 25 04:42:15 rpmi: libdrm-1:2.4.124-alt1 sisyphus+364215.100.1.1 1733469813 installed <13>Dec 25 04:42:15 rpmi: libgbm-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711581 installed <13>Dec 25 04:42:15 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 25 04:42:15 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 25 04:42:16 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 25 04:42:16 rpmi: bc-1:1.07.1-alt1 sisyphus+346065.200.3.1 1716459102 installed <13>Dec 25 04:42:16 rpmi: libImageMagick7-common-7.1.1.41-alt1 sisyphus+363608.140.5.1 1732974525 installed <13>Dec 25 04:42:16 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406837 installed <13>Dec 25 04:42:16 rpmi: liblqr-0.4.3-alt1 sisyphus+356629.200.1.1 1725279244 installed <13>Dec 25 04:42:16 rpmi: highway-libs-1.2.0-alt1 sisyphus+350172.100.1.1 1717270054 installed <13>Dec 25 04:42:16 rpmi: libjbig2.1-2.1-alt2 sisyphus+326386.40.6.1 1691148231 installed <13>Dec 25 04:42:16 rpmi: libfftw3-common-3.3.10-alt2 sisyphus+363193.200.2.1 1732292771 installed <13>Dec 25 04:42:16 rpmi: libfftw3-3.3.10-alt2 sisyphus+363193.200.2.1 1732292771 installed <13>Dec 25 04:42:16 rpmi: djvu-common-3.5.28-alt3 sisyphus+364545.100.1.1 1733754174 installed <13>Dec 25 04:42:16 rpmi: libdjvu-3.5.28-alt3 sisyphus+364545.100.1.1 1733754174 installed <13>Dec 25 04:42:16 rpmi: libdav1d_7-1.5.0-alt1 sisyphus+365203.100.1.1 1734367592 installed <13>Dec 25 04:42:16 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+346279.200.2.1 1716435910 installed <13>Dec 25 04:42:16 rpmi: libpaper2-2:2.1.3-alt1 sisyphus+340967.100.1.1 1708276732 installed <13>Dec 25 04:42:16 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 25 04:42:16 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 25 04:42:16 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 25 04:42:16 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 25 04:42:16 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 04:42:16 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 04:42:16 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 25 04:42:16 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 25 04:42:16 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 04:42:16 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 25 04:42:16 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <86>Dec 25 04:42:16 groupadd[3322849]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 25 04:42:16 groupadd[3322849]: group added to /etc/gshadow: name=_keytab <86>Dec 25 04:42:16 groupadd[3322849]: new group: name=_keytab, GID=999 <13>Dec 25 04:42:16 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Dec 25 04:42:16 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <86>Dec 25 04:42:16 groupadd[3322927]: group added to /etc/group: name=sasl, GID=998 <86>Dec 25 04:42:16 groupadd[3322927]: group added to /etc/gshadow: name=sasl <86>Dec 25 04:42:16 groupadd[3322927]: new group: name=sasl, GID=998 <13>Dec 25 04:42:16 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 25 04:42:16 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 04:42:16 rpmi: libzip5-1.10.1-alt1 sisyphus+340170.100.1.1 1707475902 installed <13>Dec 25 04:42:16 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Dec 25 04:42:16 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 25 04:42:16 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 25 04:42:16 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Dec 25 04:42:16 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Dec 25 04:42:16 rpmi: libavahi-0.8-alt4 sisyphus+344258.100.1.1 1712133856 installed <13>Dec 25 04:42:16 rpmi: libcups-2.4.11-alt1 sisyphus+359120.200.2.1 1728202635 installed <13>Dec 25 04:42:16 rpmi: libnuma-2.0.19-alt1 sisyphus+363830.100.1.1 1733131852 installed <13>Dec 25 04:42:16 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625697230 installed <13>Dec 25 04:42:16 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330316 installed <13>Dec 25 04:42:16 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180089 installed <13>Dec 25 04:42:16 rpmi: libgdk-pixbuf-locales-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Dec 25 04:42:16 rpmi: libde265-1.0.15-alt1 sisyphus+337190.100.1.1 1703502096 installed <13>Dec 25 04:42:16 rpmi: libaom3-3.9.1-alt2 sisyphus+354446.100.1.1 1722877371 installed <13>Dec 25 04:42:16 rpmi: libdatrie-0.2.13-alt1_7 sisyphus+328221.100.1.1 1693336966 installed <13>Dec 25 04:42:16 rpmi: libthai-0.1.29-alt1_6 sisyphus+328230.100.1.2 1693348044 installed <13>Dec 25 04:42:16 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550026 installed <13>Dec 25 04:42:16 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787316 installed <13>Dec 25 04:42:17 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 25 04:42:17 rpmi: libgio-2.82.4-alt1 sisyphus+364807.100.1.1 1733991592 installed <13>Dec 25 04:42:17 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 25 04:42:17 rpmi: libgdk-pixbuf-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Dec 25 04:42:17 rpmi: libheif-1.19.5-alt1 sisyphus+362995.100.1.1 1732097822 installed <13>Dec 25 04:42:17 rpmi: libjxl-pixbuf-loader-0.11.1-alt1 sisyphus+363608.100.5.1 1732974039 installed <13>Dec 25 04:42:17 rpmi: libjxl0.11-0.11.1-alt1 sisyphus+363608.100.5.1 1732974039 installed <13>Dec 25 04:42:17 rpmi: libpixman-3:0.44.2-alt1 sisyphus+364211.100.1.1 1733467622 installed <13>Dec 25 04:42:17 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Dec 25 04:42:17 rpmi: libharfbuzz-10.1.0-alt1 sisyphus+361773.100.1.1 1730824042 installed <13>Dec 25 04:42:17 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Dec 25 04:42:17 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Dec 25 04:42:18 rpmi: libgs-10.04.0-alt1 sisyphus+358837.100.1.1 1727875670 installed <13>Dec 25 04:42:18 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503395 installed <13>Dec 25 04:42:18 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 04:42:18 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Dec 25 04:42:18 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 25 04:42:18 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 04:42:18 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 04:42:18 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Dec 25 04:42:18 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Dec 25 04:42:18 rpmi: libcairo-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948391 installed <13>Dec 25 04:42:18 rpmi: libcairo-gobject-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948391 installed <13>Dec 25 04:42:18 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023269 installed <13>Dec 25 04:42:18 rpmi: libpango-1.55.0-alt1 sisyphus+364011.100.1.1 1733245601 installed <13>Dec 25 04:42:18 rpmi: librsvg-1:2.59.2-alt1 sisyphus+361144.100.1.1 1730276750 installed <13>Dec 25 04:42:18 rpmi: liblasi-1.1.3-alt3 sisyphus+286812.100.2.1 1633968131 installed <13>Dec 25 04:42:18 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>Dec 25 04:42:18 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023310 installed <13>Dec 25 04:42:18 rpmi: libXpm-3.5.17-alt1 sisyphus+330921.100.1.1 1696400257 installed <13>Dec 25 04:42:18 rpmi: libgd3-2.3.3-alt3 sisyphus+363178.500.7.1 1733130530 installed <13>Dec 25 04:42:18 rpmi: libgraphviz-12.1.2-alt2 sisyphus+362875.200.2.1 1731953966 installed <13>Dec 25 04:42:18 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023233 installed <13>Dec 25 04:42:19 rpmi: libGLX-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711581 installed <13>Dec 25 04:42:19 rpmi: libEGL-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711581 installed <13>Dec 25 04:42:19 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:19 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:19 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:20 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 04:42:20 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 04:42:20 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 04:42:20 rpmi: libSDL2-devel-2.30.10-alt1 sisyphus+364560.100.1.1 1733772087 installed <13>Dec 25 04:42:20 rpmi: libopenexrcore30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379858 installed <13>Dec 25 04:42:20 rpmi: libiex30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379858 installed <13>Dec 25 04:42:20 rpmi: libilmthread30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379858 installed <13>Dec 25 04:42:20 rpmi: libimath29-3.1.6-alt4 sisyphus+360827.100.1.1 1729946609 installed <13>Dec 25 04:42:20 rpmi: libopenexr30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379858 installed <13>Dec 25 04:42:20 rpmi: libImageMagick7.10-7.1.1.41-alt1 sisyphus+363608.140.5.1 1732974525 installed <13>Dec 25 04:42:20 rpmi: ImageMagick-tools-7.1.1.41-alt1 sisyphus+363608.140.5.1 1732974525 installed <13>Dec 25 04:42:20 rpmi: libSDL2_net-devel-2.2.0-alt1 sisyphus+340661.100.1.1 1707899927 installed <13>Dec 25 04:42:20 rpmi: libcurl-devel-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 25 04:42:20 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 25 04:42:20 rpmi: libenet-devel-1.3.13-alt2 sisyphus+286881.100.1.1 1634034729 installed <13>Dec 25 04:42:20 rpmi: libopenal-devel-1.22.2-alt2 sisyphus+331513.100.1.2 1697028598 installed warning: Macro %20 not found Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/7kaa-2.15.6-alt1.nosrc.rpm (w1.gzdio) warning: Macro %20 not found Installing 7kaa-2.15.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.75072 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf 7kaa-2.15.6 + echo 'Source #0 (7kaa-2.15.6.tar):' Source #0 (7kaa-2.15.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/7kaa-2.15.6.tar + cd 7kaa-2.15.6 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.75072 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd 7kaa-2.15.6 + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether x86_64-alt-linux-g++ supports C++11 features by default... yes checking whether char is signed... yes checking checking if compiler can emit 387 instructions... yes checking checking for register keyword... yes checking for LC_MESSAGES... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for int16_t... yes checking for int32_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for _NSGetExecutablePath... no checking for setenv... yes checking for strcasecmp() in string.h... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for gettext... yes checking for iconv... yes checking for openal... yes checking for sdl2 >= 2.0.4... yes checking for libenet... yes checking for libcurl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating src/curl/Makefile config.status: creating src/enet/Makefile config.status: creating src/imgfun/Makefile config.status: creating src/imgfun/generic/Makefile config.status: creating src/imgfun/x86/Makefile config.status: creating src/openal/Makefile config.status: creating po/Makefile.in config.status: creating include/config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: unrecognized options: --without-included-gettext configure: audio backend: openal configure: video backend: sdl configure: input backend: sdl configure: x86 asm: no configure: multiplayer: menu=yes curl=yes enet=yes fpu=387 configure: debugging features: no + make -j16 Making all in data make[1]: Nothing to be done for 'all'. Making all in include make all-am Making all in src Making all in enet make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o multiplayer.o multiplayer.cpp multiplayer.cpp: In member function 'int MultiPlayer::poll_sessions()': multiplayer.cpp:371:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 371 | if (prev = get_session(m->session_id)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiplayer.cpp: In member function 'void MultiPlayer::do_host_nat_punch(MpMsgHostNatPunch*)': multiplayer.cpp:1289:20: warning: unused variable 'b' [-Wunused-variable] 1289 | ENetBuffer b; | ^ multiplayer.cpp:1290:19: warning: unused variable 'm' [-Wunused-variable] 1290 | MpMsgPing m; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' rm -f libmultiplayer.a ar cru libmultiplayer.a multiplayer.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmultiplayer.a make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' Making all in imgfun Making all in generic make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o CRC.o CRC.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_AT.o IB_AT.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_ATR.o IB_ATR.cpp IB_ATR.cpp: In function 'void IMGbltAreaTransRemap(char*, int, int, int, char*, int, int, int, int, char*)': IB_ATR.cpp:74:85: warning: array subscript has type 'char' [-Wchar-subscripts] 74 | imageBuf[destline + i] = colorTable[ bitmapBuf[esi+i] ]; | ~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_ATD.o IB_ATD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_ATDM.o IB_ATDM.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_AR.o IB_AR.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_T.o IB_T.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_ATRDM.o IB_ATRDM.cpp IB_ATRDM.cpp: In function 'void IMGbltAreaTransRemapDecompressHMirror(char*, int, int, int, char*, int, int, int, int, char*)': IB_ATRDM.cpp:95:13: warning: unused variable 'bitmapHeight' [-Wunused-variable] 95 | int bitmapHeight = ((unsigned char*)bitmapBuf)[2] + (((unsigned char*)bitmapBuf)[3]<<8); | ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_R.o IB_R.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_ATRD.o IB_ATRD.cpp IB_ATRD.cpp: In function 'void IMGbltAreaTransRemapDecompress(char*, int, int, int, char*, int, int, int, int, char*)': IB_ATRD.cpp:92:13: warning: unused variable 'bitmapHeight' [-Wunused-variable] 92 | int bitmapHeight = ((unsigned char*)bitmapBuf)[2] + (((unsigned char*)bitmapBuf)[3]<<8); | ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_TDM.o IB_TDM.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_TR.o IB_TR.cpp IB_TR.cpp: In function 'void IMGbltTransRemap(char*, int, int, int, char*, char*)': IB_TR.cpp:68:85: warning: array subscript has type 'char' [-Wchar-subscripts] 68 | imageBuf[destline + i] = colorTable[ bitmapBuf[esi+i] ]; | ~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_TD.o IB_TD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_TRD.o IB_TRD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_TRDM.o IB_TRDM.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IJ_T.o IJ_T.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IR.o IR.cpp IR.cpp: In function 'void IMGremap(char*, int, int, int, char*, unsigned char**)': IR.cpp:59:75: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | colorTableArray[ al ][ imageBuf[destline+i] ]; | ~~~~~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IC_R.o IC_R.cpp IC_R.cpp: In function 'void IMGcopyRemap(char*, int, char*, int, int, int, int, int, unsigned char*)': IC_R.cpp:56:75: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | imageBuf[ dest + i ] = colorTable[ backBuf[src + i] ]; | ~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_32.o IB_32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB.o IB.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_A.o IB_A.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IR_A.o IR_A.cpp IR_A.cpp: In function 'void IMGremapArea(char*, int, int, int, char*, unsigned char**, int, int, int, int)': IR_A.cpp:59:71: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | colorTableArray[ al ][ imageBuf[dest+i] ]; | ~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IR_AM.o IR_AM.cpp IR_AM.cpp: In function 'void IMGremapAreaHMirror(char*, int, int, int, char*, unsigned char**, int, int, int, int)': IR_AM.cpp:60:71: warning: array subscript has type 'char' [-Wchar-subscripts] 60 | colorTableArray[ al ][ imageBuf[dest+i] ]; | ~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IR_M.o IR_M.cpp IR_M.cpp: In function 'void IMGremapHMirror(char*, int, int, int, char*, unsigned char**)': IR_M.cpp:59:75: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | colorTableArray[ al ][ imageBuf[destline+i] ]; | ~~~~~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB2.o IB2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_DW.o IB_DW.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_EMASK.o I_EMASK.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_EREMAP.o I_EREMAP.cpp I_EREMAP.cpp: In function 'void IMGremap16x16(char*, int, int, int, char*, char**)': I_EREMAP.cpp:91:71: warning: array subscript has type 'char' [-Wchar-subscripts] 91 | table = colorTableArray[ maskPtr[ srcline + i ] ]; | ~~~~~~~~~~~~~~~~~~~~~^ I_EREMAP.cpp:85:13: warning: unused variable 'al' [-Wunused-variable] 85 | int al; | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_FONT.o I_FONT.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_PIXEL.o I_PIXEL.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IB_RD.o IB_RD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_SNOW.o I_SNOW.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IC.o IC.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_FREMAP.o I_FREMAP.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_LINE.o I_LINE.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o IR_BAR.o IR_BAR.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_BLACK.o I_BLACK.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_BAR.o I_BAR.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o I_READ.o I_READ.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' rm -f libimgfun_generic.a ar cru libimgfun_generic.a CRC.o IB.o IB2.o IB_32.o IB_A.o IB_AR.o IB_AT.o IB_ATD.o IB_ATDM.o IB_ATR.o IB_ATRD.o IB_ATRDM.o IB_DW.o IB_R.o IB_RD.o IB_T.o IB_TD.o IB_TDM.o IB_TR.o IB_TRD.o IB_TRDM.o IC.o IC_R.o IJ_T.o IR.o IR_A.o IR_AM.o IR_BAR.o IR_M.o I_BAR.o I_BLACK.o I_EMASK.o I_EREMAP.o I_FONT.o I_FREMAP.o I_LINE.o I_PIXEL.o I_READ.o I_SNOW.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libimgfun_generic.a make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Nothing to be done for 'all-am'. Making all in openal make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/AL -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o wav_stream.o wav_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/AL -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o openal_audio.o openal_audio.cpp openal_audio.cpp: In member function 'int OpenALAudio::init_wav()': openal_audio.cpp:259:41: warning: ignoring return value of 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = int; _Alloc = std::allocator; reference = int&; size_type = long unsigned int]', declared with attribute 'nodiscard' [-Wunused-result] 259 | attributes[n + 1]; | ^ In file included from /usr/include/c++/14/vector:66, from openal_audio.cpp:25: /usr/include/c++/14/bits/stl_vector.h:1128:7: note: declared here 1128 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' rm -f libaudio_openal.a ar cru libaudio_openal.a openal_audio.o wav_stream.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libaudio_openal.a make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' Making all in curl make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o WebService.o WebService.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' rm -f libWebService.a ar cru libWebService.a WebService.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libWebService.a make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o CmdLine.o CmdLine.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o LocaleRes.o LocaleRes.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ConfigAdv.o ConfigAdv.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ConfigAdv.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_DEFE.o OAI_DEFE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OAI_DEFE.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_GRAN.o OAI_GRAN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from OAI_GRAN.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_GRAN.cpp: In member function 'int Nation::think_ally_against_big_enemy()': OAI_GRAN.cpp:728:17: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 728 | Nation* nationPtr; | ^~~~~~~~~ OAI_GRAN.cpp:730:25: warning: variable 'ourNationRelation' set but not used [-Wunused-but-set-variable] 730 | NationRelation *ourNationRelation, *enemyNationRelation; | ^~~~~~~~~~~~~~~~~ OAI_GRAN.cpp:730:45: warning: variable 'enemyNationRelation' set but not used [-Wunused-but-set-variable] 730 | NationRelation *ourNationRelation, *enemyNationRelation; | ^~~~~~~~~~~~~~~~~~~ OAI_GRAN.cpp: In member function 'int Nation::think_attack_enemy_firm(int, int)': OAI_GRAN.cpp:833:18: warning: unused variable 'nationPtr' [-Wunused-variable] 833 | Nation *nationPtr = nation_array[enemyNationRecno]; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_ATTK.o OAI_ATTK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_ATTK.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_BASE.h:36, from ../include/OFIRMALL.h:29, from OAI_ATTK.cpp:28: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:30: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:31: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:32: ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:33: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:34: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:35: ../include/OF_RESE.h:74:25: note: by 'virtual void FirmResearch::init_crc(FirmResearchCrc*)' 74 | virtual void init_crc(FirmResearchCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:36: ../include/OF_WAR.h:78:25: note: by 'virtual void FirmWar::init_crc(FirmWarCrc*)' 78 | virtual void init_crc(FirmWarCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:37: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:38: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_MAIN.o OAI_MAIN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OAI_MAIN.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OAI_MAIN.cpp:31: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_MAIN.cpp:34: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_MAR3.o OAI_MAR3.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_MAR3.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_MAR3.cpp:29: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_MAR3.cpp:30: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ OAI_MAR3.cpp: In member function 'int Nation::ai_settle_to_region(int, int, int)': OAI_MAR3.cpp:96:13: warning: unused variable 'loopCount' [-Wunused-variable] 96 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_INFO.o OAI_INFO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MARK.h:28, from OAI_INFO.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_CARA.h:37, from OAI_INFO.cpp:28: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OAI_INFO.cpp: In member function 'void Nation::update_ai_region()': OAI_INFO.cpp:251:56: warning: array subscript has type 'char' [-Wchar-subscripts] 251 | ai_region_array[ai_region_count++].region_id = townPtr->region_id; | ~~~~~~~~~~~~~~~^~ OAI_INFO.cpp: In member function 'void Nation::add_general_info(short int)': OAI_INFO.cpp:307:15: warning: unused variable 'unitPtr' [-Wunused-variable] 307 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ OAI_INFO.cpp: In member function 'void Nation::del_general_info(short int)': OAI_INFO.cpp:321:15: warning: unused variable 'unitPtr' [-Wunused-variable] 321 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_ECO.o OAI_ECO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_ECO.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_BASE.h:36, from ../include/OFIRMALL.h:29, from OAI_ECO.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:30: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:31: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:32: ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:33: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:34: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:35: ../include/OF_RESE.h:74:25: note: by 'virtual void FirmResearch::init_crc(FirmResearchCrc*)' 74 | virtual void init_crc(FirmResearchCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:36: ../include/OF_WAR.h:78:25: note: by 'virtual void FirmWar::init_crc(FirmWarCrc*)' 78 | virtual void init_crc(FirmWarCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:37: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:38: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_ACT.o OAI_ACT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OAI_ACT.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_ACT.cpp:29: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_ACT2.o OAI_ACT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OAI_ACT2.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OAI_ACT2.cpp:29: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OAI_ACT2.cpp: In member function 'int Nation::ai_assign_overseer(ActionNode*)': OAI_ACT2.cpp:151:19: warning: unused variable 'firmInfo' [-Wunused-variable] 151 | FirmInfo* firmInfo = firm_res[firmId]; | ^~~~~~~~ OAI_ACT2.cpp: In member function 'int Nation::ai_assign_worker(ActionNode*)': OAI_ACT2.cpp:322:19: warning: unused variable 'firmInfo' [-Wunused-variable] 322 | FirmInfo* firmInfo = firm_res[firmId]; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_CAP2.o OAI_CAP2.cpp OAI_CAP2.cpp:460:74: warning: "/*" within comment [-Wcomment] 460 | if( townPtr->nation_recno == targetTown->nation_recno ) //**BUGHERE In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_CAP2.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_BASE.h:36, from ../include/OFIRMALL.h:29, from OAI_CAP2.cpp:29: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:30: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:31: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:32: ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:33: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:34: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:35: ../include/OF_RESE.h:74:25: note: by 'virtual void FirmResearch::init_crc(FirmResearchCrc*)' 74 | virtual void init_crc(FirmResearchCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:36: ../include/OF_WAR.h:78:25: note: by 'virtual void FirmWar::init_crc(FirmWarCrc*)' 78 | virtual void init_crc(FirmWarCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:37: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:38: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ OAI_CAP2.cpp: In member function 'Town* Nation::think_capture_enemy_town_target(Town*)': OAI_CAP2.cpp:264:17: warning: unused variable 'ownNation' [-Wunused-variable] 264 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ OAI_CAP2.cpp:267:15: warning: variable 'neededCombatLevel' set but not used [-Wunused-but-set-variable] 267 | int neededCombatLevel=0; | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_BUIL.o OAI_BUIL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_BUIL.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_CAMP.h:28, from OAI_BUIL.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ OAI_BUIL.cpp: In member function 'int Nation::ai_supported_inn_count()': OAI_BUIL.cpp:305:15: warning: unused variable 'fixedExpense' [-Wunused-variable] 305 | float fixedExpense = fixed_expense_365days(); | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_MAR2.o OAI_MAR2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_MAR2.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_MAR2.cpp:27: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_DIPL.o OAI_DIPL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OAI_DIPL.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OAI_DIPL.cpp: In member function 'int Nation::think_request_cease_war()': OAI_DIPL.cpp:365:42: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 365 | Nation* nationPtr; | ^~~~~~~~~ OAI_DIPL.cpp: In member function 'int Nation::think_trade_treaty()': OAI_DIPL.cpp:479:41: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 479 | Nation* nationPtr; | ^~~~~~~~~ OAI_DIPL.cpp: In member function 'int Nation::think_declare_war()': OAI_DIPL.cpp:636:13: warning: unused variable 'rc' [-Wunused-variable] 636 | int rc=0; | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBLOB.o OBLOB.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_MARI.o OAI_MARI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_MARI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_MARI.cpp:29: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_MARI.cpp:30: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ OAI_MARI.cpp: In member function 'int Nation::ai_build_harbor(int, int)': OAI_MARI.cpp:198:52: warning: variable 'bestYLoc' set but not used [-Wunused-but-set-variable] 198 | int xLoc, yLoc, bestXLoc= -1, bestYLoc= -1, maxEnemyDistance=0; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o AM.o AM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from AM.cpp:36: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from ../include/OBULLET.h:33: ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ In file included from AM.cpp:68: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_CAPT.o OAI_CAPT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_CAPT.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_CAMP.h:28, from OAI_CAPT.cpp:28: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_CAPT.cpp:29: ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ OAI_CAPT.cpp: In member function 'int Nation::capture_expected_resistance(int, int*)': OAI_CAPT.cpp:227:17: warning: unused variable 'captureRating' [-Wunused-variable] 227 | int captureRating = 0; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_MILI.o OAI_MILI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from OAI_MILI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_TRAD.o OAI_TRAD.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OAI_TRAD.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_CARA.h:37: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_QUER.o OAI_QUER.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OAI_QUER.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_SEEK.o OAI_SEEK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_SEEK.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MINE.h:28, from OAI_SEEK.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_SEEK.cpp:27: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OAI_SEEK.cpp:28: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_UNIT.o OAI_UNIT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_UNIT.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_INN.h:36, from OAI_UNIT.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_TOWN.o OAI_TOWN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_TOWN.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_INN.h:36, from OAI_TOWN.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_TALK.o OAI_TALK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MARK.h:28, from OAI_TALK.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_TALK.cpp: In member function 'int Nation::consider_give_tribute(TalkMsg*)': OAI_TALK.cpp:767:13: warning: unused variable 'relationStatus' [-Wunused-variable] 767 | int relationStatus = get_relation_status(talkMsg->from_nation_recno); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_SPY.o OAI_SPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OAI_SPY.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBULLETA.o OBULLETA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OBULLETA.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OBULLETA.cpp:27: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: warning: 'virtual void Bullet::init_crc(BulletCrc*)' was hidden [-Woverloaded-virtual=] In file included from OBULLETA.cpp:31: ../include/OB_HOMIN.h:55:25: note: by 'virtual void BulletHoming::init_crc(BulletHomingCrc*)' 55 | virtual void init_crc(BulletHomingCrc *c); | ^~~~~~~~ OBULLETA.cpp: In member function 'short int BulletArray::add_bullet(Unit*, Unit*)': OBULLETA.cpp:355:21: warning: unused variable 'attackInfo' [-Wunused-variable] 355 | AttackInfo *attackInfo = parentUnit->attack_info_array+parentUnit->cur_attack; | ^~~~~~~~~~ OBULLETA.cpp: In member function 'short int BulletArray::add_bullet(Unit*, short int, short int)': OBULLETA.cpp:402:21: warning: unused variable 'attackInfo' [-Wunused-variable] 402 | AttackInfo *attackInfo = parentUnit->attack_info_array+parentUnit->cur_attack; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OAI_MONS.o OAI_MONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MONS.h:28, from OAI_MONS.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBULLET.o OBULLET.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OBULLET.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OBULLET.cpp:27: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OBULLET.cpp:30: ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBUTT3D.o OBUTT3D.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ODB.o ODB.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ODATE.o ODATE.cpp ODATE.cpp: In member function 'int DateInfo::get_date(long int, char)': ODATE.cpp:137:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 137 | if (year%4 == 0 && year%100 != 0 || year%400 == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'char* DateInfo::date_str(long int, int)': ODATE.cpp:207:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 207 | if (year%4 == 0 && year%100 != 0 || year%400 == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'int DateInfo::day_year(int, int, int)': ODATE.cpp:336:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 336 | isLeap = ( year%4 == 0 && year%100 != 0 || year%400 == 0 ) ? 1 : 0 ; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'int DateInfo::month_day(int, int, int&, int&)': ODATE.cpp:384:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 384 | isLeap = ( year%4 == 0 && year%100 != 0 || year%400 == 0 ) ? 1 : 0 ; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ODIR.o ODIR.cpp ODIR.cpp: In member function 'int Directory::read(const char*, int)': ODIR.cpp:107:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 107 | for( int i = 0; i < results.gl_pathc; i++ ) | ~~^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBOX.o OBOX.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OCOLTBL.o OCOLTBL.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ODYNARR.o ODYNARR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OEFFECT.o OEFFECT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OEFFECT.h:27, from OEFFECT.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OANLINE.o OANLINE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OERRCTRL.o OERRCTRL.cpp OERRCTRL.cpp: In member function 'int ErrorControl::send(char, void*, long unsigned int)': OERRCTRL.cpp:131:40: warning: array subscript has type 'char' [-Wchar-subscripts] 131 | toDPid = dp_id[ecPlayerId]; | ^~~~~~~~~~ OERRCTRL.cpp: In member function 'char* ErrorControl::receive(char*, uint32_t*)': OERRCTRL.cpp:183:47: warning: array subscript has type 'char' [-Wchar-subscripts] 183 | char *dataPtr = receive_queue[recv_head].queue_buf; | ^~~~~~~~~ OERRCTRL.cpp:184:46: warning: array subscript has type 'char' [-Wchar-subscripts] 184 | uint32_t len = receive_queue[recv_head].length(); | ^~~~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::yield()': OERRCTRL.cpp:294:101: warning: array subscript has type 'char' [-Wchar-subscripts] 294 | for( ; recv_flag[ecMsg.sender_id-1][scanFrame]; inc_frame_id(scanFrame) ) | ^~~~~~~~~ OERRCTRL.cpp:365:101: warning: array subscript has type 'char' [-Wchar-subscripts] 365 | for( ; recv_flag[ecMsg.sender_id-1][scanFrame]; inc_frame_id(scanFrame) ) | ^~~~~~~~~ OERRCTRL.cpp:443:75: warning: array subscript has type 'char' [-Wchar-subscripts] 443 | char *replyMsg = send_queue[ecMsg.frame_id].queue_buf; | ~~~~~~^~~~~~~~ OERRCTRL.cpp:444:78: warning: array subscript has type 'char' [-Wchar-subscripts] 444 | uint32_t replyLen = send_queue[ecMsg.frame_id].length(); | ~~~~~~^~~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::en_recv_queue(void*, long unsigned int)': OERRCTRL.cpp:580:31: warning: array subscript has type 'char' [-Wchar-subscripts] 580 | receive_queue[f].clear(); | ^ OERRCTRL.cpp:581:39: warning: array subscript has type 'char' [-Wchar-subscripts] 581 | memcpy( receive_queue[f].reserve(dataLen), dataPtr, dataLen); | ^ OERRCTRL.cpp: In member function 'void ErrorControl::set_ack(char, char)': OERRCTRL.cpp:599:18: warning: array subscript has type 'char' [-Wchar-subscripts] 599 | ack_flag[frameId][ecPlayerId-1] = 1; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::clear_ack(char)': OERRCTRL.cpp:604:26: warning: array subscript has type 'char' [-Wchar-subscripts] 604 | memset( ack_flag[frameId], 0, MAX_PLAYER ); | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::mark_send_time(char, long unsigned int)': OERRCTRL.cpp:609:19: warning: array subscript has type 'char' [-Wchar-subscripts] 609 | send_time[frameId] = misc.get_time(); | ^~~~~~~ OERRCTRL.cpp:610:23: warning: array subscript has type 'char' [-Wchar-subscripts] 610 | re_send_after[frameId] = duration; | ^~~~~~~ OERRCTRL.cpp: In member function 'int ErrorControl::need_re_send(char, int)': OERRCTRL.cpp:616:46: warning: array subscript has type 'char' [-Wchar-subscripts] 616 | return ((misc.get_time() - send_time[frameId]) * promptFactor) >= re_send_after[frameId]; | ^~~~~~~ OERRCTRL.cpp:616:89: warning: array subscript has type 'char' [-Wchar-subscripts] 616 | return ((misc.get_time() - send_time[frameId]) * promptFactor) >= re_send_after[frameId]; | ^~~~~~~ OERRCTRL.cpp: In member function 'int ErrorControl::are_all_acked(char)': OERRCTRL.cpp:626:54: warning: array subscript has type 'char' [-Wchar-subscripts] 626 | if( dp_id[ecPlayerId-1] && !ack_flag[frameId][ecPlayerId-1] ) | ^~~~~~~ OERRCTRL.cpp: In member function 'int ErrorControl::is_waiting_receive(char, char)': OERRCTRL.cpp:645:45: warning: array subscript has type 'char' [-Wchar-subscripts] 645 | && !recv_flag[ecPlayerId-1][frameId]; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::set_recv_flag(char, char)': OERRCTRL.cpp:650:33: warning: array subscript has type 'char' [-Wchar-subscripts] 650 | recv_flag[ecPlayerId-1][frameId] = 1; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::clear_recv_flag(char, char)': OERRCTRL.cpp:656:33: warning: array subscript has type 'char' [-Wchar-subscripts] 656 | recv_flag[ecPlayerId-1][frameId] = 0; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::re_transmit(int)': OERRCTRL.cpp:669:50: warning: array subscript has type 'char' [-Wchar-subscripts] 669 | char *ecMsg = send_queue[f].queue_buf; | ^ OERRCTRL.cpp:670:56: warning: array subscript has type 'char' [-Wchar-subscripts] 670 | uint32_t ecMsgLen = send_queue[f].length(); | ^ OERRCTRL.cpp:675:70: warning: array subscript has type 'char' [-Wchar-subscripts] 675 | if( dp_id[ecPlayerId-1] && !ack_flag[f][ecPlayerId-1] ) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ODYNARRB.o ODYNARRB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ODYNARRB.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFILE.o OFILE.cpp OFILE.cpp: In member function 'int File::file_read(void*, unsigned int)': OFILE.cpp:211:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | fread(dataBuf, 1, bytesToRead, file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'int8_t File::file_get_char()': OFILE.cpp:263:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 263 | fread(&value, 1, sizeof(int8_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'int16_t File::file_get_short()': OFILE.cpp:300:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | fread(&value, 1, sizeof(int16_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'uint16_t File::file_get_unsigned_short()': OFILE.cpp:337:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | fread(&value, 1, sizeof(uint16_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'int32_t File::file_get_long()': OFILE.cpp:374:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 374 | fread(&value, 1, sizeof(int32_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBUTTCUS.o OBUTTCUS.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFILETXT.o OFILETXT.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMDIE.o OFIRMDIE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OFIRMDIE.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBATTLE.o OBATTLE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OBATTLE.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from ../include/OGODRES.h:28, from OBATTLE.cpp:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OBATTLE.cpp:38: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OU_CARA.h:45, from ../include/OUNITALL.h:27, from OBATTLE.cpp:44: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:28: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:29: ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:30: ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:31: ../include/OU_MONS.h:60:25: note: by 'virtual void UnitMonster::init_crc(UnitMonsterCrc*)' 60 | virtual void init_crc(UnitMonsterCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:32: ../include/OU_GOD.h:63:25: note: by 'virtual void UnitGod::init_crc(UnitGodCrc*)' 63 | virtual void init_crc(UnitGodCrc *c); | ^~~~~~~~ OBATTLE.cpp: In member function 'void Battle::create_ai_nation(int)': OBATTLE.cpp:401:21: warning: variable 'nationRecno' set but not used [-Wunused-but-set-variable] 401 | int nationRecno; | ^~~~~~~~~~~ OBATTLE.cpp: At global scope: OBATTLE.cpp:962:12: warning: 'int is_space(int, int, int, int, char)' defined but not used [-Wunused-function] 962 | static int is_space(int xLoc1, int yLoc1, int xLoc2, int yLoc2, char mobileType) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OB_PROJ.o OB_PROJ.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from ../include/OB_PROJ.h:27, from OB_PROJ.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from ../include/OBULLET.h:33: ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: warning: 'virtual void Bullet::init_crc(BulletCrc*)' was hidden [-Woverloaded-virtual=] ../include/OB_PROJ.h:53:25: note: by 'virtual void Projectile::init_crc(ProjectileCrc*)' 53 | virtual void init_crc(ProjectileCrc *c); | ^~~~~~~~ OB_PROJ.cpp: In member function 'virtual void Projectile::init(char, short int, short int, short int, char)': OB_PROJ.cpp:82:22: warning: unused variable 'spriteFrame' [-Wunused-variable] 82 | SpriteFrame* spriteFrame = cur_sprite_frame(); | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OCONFIG.o OCONFIG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OCONFIG.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OB_FLAME.o OB_FLAME.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from ../include/OB_FLAME.h:28, from OB_FLAME.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from ../include/OBULLET.h:33: ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: warning: 'virtual void Bullet::init_crc(BulletCrc*)' was hidden [-Woverloaded-virtual=] ../include/OB_FLAME.h:47:25: note: by 'virtual void BulletFlame::init_crc(BulletFlameCrc*)' 47 | virtual void init_crc(BulletFlameCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OCRC_STO.o OCRC_STO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from OCRC_STO.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OCRC_STO.cpp:28: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OBUTTON.o OBUTTON.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OB_HOMIN.o OB_HOMIN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from ../include/OB_HOMIN.h:27, from OB_HOMIN.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from ../include/OBULLET.h:33: ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: warning: 'virtual void Bullet::init_crc(BulletCrc*)' was hidden [-Woverloaded-virtual=] ../include/OB_HOMIN.h:55:25: note: by 'virtual void BulletHoming::init_crc(BulletHomingCrc*)' 55 | virtual void init_crc(BulletHomingCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OEXPMASK.o OEXPMASK.cpp In file included from ../include/OWORLDMT.h:28, from OEXPMASK.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMIF.o OFIRMIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OFIRMIF.cpp:34: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_basic_info(int, int)': OFIRMIF.cpp:253:13: warning: variable 'sliderX1' set but not used [-Wunused-but-set-variable] 253 | int sliderX1, sliderX2; | ^~~~~~~~ OFIRMIF.cpp:253:23: warning: variable 'sliderX2' set but not used [-Wunused-but-set-variable] 253 | int sliderX1, sliderX2; | ^~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_worker_list(int, int)': OFIRMIF.cpp:425:13: warning: variable 'overseerRaceId' set but not used [-Wunused-but-set-variable] 425 | int overseerRaceId=0; | ^~~~~~~~~~~~~~ OFIRMIF.cpp: In member function 'int Firm::detect_worker_list()': OFIRMIF.cpp:551:13: warning: unused variable 'liveInTown' [-Wunused-variable] 551 | int liveInTown = firm_res[firm_id]->live_in_town; | ^~~~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_worker_info(int, int)': OFIRMIF.cpp:644:48: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 644 | if( lastSelected != selected_worker_id > 0 ) | ~~~~~~~~~~~~~~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRM2.o OFIRM2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OFIRM2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRM2.cpp: In member function 'void Firm::kill_worker(int)': OFIRM2.cpp:87:19: warning: unused variable 'unitRecno' [-Wunused-variable] 87 | int unitRecno = 0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMIF3.o OFIRMIF3.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFIRMIF3.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OFIRMIF3.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OFIRMIF3.cpp: In member function 'void Firm::disp_bribe_menu(int)': OFIRMIF3.cpp:110:21: warning: unused variable 'x' [-Wunused-variable] 110 | int x=INFO_X1+4, y=INFO_Y1+4, y2=y+font_san.height()-1; | ^ OFIRMIF3.cpp: In member function 'void Firm::disp_assassinate_result(int)': OFIRMIF3.cpp:539:13: warning: unused variable 'x' [-Wunused-variable] 539 | int x=INFO_X1+4, y=INFO_Y1+4, y2=y+font_san.height()-1; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMAI.o OFIRMAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OF_INN.h:28, from OFIRMAI.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_INN.h:36: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OFIRMAI.cpp:25: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OFIRMAI.cpp:26: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OFIRMAI.cpp:27: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OFIRMAI.cpp:28: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMDRW.o OFIRMDRW.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OFIRMDRW.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OFIRMDRW.cpp: In member function 'virtual void Firm::draw_full_size(int)': OFIRMDRW.cpp:210:21: warning: unused variable 'hitPerPixel' [-Wunused-variable] 210 | int hitPerPixel = (int) max_hit_points / bitmapWidth / bitmapHeight / 2; | ^~~~~~~~~~~ OFIRMDRW.cpp: In member function 'int Firm::draw_detect_link_line(int)': OFIRMDRW.cpp:318:19: warning: unused variable 'firmInfo' [-Wunused-variable] 318 | FirmInfo* firmInfo = firm_res[firm_id]; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OERROR.o OERROR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMA.o OFIRMA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OFIRMA.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OFIRMA.cpp:27: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OFIRMA.cpp: In member function 'void FirmArray::del_firm(int)': OFIRMA.cpp:310:17: warning: unused variable 'xLoc' [-Wunused-variable] 310 | int xLoc = firmPtr->center_x; | ^~~~ OFIRMA.cpp:311:17: warning: unused variable 'yLoc' [-Wunused-variable] 311 | int yLoc = firmPtr->center_y; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMIF2.o OFIRMIF2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFIRMIF2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFLAME.o OFLAME.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFONT.o OFONT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFONT.cpp:33: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OFONT.cpp:36: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRM.o OFIRM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OFIRM.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OFIRM.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OFIRM.cpp: In member function 'virtual void Firm::assign_overseer(int)': OFIRM.cpp:656:21: warning: unused variable 'originalXLoc' [-Wunused-variable] 656 | int originalXLoc = unitPtr->next_x_loc(); | ^~~~~~~~~~~~ OFIRM.cpp:657:21: warning: unused variable 'originalYLoc' [-Wunused-variable] 657 | int originalYLoc = unitPtr->next_y_loc(); | ^~~~~~~~~~~~ OFIRM.cpp:615:13: warning: unused variable 'oldOverseerRecno' [-Wunused-variable] 615 | int oldOverseerRecno = overseer_recno; | ^~~~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual void Firm::assign_worker(int)': OFIRM.cpp:971:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Worker'; use assignment or value-initialization instead [-Wclass-memaccess] 971 | memset( workerPtr, 0, sizeof(Worker) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OFIRM.cpp:40: ../include/OFIRM.h:94:8: note: 'struct Worker' declared here 94 | struct Worker | ^~~~~~ OFIRM.cpp: In member function 'int Firm::find_settle_town()': OFIRM.cpp:1131:25: warning: unused variable 'nationPtr' [-Wunused-variable] 1131 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OFIRM.cpp: In member function 'int Firm::year_expense()': OFIRM.cpp:1877:13: warning: unused variable 'payWorkerCount' [-Wunused-variable] 1877 | int payWorkerCount=0; | ^~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual int Firm::pull_town_people(int, char, int, int)': OFIRM.cpp:2109:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Worker'; use assignment or value-initialization instead [-Wclass-memaccess] 2109 | memset( workerPtr, 0, sizeof(Worker) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OFIRM.h:94:8: note: 'struct Worker' declared here 94 | struct Worker | ^~~~~~ OFIRM.cpp:2044:18: warning: unused variable 'popAdded' [-Wunused-variable] 2044 | int i, popAdded=0; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::update_worker()': OFIRM.cpp:2305:29: warning: unused variable 'loopCount' [-Wunused-variable] 2305 | int loopCount=0; | ^~~~~~~~~ OFIRM.cpp: In member function 'int Firm::create_worker_unit(Worker&)': OFIRM.cpp:2468:19: warning: unused variable 'unitInfo' [-Wunused-variable] 2468 | UnitInfo *unitInfo = unit_res[unitId]; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::resign_all_worker(int)': OFIRM.cpp:2648:8: warning: unused variable 'loopCount' [-Wunused-variable] 2648 | int loopCount=0, townRecno, raceId; | ^~~~~~~~~ OFIRM.cpp: In member function 'void Firm::think_worker_migrate()': OFIRM.cpp:2749:15: warning: unused variable 'firmXLoc' [-Wunused-variable] 2749 | int firmXLoc = center_x, firmYLoc = center_y; | ^~~~~~~~ OFIRM.cpp:2749:36: warning: unused variable 'firmYLoc' [-Wunused-variable] 2749 | int firmXLoc = center_x, firmYLoc = center_y; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::setup_link()': OFIRM.cpp:3117:35: warning: array subscript has type 'char' [-Wchar-subscripts] 3117 | linked_firm_array[linked_firm_count] = firmRecno; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3118:42: warning: array subscript has type 'char' [-Wchar-subscripts] 3118 | linked_firm_enable_array[linked_firm_count] = defaultLinkStatus; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3129:53: warning: array subscript has type 'char' [-Wchar-subscripts] 3129 | firmPtr->linked_firm_array[firmPtr->linked_firm_count] = firm_recno; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OFIRM.cpp:3130:60: warning: array subscript has type 'char' [-Wchar-subscripts] 3130 | firmPtr->linked_firm_enable_array[firmPtr->linked_firm_count] = defaultLinkStatus; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OFIRM.cpp:3213:35: warning: array subscript has type 'char' [-Wchar-subscripts] 3213 | linked_town_array[linked_town_count] = townRecno; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3214:42: warning: array subscript has type 'char' [-Wchar-subscripts] 3214 | linked_town_enable_array[linked_town_count] = defaultLinkStatus; | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OFIRMRES.o OFIRMRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OFIRMRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OFIRMRES.cpp:27: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_BASE.o OF_BASE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_BASE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_BASE2.o OF_BASE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_BASE2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_BASE.h:36, from OF_BASE2.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_FACT2.o OF_FACT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_FACT2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OF_FACT2.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MINE.h:28, from OF_FACT2.cpp:33: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_FACT2.cpp:34: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_FACT2.cpp:35: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_FACT.o OF_FACT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_FACT.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_CAMP2.o OF_CAMP2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_CAMP2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_CAMP.h:28, from OF_CAMP2.cpp:30: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::ai_recruit(int)': OF_CAMP2.cpp:429:17: warning: unused variable 'loopCount' [-Wunused-variable] 429 | int loopCount=0; | ^~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::ai_combat_level_needed()': OF_CAMP2.cpp:494:17: warning: unused variable 'nationPtr' [-Wunused-variable] 494 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::think_capture_target_town()': OF_CAMP2.cpp:736:15: warning: unused variable 'prefPeacefulness' [-Wunused-variable] 736 | int prefPeacefulness = nation_array[nation_recno]->pref_peacefulness; | ^~~~~~~~~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::think_capture_use_spy(Town*)': OF_CAMP2.cpp:1002:17: warning: unused variable 'ownNation' [-Wunused-variable] 1002 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_CAMP.o OF_CAMP.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_CAMP.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OF_CAMP.cpp:43: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_CAMP.cpp: In member function 'void FirmCamp::train_unit()': OF_CAMP.cpp:663:19: warning: unused variable 'overseerRaceInfo' [-Wunused-variable] 663 | RaceInfo* overseerRaceInfo = race_res[overseerUnit->race_id]; | ^~~~~~~~~~~~~~~~ OF_CAMP.cpp: In member function 'void FirmCamp::patrol()': OF_CAMP.cpp:886:52: warning: array subscript has type 'char' [-Wchar-subscripts] 886 | patrol_unit_array[patrol_unit_count++] = overseerRecno; | ~~~~~~~~~~~~~~~~~^~ OF_CAMP.cpp: In member function 'int FirmCamp::patrol_all_soldier()': OF_CAMP.cpp:941:60: warning: array subscript has type 'char' [-Wchar-subscripts] 941 | patrol_unit_array[patrol_unit_count++] = unitRecno; | ~~~~~~~~~~~~~~~~~^~ OF_CAMP.cpp: In member function 'void FirmCamp::defense(short int, int)': OF_CAMP.cpp:1041:13: warning: unused variable 'numOfUnitInside' [-Wunused-variable] 1041 | int numOfUnitInside = worker_count + (overseer_recno>0); | ^~~~~~~~~~~~~~~ OF_CAMP.cpp: At global scope: OF_CAMP.cpp:58:13: warning: 'void disp_debug_info(FirmCamp*, int)' declared 'static' but never defined [-Wunused-function] 58 | static void disp_debug_info(FirmCamp* firmPtr, int refreshFlag); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_MARK2.o OF_MARK2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MARK2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OF_MARK2.cpp:29: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_CARA.h:45, from OF_MARK2.cpp:30: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_MARK2.cpp:33: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_MARK2.cpp:34: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ OF_MARK2.cpp: In member function 'virtual void FirmMarket::ai_update_link_status()': OF_MARK2.cpp:209:17: warning: unused variable 'nationPtr' [-Wunused-variable] 209 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_MARK2.cpp: In member function 'int FirmMarket::think_import_specific_product(int)': OF_MARK2.cpp:433:25: warning: unused variable 'canHireCaravan' [-Wunused-variable] 433 | int canHireCaravan = can_hire_caravan(); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_INN2.o OF_INN2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_INN2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_INN.h:36, from OF_INN2.cpp:28: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_INN2.cpp:29: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_INN.o OF_INN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_INN.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_MARK.o OF_MARK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MARK.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_MARK.cpp: In member function 'virtual int FirmMarket::detect_info()': OF_MARK.cpp:289:46: warning: unused variable 'marketGoods' [-Wunused-variable] 289 | MarketGoods* marketGoods = market_goods_array+i; | ^~~~~~~~~~~ OF_MARK.cpp: In member function 'short int FirmMarket::hire_caravan(char)': OF_MARK.cpp:367:17: warning: unused variable 'nationPtr' [-Wunused-variable] 367 | Nation *nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_MARK.cpp: In member function 'void FirmMarket::disp_income(int, int)': OF_MARK.cpp:533:75: warning: array subscript has type 'char' [-Wchar-subscripts] 533 | font_san.field( x, y+16, _("Restock From"), x+110, restocking_msg[restock_type], x+200, refreshFlag, "MK_RSTKF" ); | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_HARB2.o OF_HARB2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_HARB2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OF_HARB2.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_HARB2.cpp:27: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMESET.o OGAMESET.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_MINE.o OF_MINE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MINE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_HARB.o OF_HARB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_HARB.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OF_HARB.cpp:36: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_HARB.cpp: In member function 'int FirmHarbor::detect_build_menu()': OF_HARB.cpp:838:34: warning: unused variable 'x' [-Wunused-variable] 838 | int unitId, x=INFO_X1+2, y=INFO_Y1, rc, quitFlag, waitFlag; | ^ OF_HARB.cpp:839:19: warning: variable 'unitInfo' set but not used [-Wunused-but-set-variable] 839 | UnitInfo* unitInfo; | ^~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::disp_build_info(int)': OF_HARB.cpp:1128:13: warning: unused variable 'dispY1' [-Wunused-variable] 1128 | int dispY1 = INFO_Y1+26; | ^~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::update_linked_firm_info()': OF_HARB.cpp:1286:59: warning: array subscript has type 'char' [-Wchar-subscripts] 1286 | linked_mine_array[linked_mine_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~ OF_HARB.cpp:1295:62: warning: array subscript has type 'char' [-Wchar-subscripts] 1295 | linked_factory_array[linked_factory_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~~~~ OF_HARB.cpp:1304:61: warning: array subscript has type 'char' [-Wchar-subscripts] 1304 | linked_market_array[linked_market_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~~~ OF_HARB.cpp:1269:17: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 1269 | Nation *nationPtr; | ^~~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::add_queue(int, int)': OF_HARB.cpp:1346:52: warning: array subscript has type 'char' [-Wchar-subscripts] 1346 | build_queue_array[build_queue_count++] = unitId; | ~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_MINE2.o OF_MINE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MINE2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OF_MINE2.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MINE.h:28, from OF_MINE2.cpp:31: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_MINE2.cpp:32: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OF_MINE2.cpp:33: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_RESE.o OF_RESE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_RESE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_RESE.cpp: In member function 'void FirmResearch::research_complete()': OF_RESE.cpp:603:15: warning: unused variable 'techId' [-Wunused-variable] 603 | short techId = tech_id; // backup tech_id | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGENHILL.o OGENHILL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OGENHILL.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OGENHILL.cpp:29: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_WAR.o OF_WAR.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_WAR.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_WAR.cpp: In member function 'int FirmWar::detect_build_menu()': OF_WAR.cpp:306:34: warning: unused variable 'x' [-Wunused-variable] 306 | int unitId, x=INFO_X1+2, y=INFO_Y1, rc, quitFlag, waitFlag; | ^ OF_WAR.cpp:307:19: warning: variable 'unitInfo' set but not used [-Wunused-but-set-variable] 307 | UnitInfo* unitInfo; | ^~~~~~~~ OF_WAR.cpp: In member function 'void FirmWar::add_queue(int, int)': OF_WAR.cpp:722:52: warning: array subscript has type 'char' [-Wchar-subscripts] 722 | build_queue_array[build_queue_count++] = unitId; | ~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_MONS.o OF_MONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MONS.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_MONS.cpp: In member function 'virtual void FirmMonster::deinit_derived()': OF_MONS.cpp:114:13: warning: unused variable 'loopCount' [-Wunused-variable] 114 | int loopCount=0; | ^~~~~~~~~ OF_MONS.cpp: In member function 'virtual void FirmMonster::assign_unit(int)': OF_MONS.cpp:397:19: warning: unused variable 'unitInfo' [-Wunused-variable] 397 | UnitInfo* unitInfo = unit_res[unitPtr->unit_id]; | ^~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::add_general(int)': OF_MONS.cpp:450:19: warning: unused variable 'unitInfo' [-Wunused-variable] 450 | UnitInfo* unitInfo = unit_res[unitPtr->unit_id]; | ^~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::add_soldier(int)': OF_MONS.cpp:522:60: warning: array subscript has type 'char' [-Wchar-subscripts] 522 | waiting_soldier_array[waiting_soldier_count++] = generalUnitRecno; // the soldier is waiting for this general. | ~~~~~~~~~~~~~~~~~~~~~^~ OF_MONS.cpp: In member function 'int FirmMonster::mobilize_general(int, int)': OF_MONS.cpp:660:68: warning: array subscript has type 'char' [-Wchar-subscripts] 660 | patrol_unit_array[patrol_unit_count++] = unitRecno; | ~~~~~~~~~~~~~~~~~^~ OF_MONS.cpp: In member function 'int FirmMonster::think_attack_neighbor()': OF_MONS.cpp:1024:41: warning: unused variable 'totalCombatLevel' [-Wunused-variable] 1024 | int totalCombatLevel=0; | ^~~~~~~~~~~~~~~~ OF_MONS.cpp: In member function 'int FirmMonster::think_attack_human()': OF_MONS.cpp:1186:41: warning: unused variable 'totalCombatLevel' [-Wunused-variable] 1186 | int totalCombatLevel=0; | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_RESE2.o OF_RESE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_RESE2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_RESE.h:28, from OF_RESE2.cpp:29: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_RESE.h:74:25: note: by 'virtual void FirmResearch::init_crc(FirmResearchCrc*)' 74 | virtual void init_crc(FirmResearchCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMCRED.o OGAMCRED.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OF_WAR2.o OF_WAR2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_WAR2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_WAR.h:28, from OF_WAR2.cpp:29: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_WAR.h:78:25: note: by 'virtual void FirmWar::init_crc(FirmWarCrc*)' 78 | virtual void init_crc(FirmWarCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMEND.o OGAMEND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGAMEND.cpp:39: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMSCE2.o OGAMSCE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGAMSCE2.cpp:38: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/FilePath.h:27, from ../include/OFILE.h:27, from ../include/ALL.h:31, from ../include/OSYS.h:27, from OGAMSCE2.cpp:25: OGAMSCE2.cpp: In member function 'int Game::select_scenario(int, ScenInfo*)': OGAMSCE2.cpp:279:83: warning: array subscript has type 'char' [-Wchar-subscripts] 279 | pathName = DIR_SCENARIO_PATH(scenInfoArray[browseRecno-1].dir_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:55: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ OGAMSCE2.cpp:577:43: warning: comparison of integer expressions of different signedness: 'int' and 'nsPlayerStats::PlayStatus' [-Wsign-compare] 577 | if(status > nsPlayerStats::PlayStatus::COMPLETED) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMSCE2.cpp:590:90: warning: array subscript has type 'char' [-Wchar-subscripts] 590 | path += DIR_SCENARIO_PATH(scenInfoArray[browseRecno - 1].dir_id);; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:55: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMHALL.o OGAMHALL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGAMHALL.cpp:36: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAME.o OGAME.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from ../include/OUNITALL.h:27, from OGAME.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_CARA.h:37: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] In file included from ../include/OUNITALL.h:28: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:30: ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OGAME.cpp:33: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ In file included from OGAME.cpp:34: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAME.cpp: In member function 'int Game::init(int)': OGAME.cpp:116:13: warning: unused variable 'originalRandomSeed' [-Wunused-variable] 116 | int originalRandomSeed = misc.get_random_seed(); | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMENCY.o OGAMENCY.cpp OGAMENCY.cpp: In function 'int disp_picture(int, int, int)': OGAMENCY.cpp:585:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 585 | filename2[0] && misc.is_file_exist(filename2) && pictFile.file_open(filename2,0) && (palNamePtr = palname2) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMENCY.cpp: At global scope: OGAMENCY.cpp:131:12: warning: 'fryhtan_page' defined but not used [-Wunused-variable] 131 | static int fryhtan_page; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMMAIN.o OGAMMAIN.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMMENU.o OGAMMENU.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGAMMENU.cpp:34: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from ../include/ONATIONA.h:32, from OGAMMENU.cpp:47: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OGAMMENU.cpp: In member function 'void Game::in_game_menu()': OGAMMENU.cpp:85:13: warning: unused variable 'x' [-Wunused-variable] 85 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OGAMMENU.cpp:85:32: warning: unused variable 'y' [-Wunused-variable] 85 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OGAMMENU.cpp: In function 'int detect_game_option()': OGAMMENU.cpp:187:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 187 | (menu_hot_key[i-1] && mouse.key_code == menu_hot_key[i-1] || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMMENU.cpp: At global scope: OGAMMENU.cpp:293:13: warning: 'reverse_race_table' defined but not used [-Wunused-variable] 293 | static char reverse_race_table[MAX_RACE_TABLE] = // race translation table | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMSCEN.o OGAMSCEN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MONS.h:28, from OGAMSCEN.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/FilePath.h:27, from ../include/OFILE.h:27, from ../include/ALL.h:31, from ../include/OSYS.h:27, from OGAMSCEN.cpp:25: OGAMSCEN.cpp: In member function 'int Game::run_scenario(ScenInfo*)': OGAMSCEN.cpp:155:44: warning: array subscript has type 'char' [-Wchar-subscripts] 155 | str = DIR_SCENARIO_PATH(scenInfo->dir_id); | ~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:55: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ OGAMSCEN.cpp:172:69: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | str2 = DIR_SCENARIO_PATH(scenInfo->dir_id); | ~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:55: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGETA.o OGETA.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGENMAP.o OGENMAP.cpp In file included from OGENMAP.cpp:31: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OGENMAP.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMSING.o OGAMSING.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGAMSING.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMSING.cpp: At global scope: OGAMSING.cpp:51:13: warning: 'option_mode' defined but not used [-Wunused-variable] 51 | static char option_mode; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OLONGLOG.o OLONGLOG.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OLOG.o OLOG.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OLZW.o OLZW.cpp OLZW.cpp: In member function 'virtual short unsigned int BitFileRead::input_bits(unsigned int)': OLZW.cpp:121:36: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 121 | if( bit_offset + stringLen > (last_offset+sizeof(residue))*8 ) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLZW.cpp:125:31: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 125 | if( byteFetch >= sizeof(residue) ) // residue >>= 32 does not change to 0 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from OLZW.cpp:27: ../include/OLZW.h: In constructor 'BitFileWrite::BitFileWrite(File*)': ../include/OLZW.h:74:23: warning: 'BitFileWrite::residue' will be initialized after [-Wreorder] 74 | unsigned long residue; // always the 4 bytes at last_offset | ^~~~~~~ ../include/OLZW.h:73:14: warning: 'long int BitFileWrite::residue_len' [-Wreorder] 73 | long residue_len; | ^~~~~~~~~~~ OLZW.cpp:150:1: warning: when initialized here [-Wreorder] 150 | BitFileWrite::BitFileWrite(File *f) : filePtr(f), residue(0), residue_len(0) | ^~~~~~~~~~~~ OLZW.cpp: In member function 'virtual void BitFileWrite::output_bits(short unsigned int, unsigned int)': OLZW.cpp:168:37: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 168 | if( residue_len + stringLen > sizeof(residue)*8 ) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ OLZW.cpp:173:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 173 | if( byteFlush >= sizeof(residue)) // if byteFlush == 4, residue >>= 32 does not set residue to 0 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ OLZW.cpp: In member function 'unsigned int Lzw::decode_string(unsigned int, short unsigned int)': OLZW.cpp:468:24: warning: unused variable 'initCode' [-Wunused-variable] 468 | unsigned short initCode = code; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMEM.o OMEM.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGFILE2.o OGFILE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OGFILE2.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In static member function 'static int GameFile::read_file(File*)': OGFILE2.cpp:196:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 196 | if( demo_format && load_file_game_version > 0 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp:191:13: warning: unused variable 'originalRandomSeed' [-Wunused-variable] 191 | int originalRandomSeed = misc.get_random_seed(); | ^~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In member function 'int TownRes::read_file(File*)': OGFILE2.cpp:914:49: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 914 | memset(town_name_used_array, 0, sizeof(town_name_used_array)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In member function 'int GodRes::read_file(File*)': OGFILE2.cpp:1103:43: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1103 | memset(god_info_array, 0, sizeof(god_info_array)); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGODRES.o OGODRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OGODRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OGODRES.cpp:28: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] In file included from OGODRES.cpp:31: ../include/OU_GOD.h:63:25: note: by 'virtual void UnitGod::init_crc(UnitGodCrc*)' 63 | virtual void init_crc(UnitGodCrc *c); | ^~~~~~~~ In file included from ../include/OU_GOD.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OGODRES.cpp:32: ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGFILE3.o OGFILE3.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OGFILE3.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OGFILE3.cpp:27: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OBULLET.h:91:25: warning: 'virtual void Bullet::init_crc(BulletCrc*)' was hidden [-Woverloaded-virtual=] In file included from OGFILE3.cpp:28: ../include/OB_PROJ.h:53:25: note: by 'virtual void Projectile::init_crc(ProjectileCrc*)' 53 | virtual void init_crc(ProjectileCrc *c); | ^~~~~~~~ In file included from ../include/OBULLET.h:37: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:32, from OGFILE3.cpp:41: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ OGFILE3.cpp: In function 'bool read_version_1_nation(File*, Version_1_Nation*)': OGFILE3.cpp:1709:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class DynArray'; use assignment instead [-Wclass-memaccess] 1709 | memset(&v1n->action_array, 0, sizeof(v1n->action_array)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ODYNARRB.h:28, from ../include/OSPRITE.h:27: ../include/ODYNARR.h:52:7: note: 'class DynArray' declared here 52 | class DynArray | ^~~~~~~~ OGFILE3.cpp: In function 'bool read_nation(File*, Nation*)': OGFILE3.cpp:1955:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class DynArray'; use assignment instead [-Wclass-memaccess] 1955 | memset(&nat->action_array, 0, sizeof(nat->action_array)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ODYNARR.h:52:7: note: 'class DynArray' declared here 52 | class DynArray | ^~~~~~~~ OGFILE3.cpp: In member function 'int SpyArray::write_file(File*)': OGFILE3.cpp:2213:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Spy'; use assignment or value-initialization instead [-Wclass-memaccess] 2213 | memset(&spyBlank, 0, sizeof(spyBlank)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OGFILE3.cpp:38: ../include/OSPY.h:55:7: note: 'class Spy' declared here 55 | class Spy | ^~~ OGFILE3.cpp: At global scope: OGFILE3.cpp:55:14: warning: 'char* create_monster_func()' declared 'static' but never defined [-Wunused-function] 55 | static char* create_monster_func(); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGRPSEL.o OGRPSEL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OGRPSEL.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OHILLRES.o OHILLRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OHILLRES.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGF_V1.o OGF_V1.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from ../include/OGF_V1.h:29, from OGF_V1.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGAMEMP.o OGAMEMP.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGAMEMP.cpp:33: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OGAMEMP.cpp: In constructor 'MpStructLoadGameNewPlayer::MpStructLoadGameNewPlayer(Nation*, uint32_t, int32_t, char*, char*)': OGAMEMP.cpp:330:17: warning: 'MpStructLoadGameNewPlayer::random_seed' will be initialized after [-Wreorder] 330 | int32_t random_seed; | ^~~~~~~~~~~ OGAMEMP.cpp:322:18: warning: 'uint32_t MpStructLoadGameNewPlayer::ver1' [-Wreorder] 322 | uint32_t ver1; | ^~~~ OGAMEMP.cpp:334:9: warning: when initialized here [-Wreorder] 334 | MpStructLoadGameNewPlayer(Nation *n, uint32_t frame, int32_t seed, char *name, char *pass) : | ^~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::input_name_pass(const char**, char*, int, char*, int)': OGAMEMP.cpp:1616:13: warning: variable 'titleWidth' set but not used [-Wunused-but-set-variable] 1616 | int titleWidth, titleHeight, fieldDesWidth, field_x_pos, boxWidth, boxHeight, buttonWidth1, ret; | ^~~~~~~~~~ OGAMEMP.cpp:1616:53: warning: variable 'field_x_pos' set but not used [-Wunused-but-set-variable] 1616 | int titleWidth, titleHeight, fieldDesWidth, field_x_pos, boxWidth, boxHeight, buttonWidth1, ret; | ^~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::mp_select_option(NewNationPara*, int*)': OGAMEMP.cpp:3574:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3574 | if( keyCode = mapIdField.detect() ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::mp_select_load_option(char*)': OGAMEMP.cpp:5526:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5526 | !nationPtr->is_own() && !nationPtr->is_remote() || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp:4259:18: warning: variable 'hostPlayerId' set but not used [-Wunused-but-set-variable] 4259 | PID_TYPE hostPlayerId = 0; | ^~~~~~~~~~~~ OGAMEMP.cpp:4274:13: warning: unused variable 'shareRace' [-Wunused-variable] 4274 | int shareRace = 1; // host only, 0= exclusive race of each player | ^~~~~~~~~ OGAMEMP.cpp: At global scope: OGAMEMP.cpp:505:13: warning: 'void ingame_disconnect_handler(uint32_t)' defined but not used [-Wunused-function] 505 | static void ingame_disconnect_handler(uint32_t playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp:484:13: warning: 'void pregame_disconnect_handler(uint32_t)' defined but not used [-Wunused-function] 484 | static void pregame_disconnect_handler(uint32_t playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OHELP.o OHELP.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OHELP.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OHELP.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OHELP.cpp: In member function 'void Help::load(char*)': OHELP.cpp:145:26: warning: unused variable 'loopCount' [-Wunused-variable] 145 | int loopCount=0; | ^~~~~~~~~ OHELP.cpp: In member function 'void Help::save_scr(int, int, int, int)': OHELP.cpp:236:14: warning: unused variable 'saveSize' [-Wunused-variable] 236 | long saveSize = (long)(x2-x1+1) * (y2-y1+1); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OGFILE.o OGFILE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGFILE.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OINGMENU.o OINGMENU.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from OINGMENU.cpp:35: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OINGMENU.cpp: In member function 'void InGameMenu::disp(int)': OINGMENU.cpp:139:11: warning: unused variable 'x' [-Wunused-variable] 139 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OINGMENU.cpp:139:30: warning: unused variable 'y' [-Wunused-variable] 139 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OINGMENU.cpp: In member function 'int InGameMenu::detect()': OINGMENU.cpp:185:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 185 | (menu_hot_key[i-1] && mouse.key_code == menu_hot_key[i-1] || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMUSIC.o OMUSIC.cpp OMUSIC.cpp: In member function 'int Music::play(int, int)': OMUSIC.cpp:160:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 160 | return play(songId, playType & ~MUSIC_CD_THEN_WAV | MUSIC_PLAY_CD) make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OLIGHTN.o OLIGHTN.cpp In file included from ../include/OWORLDMT.h:28, from OLIGHTN.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLIGHTN.cpp: At global scope: OLIGHTN.cpp:293:15: warning: 'double sqr(double)' defined but not used [-Wunused-function] 293 | static double sqr(double x) | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OIMGRES.o OIMGRES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OPLASMA.o OPLASMA.cpp OPLASMA.cpp: In member function 'void Plasma::shuffle_level(short int, short int, short int)': OPLASMA.cpp:532:37: warning: unused variable 'loopCount' [-Wunused-variable] 532 | int loopCount = 20; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OLIGHTN2.o OLIGHTN2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORACERES.o ORACERES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OINFO.o OINFO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OINFO.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OINFO.cpp: In member function 'void Info::disp_heading()': OINFO.cpp:394:13: warning: unused variable 'x' [-Wunused-variable] 394 | int x=TOP_MENU_X2-250; | ^ OINFO.cpp: At global scope: OINFO.cpp:52:20: warning: 'skill_name_array' defined but not used [-Wunused-variable] 52 | static const char* skill_name_array[] = | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMOUSE.o OMOUSE.cpp OMOUSE.cpp: In member function 'void Mouse::add_event(MouseEventType)': OMOUSE.cpp:397:15: warning: enumeration value 'KEY_PRESS' not handled in switch [-Wswitch] 397 | switch(type) | ^ OMOUSE.cpp:397:15: warning: enumeration value 'KEY_RELEASE' not handled in switch [-Wswitch] OMOUSE.cpp:397:15: warning: enumeration value 'KEY_TYPING' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMONSRES.o OMONSRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OMONSRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OMONSRES.cpp:28: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OMONSRES.cpp:31: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OMONSRES.cpp:32: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ OMONSRES.cpp: In member function 'void MonsterRes::init_active_monster()': OMONSRES.cpp:127:13: warning: unused variable 'loopCount' [-Wunused-variable] 127 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMISC.o OMISC.cpp OMISC.cpp: In member function 'int Misc::valid_char(char)': OMISC.cpp:529:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 529 | return ( ch>='a' && ch<='z' || | ~~~~~~~~^~~~~~~~~~ OMISC.cpp:531:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 531 | ch>='0' && ch<='9' || | ~~~~~~~~^~~~~~~~~~ OMISC.cpp: In member function 'int Misc::str_icmpx(const char*, const char*)': OMISC.cpp:611:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 611 | REGISTER int a,b; | ^ OMISC.cpp:611:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 611 | REGISTER int a,b; | ^ OMISC.cpp: In member function 'int Misc::atoi(char*, int)': OMISC.cpp:937:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 937 | if ( strLen >= sizeof( str_buf ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ONATIONA.o ONATIONA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from ONATIONA.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ONATIONA.cpp: In member function 'void NationArray::del_nation(int)': ONATIONA.cpp:277:9: warning: deleting object of polymorphic class type 'Nation' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete nationPtr; | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ONEWS.o ONEWS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ONEWS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from ONEWS.cpp:34: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ONEWS.cpp: In member function 'int News::put(int, int, int&)': ONEWS.cpp:440:65: warning: array subscript has type 'char' [-Wchar-subscripts] 440 | char colorCode = game.color_remap_array[nation_color1].main_color; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ONATIONB.o ONATIONB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ONATIONB.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ONATIONB.cpp: In constructor 'NationBase::NationBase()': ONATIONB.cpp:80:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class NationBase' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 80 | memset( this, 0, sizeof(NationBase) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from ONATIONB.cpp:39: ../include/ONATIONB.h:142:7: note: 'class NationBase' declared here 142 | class NationBase | ^~~~~~~~~~ In file included from ONATIONB.cpp:50: ONATIONB.cpp: In member function 'const char* NationRelation::status_str()': ONATIONB.cpp:2381:44: warning: array subscript has type 'char' [-Wchar-subscripts] 2381 | return _(relation_status_str_array[status]); | ^~~~~~ ../include/gettext.h:41:27: note: in definition of macro '_' 41 | #define _(String) gettext(String) | ^~~~~~ ONATIONB.cpp: In member function 'const char* NationRelation::duration_of_status_str()': ONATIONB.cpp:2416:47: warning: array subscript has type 'char' [-Wchar-subscripts] 2416 | return _(duration_of_status_str_array[status]); | ^~~~~~ ../include/gettext.h:41:27: note: in definition of macro '_' 41 | #define _(String) gettext(String) | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMOUSECR.o OMOUSECR.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OMOUSECR.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OMP_CRC.o OMP_CRC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from ../include/OMP_CRC.h:29, from OMP_CRC.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void UnitMarine::clear_ptr()': OMP_CRC.cpp:463:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class Sprite' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 463 | memset(&splash, 0, sizeof(splash)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OF_INN.h:28, from ../include/OMP_CRC.h:31: ../include/OSPRITE.h:54:7: note: 'class Sprite' declared here 54 | class Sprite | ^~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sunit_recno_array, unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sunit_recno_array, unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:514:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 514 | for( int i = 0; i < sizeof(stop_array)/sizeof(*stop_array); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void UnitCaravan::clear_ptr()': OMP_CRC.cpp:559:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 559 | for( int i = 0; i < sizeof(stop_array)/sizeof(*stop_array); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)': OMP_CRC.cpp:583:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 583 | for( int i = 0; i < sizeof(stop_array)/sizeof(*stop_array); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void Firm::clear_ptr()': OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_firm_array, linked_firm_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_firm_enable_array, linked_firm_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_town_array, linked_town_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_town_enable_array, linked_town_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmCamp::clear_ptr()': OMP_CRC.cpp:761:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 761 | for( int i = 0; i < sizeof(defense_array)/sizeof(*defense_array); ++i ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(spatrol_unit_array, patrol_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(scoming_unit_array, coming_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmInn::clear_ptr()': OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'short int' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sinn_unit_array, inn_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:61: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct InnUnit'; use assignment or value-initialization instead [-Wclass-memaccess] 59 | #define RTRIM_ARRAY(a,s) { if(sinn_unit_array, inn_unit_count); | ^~~~~~~~~~~ ../include/OF_INN.h:46:8: note: 'struct InnUnit' declared here 46 | struct InnUnit | ^~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmMarket::clear_ptr()': OMP_CRC.cpp:915:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 915 | for( i = 0; i < sizeof(market_goods_array)/sizeof(*market_goods_array); ++i ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmMarket::init_crc(FirmMarketCrc*)': OMP_CRC.cpp:935:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 935 | for( int i = 0; i < sizeof(market_goods_array)/sizeof(*market_goods_array); ++i ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmWar::clear_ptr()': OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sbuild_queue_array, build_queue_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmHarbor::clear_ptr()': OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'short int' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sship_recno_array, ship_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sbuild_queue_array, build_queue_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_mine_array, linked_mine_num); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_factory_array, linked_factory_num); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(slinked_market_array, linked_market_num); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmMonster::clear_ptr()': OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'short int' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(smonster_general_array, monster_general_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(swaiting_soldier_array, waiting_soldier_count); | ^~~~~~~~~~~ OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(spatrol_unit_array, patrol_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'void Town::clear_ptr()': OMP_CRC.cpp:59:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 59 | #define RTRIM_ARRAY(a,s) { if(sTERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_site(int)': OMATRIX.cpp:444:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 444 | loc_flag = loc_flag & ~LOCATE_SITE_MASK | LOCATE_HAS_SITE; OMATRIX.cpp: In member function 'void Location::set_dirt(int)': OMATRIX.cpp:506:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 506 | loc_flag = loc_flag & ~LOCATE_SITE_MASK | LOCATE_HAS_DIRT; OMATRIX.cpp: In member function 'void Location::set_town(int)': OMATRIX.cpp:563:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 563 | loc_flag = loc_flag & ~LOCATE_BLOCK_MASK | LOCATE_IS_TOWN; OMATRIX.cpp: In member function 'void Location::set_hill(int)': OMATRIX.cpp:616:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 616 | loc_flag = loc_flag & ~(LOCATE_BLOCK_MASK | LOCATE_SITE_MASK ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_wall(int, int, int)': OMATRIX.cpp:651:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 651 | loc_flag = loc_flag & ~(LOCATE_BLOCK_MASK | LOCATE_SITE_MASK ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_plant(int, int, int)': OMATRIX.cpp:785:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 785 | loc_flag = loc_flag & ~(LOCATE_BLOCK_MASK | LOCATE_SITE_MASK ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_rock(short int)': OMATRIX.cpp:817:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 817 | loc_flag = loc_flag & ~LOCATE_BLOCK_MASK | LOCATE_IS_ROCK; make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREGION.o OREGION.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OREGION.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREMOTEQ.o OREMOTEQ.cpp OREMOTEQ.cpp: In member function 'int RemoteQueue::validate_queue(int)': OREMOTEQ.cpp:59:13: warning: unused variable 'loopCount' [-Wunused-variable] 59 | int loopCount = 0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ONEWSENG.o ONEWSENG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from ONEWSENG.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ONEWS2.o ONEWS2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ONEWS2.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OOPTMENU.o OOPTMENU.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OOPTMENU.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OOPTMENU.cpp: At global scope: OOPTMENU.cpp:60:13: warning: 'reverse_race_table' defined but not used [-Wunused-variable] 60 | static char reverse_race_table[MAX_RACE_TABLE] = // race translation table | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORES.o ORES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORESDB.o ORESDB.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORESX.o ORESX.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORAIN1.o ORAIN1.cpp In file included from ../include/OWORLDMT.h:28, from ORAIN1.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OROCK.o OROCK.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OPOWER.o OPOWER.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OPOWER.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_frame()': OPOWER.cpp:435:29: warning: unused variable 'mouseX' [-Wunused-variable] 435 | int mouseX = mouse.click_x(LEFT_BUTTON); | ^~~~~~ OPOWER.cpp:436:29: warning: unused variable 'mouseY' [-Wunused-variable] 436 | int mouseY = mouse.click_y(LEFT_BUTTON); | ^~~~~~ OPOWER.cpp:260:19: warning: unused variable 'selectedCount' [-Wunused-variable] 260 | int rc=0, selectedCount=0; | ^~~~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_action()': OPOWER.cpp:733:47: warning: variable 'selectedUnit' set but not used [-Wunused-but-set-variable] 733 | Unit *selectedUnit; | ^~~~~~~~~~~~ OPOWER.cpp:717:29: warning: unused variable 'assignedFlag' [-Wunused-variable] 717 | int assignedFlag=0; | ^~~~~~~~~~~~ OPOWER.cpp:569:26: warning: variable 'targetWall' set but not used [-Wunused-but-set-variable] 569 | char targetWall=0; | ^~~~~~~~~~ OPOWER.cpp:570:26: warning: unused variable 'mobileType' [-Wunused-variable] 570 | int mobileType = activeUnit->mobile_type; // mobile type of the selected units | ^~~~~~~~~~ OPOWER.cpp:572:26: warning: unused variable 'nationRecno' [-Wunused-variable] 572 | short nationRecno = activeUnit->nation_recno; | ^~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_select(int, int, int, int, int, int)': OPOWER.cpp:1184:61: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1184 | for( int mt = 0; mt < sizeof(mobileTypeList)/sizeof(char); ++mt ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp:1200:92: warning: array subscript has type 'char' [-Wchar-subscripts] 1200 | selectNationCount[unitPtr->nation_recno]++; | ~~~~~~~~~^~~~~~~~~~~~ OPOWER.cpp:1222:53: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1222 | for( int mt = 0; mt < sizeof(mobileTypeList)/sizeof(char); ++mt ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp:1034:13: warning: unused variable 'firstXLoc' [-Wunused-variable] 1034 | int firstXLoc = selXLoc1, firstYLoc = selYLoc1; // first location to be tested | ^~~~~~~~~ OPOWER.cpp:1034:35: warning: unused variable 'firstYLoc' [-Wunused-variable] 1034 | int firstXLoc = selXLoc1, firstYLoc = selYLoc1; // first location to be tested | ^~~~~~~~~ OPOWER.cpp:1065:25: warning: unused variable 'firstTest' [-Wunused-variable] 1065 | int firstTest=0; | ^~~~~~~~~ OPOWER.cpp: In member function 'int Power::choose_cursor(int, int, ScreenObjectType, short int, ScreenObjectType, short int)': OPOWER.cpp:1847:47: warning: unused variable 'townPtr' [-Wunused-variable] 1847 | Town *townPtr = town_array[selectedObjectRecno]; | ^~~~~~~ OPOWER.cpp:1507:13: warning: variable 'pointingObjectId' set but not used [-Wunused-but-set-variable] 1507 | int pointingObjectId = 0; | ^~~~~~~~~~~~~~~~ OPOWER.cpp: In member function 'ScreenObjectType Power::find_selected_type(short int*)': OPOWER.cpp:2152:23: warning: unused variable 'sitePtr' [-Wunused-variable] 2152 | Site *sitePtr = site_array[*selectedRecno = site_array.selected_recno]; | ^~~~~~~ OPOWER.cpp: In member function 'ScreenObjectType Power::find_pointing_type(Location*, short int*)': OPOWER.cpp:2222:23: warning: unused variable 'sitePtr' [-Wunused-variable] 2222 | Site *sitePtr = site_array[*pointingRecno = locPtr->site_recno()]; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORAIN3.o ORAIN3.cpp In file included from ../include/OWORLDMT.h:28, from ORAIN3.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORAIN2.o ORAIN2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OPLANT.o OPLANT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OPLANT.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OPLANT.cpp:29: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ORAWRES.o ORAWRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ORAWRES.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREMOTE.o OREMOTE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OREMOTE.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OREMOTE.cpp:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREBEL.o OREBEL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OREBEL.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREGIONS.o OREGIONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OREGIONS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OREGIONS.cpp: In member function 'void RegionStat::init()': OREGIONS.cpp:132:56: warning: array subscript has type 'char' [-Wchar-subscripts] 132 | reachable_region_array[reachable_region_count].sea_region_id = seaRegionId; | ^~~~~~~~~~~~~~~~~~~~~~ OREGIONS.cpp:133:56: warning: array subscript has type 'char' [-Wchar-subscripts] 133 | reachable_region_array[reachable_region_count].land_region_stat_id = i; | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREMOTEM.o OREMOTEM.cpp OREMOTEM.cpp:1610:18: warning: "/*" within comment [-Wcomment] 1610 | /* //**BUGHERE, no more training in game In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OREMOTEM.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] In file included from ../include/OUNITALL.h:28, from OREMOTEM.cpp:36: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:30: ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::new_nation()': OREMOTEM.cpp:257:13: warning: unused variable 'nationRecno' [-Wunused-variable] 257 | int nationRecno = nation_array.new_nation( NATION_REMOTE, nationPtr->race_id, nationPtr->color_scheme_id, nationPtr->player_id ); | ^~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::firm_bribe()': OREMOTEM.cpp:1809:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1809 | && (shortPtr[2] == 0 && firmPtr->overseer_recno || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::firm_reward()': OREMOTEM.cpp:1905:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1905 | if( shortPtr[1] == 0 && firmPtr->overseer_recno || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::caravan_selected()': OREMOTEM.cpp:2855:16: warning: unused variable 'shortPtr' [-Wunused-variable] 2855 | short *shortPtr = (short *)data_buf; | ^~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::ship_selected()': OREMOTEM.cpp:2865:16: warning: unused variable 'shortPtr' [-Wunused-variable] 2865 | short *shortPtr = (short *)data_buf; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OROCKRES.o OROCKRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OROCKRES.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OROCKRES.cpp:31: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OROCKRES.cpp: In member function 'void RockRes::load_block_info()': OROCKRES.cpp:275:63: warning: array subscript has type 'char' [-Wchar-subscripts] 275 | rockInfo->block_offset[rockBlockInfo->loc_y][rockBlockInfo->loc_x] = i + 1; | ~~~~~~~~~~~~~~~^~~~~ OROCKRES.cpp:275:85: warning: array subscript has type 'char' [-Wchar-subscripts] 275 | rockInfo->block_offset[rockBlockInfo->loc_y][rockBlockInfo->loc_x] = i + 1; | ~~~~~~~~~~~~~~~^~~~~ OROCKRES.cpp: In member function 'char RockRes::choose_next(short int, char, long int)': OROCKRES.cpp:436:19: warning: unused variable 'rockInfo' [-Wunused-variable] 436 | RockInfo *rockInfo = get_rock_info(rockRecno); | ^~~~~~~~ OROCKRES.cpp: In member function 'void RockRes::draw_block(short int, short int, short int, short int, short int, char)': OROCKRES.cpp:487:19: warning: unused variable 'rockInfo' [-Wunused-variable] 487 | RockInfo *rockInfo = rock_res.get_rock_info(rockRecno); | ^~~~~~~~ OROCKRES.cpp: In member function 'short int RockRes::search(const char*, short int, short int, short int, short int, int, int, char)': OROCKRES.cpp:533:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 533 | && (animatedFlag < 0 || animatedFlag == 0 && rockInfo->max_frame == 1 || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ OROCKRES.cpp:534:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 534 | animatedFlag > 0 && rockInfo->max_frame > 1) ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_AI.o OR_AI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OR_AI.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_AI.cpp: At global scope: OR_AI.cpp:75:45: warning: 'total_peasant' defined but not used [-Wunused-variable] 75 | static int total_population, total_peasant; | ^~~~~~~~~~~~~ OR_AI.cpp:75:27: warning: 'total_population' defined but not used [-Wunused-variable] 75 | static int total_population, total_peasant; | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_ECO.o OR_ECO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OR_ECO.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OREMOTE2.o OREMOTE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OREMOTE2.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OREMOTE2.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OREMOTE2.cpp: In member function 'int Remote::poll_msg()': OREMOTE2.cpp:279:15: warning: unused variable 'loopCount' [-Wunused-variable] 279 | int loopCount=0; | ^~~~~~~~~ OREMOTE2.cpp: In member function 'void Remote::process_receive_queue()': OREMOTE2.cpp:396:13: warning: variable 'loopCount' set but not used [-Wunused-but-set-variable] 396 | int loopCount=0; | ^~~~~~~~~ OREMOTE2.cpp: In member function 'void Remote::process_specific_msg(uint32_t)': OREMOTE2.cpp:524:13: warning: unused variable 'loopCount' [-Wunused-variable] 524 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSFRMRES.o OSFRMRES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_NAT.o OR_NAT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OR_NAT.cpp:38: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OR_NAT.cpp: In function 'void disp_debug_info()': OR_NAT.cpp:657:13: warning: unused variable 'refreshFlag' [-Wunused-variable] 657 | int refreshFlag = INFO_REPAINT; | ^~~~~~~~~~~ OR_NAT.cpp: In function 'void disp_nation_chat(int)': OR_NAT.cpp:899:92: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 899 | if( !(sys.debug_session || nation_array[nationRecno]->nation_type == NATION_REMOTE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 900 | info.viewing_nation_recno == nation_array.player_recno ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NAT.cpp: In function 'void detect_nation_chat()': OR_NAT.cpp:955:90: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 955 | if( sys.debug_session || nation_array[nationRecno]->nation_type == NATION_REMOTE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 956 | info.viewing_nation_recno == nation_array.player_recno ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_MIL.o OR_MIL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from OR_MIL.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_MIL.cpp: In function 'int unit_filter(int)': OR_MIL.cpp:422:17: warning: unused variable 'nationPtr' [-Wunused-variable] 422 | Nation* nationPtr = nation_array[info.viewing_nation_recno]; | ^~~~~~~~~ OR_MIL.cpp: In function 'void put_unit_rec(int, int, int, int)': OR_MIL.cpp:458:18: warning: unused variable 'unitId' [-Wunused-variable] 458 | int unitId = unit_filter(recNo); | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSKILL.o OSKILL.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_NEWS.o OR_NEWS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OR_NEWS.cpp:34: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NEWS.cpp: In member function 'void Info::disp_news_log(int)': OR_NEWS.cpp:56:13: warning: unused variable 'x' [-Wunused-variable] 56 | int x=NEWS_BROWSE_X1+9; | ^ OR_NEWS.cpp:57:13: warning: unused variable 'y' [-Wunused-variable] 57 | int y=NEWS_BROWSE_Y1+4; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSE.o OSE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSLIDCUS.o OSLIDCUS.cpp OSLIDCUS.cpp: In member function 'int SlideBar::detect()': OSLIDCUS.cpp:164:21: warning: unused variable 'oldValue' [-Wunused-variable] 164 | int oldValue = view_recno; | ^~~~~~~~ OSLIDCUS.cpp: In member function 'int SlideVBar::detect()': OSLIDCUS.cpp:377:21: warning: unused variable 'oldValue' [-Wunused-variable] 377 | int oldValue = view_recno; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSERES.o OSERES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSERES.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_RANK.o OR_RANK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OR_RANK.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OR_RANK.cpp: In member function 'void Info::set_rank_data(int)': OR_RANK.cpp:438:19: warning: unused variable 'rankPos' [-Wunused-variable] 438 | int rankPos=0; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSNOWG.o OSNOWG.cpp In file included from ../include/OWORLDMT.h:28, from OSNOWG.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_TOWN.o OR_TOWN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OR_TOWN.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_TOWN.cpp: At global scope: OR_TOWN.cpp:64:19: warning: 'total_expense' defined but not used [-Wunused-variable] 64 | static float total_expense; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_SPY.o OR_SPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OR_SPY.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_TECH.o OR_TECH.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from OR_TECH.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSCROLL.o OSCROLL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSCROLL.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp: In member function 'int ScrollBar::detect()': OSCROLL.cpp:254:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 254 | if( type==VERTICAL && mouse.any_click( x1+2, y1+2, x2-2 , y1+13 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp:265:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 265 | if( type==VERTICAL && mouse.any_click( x1+2, y2-13, x2-2, y2-2 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp:284:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 284 | if( type==VERTICAL && mouse.any_click( x1+2 , y1+14, x2-2 , y2-14 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp:328:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 328 | if( type==VERTICAL && mouse.any_click( x1+2 , indicator_y, x2-2, indicator_y+indicator_height-1 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OR_TRADE.o OR_TRADE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OR_TRADE.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_TRADE.cpp: In function 'void put_firm_rec(int, int, int, int)': OR_TRADE.cpp:895:13: warning: unused variable 'x2' [-Wunused-variable] 895 | int x2 = x+browse_firm.rec_width-3; | ^~ OR_TRADE.cpp: At global scope: OR_TRADE.cpp:72:74: warning: 'browse_firm_recno' defined but not used [-Wunused-variable] 72 | static short selected_unit_recno, selected_harbor_recno, unit_x, unit_y, browse_firm_recno, idle_caravans, idle_firms; | ^~~~~~~~~~~~~~~~~ OR_TRADE.cpp:72:35: warning: 'selected_harbor_recno' defined but not used [-Wunused-variable] 72 | static short selected_unit_recno, selected_harbor_recno, unit_x, unit_y, browse_firm_recno, idle_caravans, idle_firms; | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSaveGameInfo.o OSaveGameInfo.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OSaveGameInfo.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSaveGameProvider.o OSaveGameProvider.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPRTRES.o OSPRTRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSPRTRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPRTRES.cpp: In member function 'void SpriteRes::load_sprite_info()': OSPRTRES.cpp:83:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct SpriteInfo'; use assignment or value-initialization instead [-Wclass-memaccess] 83 | memset( sprite_info_array, 0, sizeof(SpriteInfo)*sprite_info_count ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSPRTRES.cpp:28: ../include/OSPRTRES.h:130:8: note: 'struct SpriteInfo' declared here 130 | struct SpriteInfo | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSITEDRW.o OSITEDRW.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSITEDRW.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from ../include/OGODRES.h:28, from OSITEDRW.cpp:31: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSITE.o OSITE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSITE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSNOW1.o OSNOW1.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSaveGameArray.o OSaveGameArray.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSaveGameArray.cpp:38: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from ../include/ONATIONA.h:32, from OSaveGameArray.cpp:48: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSTR.o OSTR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSNOWRES.o OSNOWRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSNOWRES.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSNOW2.o OSNOW2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSYS3.o OSYS3.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKFRE.o OTALKFRE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPATHBT.o OSPATHBT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from OSPATHBT.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPATHBT.cpp: In member function 'void NodePriorityQueue::insert_node(Node*)': OSPATHBT.cpp:53:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 53 | REGISTER int f=insertNode->node_f; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKGER.o OTALKGER.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPREDBG.o OSPREDBG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPREDBG.cpp:35: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPATH.o OSPATH.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSPATH.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPATH.cpp: In function 'int can_move_to(int, int)': OSPATH.cpp:218:50: warning: array subscript has type 'char' [-Wchar-subscripts] 218 | !nation_passable[powerNationRecno]) | ^~~~~~~~~~~~~~~~ OSPATH.cpp: In member function 'ResultNode* SeekPath::get_result(int&, short int&)': OSPATH.cpp:987:15: warning: unused variable 'baseNodePtr' [-Wunused-variable] 987 | Node* baseNodePtr = result_node_ptr; // the first end node for connecting the other end node for the path in that direction. | ^~~~~~~~~~~ OSPATH.cpp: In member function 'void SeekPath::get_real_result_node(int&, short int, short int, short int, short int, short int)': OSPATH.cpp:1353:13: warning: variable 'exitArrowRight' set but not used [-Wunused-but-set-variable] 1353 | int exitArrowRight = 0; | ^~~~~~~~~~~~~~ OSPATH.cpp: In member function 'ResultNode* SeekPath::get_result2(int&, short int&)': OSPATH.cpp:2921:15: warning: variable 'useClosestNode' set but not used [-Wunused-but-set-variable] 2921 | short useClosestNode = 0; // indicate whether closest node is returned instead of the actual node | ^~~~~~~~~~~~~~ OSPATH.cpp: In member function 'short int Node::generate_successors2(short int, short int)': OSPATH.cpp:3058:17: warning: unused variable 'cost' [-Wunused-variable] 3058 | short cost = 2; | ^~~~ OSPATH.cpp: At global scope: OSPATH.cpp:189:13: warning: 'void sys_yield()' defined but not used [-Wunused-function] 189 | static void sys_yield() | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPRESMO.o OSPRESMO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPRESMO.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OSPRESMO.cpp:22: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPREOFF.o OSPREOFF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPREOFF.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OSPREOFF.cpp:22: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OSPREOFF.cpp: In static member function 'static int SeekPathReuse::can_walk(int, int)': OSPREOFF.cpp:67:64: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | !reuse_nation_passable[locPtr->power_nation_recno]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ OSPREOFF.cpp: In member function 'void SeekPathReuse::use_offset_method(int, int)': OSPREOFF.cpp:589:45: warning: unused variable 'pathSeekResult' [-Wunused-variable] 589 | int pathSeekResult= seek_path.seek(preNonblockedXLoc, preNonblockedYLoc, virDestX, virDestY, cur_group_id, mobile_type, SEARCH_MODE_IN_A_GROUP); | ^~~~~~~~~~~~~~ OSPREOFF.cpp:475:13: warning: variable 'preLeaderVecX' set but not used [-Wunused-but-set-variable] 475 | int preLeaderVecX, preLeaderVecY; | ^~~~~~~~~~~~~ OSPREOFF.cpp:475:28: warning: variable 'preLeaderVecY' set but not used [-Wunused-but-set-variable] 475 | int preLeaderVecX, preLeaderVecY; | ^~~~~~~~~~~~~ OSPREOFF.cpp: In member function 'void SeekPathReuse::copy_leader_path_offset()': OSPREOFF.cpp:920:105: warning: array subscript has type 'char' [-Wchar-subscripts] 920 | if(locPtr->power_nation_recno && !reuse_nation_passable[locPtr->power_nation_recno]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKSPA.o OTALKSPA.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTERRAIN.o OTERRAIN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTERRAIN.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTERRAIN.cpp:30: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp: In static member function 'static int TerrainRes::terrain_height(int, int*)': OTERRAIN.cpp:142:61: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | if( height >= terrain_type_min_height_array[tc][0]) | ^~ OTERRAIN.cpp:146:76: warning: array subscript has type 'char' [-Wchar-subscripts] 146 | if(height >= terrain_type_min_height_array[tc][subtc]) | ^~ OTERRAIN.cpp:146:80: warning: array subscript has type 'char' [-Wchar-subscripts] 146 | if(height >= terrain_type_min_height_array[tc][subtc]) | ^~~~~ OTERRAIN.cpp: At global scope: OTERRAIN.cpp:52:12: warning: 'terrain_type_color_array' defined but not used [-Wunused-variable] 52 | static int terrain_type_color_array[TOTAL_TERRAIN_TYPE] = // the color of each terrain type on the small map | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPRITE2.o OSPRITE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OSPRITE2.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OSPRITE2.cpp: In member function 'int Sprite::match_dir()': OSPRITE2.cpp:135:52: warning: array subscript has type 'char' [-Wchar-subscripts] 135 | char turnAmount = turn_amount[sprite_info->need_turning]; | ~~~~~~~~~~~~~^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPREUSE.o OSPREUSE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPREUSE.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OSPREUSE.cpp:29: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OSPREUSE.cpp: In member function 'void SeekPathReuse::move_outside_map(int, int, int, int)': OSPREUSE.cpp:546:13: warning: variable 'vertical' set but not used [-Wunused-but-set-variable] 546 | int vertical=0; // 1 for upper edge, 2 for lower edge | ^~~~~~~~ OSPREUSE.cpp:547:13: warning: variable 'horizontal' set but not used [-Wunused-but-set-variable] 547 | int horizontal=0; // 1 for left edge, 2 for right edge | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPRITE.o OSPRITE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSPRITE.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OSPRITE.cpp:29: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPRITEA.o OSPRITEA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from OSPRITEA.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OSPRITEA.cpp:30: ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPY.o OSPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OSPY.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPY2.o OSPY2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSPY2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKMSG.o OTALKMSG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTALKMSG.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OTALKMSG.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OTALKMSG.cpp: In member function 'int TalkMsg::is_valid_to_disp(int)': OTALKMSG.cpp:202:17: warning: unused variable 'toNation' [-Wunused-variable] 202 | Nation* toNation = nation_array[to_nation_recno]; | ^~~~~~~~ OTALKMSG.cpp:203:17: warning: unused variable 'fromNation' [-Wunused-variable] 203 | Nation* fromNation = nation_array[from_nation_recno]; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSPYA.o OSPYA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OSPYA.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSYS2.o OSYS2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OSYS2.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OSYS2.cpp:38: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ OSYS2.cpp: In member function 'void Sys::disp_zoom()': OSYS2.cpp:983:22: warning: unused variable 'backupSeed' [-Wunused-variable] 983 | long backupSeed = misc.get_random_seed(); | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKRE2.o OTALKRE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OTALKRE2.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OTALKRE2.cpp: In member function 'void TalkRes::process_accepted_reply(TalkMsg*)': OTALKRE2.cpp:116:39: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 116 | memset(&talkMsgReply, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTALKRE2.cpp:26: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKRE2.cpp:139:39: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 139 | memset(&talkMsgReply, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKRE2.cpp:150:47: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 150 | memset(&breakTreatyMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKRE2.cpp:162:47: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 162 | memset(&breakTreatyMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKRE2.cpp: In function 'void delete_msg_in_reverse(TalkMsg*)': OTALKRE2.cpp:264:13: warning: unused variable 'loopCount' [-Wunused-variable] 264 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNRES.o OTOWNRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKENG.o OTALKENG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTALKENG.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OTALKENG.cpp:34: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTORNADO.o OTORNADO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OTORNADO.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTownNetwork.o OTownNetwork.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTECHRES.o OTECHRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_RESE.h:28, from OTECHRES.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTALKRES.o OTALKRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTALKRES.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OTALKRES.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::init()': OTALKRES.cpp:74:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class TalkRes'; use assignment or value-initialization instead [-Wclass-memaccess] 74 | memset( this, 0, sizeof(TalkRes) - sizeof(talk_msg_array) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTALKRES.cpp:33: ../include/OTALKRES.h:135:7: note: 'class TalkRes' declared here 135 | class TalkRes | ^~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::init_conversion(int)': OTALKRES.cpp:96:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 96 | memset( &cur_talk_msg, 0, sizeof(TalkMsg) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKRES.cpp: In member function 'int TalkRes::set_talk_choices()': OTALKRES.cpp:119:17: warning: unused variable 'playerNation' [-Wunused-variable] 119 | Nation* playerNation = ~nation_array; | ^~~~~~~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::add_main_choices()': OTALKRES.cpp:233:13: warning: unused variable 'relationStatus' [-Wunused-variable] 233 | int relationStatus = (~nation_array)->get_relation_status(cur_talk_msg.to_nation_recno); | ^~~~~~~~~~~~~~ OTALKRES.cpp: In member function 'int TalkRes::ai_send_talk_msg(int, int, int, int, int, int)': OTALKRES.cpp:697:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 697 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNBLD.o OTOWNBLD.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTOWNBLD.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OSYS.o OSYS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSYS.cpp:48: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OSYS.cpp:55: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OSYS.cpp:69: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ In file included from OSYS.cpp:73: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS.cpp: In constructor 'Sys::Sys()': OSYS.cpp:173:10: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Sys'; use assignment or value-initialization instead [-Wclass-memaccess] 173 | memset(this, 0, sizeof(Sys) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSYS.cpp:60: ../include/OSYS.h:81:7: note: 'class Sys' declared here 81 | class Sys | ^~~ OSYS.cpp: In member function 'void Sys::main_loop(int)': OSYS.cpp:912:77: warning: unused variable 'x2' [-Wunused-variable] 912 | int x2 = font_news.put( x, y, newsStr ); | ^~ OSYS.cpp: In member function 'int Sys::chdir_to_game_dir()': OSYS.cpp:2786:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2786 | chdir(env_data_path); | ~~~~~^~~~~~~~~~~~~~~ OSYS.cpp:2795:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2795 | chdir(bundle_resources_path.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS.cpp:2802:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2802 | chdir(PACKAGE_DATA_DIR); | ~~~~~^~~~~~~~~~~~~~~~~~ OSYS.cpp: At global scope: OSYS.cpp:613:13: warning: 'void test_lzw()' defined but not used [-Wunused-function] 613 | static void test_lzw() | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNAI.o OTOWNAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNAI.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OTOWNAI.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_BASE.h:36, from ../include/OFIRMALL.h:29, from OTOWNAI.cpp:37: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:30: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:31: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:32: ../include/OF_INN.h:97:25: note: by 'virtual void FirmInn::init_crc(FirmInnCrc*)' 97 | virtual void init_crc(FirmInnCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:33: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:34: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:35: ../include/OF_RESE.h:74:25: note: by 'virtual void FirmResearch::init_crc(FirmResearchCrc*)' 74 | virtual void init_crc(FirmResearchCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:36: ../include/OF_WAR.h:78:25: note: by 'virtual void FirmWar::init_crc(FirmWarCrc*)' 78 | virtual void init_crc(FirmWarCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:37: ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OFIRMALL.h:38: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ OTOWNAI.cpp: In member function 'void Town::think_move_between_town()': OTOWNAI.cpp:1196:29: warning: variable 'loopCount' set but not used [-Wunused-but-set-variable] 1196 | int raceId, rc, loopCount; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNA.o OTOWNA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNA.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWNA.cpp: In member function 'void TownArray::think_new_independent_town()': OTOWNA.cpp:327:13: warning: unused variable 'loopCount' [-Wunused-variable] 327 | int loopCount=0; | ^~~~~~~~~ OTOWNA.cpp: In member function 'void TownArray::draw_dot()': OTOWNA.cpp:532:21: warning: variable 'townLayout' set but not used [-Wunused-but-set-variable] 532 | TownLayout* townLayout; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNDRW.o OTOWNDRW.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTOWNDRW.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OTOWNDRW.cpp:37: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTUTOR2.o OTUTOR2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTUTOR2.cpp:39: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNIF.o OTOWNIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTOWNIF.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWNIF.cpp: In member function 'void Town::disp_train_info(int)': OTOWNIF.cpp:706:13: warning: unused variable 'dispY1' [-Wunused-variable] 706 | int dispY1 = INFO_Y1+26; | ^~~~~~ OTOWNIF.cpp: In member function 'void Town::disp_train_menu(int)': OTOWNIF.cpp:895:21: warning: unused variable 'x' [-Wunused-variable] 895 | int x=INFO_X1, y=INFO_Y1+24; | ^ OTOWNIF.cpp: In member function 'int Town::detect_train_menu()': OTOWNIF.cpp:1047:17: warning: unused variable 'x' [-Wunused-variable] 1047 | int x=INFO_X1+2, y=INFO_Y1+24, rc, quitFlag, waitFlag; | ^ OTOWNIF.cpp: In member function 'void Town::disp_auto_menu(int)': OTOWNIF.cpp:1236:17: warning: unused variable 'nationPtr' [-Wunused-variable] 1236 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OTOWNIF.cpp: In member function 'void Town::process_queue()': OTOWNIF.cpp:2097:53: warning: array subscript has type 'char' [-Wchar-subscripts] 2097 | if(can_train(train_queue_race_array[i])) | ^ OTOWNIF.cpp:2099:59: warning: array subscript has type 'char' [-Wchar-subscripts] 2099 | skillId = train_queue_skill_array[i]; | ^ OTOWNIF.cpp:2100:57: warning: array subscript has type 'char' [-Wchar-subscripts] 2100 | raceId = train_queue_race_array[i]; | ^ OTOWNIF.cpp: In member function 'void Town::add_queue(char, char, int)': OTOWNIF.cpp:2132:41: warning: array subscript has type 'char' [-Wchar-subscripts] 2132 | train_queue_skill_array[train_queue_count] = skillId; | ^~~~~~~~~~~~~~~~~ OTOWNIF.cpp:2133:57: warning: array subscript has type 'char' [-Wchar-subscripts] 2133 | train_queue_race_array[train_queue_count++] = raceId; | ~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWN.o OTOWN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWN.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTOWN.cpp:41: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::set_nation(int)': OTOWN.cpp:758:32: warning: unused variable 'rebelPtr' [-Wunused-variable] 758 | Rebel* rebelPtr = rebel_array[rebel_recno]; | ^~~~~~~~ OTOWN.cpp: In member function 'void Town::population_grow()': OTOWN.cpp:1125:21: warning: unused variable 'loopCount' [-Wunused-variable] 1125 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::update_target_loyalty()': OTOWN.cpp:1251:47: warning: variable 'commanderRaceId' set but not used [-Wunused-but-set-variable] 1251 | int baseInfluence, thisInfluence, commanderRaceId; | ^~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::think_migrate()': OTOWN.cpp:2262:29: warning: unused variable 'loopCount' [-Wunused-variable] 2262 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::being_attacked(int, float)': OTOWN.cpp:2711:21: warning: unused variable 'loopCount' [-Wunused-variable] 2711 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::setup_link()': OTOWN.cpp:3373:53: warning: array subscript has type 'char' [-Wchar-subscripts] 3373 | firmPtr->linked_town_array[firmPtr->linked_town_count] = town_recno; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OTOWN.cpp:3374:60: warning: array subscript has type 'char' [-Wchar-subscripts] 3374 | firmPtr->linked_town_enable_array[firmPtr->linked_town_count] = defaultLinkStatus; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::auto_set_layout()': OTOWN.cpp:3835:29: warning: unused variable 'loopCount' [-Wunused-variable] 3835 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::get_most_populated_race(int&, int&)': OTOWN.cpp:4175:31: warning: variable 'mostRacePop2' set but not used [-Wunused-but-set-variable] 4175 | int mostRacePop1=0, mostRacePop2=0; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTOWNIND.o OTOWNIND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNIND.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OTOWNIND.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OTOWNIND.cpp: In member function 'int Town::form_new_nation()': OTOWNIND.cpp:263:45: warning: unused variable 'loopCount' [-Wunused-variable] 263 | int loopCount=0; // no spying skill | ^~~~~~~~~ OTOWNIND.cpp: In member function 'int Town::independent_unit_join_nation(int, int)': OTOWNIND.cpp:424:37: warning: unused variable 'loopCount' [-Wunused-variable] 424 | int loopCount=0; // no spying skill | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OTUTOR.o OTUTOR.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MONS.h:28, from OTUTOR.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTUTOR.cpp: In member function 'void Tutor::load(int)': OTUTOR.cpp:255:26: warning: unused variable 'loopCount' [-Wunused-variable] 255 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITA.o OUNITA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OUNITA.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] In file included from ../include/OUNITALL.h:28, from OUNITA.cpp:33: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OUNITALL.h:30: ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ OUNITA.cpp: In member function 'void UnitArray::disappear_in_firm(int)': OUNITA.cpp:232:15: warning: unused variable 'unitPtr' [-Wunused-variable] 232 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ OUNITA.cpp: In member function 'void UnitArray::draw_dot()': OUNITA.cpp:410:51: warning: array subscript has type 'char' [-Wchar-subscripts] 410 | nationColorArray[unitPtr->nation_recno] : | ~~~~~~~~~^~~~~~~~~~~~ OUNITA.cpp:411:52: warning: array subscript has type 'char' [-Wchar-subscripts] 411 | excitedColorArray[unitPtr->nation_recno][sys.frame_count % excitedColorCount]; | ~~~~~~~~~^~~~~~~~~~~~ OUNITA.cpp: At global scope: OUNITA.cpp:524:13: warning: 'void put_profile(int, const char*, int)' defined but not used [-Wunused-function] 524 | static void put_profile(int y, const char* dispDes, int dispValue) | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNIT2.o OUNIT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNIT2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OUNIT2.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNIT.o OUNIT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNIT.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OUNIT.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OUNIT.cpp:34: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNIT.cpp:40: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ OUNIT.cpp: In member function 'void Unit::update_loyalty()': OUNIT.cpp:1118:19: warning: unused variable 'rc' [-Wunused-variable] 1118 | int rc=0; | ^~ OUNIT.cpp: In member function 'int Unit::think_betray()': OUNIT.cpp:1283:13: warning: unused variable 'unitRecno' [-Wunused-variable] 1283 | int unitRecno = sprite_recno; | ^~~~~~~~~ OUNIT.cpp: In member function 'int Unit::betray(int)': OUNIT.cpp:1461:26: warning: unused variable 'nationReputation' [-Wunused-variable] 1461 | int i, nationReputation = (int) nation_array[nation_recno]->reputation; | ^~~~~~~~~~~~~~~~ OUNIT.cpp:1388:13: warning: unused variable 'unitRecno' [-Wunused-variable] 1388 | int unitRecno = sprite_recno; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAC.o OUNITAC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAC.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::assign(int, int, short int)': OUNITAC.cpp:542:25: warning: unused variable 'firmNeedUnit' [-Wunused-variable] 542 | int firmNeedUnit=1; | ^~~~~~~~~~~~ OUNITAC.cpp: In member function 'int Unit::set_move_to_surround(int, int, int, int, int, int, int, short int)': OUNITAC.cpp:850:13: warning: unused variable 'found' [-Wunused-variable] 850 | int found=0, foundAgain=0; | ^~~~~ OUNITAC.cpp:850:22: warning: unused variable 'foundAgain' [-Wunused-variable] 850 | int found=0, foundAgain=0; | ^~~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::process_build_firm()': OUNITAC.cpp:1221:37: warning: unused variable 'aiUnit' [-Wunused-variable] 1221 | int aiUnit = ai_unit; | ^~~~~~ OUNITAC.cpp:1222:37: warning: unused variable 'actionXLoc' [-Wunused-variable] 1222 | int actionXLoc = action_x_loc; | ^~~~~~~~~~ OUNITAC.cpp:1223:37: warning: unused variable 'actionYLoc' [-Wunused-variable] 1223 | int actionYLoc = action_y_loc; | ^~~~~~~~~~ OUNITAC.cpp:1224:39: warning: unused variable 'unitRecno' [-Wunused-variable] 1224 | short unitRecno = sprite_recno; | ^~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::process_assign()': OUNITAC.cpp:1371:49: warning: unused variable 'actionXLoc' [-Wunused-variable] 1371 | int actionXLoc = action_x_loc; | ^~~~~~~~~~ OUNITAC.cpp:1372:49: warning: unused variable 'actionYLoc' [-Wunused-variable] 1372 | int actionYLoc = action_y_loc; | ^~~~~~~~~~ OUNITAC.cpp:1374:49: warning: unused variable 'aiUnit' [-Wunused-variable] 1374 | char aiUnit = ai_unit; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAM.o OUNITAM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAM.cpp:33: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITAM.cpp:34: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OUNITAM.cpp:35: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OUNITAM.cpp: In member function 'void UnitArray::move_to_now(int, int, short int*, int)': OUNITAM.cpp:530:21: warning: unused variable 'autoCorrectStartX' [-Wunused-variable] 530 | int autoCorrectStartX = x; | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAAT.o OUNITAAT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAAT.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OUNITAAT.cpp:30: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNITAAT.cpp:33: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAAT.cpp: In member function 'void UnitArray::check_nearby_location(int, int, char, char, int, int, char, int&)': OUNITAAT.cpp:1600:14: warning: variable 'haveValidSituation' set but not used [-Wunused-but-set-variable] 1600 | bool haveValidSituation = true; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAT2.o OUNITAT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAT2.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OUNITAT2.cpp:27: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ In file included from OUNITAT2.cpp:28: ../include/OBULLET.h:91:25: note: by 'virtual void Bullet::init_crc(BulletCrc*)' 91 | virtual void init_crc(BulletCrc *c); | ^~~~~~~~ In file included from ../include/OBULLET.h:37: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:32, from OUNITAT2.cpp:29: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OUNITAT2.cpp:33: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNITAT2.cpp:35: ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ OUNITAT2.cpp: In member function 'void Unit::process_attack_unit()': OUNITAT2.cpp:513:17: warning: unused variable 'spriteXLoc' [-Wunused-variable] 513 | int spriteXLoc = next_x_loc(); | ^~~~~~~~~~ OUNITAT2.cpp:514:17: warning: unused variable 'spriteYLoc' [-Wunused-variable] 514 | int spriteYLoc = next_y_loc(); | ^~~~~~~~~~ OUNITAT2.cpp:515:21: warning: unused variable 'attackInfo' [-Wunused-variable] 515 | AttackInfo* attackInfo = attack_info_array+cur_attack; | ^~~~~~~~~~ OUNITAT2.cpp: In function 'void invalidate_attack_target(Unit*)': OUNITAT2.cpp:2314:39: warning: self-comparison always evaluates to true [-Wtautological-compare] 2314 | unitPtr->action_para2 == unitPtr->action_para2 && | ~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAAC.o OUNITAAC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAAC.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OUNITAAC.cpp:32: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNITAAC.cpp:35: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAAC.cpp: In member function 'int UnitArray::divide_attack_by_nation(short int, short int*, int)': OUNITAAC.cpp:1225:13: warning: unused variable 'loopCount' [-Wunused-variable] 1225 | int loopCount = selectedCount+2; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAT.o OUNITAT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAT.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OUNITAT.cpp:28: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OUNITAT.cpp: In member function 'void Unit::set_unreachable_location(int, int)': OUNITAT.cpp:1197:31: warning: unused variable 'bitFlag' [-Wunused-variable] 1197 | static unsigned short bitFlag[16] = {0x0001, 0x0002, 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080, | ^~~~~~~ OUNITAT.cpp: In member function 'void Unit::cycle_eqv_attack()': OUNITAT.cpp:1248:13: warning: unused variable 'trial' [-Wunused-variable] 1248 | int trial = MAX_UNIT_ATTACK_TYPE+2; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAI.o OUNITAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITAI.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_CAMP.h:28, from OUNITAI.cpp:30: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ OUNITAI.cpp: In member function 'void Unit::ai_move_to_nearby_town()': OUNITAI.cpp:314:17: warning: unused variable 'ownNation' [-Wunused-variable] 314 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ OUNITAI.cpp: In member function 'int Unit::think_normal_human_action()': OUNITAI.cpp:586:14: warning: unused variable 'skillLevel' [-Wunused-variable] 586 | int skillLevel = skill.skill_level; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITD.o OUNITD.cpp OUNITD.cpp:1101:27: warning: "/*" within comment [-Wcomment] 1101 | stop2(); //**** BUGHERE OUNITD.cpp:1102:33: warning: "/*" within comment [-Wcomment] 1102 | //set_mode(0); //***BUGHERE In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITD.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNITD.cpp:28: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OUNITD.cpp:31: ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OUNITD.cpp:32: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ OUNITD.cpp: In member function 'void Unit::general_defend_mode_detect_target(int)': OUNITD.cpp:87:26: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 87 | default: if(checkDefendMode) | ^~ OUNITD.cpp:89:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 89 | break; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITATB.o OUNITATB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITATB.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OUNITATB.cpp: In member function 'char* UnitArray::get_target_x_offset(int, int, char)': OUNITATB.cpp:350:58: warning: array subscript has type 'char' [-Wchar-subscripts] 350 | case 11: return attack_x_offset11[curDir]; | ^~~~~~ OUNITATB.cpp:351:58: warning: array subscript has type 'char' [-Wchar-subscripts] 351 | case 12: return attack_x_offset12[curDir]; | ^~~~~~ OUNITATB.cpp:352:58: warning: array subscript has type 'char' [-Wchar-subscripts] 352 | case 13: return attack_x_offset13[curDir]; | ^~~~~~ OUNITATB.cpp:353:58: warning: array subscript has type 'char' [-Wchar-subscripts] 353 | case 14: return attack_x_offset14[curDir]; | ^~~~~~ OUNITATB.cpp:354:58: warning: array subscript has type 'char' [-Wchar-subscripts] 354 | case 21: return attack_x_offset21[curDir]; | ^~~~~~ OUNITATB.cpp:355:58: warning: array subscript has type 'char' [-Wchar-subscripts] 355 | case 22: return attack_x_offset22[curDir]; | ^~~~~~ OUNITATB.cpp:356:58: warning: array subscript has type 'char' [-Wchar-subscripts] 356 | case 23: return attack_x_offset23[curDir]; | ^~~~~~ OUNITATB.cpp:357:58: warning: array subscript has type 'char' [-Wchar-subscripts] 357 | case 24: return attack_x_offset24[curDir]; | ^~~~~~ OUNITATB.cpp:358:58: warning: array subscript has type 'char' [-Wchar-subscripts] 358 | case 31: return attack_x_offset31[curDir]; | ^~~~~~ OUNITATB.cpp:359:58: warning: array subscript has type 'char' [-Wchar-subscripts] 359 | case 32: return attack_x_offset32[curDir]; | ^~~~~~ OUNITATB.cpp:360:58: warning: array subscript has type 'char' [-Wchar-subscripts] 360 | case 33: return attack_x_offset33[curDir]; | ^~~~~~ OUNITATB.cpp:361:58: warning: array subscript has type 'char' [-Wchar-subscripts] 361 | case 34: return attack_x_offset34[curDir]; | ^~~~~~ OUNITATB.cpp:362:58: warning: array subscript has type 'char' [-Wchar-subscripts] 362 | case 41: return attack_x_offset41[curDir]; | ^~~~~~ OUNITATB.cpp:363:58: warning: array subscript has type 'char' [-Wchar-subscripts] 363 | case 42: return attack_x_offset42[curDir]; | ^~~~~~ OUNITATB.cpp:364:58: warning: array subscript has type 'char' [-Wchar-subscripts] 364 | case 43: return attack_x_offset43[curDir]; | ^~~~~~ OUNITATB.cpp:365:58: warning: array subscript has type 'char' [-Wchar-subscripts] 365 | case 44: return attack_x_offset44[curDir]; | ^~~~~~ OUNITATB.cpp: In member function 'char* UnitArray::get_target_y_offset(int, int, char)': OUNITATB.cpp:387:58: warning: array subscript has type 'char' [-Wchar-subscripts] 387 | case 11: return attack_y_offset11[curDir]; | ^~~~~~ OUNITATB.cpp:388:58: warning: array subscript has type 'char' [-Wchar-subscripts] 388 | case 12: return attack_y_offset12[curDir]; | ^~~~~~ OUNITATB.cpp:389:58: warning: array subscript has type 'char' [-Wchar-subscripts] 389 | case 13: return attack_y_offset13[curDir]; | ^~~~~~ OUNITATB.cpp:390:58: warning: array subscript has type 'char' [-Wchar-subscripts] 390 | case 14: return attack_y_offset14[curDir]; | ^~~~~~ OUNITATB.cpp:391:58: warning: array subscript has type 'char' [-Wchar-subscripts] 391 | case 21: return attack_y_offset21[curDir]; | ^~~~~~ OUNITATB.cpp:392:58: warning: array subscript has type 'char' [-Wchar-subscripts] 392 | case 22: return attack_y_offset22[curDir]; | ^~~~~~ OUNITATB.cpp:393:58: warning: array subscript has type 'char' [-Wchar-subscripts] 393 | case 23: return attack_y_offset23[curDir]; | ^~~~~~ OUNITATB.cpp:394:58: warning: array subscript has type 'char' [-Wchar-subscripts] 394 | case 24: return attack_y_offset24[curDir]; | ^~~~~~ OUNITATB.cpp:395:58: warning: array subscript has type 'char' [-Wchar-subscripts] 395 | case 31: return attack_y_offset31[curDir]; | ^~~~~~ OUNITATB.cpp:396:58: warning: array subscript has type 'char' [-Wchar-subscripts] 396 | case 32: return attack_y_offset32[curDir]; | ^~~~~~ OUNITATB.cpp:397:58: warning: array subscript has type 'char' [-Wchar-subscripts] 397 | case 33: return attack_y_offset33[curDir]; | ^~~~~~ OUNITATB.cpp:398:58: warning: array subscript has type 'char' [-Wchar-subscripts] 398 | case 34: return attack_y_offset34[curDir]; | ^~~~~~ OUNITATB.cpp:399:58: warning: array subscript has type 'char' [-Wchar-subscripts] 399 | case 41: return attack_y_offset41[curDir]; | ^~~~~~ OUNITATB.cpp:400:58: warning: array subscript has type 'char' [-Wchar-subscripts] 400 | case 42: return attack_y_offset42[curDir]; | ^~~~~~ OUNITATB.cpp:401:58: warning: array subscript has type 'char' [-Wchar-subscripts] 401 | case 43: return attack_y_offset43[curDir]; | ^~~~~~ OUNITATB.cpp:402:58: warning: array subscript has type 'char' [-Wchar-subscripts] 402 | case 44: return attack_y_offset44[curDir]; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITDRW.o OUNITDRW.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OUNITDRW.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITAT3.o OUNITAT3.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAT3.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OUNITAT3.cpp:28: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITI.o OUNITI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OUNITI.cpp:27: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OUNITI.cpp:29: ../include/OF_MONS.h:137:25: note: by 'virtual void FirmMonster::init_crc(FirmMonsterCrc*)' 137 | virtual void init_crc(FirmMonsterCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNITI.cpp:34: ../include/OU_GOD.h:63:25: note: by 'virtual void UnitGod::init_crc(UnitGodCrc*)' 63 | virtual void init_crc(UnitGodCrc *c); | ^~~~~~~~ OUNITI.cpp: In member function 'int Unit::reactivate_idle_action()': OUNITI.cpp:316:16: warning: unused variable 'canMove' [-Wunused-variable] 316 | int canMove = 1; | ^~~~~~~ OUNITI.cpp: In member function 'int Unit::idle_detect_firm_checking(short int)': OUNITI.cpp:884:13: warning: unused variable 'targetMobileType' [-Wunused-variable] 884 | char targetMobileType = mobile_type==UNIT_SEA ? UNIT_SEA : UNIT_LAND; | ^~~~~~~~~~~~~~~~ OUNITI.cpp: At global scope: OUNITI.cpp:59:17: warning: 'idle_detect_target_wall_y1' defined but not used [-Wunused-variable] 59 | static short idle_detect_target_wall_y1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITI.cpp:58:17: warning: 'idle_detect_target_wall_x1' defined but not used [-Wunused-variable] 58 | static short idle_detect_target_wall_x1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITI.cpp:57:17: warning: 'idle_detect_target_town_recno' defined but not used [-Wunused-variable] 57 | static short idle_detect_target_town_recno; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITHB.o OUNITHB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITHB.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITHB.cpp:29: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITIND.o OUNITIND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITIND.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_CAMP.h:28, from OUNITIND.cpp:29: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITM.o OUNITM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITM.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITM.cpp: In member function 'int Unit::avail_node_enough_for_search(short int, short int, short int, short int)': OUNITM.cpp:1646:15: warning: unused variable 'minDist' [-Wunused-variable] 1646 | short minDist = abs(dispX-dispY); | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_CARA2.o OU_CARA2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_CARA2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OU_CARA2.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_FACT.h:28, from OU_CARA2.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OU_CARA.h:45, from OU_CARA2.cpp:27: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITIF.o OUNITIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OUNITIF.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ONATION.h:33, from OUNITIF.cpp:40: ../include/OUNIT.h: At global scope: ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OUNITIF.cpp:42: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ OUNITIF.cpp: In member function 'void Unit::disp_hit_point(int)': OUNITIF.cpp:1553:13: warning: variable 'hitPoints' set but not used [-Wunused-but-set-variable] 1553 | int hitPoints; | ^~~~~~~~~ OUNITIF.cpp: At global scope: OUNITIF.cpp:128:13: warning: 'void disp_debug_info(Unit*, int, int)' declared 'static' but never defined [-Wunused-function] 128 | static void disp_debug_info(Unit* unitPtr, int dispY1, int refreshFlag); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITRES.o OUNITRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OUNITRES.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_CARA.o OU_CARA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_CARA.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OU_CARA.cpp:37: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::disp_stop(int, int)': OU_CARA.cpp:132:41: warning: variable 'needRefresh' set but not used [-Wunused-but-set-variable] 132 | int i, x=INFO_X1, y=dispY1, needRefresh; | ^~~~~~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::detect_stop()': OU_CARA.cpp:212:16: warning: unused variable 'x' [-Wunused-variable] 212 | int i, x=INFO_X1; | ^ OU_CARA.cpp: In member function 'void UnitCaravan::caravan_in_firm()': OU_CARA.cpp:1150:22: warning: unused variable 'stopPtr' [-Wunused-variable] 1150 | CaravanStop *stopPtr = stop_array + dest_stop_id - 1; | ^~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::copy_route(short int, int)': OU_CARA.cpp:1619:23: warning: unused variable 'firmPtr' [-Wunused-variable] 1619 | Firm* firmPtr = firm_array[caravanStopA->firm_recno]; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OUNITS.o OUNITS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OUNITS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ In file included from OUNITS.cpp:26: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITS.cpp: In member function 'void Unit::assign_to_ship(int, int, short int, int)': OUNITS.cpp:96:14: warning: variable 'resultXYLocWritten' set but not used [-Wunused-but-set-variable] 96 | bool resultXYLocWritten = false; | ^~~~~~~~~~~~~~~~~~ OUNITS.cpp: In member function 'int Unit::ship_to_beach_path_edit(int&, int&, uint8_t)': OUNITS.cpp:377:21: warning: unused variable 'shipPtr' [-Wunused-variable] 377 | UnitMarine *shipPtr = (UnitMarine*) this; | ^~~~~~~ OUNITS.cpp: In member function 'void Unit::ship_leave_beach(int, int)': OUNITS.cpp:621:21: warning: unused variable 'shipPtr' [-Wunused-variable] 621 | UnitMarine *shipPtr = (UnitMarine*) this; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_CART.o OU_CART.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_CART.h:27, from OU_CART.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] ../include/OU_CART.h:47:25: note: by 'virtual void UnitExpCart::init_crc(UnitExpCartCrc*)' 47 | virtual void init_crc(UnitExpCartCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_CARAT.o OU_CARAT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OU_CARAT.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MINE.h:28, from OU_CARAT.cpp:25: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OU_CARAT.cpp:26: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OU_CARAT.cpp:27: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OU_CARAT.cpp:28: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_CARAS.o OU_CARAS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_CARAS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_CARA.h:37: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OU_CARAS.cpp: In member function 'int CaravanStop::update_pick_up(char*)': OU_CARAS.cpp:127:24: warning: variable 'selectiveMode' set but not used [-Wunused-but-set-variable] 127 | int id, i, selectiveMode; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVIDEO.o OVIDEO.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVOLUME.o OVOLUME.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_MARI.o OU_MARI.cpp In file included from OU_MARI.cpp:25: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_MARI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_CARA.h:37: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OU_MARI.cpp: In member function 'void UnitMarine::load_unit(int)': OU_MARI.cpp:338:36: warning: array subscript has type 'char' [-Wchar-subscripts] 338 | unit_recno_array[unit_count++] = unitRecno; | ~~~~~~~~~~^~ OU_MARI.cpp: In member function 'int UnitMarine::is_on_coast()': OU_MARI.cpp:524:63: warning: unused variable 'found' [-Wunused-variable] 524 | int xShift, yShift, checkXLoc, checkYLoc, found=0; | ^~~~~ OU_MARI.cpp: In member function 'void UnitMarine::copy_route(short int, int)': OU_MARI.cpp:817:23: warning: unused variable 'firmPtr' [-Wunused-variable] 817 | Firm* firmPtr = firm_array[shipStopA->firm_recno]; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_MARIF.o OU_MARIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_MARIF.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_CARA.h:37, from OU_MARIF.cpp:38: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ OU_MARIF.cpp: In member function 'void UnitMarine::disp_unit_info(int, int)': OU_MARIF.cpp:492:54: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 492 | if( lastSelected != selected_unit_id > 0 ) | ~~~~~~~~~~~~~~~~~^~~ OU_MARIF.cpp: In member function 'void UnitMarine::disp_stop(int, int)': OU_MARIF.cpp:584:41: warning: variable 'needRefresh' set but not used [-Wunused-but-set-variable] 584 | int i, x=INFO_X1, y=dispY1, needRefresh; | ^~~~~~~~~~~ OU_MARIF.cpp: In member function 'void UnitMarine::detect_stop()': OU_MARIF.cpp:787:16: warning: unused variable 'x' [-Wunused-variable] 787 | int i, x=INFO_X1, y=INFO_Y1+54+25; | ^ OU_MARIF.cpp: At global scope: OU_MARIF.cpp:54:58: warning: 'stop_disp_y1' defined but not used [-Wunused-variable] 54 | static short unit_disp_y1, unit_info_disp_y1, stop_disp_y1; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVQUEUE.o OVQUEUE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_GOD.o OU_GOD.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from OU_GOD.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_BASE.h:36, from OU_GOD.cpp:28: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_BASE.h:82:25: note: by 'virtual void FirmBase::init_crc(FirmBaseCrc*)' 82 | virtual void init_crc(FirmBaseCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:32, from OU_GOD.cpp:31: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OU_GOD.cpp:32: ../include/OU_GOD.h:63:25: note: by 'virtual void UnitGod::init_crc(UnitGodCrc*)' 63 | virtual void init_crc(UnitGodCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVBROWIF.o OVBROWIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OVBROWIF.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_GOD2.o OU_GOD2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from OU_GOD2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_CAMP.h:28, from OU_GOD2.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_CAMP.h:129:25: note: by 'virtual void FirmCamp::init_crc(FirmCampCrc*)' 129 | virtual void init_crc(FirmCampCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OU_GOD2.cpp:27: ../include/OU_GOD.h:63:25: note: by 'virtual void UnitGod::init_crc(UnitGodCrc*)' 63 | virtual void init_crc(UnitGodCrc *c); | ^~~~~~~~ OU_GOD2.cpp: In member function 'int UnitGod::think_god_attack_target(int&, int&)': OU_GOD2.cpp:289:25: warning: unused variable 'curXLoc' [-Wunused-variable] 289 | int curXLoc=next_x_loc(), curYLoc=next_y_loc(); | ^~~~~~~ OU_GOD2.cpp:289:47: warning: unused variable 'curYLoc' [-Wunused-variable] 289 | int curXLoc=next_x_loc(), curYLoc=next_y_loc(); | ^~~~~~~ OU_GOD2.cpp: In member function 'void UnitGod::think_egyptian_god()': OU_GOD2.cpp:409:17: warning: unused variable 'ownNation' [-Wunused-variable] 409 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ OU_GOD2.cpp: In member function 'void UnitGod::think_indian_god()': OU_GOD2.cpp:497:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 497 | && (unitPtr->loyalty >= 20 && unitPtr->loyalty <= 60 || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ OU_GOD2.cpp:545:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 545 | && (unitPtr->loyalty >= 20 && unitPtr->loyalty <= 60 || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_MONS.o OU_MONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OU_MONS.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_MONS.h:28, from OU_MONS.cpp:30: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] ../include/OU_MONS.h:60:25: note: by 'virtual void UnitMonster::init_crc(UnitMonsterCrc*)' 60 | virtual void init_crc(UnitMonsterCrc *c); | ^~~~~~~~ OU_MONS.cpp: In member function 'void UnitMonster::group_order_monster(int, int, int)': OU_MONS.cpp:431:26: warning: unused variable 'regionId' [-Wunused-variable] 431 | int regionId = world.get_region_id(curXLoc, curYLoc); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OWEATHER.o OWEATHER.cpp In file included from ../include/OWORLDMT.h:28, from OWEATHER.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_VEHI.o OU_VEHI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OU_VEHI.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/OU_VEHI.h:28, from OU_VEHI.cpp:26: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVGALOCK.o OVGALOCK.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OW_ROCK.o OW_ROCK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_ROCK.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OW_ROCK.cpp:28: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVGA.o OVGA.cpp OVGA.cpp: In member function 'void Vga::save_status_report()': OVGA.cpp:860:24: warning: unused variable 'info' [-Wunused-variable] 860 | SDL_RendererInfo info; | ^~~~ OVGA.cpp: At global scope: OVGA.cpp:38:13: warning: 'void init_dpi()' declared 'static' but never defined [-Wunused-function] 38 | static void init_dpi(); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_MARI2.o OU_MARI2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_MARI2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OU_MARI2.cpp:25: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_HARB.h:28, from OU_MARI2.cpp:26: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_HARB.h:117:25: note: by 'virtual void FirmHarbor::init_crc(FirmHarborCrc*)' 117 | virtual void init_crc(FirmHarborCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:32, from OU_MARI2.cpp:27: ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_MARIS.o OU_MARIS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OU_MARIS.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OF_MARK.h:28, from ../include/OU_MARI.h:32: ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ ../include/OF_MARK.h:152:25: note: by 'virtual void FirmMarket::init_crc(FirmMarketCrc*)' 152 | virtual void init_crc(FirmMarketCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from ../include/OU_MARI.h:36: ../include/OU_CARA.h:174:25: note: by 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)' 174 | virtual void init_crc(UnitCaravanCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ ../include/OU_MARI.h:196:25: note: by 'virtual void UnitMarine::init_crc(UnitMarineCrc*)' 196 | virtual void init_crc(UnitMarineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OU_MARIS.cpp:22: ../include/OF_MINE.h:90:25: note: by 'virtual void FirmMine::init_crc(FirmMineCrc*)' 90 | virtual void init_crc(FirmMineCrc *c); | ^~~~~~~~ ../include/OFIRM.h:388:25: warning: 'virtual void Firm::init_crc(FirmCrc*)' was hidden [-Woverloaded-virtual=] 388 | virtual void init_crc(FirmCrc *c); | ^~~~~~~~ In file included from OU_MARIS.cpp:23: ../include/OF_FACT.h:78:25: note: by 'virtual void FirmFactory::init_crc(FirmFactoryCrc*)' 78 | virtual void init_crc(FirmFactoryCrc *c); | ^~~~~~~~ OU_MARIS.cpp: In member function 'int ShipStop::update_pick_up(char*)': OU_MARIS.cpp:48:17: warning: unused variable 'selectiveMode' [-Wunused-variable] 48 | int selectiveMode = (pick_up_type!=AUTO_PICK_UP && pick_up_type!=NO_PICK_UP); | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o PlayerStats.o PlayerStats.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OW_SOUND.o OW_SOUND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_SOUND.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o dbglog.o dbglog.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVGABUF2.o OVGABUF2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OU_MARIT.o OU_MARIT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_MARIT.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_MARIT.cpp: In member function 'void UnitMarine::ship_in_firm(int)': OU_MARIT.cpp:466:19: warning: unused variable 'stopPtr' [-Wunused-variable] 466 | ShipStop *stopPtr = stop_array + dest_stop_id - 1; | ^~~~~~~ OU_MARIT.cpp: In member function 'void UnitMarine::harbor_unload_raw()': OU_MARIT.cpp:942:82: warning: right operand of comma operator has no effect [-Wunused-value] 942 | for(j=0; jTERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OW_PLANT.cpp: In member function 'void World::plant_spread(int)': OW_PLANT.cpp:247:70: warning: array subscript has type 'char' [-Wchar-subscripts] 247 | if( misc.random(5) > abs(t- opt_temp[j]) ) | ^ OW_PLANT.cpp: In member function 'void World::plant_init()': OW_PLANT.cpp:410:31: warning: unused variable 'plantBitmap' [-Wunused-variable] 410 | short plantBitmap = plant_res.scan( 0, teraType, 0); | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o input_stream.o input_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o file_util.o file_util.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o mem_input_stream.o mem_input_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVGABUF.o OVGABUF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OVGABUF.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OVGABUF.cpp: In member function 'void VgaBuf::save_area_common_buf(int, int, int, int)': OVGABUF.cpp:250:14: warning: unused variable 'saveSize' [-Wunused-variable] 250 | long saveSize = sizeof(short)*6 + (x2-x1+1) * (y2-y1+1); | ^~~~~~~~ OVGABUF.cpp: In member function 'void VgaBuf::rest_area_common_buf()': OVGABUF.cpp:286:13: warning: unused variable 'x2' [-Wunused-variable] 286 | int x2 = *shortPtr++; | ^~ OVGABUF.cpp:287:13: warning: unused variable 'y2' [-Wunused-variable] 287 | int y2 = *shortPtr++; | ^~ OVGABUF.cpp: In member function 'void VgaBuf::rest_area(char*, int)': OVGABUF.cpp:343:15: warning: variable 'x2' set but not used [-Wunused-but-set-variable] 343 | int x1,y1,x2,y2; | ^~ OVGABUF.cpp:343:18: warning: variable 'y2' set but not used [-Wunused-but-set-variable] 343 | int x1,y1,x2,y2; | ^~ OVGABUF.cpp: In member function 'void VgaBuf::put_large_bitmap(int, int, File*)': OVGABUF.cpp:394:13: warning: unused variable 'hasPalette' [-Wunused-variable] 394 | int hasPalette=0; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OVBROWSE.o OVBROWSE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OVBROWSE.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o output_stream.o output_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o misc_uuid.o misc_uuid.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o player_desc.o player_desc.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o session_desc.o session_desc.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OW_FIRE.o OW_FIRE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_FIRE.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OW_FIRE.cpp:30: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from OW_FIRE.cpp:31: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OWALLRES.o OWALLRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OWALLRES.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from OWALLRES.cpp:30: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OWARPT.o OWARPT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OWARPT.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OW_WALL.o OW_WALL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_WALL.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33, from ../include/ONATIONA.h:32, from OW_WALL.cpp:31: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o ReplayFile.o ReplayFile.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from ReplayFile.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OWORLD_Z.o OWORLD_Z.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OWORLD_Z.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OWORLD_Z.cpp:40: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OWORLD_Z.cpp: In member function 'virtual void ZoomMatrix::draw()': OWORLD_Z.cpp:314:19: warning: unused variable 'i' [-Wunused-variable] 314 | int i=0, x, y, xLoc, yLoc, dispPower; | ^ OWORLD_Z.cpp: In member function 'void ZoomMatrix::draw_white_site()': OWORLD_Z.cpp:459:19: warning: unused variable 'i' [-Wunused-variable] 459 | int i=0, x, y, xLoc, yLoc; | ^ OWORLD_Z.cpp: In member function 'void ZoomMatrix::draw_weather_effects()': OWORLD_Z.cpp:677:22: warning: unused variable 'backupSeed' [-Wunused-variable] 677 | long backupSeed = misc.get_random_seed(); | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OWORLD.o OWORLD.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OWORLD.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OWORLD.cpp:38: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ONATION.h:33, from OWORLD.cpp:36: ../include/OUNIT.h: At global scope: ../include/OUNIT.h:575:25: warning: 'virtual void Unit::init_crc(UnitCrc*)' was hidden [-Woverloaded-virtual=] 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OWORLD.cpp:42: ../include/OU_VEHI.h:49:25: note: by 'virtual void UnitVehicle::init_crc(UnitVehicleCrc*)' 49 | virtual void init_crc(UnitVehicleCrc *c); | ^~~~~~~~ OWORLD.cpp: In member function 'void World::explore(int, int, int, int)': OWORLD.cpp:571:94: warning: array subscript has type 'char' [-Wchar-subscripts] 571 | *writePtr = nationColorArray[locPtr->power_nation_recno]; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ OWORLD.cpp: In member function 'int World::locate_space(int*, int*, int, int, int, int, int, int, int)': OWORLD.cpp:835:13: warning: unused variable 'loopCount' [-Wunused-variable] 835 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o OWORLD_M.o OWORLD_M.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OWORLD_M.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OUNIT.h:28, from ../include/ONATION.h:33: ../include/OSPRITE.h: At global scope: ../include/OSPRITE.h:156:25: warning: 'virtual void Sprite::init_crc(SpriteCrc*)' was hidden [-Woverloaded-virtual=] 156 | virtual void init_crc(SpriteCrc *c); | ^~~~~~~~ ../include/OUNIT.h:575:25: note: by 'virtual void Unit::init_crc(UnitCrc*)' 575 | virtual void init_crc(UnitCrc *c); | ^~~~~~~~ In file included from OWORLD_M.cpp:36: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp: In member function 'void MapMatrix::draw_map()': OWORLD_M.cpp:274:86: warning: array subscript has type 'char' [-Wchar-subscripts] 274 | *writePtr = nationColorArray[locPtr->power_nation_recno]; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o vgautil2.o vgautil2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -c -o vgautil.o vgautil.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' x86_64-alt-linux-g++ -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -D_REENTRANT -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fsigned-char -o 7kaa AM.o ConfigAdv.o CmdLine.o LocaleRes.o OAI_ACT.o OAI_ACT2.o OAI_ATTK.o OAI_BUIL.o OAI_CAP2.o OAI_CAPT.o OAI_DEFE.o OAI_DIPL.o OAI_ECO.o OAI_GRAN.o OAI_INFO.o OAI_MAIN.o OAI_MAR2.o OAI_MAR3.o OAI_MARI.o OAI_MILI.o OAI_MONS.o OAI_QUER.o OAI_SEEK.o OAI_SPY.o OAI_TALK.o OAI_TOWN.o OAI_TRAD.o OAI_UNIT.o OANLINE.o OBATTLE.o OBLOB.o OBOX.o OBULLET.o OBULLETA.o OBUTT3D.o OBUTTCUS.o OBUTTON.o OB_FLAME.o OB_HOMIN.o OB_PROJ.o OCOLTBL.o OCONFIG.o OCRC_STO.o ODATE.o ODB.o ODIR.o ODYNARR.o ODYNARRB.o OEFFECT.o OERRCTRL.o OERROR.o OEXPMASK.o OFILE.o OFILETXT.o OFIRM.o OFIRM2.o OFIRMA.o OFIRMAI.o OFIRMDIE.o OFIRMDRW.o OFIRMIF.o OFIRMIF2.o OFIRMIF3.o OFIRMRES.o OFLAME.o OFONT.o OF_BASE.o OF_BASE2.o OF_CAMP.o OF_CAMP2.o OF_FACT.o OF_FACT2.o OF_HARB.o OF_HARB2.o OF_INN.o OF_INN2.o OF_MARK.o OF_MARK2.o OF_MINE.o OF_MINE2.o OF_MONS.o OF_RESE.o OF_RESE2.o OF_WAR.o OF_WAR2.o OGAMCRED.o OGAME.o OGAMEMP.o OGAMENCY.o OGAMEND.o OGAMESET.o OGAMHALL.o OGAMMAIN.o OGAMMENU.o OGAMSCE2.o OGAMSCEN.o OGAMSING.o OGENHILL.o OGENMAP.o OGETA.o OGFILE.o OGFILE2.o OGFILE3.o OGF_V1.o OGODRES.o OGRPSEL.o OHELP.o OHILLRES.o OIMGRES.o OINFO.o OINGMENU.o OLIGHTN.o OLIGHTN2.o OLOG.o OLONGLOG.o OLZW.o OMATRIX.o OMEM.o OMISC.o OMONSRES.o OMOUSE.o OMOUSECR.o OMP_CRC.o OMUSIC.o ONATIONA.o ONATIONB.o ONEWS.o ONEWS2.o ONEWSENG.o OOPTMENU.o OPLANT.o OPLASMA.o OPOWER.o ORACERES.o ORAIN1.o ORAIN2.o ORAIN3.o ORAWRES.o OREBEL.o OREGION.o OREGIONS.o OREMOTE.o OREMOTE2.o OREMOTEM.o OREMOTEQ.o ORES.o ORESDB.o ORESX.o OROCK.o OROCKRES.o OR_AI.o OR_ECO.o OR_MIL.o OR_NAT.o OR_NEWS.o OR_RANK.o OR_SPY.o OR_TECH.o OR_TOWN.o OR_TRADE.o OSaveGameArray.o OSaveGameInfo.o OSaveGameProvider.o OSCROLL.o OSE.o OSERES.o OSFRMRES.o OSITE.o OSITEDRW.o OSKILL.o OSLIDCUS.o OSNOW1.o OSNOW2.o OSNOWG.o OSNOWRES.o OSPATH.o OSPATHBT.o OSPREDBG.o OSPREOFF.o OSPRESMO.o OSPREUSE.o OSPRITE.o OSPRITE2.o OSPRITEA.o OSPRTRES.o OSPY.o OSPY2.o OSPYA.o OSTR.o OSYS.o OSYS2.o OSYS3.o OTALKENG.o OTALKFRE.o OTALKGER.o OTALKMSG.o OTALKRE2.o OTALKRES.o OTALKSPA.o OTECHRES.o OTERRAIN.o OTORNADO.o OTOWN.o OTOWNA.o OTOWNAI.o OTOWNBLD.o OTOWNDRW.o OTOWNIF.o OTOWNIND.o OTOWNRES.o OTUTOR.o OTUTOR2.o OTownNetwork.o OUNIT.o OUNIT2.o OUNITA.o OUNITAAC.o OUNITAAT.o OUNITAC.o OUNITAI.o OUNITAM.o OUNITAT.o OUNITAT2.o OUNITAT3.o OUNITATB.o OUNITD.o OUNITDRW.o OUNITHB.o OUNITI.o OUNITIF.o OUNITIND.o OUNITM.o OUNITRES.o OUNITS.o OU_CARA.o OU_CARA2.o OU_CARAS.o OU_CARAT.o OU_CART.o OU_GOD.o OU_GOD2.o OU_MARI.o OU_MARI2.o OU_MARIF.o OU_MARIS.o OU_MARIT.o OU_MONS.o OU_VEHI.o OVBROWIF.o OVBROWSE.o OVGA.o OVGABUF.o OVGABUF2.o OVGALOCK.o OVIDEO.o OVOLUME.o OVQUEUE.o OWALLRES.o OWARPT.o OWEATHER.o OWORLD.o OWORLD_M.o OWORLD_Z.o OW_FIRE.o OW_PLANT.o OW_ROCK.o OW_SOUND.o OW_WALL.o PlayerStats.o ReplayFile.o dbglog.o file_input_stream.o file_output_stream.o file_reader.o file_util.o file_writer.o input_stream.o mem_input_stream.o misc_uuid.o output_stream.o session_desc.o player_desc.o vgautil.o vgautil2.o ./openal/libaudio_openal.a ./enet/libmultiplayer.a ./imgfun/generic/libimgfun_generic.a ./curl/libWebService.a -lSDL2 -lopenal -lenet -lcurl OSPRTRES.cpp: In function 'load_sprite_info.constprop': OSPRTRES.cpp:81:61: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 81 | sprite_info_array = new SpriteInfo[sprite_info_count]; | ^ OSPRTRES.cpp:81:61: note: in a call to built-in allocation function 'operator new []' ORAWRES.cpp: In function 'load_all_info.constprop': ORAWRES.cpp:102:47: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 102 | raw_info_array = new RawInfo[raw_count]; | ^ ORAWRES.cpp:102:47: note: in a call to built-in allocation function 'operator new []' In function 'memcpy', inlined from 'hire' at OF_INN.cpp:285:8: /usr/include/bits/string_fortified.h:29:33: warning: '__builtin_memcpy' writing 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In member function 'hire': lto1: note: destination object is likely at address zero In member function 'enable_know', inlined from 'init' at ONATIONB.cpp:175:33: OGODRES.cpp:150:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 150 | nation_know_array[nationRecno-1] = 1; | ^ ../include/OGODRES.h: In member function 'init': ../include/OGODRES.h:87:17: note: at offset -1 into destination object 'nation_know_array' of size 7 87 | char nation_know_array[MAX_NATION]; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' Making all in po make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51770 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/7kaa-buildroot + : + /bin/rm -rf -- /usr/src/tmp/7kaa-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd 7kaa-2.15.6 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/7kaa-buildroot make: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/data' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/RESOURCE' /usr/libexec/rpm-build/install -p -m 644 RESOURCE/A_WAVE1.RES RESOURCE/A_WAVE2.RES RESOURCE/CURSOR.RES RESOURCE/EXPLMASK.BIN RESOURCE/EXPREMAP.BIN RESOURCE/FNT_BARD.RES RESOURCE/FNT_CASA.RES RESOURCE/FNT_CASA_88592.RES RESOURCE/FNT_CASA_88593.RES RESOURCE/FNT_CASA_88595.RES RESOURCE/FNT_HITP.RES RESOURCE/FNT_MID.RES RESOURCE/FNT_MID_88592.RES RESOURCE/FNT_MID_88593.RES RESOURCE/FNT_MID_88595.RES RESOURCE/FNT_NEWS.RES RESOURCE/FNT_NEWS_88592.RES RESOURCE/FNT_NEWS_88593.RES RESOURCE/FNT_NEWS_88595.RES RESOURCE/FNT_SAN.RES RESOURCE/FNT_SAN_88592.RES RESOURCE/FNT_SAN_88593.RES RESOURCE/FNT_SAN_88595.RES RESOURCE/FNT_SMAL.RES RESOURCE/FNT_SMAL_88592.RES RESOURCE/FNT_SMAL_88593.RES RESOURCE/FNT_SMAL_88595.RES RESOURCE/FNT_STD.RES RESOURCE/FNT_STD_88592.RES RESOURCE/FNT_STD_88593.RES RESOURCE/FNT_STD_88595.RES RESOURCE/HELP.RES RESOURCE/HILL1.RES RESOURCE/HILL2.RES RESOURCE/HILL3.RES RESOURCE/I_BUTTON.RES RESOURCE/I_CURSOR.RES RESOURCE/I_ENCYC.RES RESOURCE/I_FIRM.RES RESOURCE/I_FIRMDI.RES '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/RESOURCE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/RESOURCE' /usr/libexec/rpm-build/install -p -m 644 RESOURCE/I_HILL1.RES RESOURCE/I_HILL2.RES RESOURCE/I_HILL3.RES RESOURCE/I_ICON.RES RESOURCE/I_IF.RES RESOURCE/I_MENU.RES RESOURCE/I_MENU2.RES RESOURCE/I_PLANT1.RES RESOURCE/I_PLANT2.RES RESOURCE/I_PLANT3.RES RESOURCE/I_RACE.RES RESOURCE/I_RAW.RES RESOURCE/I_ROCK1.RES RESOURCE/I_ROCK2.RES RESOURCE/I_ROCK3.RES RESOURCE/I_SNOW.RES RESOURCE/I_SPICT.RES RESOURCE/I_TECH.RES RESOURCE/I_TERA1.RES RESOURCE/I_TERA2.RES RESOURCE/I_TERA3.RES RESOURCE/I_TERN1.RES RESOURCE/I_TERN2.RES RESOURCE/I_TERN3.RES RESOURCE/I_TOWN.RES RESOURCE/I_TPICT1.RES RESOURCE/I_TPICT2.RES RESOURCE/I_TPICT3.RES RESOURCE/I_UNITGI.RES RESOURCE/I_UNITKI.RES RESOURCE/I_UNITLI.RES RESOURCE/I_UNITSI.RES RESOURCE/I_UNITTI.RES RESOURCE/I_UNITUI.RES RESOURCE/I_WALL.RES RESOURCE/LOCALE.RES RESOURCE/PAL_ENC.RES RESOURCE/PAL_MENU.RES RESOURCE/PAL_STD.RES RESOURCE/PAL_WIN.RES '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/RESOURCE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARI2' /usr/libexec/rpm-build/install -p -m 644 SCENARI2/SCN_01.SCN SCENARI2/SCN_01.SCP SCENARI2/SCN_01.SCT SCENARI2/SCN_02.SCN SCENARI2/SCN_02.SCP SCENARI2/SCN_02.SCT SCENARI2/SCN_03.SCN SCENARI2/SCN_03.SCP SCENARI2/SCN_03.SCT SCENARI2/SCN_04.SCN SCENARI2/SCN_04.SCP SCENARI2/SCN_04.SCT SCENARI2/SCN_05.SCN SCENARI2/SCN_05.SCP SCENARI2/SCN_05.SCT SCENARI2/SCN_06.SCN SCENARI2/SCN_06.SCP SCENARI2/SCN_06.SCT SCENARI2/SCN_07.SCN SCENARI2/SCN_07.SCP SCENARI2/SCN_07.SCT SCENARI2/SCN_08.SCN SCENARI2/SCN_08.SCP SCENARI2/SCN_08.SCT SCENARI2/SCN_09.SCN SCENARI2/SCN_09.SCP SCENARI2/SCN_09.SCT SCENARI2/SCN_10.SCN SCENARI2/SCN_10.SCP SCENARI2/SCN_10.SCT SCENARI2/SCN_11.SCN SCENARI2/SCN_11.SCP SCENARI2/SCN_11.SCT SCENARI2/SCN_12.SCN SCENARI2/SCN_12.SCP SCENARI2/SCN_12.SCT SCENARI2/SCN_13.SCN SCENARI2/SCN_13.SCP SCENARI2/SCN_13.SCT SCENARI2/SCN_14.SCN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARI2' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARIO' /usr/libexec/rpm-build/install -p -m 644 SCENARIO/7FOR7.SCN SCENARIO/7FOR7.SCP SCENARIO/7FOR7.SCT SCENARIO/C&D.SCN SCENARIO/C&D.SCP SCENARIO/C&D.SCT SCENARIO/DESBOW.SCN SCENARIO/DESBOW.SCP SCENARIO/DESBOW.SCT SCENARIO/DESPERDO.SCN SCENARIO/DESPERDO.SCP SCENARIO/DESPERDO.SCT SCENARIO/ERADICAT.SCN SCENARIO/ERADICAT.SCP SCENARIO/ERADICAT.SCT SCENARIO/FTFRAUTN.SCN SCENARIO/FTFRAUTN.SCP SCENARIO/FTFRAUTN.SCT SCENARIO/H&M.SCN SCENARIO/H&M.SCP SCENARIO/H&M.SCT SCENARIO/INSULPOS.SCN SCENARIO/INSULPOS.SCP SCENARIO/INSULPOS.SCT SCENARIO/IRONFIST.SCN SCENARIO/IRONFIST.SCP SCENARIO/IRONFIST.SCT SCENARIO/KUKULCNS.SCN SCENARIO/KUKULCNS.SCP SCENARIO/KUKULCNS.SCT SCENARIO/MAKEBREK.SCN SCENARIO/MAKEBREK.SCP SCENARIO/MAKEBREK.SCT SCENARIO/MELTPOT.SCN SCENARIO/MELTPOT.SCP SCENARIO/MELTPOT.SCT SCENARIO/MONORWAR.SCN SCENARIO/MONORWAR.SCP SCENARIO/MONORWAR.SCT SCENARIO/NEWWORLD.SCN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARIO' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SPRITE' /usr/libexec/rpm-build/install -p -m 644 SPRITE/BAATEZU.SPR SPRITE/BALLISTA.SPR SPRITE/CANBALL.SPR SPRITE/CANBALLA.SPR SPRITE/CANBALLS.SPR SPRITE/CANNON.SPR SPRITE/CANSMOKE.SPR SPRITE/CARAVAN.SPR SPRITE/CARAVEL.SPR SPRITE/CARAVE_S.SPR SPRITE/CATAPULT.SPR SPRITE/CATFIRE.SPR SPRITE/CATFIREA.SPR SPRITE/CATFIRES.SPR SPRITE/CATSTONA.SPR SPRITE/CATSTONE.SPR SPRITE/CATSTONS.SPR SPRITE/CHDRAGON.SPR SPRITE/CHINESE.SPR SPRITE/CH_ARROW.SPR SPRITE/DRAGON.SPR SPRITE/DR_ARROW.SPR SPRITE/EGYPTIAN.SPR SPRITE/EG_ARROW.SPR SPRITE/EG_GOD.SPR SPRITE/EG_POWAR.SPR SPRITE/EXPCART.SPR SPRITE/FB_ARRA0.SPR SPRITE/FB_ARROW.SPR SPRITE/FB_ARRS0.SPR SPRITE/FCATAPUL.SPR SPRITE/FIREKIN.SPR SPRITE/FLAMETHR.SPR SPRITE/FL_ARROW.SPR SPRITE/FPERSIAN.SPR SPRITE/F_BALLIS.SPR SPRITE/GALLEON.SPR SPRITE/GALLEO_S.SPR SPRITE/GC_ARROW.SPR SPRITE/GE_STAR.SPR '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SPRITE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SPRITE' /usr/libexec/rpm-build/install -p -m 644 SPRITE/GIANTET.SPR SPRITE/GITH.SPR SPRITE/GI_STAR.SPR SPRITE/GJ_STAR.SPR SPRITE/GNOLL.SPR SPRITE/GOBLIN.SPR SPRITE/GP_STAR.SPR SPRITE/GREEK.SPR SPRITE/GREMJERM.SPR SPRITE/GZ_STAR.SPR SPRITE/HEADLESS.SPR SPRITE/HITSPAR2.SPR SPRITE/HITSPARK.SPR SPRITE/HOBGLOB.SPR SPRITE/INDIAN.SPR SPRITE/IN_GOD.SPR SPRITE/JAPANESE.SPR SPRITE/JA_GOD.SPR SPRITE/JA_POWER.SPR SPRITE/KUKULCAN.SPR SPRITE/LIZARD.SPR SPRITE/LYW.SPR SPRITE/MAN.SPR SPRITE/MAYA.SPR SPRITE/MOLDMAN.SPR SPRITE/NORMAN.SPR SPRITE/NO_ARROW.SPR SPRITE/PEHEALER.SPR SPRITE/PERSIAN.SPR SPRITE/PE_ARROW.SPR SPRITE/PE_POWAR.SPR SPRITE/PHEONIX.SPR SPRITE/RM_ARROW.SPR SPRITE/ROCKMAN.SPR SPRITE/SKELETON.SPR SPRITE/STEAM.SPR SPRITE/TC_ARR00.SPR SPRITE/TC_ARR01.SPR SPRITE/TC_ARR02.SPR SPRITE/TC_ARRA0.SPR '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SPRITE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARIO' /usr/libexec/rpm-build/install -p -m 644 SCENARIO/NEWWORLD.SCP SCENARIO/NEWWORLD.SCT SCENARIO/NORMAN.SCN SCENARIO/NORMAN.SCP SCENARIO/NORMAN.SCT SCENARIO/NOTLOST.SCN SCENARIO/NOTLOST.SCP SCENARIO/NOTLOST.SCT SCENARIO/PIRATES.SCN SCENARIO/PIRATES.SCP SCENARIO/PIRATES.SCT SCENARIO/PRNCTKAO.SCN SCENARIO/PRNCTKAO.SCP SCENARIO/PRNCTKAO.SCT SCENARIO/QUESUCCN.SCN SCENARIO/QUESUCCN.SCP SCENARIO/QUESUCCN.SCT SCENARIO/RESDEP.SCN SCENARIO/RESDEP.SCP SCENARIO/RESDEP.SCT SCENARIO/TREADCAR.SCN SCENARIO/TREADCAR.SCP SCENARIO/TREADCAR.SCT SCENARIO/VIKBLITZ.SCN SCENARIO/VIKBLITZ.SCP SCENARIO/VIKBLITZ.SCT SCENARIO/WEAKENED.SCN SCENARIO/WEAKENED.SCP SCENARIO/WEAKENED.SCT SCENARIO/config.txt '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARIO' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/RESOURCE' /usr/libexec/rpm-build/install -p -m 644 RESOURCE/PLANT1.RES RESOURCE/PLANT2.RES RESOURCE/PLANT3.RES RESOURCE/PLANTBM1.RES RESOURCE/PLANTBM2.RES RESOURCE/PLANTBM3.RES RESOURCE/ROCK1.RES RESOURCE/ROCK2.RES RESOURCE/ROCK3.RES RESOURCE/ROCKANI1.RES RESOURCE/ROCKANI2.RES RESOURCE/ROCKANI3.RES RESOURCE/ROCKBLK1.RES RESOURCE/ROCKBLK2.RES RESOURCE/ROCKBLK3.RES RESOURCE/ROCKBMP1.RES RESOURCE/ROCKBMP2.RES RESOURCE/ROCKBMP3.RES RESOURCE/STD.SET RESOURCE/TERANM1.RES RESOURCE/TERANM2.RES RESOURCE/TERANM3.RES RESOURCE/TERRAIN1.RES RESOURCE/TERRAIN2.RES RESOURCE/TERRAIN3.RES RESOURCE/TERSUB.RES RESOURCE/TUT_INTR.RES RESOURCE/TUT_LIST.RES RESOURCE/TUT_PICT.RES RESOURCE/TUT_TEXT.RES '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/RESOURCE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/MONSTER' /usr/libexec/rpm-build/install -p -m 644 ENCYC/MONSTER/FIREKIN.COL ENCYC/MONSTER/FIREKIN.ICN ENCYC/MONSTER/GIANTET.COL ENCYC/MONSTER/GIANTET.ICN ENCYC/MONSTER/GITH.COL ENCYC/MONSTER/GITH.ICN ENCYC/MONSTER/GNOLL.COL ENCYC/MONSTER/GNOLL.ICN ENCYC/MONSTER/GOBLIN.COL ENCYC/MONSTER/GOBLIN.ICN ENCYC/MONSTER/GREMJERM.COL ENCYC/MONSTER/GREMJERM.ICN ENCYC/MONSTER/HEADLESS.COL ENCYC/MONSTER/HEADLESS.ICN ENCYC/MONSTER/HOBGLOB.COL ENCYC/MONSTER/HOBGLOB.ICN ENCYC/MONSTER/LIZARD.COL ENCYC/MONSTER/LIZARD.ICN ENCYC/MONSTER/LYW.COL ENCYC/MONSTER/LYW.ICN ENCYC/MONSTER/MAN.COL ENCYC/MONSTER/MAN.ICN ENCYC/MONSTER/ROCKMAN.COL ENCYC/MONSTER/ROCKMAN.ICN ENCYC/MONSTER/SKELETON.COL ENCYC/MONSTER/SKELETON.ICN ENCYC/MONSTER/STRUCT_1.COL ENCYC/MONSTER/STRUCT_1.ICN ENCYC/MONSTER/STRUCT_2.COL ENCYC/MONSTER/STRUCT_2.ICN ENCYC/MONSTER/STRUCT_3.COL ENCYC/MONSTER/STRUCT_3.ICN ENCYC/MONSTER/STRUCT_4.COL ENCYC/MONSTER/STRUCT_4.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/MONSTER' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SOUND' /usr/libexec/rpm-build/install -p -m 644 SOUND/FIRE.WAV SOUND/QUAKE.WAV SOUND/RAIN.WAV SOUND/THUNDER.WAV SOUND/WIND.WAV '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SOUND' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/IMAGE' /usr/libexec/rpm-build/install -p -m 644 IMAGE/7K_ICON.BMP IMAGE/CHINESE.COL IMAGE/CHINESE.ICN IMAGE/CREDITS1.COL IMAGE/CREDITS1.ICN IMAGE/CREDITS2.COL IMAGE/CREDITS2.ICN IMAGE/CREDITS3.COL IMAGE/CREDITS3.ICN IMAGE/CREDITS4.COL IMAGE/CREDITS4.ICN IMAGE/CREDITS6.COL IMAGE/CREDITS6.ICN IMAGE/EGYPTIAN.COL IMAGE/EGYPTIAN.ICN IMAGE/GREEK.COL IMAGE/GREEK.ICN IMAGE/HALLFAME.COL IMAGE/HALLFAME.ICN IMAGE/INDIAN.COL IMAGE/INDIAN.ICN IMAGE/JAPANESE.COL IMAGE/JAPANESE.ICN IMAGE/LOSEGAME.COL IMAGE/LOSEGAME.ICN IMAGE/MAINMENU.COL IMAGE/MAINMENU.ICN IMAGE/MAYA.COL IMAGE/MAYA.ICN IMAGE/NORMAN.COL IMAGE/NORMAN.ICN IMAGE/PERSIAN.COL IMAGE/PERSIAN.ICN IMAGE/RESULTS.COL IMAGE/RESULTS.ICN IMAGE/VIKING.COL IMAGE/VIKING.ICN IMAGE/ZULU.COL IMAGE/ZULU.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/IMAGE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/TUTORIAL' /usr/libexec/rpm-build/install -p -m 644 TUTORIAL/10CAPTUR.TUT TUTORIAL/1BAS_MIL.TUT TUTORIAL/2BAS_ECO.TUT TUTORIAL/2B_TRADE.TUT TUTORIAL/3RESEARC.TUT TUTORIAL/4WEAPONS.TUT TUTORIAL/5BAS_NAV.TUT TUTORIAL/6SEATRAD.TUT TUTORIAL/7MERCENA.TUT TUTORIAL/8FRYHTAN.TUT TUTORIAL/9SEATPOW.TUT TUTORIAL/LOYALTY.TUT TUTORIAL/SPYING.TUT TUTORIAL/config.txt '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/TUTORIAL' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC2/UNIT' /usr/libexec/rpm-build/install -p -m 644 ENCYC2/UNIT/EGYPTIAN.COL ENCYC2/UNIT/EGYPTIAN.ICN ENCYC2/UNIT/F_BALLIS.COL ENCYC2/UNIT/F_BALLIS.ICN ENCYC2/UNIT/INDIAN.COL ENCYC2/UNIT/INDIAN.ICN ENCYC2/UNIT/ZULU.COL ENCYC2/UNIT/ZULU.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC2/UNIT' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/GOD' /usr/libexec/rpm-build/install -p -m 644 ENCYC/GOD/CHINESE.COL ENCYC/GOD/CHINESE.ICN ENCYC/GOD/GREEK.COL ENCYC/GOD/GREEK.ICN ENCYC/GOD/JAPANESE.COL ENCYC/GOD/JAPANESE.ICN ENCYC/GOD/MAYA.COL ENCYC/GOD/MAYA.ICN ENCYC/GOD/NORMAN.COL ENCYC/GOD/NORMAN.ICN ENCYC/GOD/PERSIAN.COL ENCYC/GOD/PERSIAN.ICN ENCYC/GOD/VIKING.COL ENCYC/GOD/VIKING.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/GOD' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/UNIT' /usr/libexec/rpm-build/install -p -m 644 ENCYC/UNIT/BALLISTA.COL ENCYC/UNIT/BALLISTA.ICN ENCYC/UNIT/CANNON.COL ENCYC/UNIT/CANNON.ICN ENCYC/UNIT/CARAVEL.COL ENCYC/UNIT/CARAVEL.ICN ENCYC/UNIT/CATAPULT.COL ENCYC/UNIT/CATAPULT.ICN ENCYC/UNIT/CHINESE.COL ENCYC/UNIT/CHINESE.ICN ENCYC/UNIT/EXPCART.COL ENCYC/UNIT/EXPCART.ICN ENCYC/UNIT/FLAMETHR.COL ENCYC/UNIT/FLAMETHR.ICN ENCYC/UNIT/GALLEON.COL ENCYC/UNIT/GALLEON.ICN ENCYC/UNIT/GREEK.COL ENCYC/UNIT/GREEK.ICN ENCYC/UNIT/JAPANESE.COL ENCYC/UNIT/JAPANESE.ICN ENCYC/UNIT/MAYA.COL ENCYC/UNIT/MAYA.ICN ENCYC/UNIT/NORMAN.COL ENCYC/UNIT/NORMAN.ICN ENCYC/UNIT/PERSIAN.COL ENCYC/UNIT/PERSIAN.ICN ENCYC/UNIT/TRANSPOR.COL ENCYC/UNIT/TRANSPOR.ICN ENCYC/UNIT/VESSEL.COL ENCYC/UNIT/VESSEL.ICN ENCYC/UNIT/VIKING.COL ENCYC/UNIT/VIKING.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/UNIT' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/FIRM' /usr/libexec/rpm-build/install -p -m 644 ENCYC/FIRM/FACTORY.COL ENCYC/FIRM/FACTORY.ICN ENCYC/FIRM/FORT.COL ENCYC/FIRM/FORT.ICN ENCYC/FIRM/HARBOR.COL ENCYC/FIRM/HARBOR.ICN ENCYC/FIRM/INN.COL ENCYC/FIRM/INN.ICN ENCYC/FIRM/MARKET.COL ENCYC/FIRM/MARKET.ICN ENCYC/FIRM/MINE.COL ENCYC/FIRM/MINE.ICN ENCYC/FIRM/SCIENCE.COL ENCYC/FIRM/SCIENCE.ICN ENCYC/FIRM/WARFACT.COL ENCYC/FIRM/WARFACT.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/FIRM' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARI2' /usr/libexec/rpm-build/install -p -m 644 SCENARI2/SCN_14.SCP SCENARI2/SCN_14.SCT SCENARI2/SCN_15.SCN SCENARI2/SCN_15.SCP SCENARI2/SCN_15.SCT SCENARI2/config.txt '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SCENARI2' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SPRITE' /usr/libexec/rpm-build/install -p -m 644 SPRITE/TC_ARRA1.SPR SPRITE/TC_ARRA2.SPR SPRITE/TC_ARRS0.SPR SPRITE/TC_ARRS1.SPR SPRITE/TC_ARRS2.SPR SPRITE/TORNADO.SPR SPRITE/TRANSPOR.SPR SPRITE/TRANSP_S.SPR SPRITE/VESSEL.SPR SPRITE/VESSEL_S.SPR SPRITE/VIKING.SPR SPRITE/VI_GOD.SPR SPRITE/V_ARROW.SPR SPRITE/V_SPLASH.SPR SPRITE/ZULU.SPR SPRITE/ZU_ARROW.SPR SPRITE/ZU_GOD.SPR '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/SPRITE' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC2/SEAT' /usr/libexec/rpm-build/install -p -m 644 ENCYC2/SEAT/EGYPTIAN.COL ENCYC2/SEAT/EGYPTIAN.ICN ENCYC2/SEAT/INDIAN.COL ENCYC2/SEAT/INDIAN.ICN ENCYC2/SEAT/ZULU.COL ENCYC2/SEAT/ZULU.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC2/SEAT' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC2/GOD' /usr/libexec/rpm-build/install -p -m 644 ENCYC2/GOD/EGYPTIAN.COL ENCYC2/GOD/EGYPTIAN.ICN ENCYC2/GOD/INDIAN.COL ENCYC2/GOD/INDIAN.ICN ENCYC2/GOD/ZULU.COL ENCYC2/GOD/ZULU.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC2/GOD' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/SEAT' /usr/libexec/rpm-build/install -p -m 644 ENCYC/SEAT/CHINESE.COL ENCYC/SEAT/CHINESE.ICN ENCYC/SEAT/GREEK.COL ENCYC/SEAT/GREEK.ICN ENCYC/SEAT/JAPANESE.COL ENCYC/SEAT/JAPANESE.ICN ENCYC/SEAT/MAYA.COL ENCYC/SEAT/MAYA.ICN ENCYC/SEAT/NORMAN.COL ENCYC/SEAT/NORMAN.ICN ENCYC/SEAT/PERSIAN.COL ENCYC/SEAT/PERSIAN.ICN ENCYC/SEAT/VIKING.COL ENCYC/SEAT/VIKING.ICN '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/ENCYC/SEAT' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/data' Making install in include make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/include' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/include' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/include' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/include' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' Making install in enet make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/enet' Making install in imgfun make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun' Making install in generic make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[4]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun' make[4]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun' make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/imgfun' Making install in openal make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/openal' Making install in curl make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src/curl' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/bin' /usr/libexec/rpm-build/install -p 7kaa '/usr/src/tmp/7kaa-buildroot/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/src' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6/po' installing de.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/de/LC_MESSAGES/7kaa.mo installing eo.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/eo/LC_MESSAGES/7kaa.mo installing es.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/es/LC_MESSAGES/7kaa.mo installing fr.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/fr/LC_MESSAGES/7kaa.mo installing pl.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/pl/LC_MESSAGES/7kaa.mo installing pt_BR.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/pt_BR/LC_MESSAGES/7kaa.mo installing ru.gmo as /usr/src/tmp/7kaa-buildroot/usr/share/locale/ru/LC_MESSAGES/7kaa.mo if test "7kaa" = "gettext-tools"; then \ /usr/bin/mkdir -p /usr/src/tmp/7kaa-buildroot/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/libexec/rpm-build/install -p -m 644 ./$file \ /usr/src/tmp/7kaa-buildroot/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /usr/src/tmp/7kaa-buildroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6/po' make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.15.6' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/doc/7kaa' /usr/libexec/rpm-build/install -p -m 644 COPYING README '/usr/src/tmp/7kaa-buildroot/usr/share/doc/7kaa' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6' make: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.15.6' + for x in 16 32 48 + mkdir -p /usr/src/tmp/7kaa-buildroot/usr/share/icons/hicolor/16x16/apps/ + convert data/IMAGE/7K_ICON.BMP -resize 16x16 /usr/src/tmp/7kaa-buildroot//usr/share/icons/hicolor/16x16/apps/7kaa_icon.png WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert" + for x in 16 32 48 + mkdir -p /usr/src/tmp/7kaa-buildroot/usr/share/icons/hicolor/32x32/apps/ + convert data/IMAGE/7K_ICON.BMP -resize 32x32 /usr/src/tmp/7kaa-buildroot//usr/share/icons/hicolor/32x32/apps/7kaa_icon.png WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert" + for x in 16 32 48 + mkdir -p /usr/src/tmp/7kaa-buildroot/usr/share/icons/hicolor/48x48/apps/ + convert data/IMAGE/7K_ICON.BMP -resize 48x48 /usr/src/tmp/7kaa-buildroot//usr/share/icons/hicolor/48x48/apps/7kaa_icon.png WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert" + cat + desktop-file-install --dir=/usr/src/tmp/7kaa-buildroot/usr/share/applications 7kaa.desktop + mkdir -p /usr/src/tmp/7kaa-buildroot/usr/share/7kaa/music + mkdir -p /usr/src/tmp/7kaa-buildroot/usr/share/doc/7kaa-music + cat + install -m 755 /usr/src/RPM/SOURCES/7kaa-data-installer /usr/src/tmp/7kaa-buildroot/usr/bin + install -m 755 7kaa-music-installer /usr/src/tmp/7kaa-buildroot/usr/bin + install -m 644 /usr/src/RPM/SOURCES/7kaa.autodlrc /usr/src/tmp/7kaa-buildroot/usr/share/7kaa/music + /usr/lib/rpm/find-lang 7kaa + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/7kaa-buildroot (auto) Verifying and fixing files in /usr/src/tmp/7kaa-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/applications/7kaa.desktop: performed minor cleanup: 9c9 < Categories=Game;StrategyGame --- > Categories=Game;StrategyGame; Checking contents of files in /usr/src/tmp/7kaa-buildroot/ (default) Compressing files in /usr/src/tmp/7kaa-buildroot (auto) Verifying ELF objects in /usr/src/tmp/7kaa-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/7kaa-buildroot Processing files: 7kaa-2.15.6-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kgFXUW 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.FHcAgo find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: chmod cp mkdir mv rm Requires: 7kaa-data = 2.15.6-alt1, /bin/bash, /lib64/ld-linux-x86-64.so.2, coreutils, libSDL2-2.0.so.0()(64bit) >= set:ngb1SmEpvmJTdZ84uwJYu8TEj8BGLM9FbW2Ee19xhMQ9ZECHMBnxIehrTE0FL2m0ZJuAEPZkgJkmMfQNWnXagtUZ2xwETJZzddywNyEZIfkH5TfXanBstq84OflnBkn1doFslhKm889lYNf1fcmVwDmq2tFIkcEi9ujUBg2p4VicJ93C1Qm0swOmgHh0, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcurl.so.4()(64bit) >= set:kgRQoh7U9b6XA19OKHr9Yje, libcurl.so.4(CURL_GNUTLS_4)(64bit), libenet.so.7()(64bit) >= set:kfVgejAjNc3hkZhPA4ih28GIMf3axk1IAeGeD0GrtDQWvX90, libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libopenal.so.1()(64bit) >= set:lgAZ9hN9RkIImzDipWycZsGxZv59NIO5YEWMPXAZpKIOorujrHXZAbc0, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), 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.uzVl45 Creating 7kaa-debuginfo package Processing files: 7kaa-data-2.15.6-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zNOwTy 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.Ijxfxk find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: 7kaa-music-2.15.6-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TmIHfz 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.UYT6fU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shell.req: /usr/src/tmp/7kaa-buildroot/usr/bin/7kaa-music-installer: /usr/share/autodl/AutoDL.py -> /usr/share/autodl/AutoDL.py (raw, not installed) find-requires: FINDPACKAGE-COMMANDS: su tar Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xBT9cO find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Requires: 7kaa-data = 2.15.6-alt1, /bin/bash, /usr/share/autodl/AutoDL.py, su, tar Requires(interp): /bin/sh Requires(postun): /bin/sh, coreutils Processing files: 7kaa-debuginfo-2.15.6-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.foCnDu find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QkSYsJ find-requires: running scripts (debuginfo) Requires: 7kaa = 2.15.6-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL2-2.0.so.0), debug64(libc.so.6), debug64(libcurl.so.4), debug64(libenet.so.7), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libopenal.so.1), debug64(libstdc++.so.6) Adding to 7kaa a strict dependency on 7kaa-data Adding to 7kaa-debuginfo a strict dependency on 7kaa Adding to 7kaa-music a strict dependency on 7kaa-data Wrote: /usr/src/RPM/RPMS/x86_64/7kaa-2.15.6-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/7kaa-data-2.15.6-alt1.noarch.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/noarch/7kaa-music-2.15.6-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/7kaa-debuginfo-2.15.6-alt1.x86_64.rpm (w2T16.xzdio) 328.18user 54.02system 0:54.11elapsed 706%CPU (0avgtext+0avgdata 392720maxresident)k 0inputs+0outputs (0major+11680410minor)pagefaults 0swaps /.out/7kaa-music-2.15.6-alt1.noarch.rpm: bad symbols in the license tag: , 4.04user 3.02system 1:16.25elapsed 9%CPU (0avgtext+0avgdata 136416maxresident)k 376inputs+0outputs (0major+263383minor)pagefaults 0swaps --- 7kaa-2.15.6-alt1.x86_64.rpm.repo 2023-10-14 17:38:26.000000000 +0000 +++ 7kaa-2.15.6-alt1.x86_64.rpm.hasher 2024-12-25 04:43:18.746729060 +0000 @@ -20,2 +20,3 @@ Requires: libcurl.so.4()(64bit) >= set:kgRQoh7U9b6XA19OKHr9Yje +Requires: libcurl.so.4(CURL_GNUTLS_4)(64bit) Requires: libenet.so.7()(64bit) >= set:kfVgejAjNc3hkZhPA4ih28GIMf3axk1IAeGeD0GrtDQWvX90 @@ -37,3 +38,3 @@ Provides: 7kaa = 2.15.6-alt1:sisyphus+331805.100.1.1 -File: /usr/bin/7kaa 100755 root:root fdfb329593892fe0624ac3c5a536cae1 +File: /usr/bin/7kaa 100755 root:root 89fb12dbdbaf16b777f5c119260a1072 File: /usr/bin/7kaa-data-installer 100755 root:root aa8a39792d41fa3a76e8a1245b670f6b @@ -43,2 +44,2 @@ File: /usr/share/doc/7kaa/README 100644 root:root a07f10655886008fb3f5cff4cf2adadc -RPMIdentity: 4ee522f07d1446698b8dce9579a430ce85dcce3245e38acb3ee2755ce7d5f647b6c1cdc89406d7c4eeb8a002b226a997e47619346800114c9133e415d5035e11 +RPMIdentity: 712befb0b1de68baa0e64d40fbcbafd1f5e3dbb8bcd07e0459b33e13c8a34e79f9b376395c68942be1175408a192af09bb0f365ebfb21a95bae0299493db68b2 --- 7kaa-debuginfo-2.15.6-alt1.x86_64.rpm.repo 2023-10-14 17:38:26.000000000 +0000 +++ 7kaa-debuginfo-2.15.6-alt1.x86_64.rpm.hasher 2024-12-25 04:43:18.912731588 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/b4 40755 root:root -/usr/lib/debug/.build-id/b4/fe17dabb06caa62c82b3711dcd03f47d96d3c3 120777 root:root ../../../../bin/7kaa -/usr/lib/debug/.build-id/b4/fe17dabb06caa62c82b3711dcd03f47d96d3c3.debug 120777 root:root ../../usr/bin/7kaa.debug +/usr/lib/debug/.build-id/a9 40755 root:root +/usr/lib/debug/.build-id/a9/eaffe1a0fe1dd26aef7fada544681ba1958c6e 120777 root:root ../../../../bin/7kaa +/usr/lib/debug/.build-id/a9/eaffe1a0fe1dd26aef7fada544681ba1958c6e.debug 120777 root:root ../../usr/bin/7kaa.debug /usr/lib/debug/usr/bin/7kaa.debug 100644 root:root @@ -520,6 +520,6 @@ Provides: 7kaa-debuginfo = 2.15.6-alt1:sisyphus+331805.100.1.1 -File: /usr/lib/debug/.build-id/b4 40755 root:root -File: /usr/lib/debug/.build-id/b4/fe17dabb06caa62c82b3711dcd03f47d96d3c3 120777 root:root ../../../../bin/7kaa -File: /usr/lib/debug/.build-id/b4/fe17dabb06caa62c82b3711dcd03f47d96d3c3.debug 120777 root:root ../../usr/bin/7kaa.debug -File: /usr/lib/debug/usr/bin/7kaa.debug 100644 root:root 3439a20691a56244633628e47aa8ad3f +File: /usr/lib/debug/.build-id/a9 40755 root:root +File: /usr/lib/debug/.build-id/a9/eaffe1a0fe1dd26aef7fada544681ba1958c6e 120777 root:root ../../../../bin/7kaa +File: /usr/lib/debug/.build-id/a9/eaffe1a0fe1dd26aef7fada544681ba1958c6e.debug 120777 root:root ../../usr/bin/7kaa.debug +File: /usr/lib/debug/usr/bin/7kaa.debug 100644 root:root 2d72e8b5d5d75def12059c0aaf6c53c5 File: /usr/src/debug/7kaa-2.15.6 40755 root:root @@ -1028,2 +1028,2 @@ File: /usr/src/debug/7kaa-2.15.6/src/vgautil2.cpp 100644 root:root 9a45d95f6e47fae07d195b0624567e2b -RPMIdentity: b09a1cee33e74e1991cab665d4530c04c74f7cb27975c4a7de05327eda3d83657460d3249b24893f3b1a0d145dd6fba8c1263dff05de288a8f32a67e0af1c627 +RPMIdentity: 837036b9365ea8c10a9834e222df5cfd88cd007c7943ae652ba60f54bb1be8dac00769f70a4240d3c3b8389c2dc234b0aca1ee98de06c18477486367cef926e9