<86>Jun 3 07:09:02 userdel[811239]: delete user 'rooter' <86>Jun 3 07:09:02 userdel[811239]: removed group 'rooter' owned by 'rooter' <86>Jun 3 07:09:02 userdel[811239]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 3 07:09:02 groupadd[811253]: group added to /etc/group: name=rooter, GID=1262 <86>Jun 3 07:09:02 groupadd[811253]: group added to /etc/gshadow: name=rooter <86>Jun 3 07:09:02 groupadd[811253]: new group: name=rooter, GID=1262 <86>Jun 3 07:09:02 useradd[811261]: new user: name=rooter, UID=1262, GID=1262, home=/root, shell=/bin/bash, from=none <86>Jun 3 07:09:02 userdel[811289]: delete user 'builder' <86>Jun 3 07:09:02 userdel[811289]: removed group 'builder' owned by 'builder' <86>Jun 3 07:09:02 userdel[811289]: removed shadow group 'builder' owned by 'builder' <86>Jun 3 07:09:02 groupadd[811307]: group added to /etc/group: name=builder, GID=1263 <86>Jun 3 07:09:02 groupadd[811307]: group added to /etc/gshadow: name=builder <86>Jun 3 07:09:02 groupadd[811307]: new group: name=builder, GID=1263 <86>Jun 3 07:09:02 useradd[811323]: new user: name=builder, UID=1263, GID=1263, home=/usr/src, shell=/bin/bash, from=none <13>Jun 3 07:09:08 rpmi: libjpeg-2:2.1.2-alt1.2 sisyphus+300827.100.2.1 1653916654 installed <13>Jun 3 07:09:08 rpmi: libpng16-1.6.39-alt1 sisyphus+310490.100.1.1 1669195208 installed <13>Jun 3 07:09:08 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Jun 3 07:09:08 rpmi: libglvnd-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:09 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Jun 3 07:09:09 rpmi: libnettle8-3.9.0-alt1 sisyphus+321863.100.1.1 1685032094 installed <13>Jun 3 07:09:09 rpmi: libwebp7-1.3.0-alt1 sisyphus+313492.100.1.1 1673749692 installed <13>Jun 3 07:09:09 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed <13>Jun 3 07:09:09 rpmi: libSDL2-2.26.5-alt1 sisyphus+318116.100.1.1 1680766841 installed <13>Jun 3 07:09:09 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Jun 3 07:09:09 rpmi: liblcms2-2.15-alt1 sisyphus+316039.100.1.1 1677666336 installed <13>Jun 3 07:09:09 rpmi: libgomp1-12.2.1-alt2 sisyphus+317777.100.2.2 1682563133 installed <13>Jun 3 07:09:09 rpmi: libltdl7-2.4.7-alt2 sisyphus+317834.100.1.1 1680267821 installed <13>Jun 3 07:09:09 rpmi: libopenjpeg2.0-2.5.0-alt1 sisyphus+299926.300.3.1 1652478844 installed <13>Jun 3 07:09:09 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jun 3 07:09:09 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Jun 3 07:09:09 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Jun 3 07:09:09 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Jun 3 07:09:09 rpmi: libfribidi-1.0.13-alt1 sisyphus+320646.100.1.1 1684307083 installed <13>Jun 3 07:09:09 rpmi: ilmbase25-common-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Jun 3 07:09:09 rpmi: libiex25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Jun 3 07:09:09 rpmi: libilmthread25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Jun 3 07:09:09 rpmi: libimath25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Jun 3 07:09:09 rpmi: libhalf25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Jun 3 07:09:09 rpmi: libilmimf25-2.5.6-alt5 sisyphus+314595.3240.24.1 1678352845 installed <13>Jun 3 07:09:09 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Jun 3 07:09:09 rpmi: libSDL2_net-2.0.1-alt1 1453488111 installed <13>Jun 3 07:09:09 rpmi: libhogweed6-3.9.0-alt1 sisyphus+321863.100.1.1 1685032094 installed <13>Jun 3 07:09:09 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639387 installed <13>Jun 3 07:09:09 rpmi: libngtcp2-0.15.0-alt1 sisyphus+321126.100.1.1 1684414016 installed <13>Jun 3 07:09:09 rpmi: libGLES-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:09 rpmi: libOpenGL-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:09 rpmi: libflif-0.3-alt3 sisyphus+276388.100.1.1 1624990825 installed <13>Jun 3 07:09:09 rpmi: libjasper-2.0.33-alt2 sisyphus+291936.40.2.1 1639478958 installed <13>Jun 3 07:09:09 rpmi: libraw-0.20.2-alt1.1 sisyphus+283972.100.1.1 1630055046 installed <13>Jun 3 07:09:09 rpmi: libopenal1-1.22.2-alt1 sisyphus+303860.40.2.1 1658091313 installed <13>Jun 3 07:09:09 rpmi: libenet-1.3.13-alt2 sisyphus+286881.100.1.1 1634034746 installed <13>Jun 3 07:09:09 rpmi: publicsuffix-list-dafsa-20230404-alt1 sisyphus+318117.100.1.1 1680769734 installed <13>Jun 3 07:09:09 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Jun 3 07:09:09 rpmi: libnghttp3-0.9.0-alt1 sisyphus+317166.100.1.1 1679409333 installed <13>Jun 3 07:09:09 rpmi: libnghttp2-1.53.0-alt1 sisyphus+320325.100.1.1 1683872096 installed <13>Jun 3 07:09:09 rpmi: openldap-common-2.6.4-alt1 sisyphus+321176.240.10.2 1684802269 installed <13>Jun 3 07:09:09 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Jun 3 07:09:09 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Jun 3 07:09:09 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Jun 3 07:09:09 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Jun 3 07:09:09 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168262 installed <13>Jun 3 07:09:09 rpmi: libdrm-1:2.4.115-alt1 sisyphus+315873.100.1.1 1677481746 installed <13>Jun 3 07:09:09 rpmi: libgbm-4:23.0.4-alt1 sisyphus+322273.100.1.1 1685617997 installed <13>Jun 3 07:09:09 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 3 07:09:10 rpmi: libstdc++12-devel-12.2.1-alt2 sisyphus+317777.100.2.2 1682563133 installed <13>Jun 3 07:09:11 rpmi: gcc12-c++-12.2.1-alt2 sisyphus+317777.100.2.2 1682563133 installed <13>Jun 3 07:09:11 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056616 installed <13>Jun 3 07:09:11 rpmi: libImageMagick6-common-6.9.12.73-alt1 sisyphus+314149.100.1.1 1674663601 installed <13>Jun 3 07:09:11 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406848 installed <13>Jun 3 07:09:11 rpmi: liblqr-0.4.2-alt1 sisyphus+276247.100.1.2 1624927462 installed <13>Jun 3 07:09:11 rpmi: djvu-common-3.5.28-alt2 sisyphus+297715.100.1.1 1648887081 installed <13>Jun 3 07:09:11 rpmi: libdjvu-3.5.28-alt2 sisyphus+297715.100.1.1 1648887083 installed <13>Jun 3 07:09:12 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749871 installed <13>Jun 3 07:09:12 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100446 installed <13>Jun 3 07:09:12 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Jun 3 07:09:12 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072361 installed <13>Jun 3 07:09:12 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Jun 3 07:09:12 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Jun 3 07:09:12 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 3 07:09:12 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 3 07:09:12 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jun 3 07:09:12 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jun 3 07:09:12 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jun 3 07:09:12 rpmi: libcrypto1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474790 installed <13>Jun 3 07:09:12 rpmi: libssl1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474790 installed <86>Jun 3 07:09:12 groupadd[819258]: group added to /etc/group: name=_keytab, GID=999 <86>Jun 3 07:09:12 groupadd[819258]: group added to /etc/gshadow: name=_keytab <86>Jun 3 07:09:12 groupadd[819258]: new group: name=_keytab, GID=999 <13>Jun 3 07:09:12 rpmi: libkrb5-1.20.1-alt1 sisyphus+306946.1000.5.2 1677793939 installed <13>Jun 3 07:09:12 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478553 installed <86>Jun 3 07:09:12 groupadd[819313]: group added to /etc/group: name=sasl, GID=998 <86>Jun 3 07:09:12 groupadd[819313]: group added to /etc/gshadow: name=sasl <86>Jun 3 07:09:12 groupadd[819313]: new group: name=sasl, GID=998 <13>Jun 3 07:09:12 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097332 installed <13>Jun 3 07:09:12 rpmi: libldap2-2.6.4-alt1 sisyphus+321176.240.10.2 1684803685 installed <13>Jun 3 07:09:12 rpmi: libssh2-1.10.0-alt1 sisyphus+289470.100.1.1 1636752294 installed <13>Jun 3 07:09:12 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Jun 3 07:09:12 rpmi: libsystemd-1:252.7-alt1 sisyphus+316321.100.1.1 1678130459 installed <13>Jun 3 07:09:12 rpmi: libdbus-1.14.6-alt2 sisyphus+321145.100.1.1 1684402689 installed <13>Jun 3 07:09:12 rpmi: libavahi-0.8-alt2 sisyphus+321176.300.10.2 1684803998 installed <13>Jun 3 07:09:12 rpmi: libcups-2.4.2-alt3 sisyphus+322076.100.1.1 1685347724 installed <13>Jun 3 07:09:12 rpmi: libatk-2.48.3-alt1 sisyphus+322046.200.1.1 1685216221 installed <13>Jun 3 07:09:12 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Jun 3 07:09:13 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Jun 3 07:09:13 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Jun 3 07:09:13 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625696944 installed <13>Jun 3 07:09:13 rpmi: librav1e-0.6.6-alt1 sisyphus+320651.100.1.1 1684313157 installed <13>Jun 3 07:09:13 rpmi: libdeflate-1.18-alt1 sisyphus+317484.100.1.1 1679768614 installed <13>Jun 3 07:09:13 rpmi: libtiff5-4.4.0-alt3 sisyphus+316986.100.1.1 1679241635 installed <13>Jun 3 07:09:13 rpmi: libgdk-pixbuf-locales-2.42.10-alt1 sisyphus+308991.100.1.1 1666721198 installed <13>Jun 3 07:09:13 rpmi: libde265-1.0.11-alt1 sisyphus+314940.100.1.1 1675940480 installed <13>Jun 3 07:09:13 rpmi: libdav1d5-0.9.2-alt2 sisyphus+319138.140.3.1 1682251164 installed <13>Jun 3 07:09:13 rpmi: libaom3-3.5.0-alt1 sisyphus+312085.100.1.1 1671551781 installed <13>Jun 3 07:09:13 rpmi: libdatrie-0.2.13-alt1_2 sisyphus+285649.100.1.1 1632260805 installed <13>Jun 3 07:09:13 rpmi: libthai-0.1.29-alt1_1 sisyphus+292947.100.1.1 1641111918 installed <13>Jun 3 07:09:13 rpmi: desktop-file-utils-0.26-alt3 sisyphus+297027.100.1.1 1648023316 installed <13>Jun 3 07:09:13 rpmi: shared-mime-info-2.2-alt1 sisyphus+297388.100.1.1 1648466617 installed <13>Jun 3 07:09:14 rpmi: gsettings-desktop-schemas-data-44.0-alt1 sisyphus+317076.300.1.1 1679344430 installed <13>Jun 3 07:09:14 rpmi: libgio-2.76.3-alt1 sisyphus+318344.200.2.1 1684870682 installed <13>Jun 3 07:09:14 rpmi: gsettings-desktop-schemas-44.0-alt1 sisyphus+317076.300.1.1 1679344454 installed <13>Jun 3 07:09:14 rpmi: libgdk-pixbuf-2.42.10-alt1 sisyphus+308991.100.1.1 1666721201 installed <13>Jun 3 07:09:14 rpmi: libheif-1.15.2-alt1 sisyphus+317953.100.1.1 1680527860 installed <13>Jun 3 07:09:14 rpmi: gtk4-update-icon-cache-4.10.3-alt2 sisyphus+319681.100.1.1 1683013414 installed <13>Jun 3 07:09:14 rpmi: libpixman-3:0.42.2-alt1 sisyphus+309549.100.1.1 1667649379 installed <13>Jun 3 07:09:14 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 3 07:09:14 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 3 07:09:14 rpmi: libcurl-8.1.2-alt1 sisyphus+322142.100.1.1 1685433996 installed <13>Jun 3 07:09:14 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Jun 3 07:09:14 rpmi: libharfbuzz-7.0.1-alt1 sisyphus+318888.200.2.1 1682012447 installed <13>Jun 3 07:09:14 rpmi: libfreetype-2.13.0-alt1 sisyphus+315092.100.1.1 1676198645 installed <13>Jun 3 07:09:14 rpmi: libfontconfig1-2.14.2-alt7 sisyphus+319291.100.1.1 1682426301 installed <13>Jun 3 07:09:16 rpmi: libgs-10.01.1-alt1 sisyphus+318450.100.1.1 1681389085 installed <13>Jun 3 07:09:16 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503405 installed <13>Jun 3 07:09:16 rpmi: libX11-locales-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664300 installed <13>Jun 3 07:09:16 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233860 installed <13>Jun 3 07:09:16 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Jun 3 07:09:16 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Jun 3 07:09:16 rpmi: libX11-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664302 installed <13>Jun 3 07:09:16 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212413 installed <13>Jun 3 07:09:16 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Jun 3 07:09:16 rpmi: libcairo-1:1.16.0-alt2 sisyphus+312186.100.1.1 1671693945 installed <13>Jun 3 07:09:16 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Jun 3 07:09:16 rpmi: libXcursor-1.2.1-alt1 sisyphus+297765.200.1.1 1649053934 installed <13>Jun 3 07:09:16 rpmi: libcairo-gobject-1:1.16.0-alt2 sisyphus+312186.100.1.1 1671693945 installed <13>Jun 3 07:09:16 rpmi: libXft-2.3.7-alt1 sisyphus+310164.100.1.1 1668680609 installed <13>Jun 3 07:09:16 rpmi: libpango-1.50.14-alt1 sisyphus+316117.100.1.1 1677780554 installed <13>Jun 3 07:09:16 rpmi: librsvg-1:2.56.1-alt1 sisyphus+322219.100.1.1 1685523353 installed <13>Jun 3 07:09:16 rpmi: liblasi-1.1.3-alt3 sisyphus+286812.100.2.1 1633968134 installed <13>Jun 3 07:09:16 rpmi: libXrandr-1.5.3-alt1 sisyphus+310375.100.1.1 1669010698 installed <13>Jun 3 07:09:16 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124180 installed <13>Jun 3 07:09:16 rpmi: libXinerama-1.1.5-alt1 sisyphus+309287.100.1.1 1667213209 installed <13>Jun 3 07:09:16 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Jun 3 07:09:16 rpmi: libGLX-mesa-4:23.0.4-alt1 sisyphus+322273.100.1.1 1685617997 installed <13>Jun 3 07:09:16 rpmi: libEGL-mesa-4:23.0.4-alt1 sisyphus+322273.100.1.1 1685617997 installed <13>Jun 3 07:09:16 rpmi: libEGL-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:16 rpmi: libGLX-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:16 rpmi: libGL-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:17 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed <13>Jun 3 07:09:17 rpmi: libXpm-3.5.15-alt1 sisyphus+313628.100.1.1 1674030939 installed <13>Jun 3 07:09:17 rpmi: libgd3-2.3.3-alt1 sisyphus+286379.100.1.1 1633353310 installed <13>Jun 3 07:09:17 rpmi: libXcomposite-0.4.6-alt1 sisyphus+311188.200.1.1 1670233684 installed <13>Jun 3 07:09:17 rpmi: libXdamage-1.1.6-alt1 sisyphus+311188.300.1.1 1670233713 installed <13>Jun 3 07:09:17 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Jun 3 07:09:17 rpmi: libgraphviz-8.0.5-alt2 sisyphus+321693.100.1.3 1684876888 installed <13>Jun 3 07:09:17 rpmi: libImageMagick6.7-6.9.12.73-alt1 sisyphus+314149.100.1.1 1674663601 installed <13>Jun 3 07:09:19 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Jun 3 07:09:20 rpmi: libX11-devel-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664302 installed <13>Jun 3 07:09:20 rpmi: libglvnd-devel-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749008 installed <13>Jun 3 07:09:20 rpmi: libSDL2-devel-2.26.5-alt1 sisyphus+318116.100.1.1 1680766841 installed <13>Jun 3 07:09:20 rpmi: libSDL2_net-devel-2.0.1-alt1 1453488111 installed <13>Jun 3 07:09:20 rpmi: ImageMagick-tools-6.9.12.73-alt1 sisyphus+314149.100.1.1 1674663601 installed <13>Jun 3 07:09:20 rpmi: libcurl-devel-8.1.2-alt1 sisyphus+322142.100.1.1 1685433996 installed <13>Jun 3 07:09:20 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Jun 3 07:09:20 rpmi: libenet-devel-1.3.13-alt2 sisyphus+286881.100.1.1 1634034746 installed <13>Jun 3 07:09:20 rpmi: libopenal-devel-1.22.2-alt1 sisyphus+303860.40.2.1 1658091313 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/7kaa-2.14.7-alt1.nosrc.rpm (w1.gzdio) Installing 7kaa-2.14.7-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.30350 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf 7kaa-2.14.7 + echo 'Source #0 (7kaa-2.14.7.tar):' Source #0 (7kaa-2.14.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/7kaa-2.14.7.tar + cd 7kaa-2.14.7 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.30350 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd 7kaa-2.14.7 + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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 i586-alt-linux-g++... i586-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 i586-alt-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking for i586-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 i586-alt-linux-g++ supports C++11 features by default... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 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 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 OPENAL... yes checking for SDL... yes checking for ENET... yes checking for CURL... 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 src/platform/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: debugging features: no + make -j8 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.14.7/src/enet' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../include" -include "../../include/config.h" -c -o multiplayer.o multiplayer.cpp multiplayer.cpp: In member function 'int MultiPlayer::poll_sessions()': multiplayer.cpp:420:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 420 | if (prev = get_session(m->session_id)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiplayer.cpp: In member function 'void MultiPlayer::do_host_nat_punch(MpMsgHostNatPunch*)': multiplayer.cpp:1291:20: warning: unused variable 'b' [-Wunused-variable] 1291 | ENetBuffer b; | ^ multiplayer.cpp:1292:19: warning: unused variable 'm' [-Wunused-variable] 1292 | MpMsgPing m; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/enet' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/enet' Making all in imgfun Making all in generic make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o CRC.o CRC.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_AR.o IB_AR.cpp IB_AR.cpp: In function 'void IMGbltAreaRemap(char*, int, int, int, char*, int, int, int, int, char*)': IB_AR.cpp:70:77: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | imageBuf[ dest + i ] = colorTable[ bitmapBuf[esi + i] ]; | ~~~~~~~~~~~~~~~~~^ make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_ATD.o IB_ATD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_ATDM.o IB_ATDM.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_AT.o IB_AT.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB2.o IB2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB.o IB.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_R.o IB_R.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_T.o IB_T.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_TD.o IB_TD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_A.o IB_A.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_32.o IB_32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_TDM.o IB_TDM.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_DW.o IB_DW.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_TRD.o IB_TRD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_TRDM.o IB_TRDM.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IJ_T.o IJ_T.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IB_RD.o IB_RD.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IC.o IC.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o IR_BAR.o IR_BAR.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_EMASK.o I_EMASK.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_FONT.o I_FONT.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -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.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_PIXEL.o I_PIXEL.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_LINE.o I_LINE.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_BAR.o I_BAR.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_SNOW.o I_SNOW.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_FREMAP.o I_FREMAP.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_BLACK.o I_BLACK.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../../include" -include "../../../include/config.h" -c -o I_READ.o I_READ.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/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.14.7/src/openal' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../include" -include "../../include/config.h" -I/usr/include/AL -c -o wav_stream.o wav_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/openal' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/openal' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../include" -include "../../include/config.h" -I/usr/include/AL -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 = unsigned int]', declared with attribute 'nodiscard' [-Wunused-result] 259 | attributes[n + 1]; | ^ In file included from /usr/include/c++/12/vector:64, from openal_audio.cpp:25: /usr/include/c++/12/bits/stl_vector.h:1121:7: note: declared here 1121 | operator[](size_type __n) _GLIBCXX_NOEXCEPT | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/openal' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/openal' Making all in platform make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../include" -include "../../include/config.h" -c -o windows.o windows.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' rm -f libplatform.a ar cru libplatform.a windows.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libplatform.a make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' Making all in curl make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/curl' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../../include" -include "../../include/config.h" -c -o WebService.o WebService.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/curl' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/curl' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, from ../include/OUNIT.h:28, from OAI_CAPT.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_CAPT.cpp: In member function 'int Nation::capture_expected_resistance(int, int*)': OAI_CAPT.cpp:228:17: warning: unused variable 'captureRating' [-Wunused-variable] 228 | int captureRating = 0; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o AM.o AM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, from ../include/OBULLET.h:29, from AM.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 AM.cpp:70: ../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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:724:17: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 724 | Nation* nationPtr; | ^~~~~~~~~ OAI_GRAN.cpp:726:25: warning: variable 'ourNationRelation' set but not used [-Wunused-but-set-variable] 726 | NationRelation *ourNationRelation, *enemyNationRelation; | ^~~~~~~~~~~~~~~~~ OAI_GRAN.cpp:726:45: warning: variable 'enemyNationRelation' set but not used [-Wunused-but-set-variable] 726 | NationRelation *ourNationRelation, *enemyNationRelation; | ^~~~~~~~~~~~~~~~~~~ OAI_GRAN.cpp: In member function 'int Nation::think_attack_enemy_firm(int, int)': OAI_GRAN.cpp:829:18: warning: unused variable 'nationPtr' [-Wunused-variable] 829 | Nation *nationPtr = nation_array[enemyNationRecno]; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_MAR2.cpp: In member function 'int Nation::ai_sea_travel3(ActionNode*)': OAI_MAR2.cpp:202:15: warning: variable 'unitCount' set but not used [-Wunused-but-set-variable] 202 | short unitCount; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBLOB.o OBLOB.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OANLINE.o OANLINE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBOX.o OBOX.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OBATTLE.cpp: In member function 'void Battle::create_ai_nation(int)': OBATTLE.cpp:395:21: warning: variable 'nationRecno' set but not used [-Wunused-but-set-variable] 395 | int nationRecno; | ^~~~~~~~~~~ OBATTLE.cpp: At global scope: OBATTLE.cpp:922:12: warning: 'int is_space(int, int, int, int, char)' defined but not used [-Wunused-function] 922 | static int is_space(int xLoc1, int yLoc1, int xLoc2, int yLoc2, char mobileType) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBULLETA.o OBULLETA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBULLET.o OBULLET.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBUTT3D.o OBUTT3D.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBUTTON.o OBUTTON.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OCOLTBL.o OCOLTBL.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ODB.o ODB.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ODATE.o ODATE.cpp ODATE.cpp: In member function 'int DateInfo::get_date(long int, char)': ODATE.cpp:154:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 154 | if (year%4 == 0 && year%100 != 0 || year%400 == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'char* DateInfo::date_str(long int, int)': ODATE.cpp:224:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 224 | if (year%4 == 0 && year%100 != 0 || year%400 == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'int DateInfo::day_year(int, int, int)': ODATE.cpp:285:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 285 | 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:333:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 333 | isLeap = ( year%4 == 0 && year%100 != 0 || year%400 == 0 ) ? 1 : 0 ; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ODIR.o ODIR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OBUTTCUS.o OBUTTCUS.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OEFFECT.o OEFFECT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ODYNARR.o ODYNARR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:43: warning: array subscript has type 'char' [-Wchar-subscripts] 184 | DWORD 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:75: warning: array subscript has type 'char' [-Wchar-subscripts] 444 | DWORD 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:53: warning: array subscript has type 'char' [-Wchar-subscripts] 670 | DWORD 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OFILETXT.o OFILETXT.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OFILE.o OFILE.cpp OFILE.cpp: In member function 'int File::file_read(void*, unsigned int)': OFILE.cpp:248:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | fread(dataBuf, 1, bytesToRead, 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OERROR.o OERROR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:86:19: warning: unused variable 'unitRecno' [-Wunused-variable] 86 | int unitRecno = 0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual void Firm::assign_overseer(int)': OFIRM.cpp:648:21: warning: unused variable 'originalXLoc' [-Wunused-variable] 648 | int originalXLoc = unitPtr->next_x_loc(); | ^~~~~~~~~~~~ OFIRM.cpp:649:21: warning: unused variable 'originalYLoc' [-Wunused-variable] 649 | int originalYLoc = unitPtr->next_y_loc(); | ^~~~~~~~~~~~ OFIRM.cpp:607:13: warning: unused variable 'oldOverseerRecno' [-Wunused-variable] 607 | int oldOverseerRecno = overseer_recno; | ^~~~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual void Firm::assign_worker(int)': OFIRM.cpp:958: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] 958 | 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:1118:25: warning: unused variable 'nationPtr' [-Wunused-variable] 1118 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OFIRM.cpp: In member function 'int Firm::year_expense()': OFIRM.cpp:1863:13: warning: unused variable 'payWorkerCount' [-Wunused-variable] 1863 | int payWorkerCount=0; | ^~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual int Firm::pull_town_people(int, char, int, int)': OFIRM.cpp:2095: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] 2095 | memset( workerPtr, 0, sizeof(Worker) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OFIRM.h:94:8: note: 'struct Worker' declared here 94 | struct Worker | ^~~~~~ OFIRM.cpp:2030:18: warning: unused variable 'popAdded' [-Wunused-variable] 2030 | int i, popAdded=0; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::update_worker()': OFIRM.cpp:2291:29: warning: unused variable 'loopCount' [-Wunused-variable] 2291 | int loopCount=0; | ^~~~~~~~~ OFIRM.cpp: In member function 'int Firm::create_worker_unit(Worker&)': OFIRM.cpp:2442:19: warning: unused variable 'unitInfo' [-Wunused-variable] 2442 | UnitInfo *unitInfo = unit_res[unitId]; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::mobilize_all_workers(char)': OFIRM.cpp:2558:15: warning: unused variable 'loopCount' [-Wunused-variable] 2558 | int loopCount = 0; | ^~~~~~~~~ OFIRM.cpp: In member function 'void Firm::resign_all_worker(int)': OFIRM.cpp:2604:8: warning: unused variable 'loopCount' [-Wunused-variable] 2604 | int loopCount=0, townRecno, raceId; | ^~~~~~~~~ OFIRM.cpp: In member function 'void Firm::think_worker_migrate()': OFIRM.cpp:2705:15: warning: unused variable 'firmXLoc' [-Wunused-variable] 2705 | int firmXLoc = center_x, firmYLoc = center_y; | ^~~~~~~~ OFIRM.cpp:2705:36: warning: unused variable 'firmYLoc' [-Wunused-variable] 2705 | int firmXLoc = center_x, firmYLoc = center_y; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::setup_link()': OFIRM.cpp:3050:43: warning: array subscript has type 'char' [-Wchar-subscripts] 3050 | linked_firm_array[linked_firm_count] = firmRecno; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3051:50: warning: array subscript has type 'char' [-Wchar-subscripts] 3051 | linked_firm_enable_array[linked_firm_count] = defaultLinkStatus; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3068:61: warning: array subscript has type 'char' [-Wchar-subscripts] 3068 | firmPtr->linked_firm_array[firmPtr->linked_firm_count] = firm_recno; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OFIRM.cpp:3069:68: warning: array subscript has type 'char' [-Wchar-subscripts] 3069 | firmPtr->linked_firm_enable_array[firmPtr->linked_firm_count] = defaultLinkStatus; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OFIRM.cpp:3145:43: warning: array subscript has type 'char' [-Wchar-subscripts] 3145 | linked_town_array[linked_town_count] = townRecno; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3146:50: warning: array subscript has type 'char' [-Wchar-subscripts] 3146 | linked_town_enable_array[linked_town_count] = defaultLinkStatus; | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OFIRMAI.o OFIRMAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_basic_info(int, int)': OFIRMIF.cpp:225:13: warning: variable 'sliderX1' set but not used [-Wunused-but-set-variable] 225 | int sliderX1, sliderX2; | ^~~~~~~~ OFIRMIF.cpp:225:23: warning: variable 'sliderX2' set but not used [-Wunused-but-set-variable] 225 | int sliderX1, sliderX2; | ^~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_worker_list(int, int)': OFIRMIF.cpp:362:13: warning: variable 'overseerRaceId' set but not used [-Wunused-but-set-variable] 362 | int overseerRaceId=0; | ^~~~~~~~~~~~~~ OFIRMIF.cpp: In member function 'int Firm::detect_worker_list()': OFIRMIF.cpp:487:13: warning: unused variable 'liveInTown' [-Wunused-variable] 487 | int liveInTown = firm_res[firm_id]->live_in_town; | ^~~~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_worker_info(int, int)': OFIRMIF.cpp:580:48: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 580 | if( lastSelected != selected_worker_id > 0 ) | ~~~~~~~~~~~~~~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OFLAME.o OFLAME.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::ai_recruit(int)': OF_CAMP2.cpp:431:17: warning: unused variable 'loopCount' [-Wunused-variable] 431 | int loopCount=0; | ^~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::ai_combat_level_needed()': OF_CAMP2.cpp:493:17: warning: unused variable 'nationPtr' [-Wunused-variable] 493 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::think_capture_target_town()': OF_CAMP2.cpp:735:15: warning: unused variable 'prefPeacefulness' [-Wunused-variable] 735 | int prefPeacefulness = nation_array[nation_recno]->pref_peacefulness; | ^~~~~~~~~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::think_capture_use_spy(Town*)': OF_CAMP2.cpp:1001:17: warning: unused variable 'ownNation' [-Wunused-variable] 1001 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:657:19: warning: unused variable 'overseerRaceInfo' [-Wunused-variable] 657 | RaceInfo* overseerRaceInfo = race_res[overseerUnit->race_id]; | ^~~~~~~~~~~~~~~~ OF_CAMP.cpp: In member function 'void FirmCamp::patrol()': OF_CAMP.cpp:880:52: warning: array subscript has type 'char' [-Wchar-subscripts] 880 | patrol_unit_array[patrol_unit_count++] = overseerRecno; | ~~~~~~~~~~~~~~~~~^~ OF_CAMP.cpp: In member function 'int FirmCamp::patrol_all_soldier()': OF_CAMP.cpp:935:60: warning: array subscript has type 'char' [-Wchar-subscripts] 935 | patrol_unit_array[patrol_unit_count++] = unitRecno; | ~~~~~~~~~~~~~~~~~^~ OF_CAMP.cpp: In member function 'void FirmCamp::defense(short int, int)': OF_CAMP.cpp:1035:13: warning: unused variable 'numOfUnitInside' [-Wunused-variable] 1035 | int numOfUnitInside = worker_count + (overseer_recno>0); | ^~~~~~~~~~~~~~~ OF_CAMP.cpp: At global scope: OF_CAMP.cpp:62:13: warning: 'void disp_debug_info(FirmCamp*, int)' declared 'static' but never defined [-Wunused-function] 62 | static void disp_debug_info(FirmCamp* firmPtr, int refreshFlag); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 'void FirmHarbor::detect_build_menu()': OF_HARB.cpp:815:34: warning: unused variable 'x' [-Wunused-variable] 815 | int unitId, x=INFO_X1+2, y=INFO_Y1, rc, quitFlag; | ^ OF_HARB.cpp:816:19: warning: variable 'unitInfo' set but not used [-Wunused-but-set-variable] 816 | UnitInfo* unitInfo; | ^~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::disp_build_info(int)': OF_HARB.cpp:1006:13: warning: unused variable 'dispY1' [-Wunused-variable] 1006 | int dispY1 = INFO_Y1+26; | ^~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::update_linked_firm_info()': OF_HARB.cpp:1164:59: warning: array subscript has type 'char' [-Wchar-subscripts] 1164 | linked_mine_array[linked_mine_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~ OF_HARB.cpp:1173:62: warning: array subscript has type 'char' [-Wchar-subscripts] 1173 | linked_factory_array[linked_factory_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~~~~ OF_HARB.cpp:1182:61: warning: array subscript has type 'char' [-Wchar-subscripts] 1182 | linked_market_array[linked_market_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~~~ OF_HARB.cpp:1147:17: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 1147 | Nation *nationPtr; | ^~~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::add_queue(int, int)': OF_HARB.cpp:1224:52: warning: array subscript has type 'char' [-Wchar-subscripts] 1224 | build_queue_array[build_queue_count++] = unitId; | ~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:111:13: warning: unused variable 'loopCount' [-Wunused-variable] 111 | int loopCount=0; | ^~~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::disp_monster_info(int, int)': OF_MONS.cpp:180:13: warning: unused variable 'x' [-Wunused-variable] 180 | int x=INFO_X1+4, y=dispY1+3; | ^ OF_MONS.cpp:180:26: warning: unused variable 'y' [-Wunused-variable] 180 | int x=INFO_X1+4, y=dispY1+3; | ^ OF_MONS.cpp: In member function 'virtual void FirmMonster::assign_unit(int)': OF_MONS.cpp:308:19: warning: unused variable 'unitInfo' [-Wunused-variable] 308 | UnitInfo* unitInfo = unit_res[unitPtr->unit_id]; | ^~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::add_general(int)': OF_MONS.cpp:358:19: warning: unused variable 'unitInfo' [-Wunused-variable] 358 | UnitInfo* unitInfo = unit_res[unitPtr->unit_id]; | ^~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::add_soldier(int)': OF_MONS.cpp:427:60: warning: array subscript has type 'char' [-Wchar-subscripts] 427 | 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:557:68: warning: array subscript has type 'char' [-Wchar-subscripts] 557 | patrol_unit_array[patrol_unit_count++] = unitRecno; | ~~~~~~~~~~~~~~~~~^~ OF_MONS.cpp: In member function 'int FirmMonster::think_attack_neighbor()': OF_MONS.cpp:909:41: warning: unused variable 'totalCombatLevel' [-Wunused-variable] 909 | int totalCombatLevel=0; | ^~~~~~~~~~~~~~~~ OF_MONS.cpp: In member function 'int FirmMonster::think_attack_human()': OF_MONS.cpp:1071:41: warning: unused variable 'totalCombatLevel' [-Wunused-variable] 1071 | int totalCombatLevel=0; | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_MARK2.cpp: In member function 'virtual void FirmMarket::ai_update_link_status()': OF_MARK2.cpp:191:17: warning: unused variable 'nationPtr' [-Wunused-variable] 191 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_MARK2.cpp: In member function 'int FirmMarket::think_import_specific_product(int)': OF_MARK2.cpp:415:25: warning: unused variable 'canHireCaravan' [-Wunused-variable] 415 | int canHireCaravan = can_hire_caravan(); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 void FirmMarket::detect_info()': OF_MARK.cpp:287:46: warning: unused variable 'marketGoods' [-Wunused-variable] 287 | MarketGoods* marketGoods = market_goods_array+i; | ^~~~~~~~~~~ OF_MARK.cpp: In member function 'short int FirmMarket::hire_caravan(char)': OF_MARK.cpp:344:17: warning: unused variable 'nationPtr' [-Wunused-variable] 344 | Nation *nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGAMCRED.o OGAMCRED.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:592:15: warning: unused variable 'techId' [-Wunused-variable] 592 | short techId = tech_id; // backup tech_id | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGAMESET.o OGAMESET.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 'void FirmWar::detect_build_menu()': OF_WAR.cpp:295:34: warning: unused variable 'x' [-Wunused-variable] 295 | int unitId, x=INFO_X1+2, y=INFO_Y1, rc, quitFlag; | ^ OF_WAR.cpp:296:19: warning: variable 'unitInfo' set but not used [-Wunused-but-set-variable] 296 | UnitInfo* unitInfo; | ^~~~~~~~ OF_WAR.cpp: In member function 'void FirmWar::add_queue(int, int)': OF_WAR.cpp:602:52: warning: array subscript has type 'char' [-Wchar-subscripts] 602 | build_queue_array[build_queue_count++] = unitId; | ~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGAMMAIN.o OGAMMAIN.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/OGFILE.h:36, from OGAMMAIN.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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In constructor 'MpStructLoadGameNewPlayer::MpStructLoadGameNewPlayer(Nation*, DWORD, long int, char*, char*)': OGAMEMP.cpp:339:15: warning: 'MpStructLoadGameNewPlayer::random_seed' will be initialized after [-Wreorder] 339 | long random_seed; | ^~~~~~~~~~~ OGAMEMP.cpp:331:18: warning: 'uint32_t MpStructLoadGameNewPlayer::ver1' [-Wreorder] 331 | uint32_t ver1; | ^~~~ OGAMEMP.cpp:343:9: warning: when initialized here [-Wreorder] 343 | MpStructLoadGameNewPlayer(Nation *n, DWORD frame, long seed, char *name, char *pass) : | ^~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::input_name_pass(const char**, char*, int, char*, int)': OGAMEMP.cpp:1673:13: warning: variable 'titleWidth' set but not used [-Wunused-but-set-variable] 1673 | int titleWidth, titleHeight, fieldDesWidth, field_x_pos, boxWidth, boxHeight, buttonWidth1, ret; | ^~~~~~~~~~ OGAMEMP.cpp:1673:53: warning: variable 'field_x_pos' set but not used [-Wunused-but-set-variable] 1673 | 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:3636:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3636 | if( keyCode = mapIdField.detect() ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::mp_select_load_option(char*)': OGAMEMP.cpp:5599:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5599 | !nationPtr->is_own() && !nationPtr->is_remote() || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp:4319:18: warning: variable 'hostPlayerId' set but not used [-Wunused-but-set-variable] 4319 | PID_TYPE hostPlayerId = 0; | ^~~~~~~~~~~~ OGAMEMP.cpp:4334:13: warning: unused variable 'shareRace' [-Wunused-variable] 4334 | int shareRace = 1; // host only, 0= exclusive race of each player | ^~~~~~~~~ OGAMEMP.cpp: At global scope: OGAMEMP.cpp:527:13: warning: 'void ingame_disconnect_handler(DWORD)' defined but not used [-Wunused-function] 527 | static void ingame_disconnect_handler(DWORD playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp:506:13: warning: 'void pregame_disconnect_handler(DWORD)' defined but not used [-Wunused-function] 506 | static void pregame_disconnect_handler(DWORD playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGFILE.h:36, from OGAMSCEN.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/ALL.h:33, from ../include/OSYS.h:27, from OGAMSCEN.cpp:25: OGAMSCEN.cpp: In member function 'int Game::run_scenario(ScenInfo*)': OGAMSCEN.cpp:138:44: warning: array subscript has type 'char' [-Wchar-subscripts] 138 | str = DIR_SCENARIO_PATH(scenInfo->dir_id); | ~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:83:55: note: in definition of macro 'DIR_SCENARIO_PATH' 83 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 ../include/OGFILE.h:36, from OGAMEND.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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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: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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 member function 'int GameFile::read_file(File*)': OGFILE2.cpp:191:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 191 | if( game_file_array.demo_format && game_file_array.load_file_game_version > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp:186:13: warning: unused variable 'originalRandomSeed' [-Wunused-variable] 186 | int originalRandomSeed = misc.get_random_seed(); | ^~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In member function 'int TownRes::read_file(File*)': OGFILE2.cpp:911: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] 911 | memset(town_name_used_array, 0, sizeof(town_name_used_array)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In member function 'int GodRes::read_file(File*)': OGFILE2.cpp:1100: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] 1100 | memset(god_info_array, 0, sizeof(god_info_array)); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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/ALL.h:33, from ../include/OSYS.h:27, from OGAMSCE2.cpp:25: OGAMSCE2.cpp: In member function 'int Game::select_scenario(int, ScenInfo*)': OGAMSCE2.cpp:235:83: warning: array subscript has type 'char' [-Wchar-subscripts] 235 | pathName = DIR_SCENARIO_PATH(scenInfoArray[browseRecno-1].dir_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:83:55: note: in definition of macro 'DIR_SCENARIO_PATH' 83 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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: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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGETA.o OGETA.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:52:13: warning: 'option_mode' defined but not used [-Wunused-variable] 52 | static char option_mode; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGFILEA.o OGFILEA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGFILEA.cpp:44: ../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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILEA.cpp: In member function 'void GameFile::disp_info(int, int)': OGFILEA.cpp:654:18: warning: unused variable 'localFileTime' [-Wunused-variable] 654 | FILETIME localFileTime; | ^~~~~~~~~~~~~ OGFILEA.cpp: At global scope: OGFILEA.cpp:1001:13: warning: 'void key_search()' defined but not used [-Wunused-function] 1001 | static void key_search() | ^~~~~~~~~~ OGFILEA.cpp:973:12: warning: 'int last_game_recno()' defined but not used [-Wunused-function] 973 | static int last_game_recno() | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGFILE3.o OGFILE3.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE3.cpp: In function 'bool read_version_1_nation(File*, Version_1_Nation*)': OGFILE3.cpp:1704:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class DynArray'; use assignment instead [-Wclass-memaccess] 1704 | memset(&v1n->action_array, 0, sizeof(v1n->action_array)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ODYNARRB.h:28, from ../include/OSPRITE.h:28: ../include/ODYNARR.h:52:7: note: 'class DynArray' declared here 52 | class DynArray | ^~~~~~~~ OGFILE3.cpp: In function 'bool read_nation(File*, Nation*)': OGFILE3.cpp:1950:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class DynArray'; use assignment instead [-Wclass-memaccess] 1950 | memset(&nat->action_array, 0, sizeof(nat->action_array)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ODYNARR.h:52:7: note: 'class DynArray' declared here 52 | class DynArray | ^~~~~~~~ OGFILE3.cpp: At global scope: OGFILE3.cpp:54:14: warning: 'char* create_monster_func()' declared 'static' but never defined [-Wunused-function] 54 | static char* create_monster_func(); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OGRPSEL.o OGRPSEL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OIMGRES.o OIMGRES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OLOG.o OLOG.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OLONGLOG.o OLONGLOG.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OLZW.o OLZW.cpp OLZW.cpp: In member function 'virtual short unsigned int BitFileRead::input_bits(unsigned int)': OLZW.cpp:125:31: warning: comparison of integer expressions of different signedness: 'long int' and '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:173:31: warning: comparison of integer expressions of different signedness: 'int' and '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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OMEM.o OMEM.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OMATRIX.o OMATRIX.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 OMATRIX.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 OMATRIX.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 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:232:14: warning: unused variable 'saveSize' [-Wunused-variable] 232 | long saveSize = (long)(x2-x1+1) * (y2-y1+1); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:395:13: warning: unused variable 'x' [-Wunused-variable] 395 | int x=TOP_MENU_X2-250; | ^ OINFO.cpp: At global scope: OINFO.cpp:53:20: warning: 'skill_name_array' defined but not used [-Wunused-variable] 53 | static const char* skill_name_array[] = | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OMISC.o OMISC.cpp In file included from ../include/ALL.h:29, from OMISC.cpp:39: ../include/win32_compat.h:75: warning: "_rotr" redefined 75 | #define _rotr(value,shift) (value<>(32-shift)) | In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/immintrin.h:27, from /usr/include/SDL2/SDL_cpuinfo.h:111, from /usr/include/SDL2/SDL.h:38, from OMISC.cpp:31: /usr/lib/gcc/i586-alt-linux/12/include/ia32intrin.h:317: note: this is the location of the previous definition 317 | #define _rotr(a,b) __rord((a), (b)) | OMISC.cpp: In member function 'int Misc::valid_char(char)': OMISC.cpp:526:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 526 | return ( ch>='a' && ch<='z' || | ~~~~~~~~^~~~~~~~~~ OMISC.cpp:528:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 528 | ch>='0' && ch<='9' || | ~~~~~~~~^~~~~~~~~~ OMISC.cpp: In member function 'int Misc::str_icmpx(const char*, const char*)': OMISC.cpp:608:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 608 | register int a,b; | ^ OMISC.cpp:608:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 608 | register int a,b; | ^ OMISC.cpp: In member function 'int Misc::atoi(char*, int)': OMISC.cpp:932:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | if ( strLen >= sizeof( str_buf ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OINGMENU.cpp: In member function 'void InGameMenu::disp(int)': OINGMENU.cpp:133:11: warning: unused variable 'x' [-Wunused-variable] 133 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OINGMENU.cpp:133:30: warning: unused variable 'y' [-Wunused-variable] 133 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OINGMENU.cpp: In member function 'int InGameMenu::detect()': OINGMENU.cpp:176:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 176 | (menu_hot_key[i-1] && mouse.key_code == menu_hot_key[i-1] || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OLIGHTN2.o OLIGHTN2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMONSRES.cpp: In member function 'void MonsterRes::init_active_monster()': OMONSRES.cpp:130:13: warning: unused variable 'loopCount' [-Wunused-variable] 130 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OMP_CRC.o OMP_CRC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, from ../include/OUNIT.h:28, from ../include/OU_GOD.h:28, 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 UCHAR Sprite::crc8()': OMP_CRC.cpp:99:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class Sprite' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 99 | memcpy(&dummySprite, this, sizeof(Sprite)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h:58:7: note: 'class Sprite' declared here 58 | class Sprite | ^~~~~~ OMP_CRC.cpp: In member function 'virtual UCHAR Unit::crc8()': OMP_CRC.cpp:122:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class Unit' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 122 | memcpy(&dummyUnit, this, sizeof(Unit)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OUNIT.h:205:7: note: 'class Unit' declared here 205 | class Unit : public Sprite | ^~~~ OMP_CRC.cpp: In member function 'virtual UCHAR UnitGod::crc8()': OMP_CRC.cpp:165:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class UnitGod' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 165 | memcpy(&dummyUnitGod, this, sizeof(UnitGod)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OU_GOD.h:38:7: note: 'class UnitGod' declared here 38 | class UnitGod : public Unit | ^~~~~~~ OMP_CRC.cpp: In member function 'virtual UCHAR UnitVehicle::crc8()': OMP_CRC.cpp:197:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class UnitVehicle' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 197 | memcpy(&dummyUnitVehicle, this, sizeof(UnitVehicle)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMP_CRC.cpp:27: ../include/OU_VEHI.h:34:7: note: 'class UnitVehicle' declared here 34 | class UnitVehicle : public Unit | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual UCHAR UnitMonster::crc8()': OMP_CRC.cpp:220:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class UnitMonster' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 220 | memcpy(&dummyUnitMonster, this, sizeof(UnitMonster)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMP_CRC.cpp:28: ../include/OU_MONS.h:40:7: note: 'class UnitMonster' declared here 40 | class UnitMonster : public Unit | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual UCHAR UnitExpCart::crc8()': OMP_CRC.cpp:243:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class UnitExpCart' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 243 | memcpy(&dummyUnitExpCart, this, sizeof(UnitExpCart)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMP_CRC.cpp:29: ../include/OU_CART.h:30:7: note: 'class UnitExpCart' declared here 30 | class UnitExpCart : public Unit | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual UCHAR UnitMarine::crc8()': OMP_CRC.cpp:266:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class UnitMarine' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 266 | memcpy(&dummyUnitMarine, this, sizeof(UnitMarine)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMP_CRC.cpp:30: ../include/OU_MARI.h:74:7: note: 'class UnitMarine' declared here 74 | class UnitMarine : public Unit | ^~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void UnitMarine::clear_ptr()': OMP_CRC.cpp:280: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] 280 | memset(&splash, 0, sizeof(splash)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPRITE.h:58:7: note: 'class Sprite' declared here 58 | class Sprite | ^~~~~~ OMP_CRC.cpp:57:32: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 57 | #define RTRIM_ARRAY(a,s) { if(sTERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ORAIN2.o ORAIN2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OPOWER.o OPOWER.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_frame()': OPOWER.cpp:420:29: warning: unused variable 'mouseX' [-Wunused-variable] 420 | int mouseX = mouse.click_x(LEFT_BUTTON); | ^~~~~~ OPOWER.cpp:421:29: warning: unused variable 'mouseY' [-Wunused-variable] 421 | int mouseY = mouse.click_y(LEFT_BUTTON); | ^~~~~~ OPOWER.cpp:245:19: warning: unused variable 'selectedCount' [-Wunused-variable] 245 | int rc=0, selectedCount=0; | ^~~~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_action()': OPOWER.cpp:718:47: warning: variable 'selectedUnit' set but not used [-Wunused-but-set-variable] 718 | Unit *selectedUnit; | ^~~~~~~~~~~~ OPOWER.cpp:702:29: warning: unused variable 'assignedFlag' [-Wunused-variable] 702 | int assignedFlag=0; | ^~~~~~~~~~~~ OPOWER.cpp:554:26: warning: variable 'targetWall' set but not used [-Wunused-but-set-variable] 554 | char targetWall=0; | ^~~~~~~~~~ OPOWER.cpp:555:26: warning: unused variable 'mobileType' [-Wunused-variable] 555 | int mobileType = activeUnit->mobile_type; // mobile type of the selected units | ^~~~~~~~~~ OPOWER.cpp:557:26: warning: unused variable 'nationRecno' [-Wunused-variable] 557 | short nationRecno = activeUnit->nation_recno; | ^~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_select(int, int, int, int, int, int)': OPOWER.cpp:1169:61: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1169 | for( int mt = 0; mt < sizeof(mobileTypeList)/sizeof(char); ++mt ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp:1185:92: warning: array subscript has type 'char' [-Wchar-subscripts] 1185 | selectNationCount[unitPtr->nation_recno]++; | ~~~~~~~~~^~~~~~~~~~~~ OPOWER.cpp:1207:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1207 | for( int mt = 0; mt < sizeof(mobileTypeList)/sizeof(char); ++mt ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp:1019:13: warning: unused variable 'firstXLoc' [-Wunused-variable] 1019 | int firstXLoc = selXLoc1, firstYLoc = selYLoc1; // first location to be tested | ^~~~~~~~~ OPOWER.cpp:1019:35: warning: unused variable 'firstYLoc' [-Wunused-variable] 1019 | int firstXLoc = selXLoc1, firstYLoc = selYLoc1; // first location to be tested | ^~~~~~~~~ OPOWER.cpp:1050:25: warning: unused variable 'firstTest' [-Wunused-variable] 1050 | int firstTest=0; | ^~~~~~~~~ OPOWER.cpp: In member function 'int Power::choose_cursor(int, int, ScreenObjectType, short int, ScreenObjectType, short int)': OPOWER.cpp:1827:47: warning: unused variable 'townPtr' [-Wunused-variable] 1827 | Town *townPtr = town_array[selectedObjectRecno]; | ^~~~~~~ OPOWER.cpp:1487:13: warning: variable 'pointingObjectId' set but not used [-Wunused-but-set-variable] 1487 | int pointingObjectId = 0; | ^~~~~~~~~~~~~~~~ OPOWER.cpp: In member function 'ScreenObjectType Power::find_selected_type(short int*)': OPOWER.cpp:2132:23: warning: unused variable 'sitePtr' [-Wunused-variable] 2132 | Site *sitePtr = site_array[*selectedRecno = site_array.selected_recno]; | ^~~~~~~ OPOWER.cpp: In member function 'ScreenObjectType Power::find_pointing_type(Location*, short int*)': OPOWER.cpp:2202:23: warning: unused variable 'sitePtr' [-Wunused-variable] 2202 | Site *sitePtr = site_array[*pointingRecno = locPtr->site_recno()]; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ORES.o ORES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ORESDB.o ORESDB.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o ORESX.o ORESX.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OREBEL.o OREBEL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OROCK.o OROCK.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OREMOTE.o OREMOTE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OREMOTE.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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTE.cpp: At global scope: OREMOTE.cpp:224:13: warning: 'void connect_game_disconnect_handler(DWORD)' defined but not used [-Wunused-function] 224 | static void connect_game_disconnect_handler(DWORD playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OREMOTEM.o OREMOTEM.cpp OREMOTEM.cpp:1545:18: warning: "/*" within comment [-Wcomment] 1545 | /* //**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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::new_nation()': OREMOTEM.cpp:250:13: warning: unused variable 'nationRecno' [-Wunused-variable] 250 | 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:1744:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1744 | && (shortPtr[2] == 0 && firmPtr->overseer_recno || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::firm_reward()': OREMOTEM.cpp:1840:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1840 | if( shortPtr[1] == 0 && firmPtr->overseer_recno || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:74:45: warning: 'total_peasant' defined but not used [-Wunused-variable] 74 | static int total_population, total_peasant; | ^~~~~~~~~~~~~ OR_AI.cpp:74:27: warning: 'total_population' defined but not used [-Wunused-variable] 74 | static int total_population, total_peasant; | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OREMOTE2.o OREMOTE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OREMOTE2.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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTE2.cpp: In member function 'int Remote::poll_msg()': OREMOTE2.cpp:283:15: warning: unused variable 'loopCount' [-Wunused-variable] 283 | int loopCount=0; | ^~~~~~~~~ OREMOTE2.cpp: In member function 'void Remote::process_receive_queue()': OREMOTE2.cpp:400:13: warning: variable 'loopCount' set but not used [-Wunused-but-set-variable] 400 | int loopCount=0; | ^~~~~~~~~ OREMOTE2.cpp: In member function 'void Remote::process_specific_msg(DWORD)': OREMOTE2.cpp:516:13: warning: unused variable 'loopCount' [-Wunused-variable] 516 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:420:17: warning: unused variable 'nationPtr' [-Wunused-variable] 420 | Nation* nationPtr = nation_array[info.viewing_nation_recno]; | ^~~~~~~~~ OR_MIL.cpp: In function 'void put_unit_rec(int, int, int, int)': OR_MIL.cpp:456:18: warning: unused variable 'unitId' [-Wunused-variable] 456 | int unitId = unit_filter(recNo); | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NAT.cpp: In function 'void disp_debug_info()': OR_NAT.cpp:656:13: warning: unused variable 'refreshFlag' [-Wunused-variable] 656 | int refreshFlag = INFO_REPAINT; | ^~~~~~~~~~~ OR_NAT.cpp: In function 'void disp_nation_chat(int)': OR_NAT.cpp:909:92: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 909 | if( !(sys.debug_session || nation_array[nationRecno]->nation_type == NATION_REMOTE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 910 | info.viewing_nation_recno == nation_array.player_recno ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NAT.cpp: In function 'void detect_nation_chat()': OR_NAT.cpp:965:90: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 965 | if( sys.debug_session || nation_array[nationRecno]->nation_type == NATION_REMOTE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 966 | info.viewing_nation_recno == nation_array.player_recno ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSE.o OSE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSFRMRES.o OSFRMRES.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSKILL.o OSKILL.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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: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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_RANK.cpp: In member function 'void Info::set_rank_data(int)': OR_RANK.cpp:424:19: warning: unused variable 'rankPos' [-Wunused-variable] 424 | int rankPos=0; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSNOW2.o OSNOW2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSNOW1.o OSNOW1.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:134:8: note: 'struct SpriteInfo' declared here 134 | struct SpriteInfo | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSPRITE2.o OSPRITE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSTR.o OSTR.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSYS3.o OSYS3.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OTALKFRE.o OTALKFRE.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSPRITEA.o OSPRITEA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OTALKGER.o OTALKGER.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSPY.o OSPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OTALKSPA.o OTALKSPA.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OSPYA.o OSPYA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPYA.cpp: In member function 'int SpyArray::add_spy(int, int)': OSPYA.cpp:104:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Spy'; use assignment or value-initialization instead [-Wclass-memaccess] 104 | memset( &spy, 0, sizeof(spy) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSPYA.cpp:37: ../include/OSPY.h:55:7: note: 'class Spy' declared here 55 | class Spy | ^~~ OSPYA.cpp: In member function 'int SpyArray::add_spy()': OSPYA.cpp:146:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Spy'; use assignment or value-initialization instead [-Wclass-memaccess] 146 | memset( &spy, 0, sizeof(spy) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../include/OSPY.h:55:7: note: 'class Spy' declared here 55 | class Spy | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTALKMSG.cpp: In member function 'void TalkMsg::process_accepted_reply()': OTALKMSG.cpp:145: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] 145 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTALKMSG.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:174: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] 174 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:185: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] 185 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:196: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] 196 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:287:13: warning: unused variable 'loopCount' [-Wunused-variable] 287 | int loopCount=0; | ^~~~~~~~~ OTALKMSG.cpp: In member function 'int TalkMsg::is_valid_to_disp(int)': OTALKMSG.cpp:436:17: warning: unused variable 'toNation' [-Wunused-variable] 436 | Nation* toNation = nation_array[to_nation_recno]; | ^~~~~~~~ OTALKMSG.cpp:437:17: warning: unused variable 'fromNation' [-Wunused-variable] 437 | Nation* fromNation = nation_array[from_nation_recno]; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS2.cpp: In member function 'void Sys::disp_zoom()': OSYS2.cpp:991:22: warning: unused variable 'backupSeed' [-Wunused-variable] 991 | long backupSeed = misc.get_random_seed(); | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::init()': OTALKRES.cpp:70: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] 70 | 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:92: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] 92 | 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:115:17: warning: unused variable 'playerNation' [-Wunused-variable] 115 | Nation* playerNation = ~nation_array; | ^~~~~~~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::add_main_choices()': OTALKRES.cpp:229:13: warning: unused variable 'relationStatus' [-Wunused-variable] 229 | 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:701: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] 701 | 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGFILE.h:36, from OSYS.cpp:45: ../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 OSYS.cpp:71: ../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:153: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] 153 | memset(this, 0, sizeof(Sys) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSYS.cpp:58: ../include/OSYS.h:79:7: note: 'class Sys' declared here 79 | class Sys | ^~~ OSYS.cpp: In member function 'void Sys::main_loop(int)': OSYS.cpp:804:77: warning: unused variable 'x2' [-Wunused-variable] 804 | int x2 = font_news.put( x, y, newsStr ); | ^~ OSYS.cpp: In member function 'int Sys::chdir_to_game_dir()': OSYS.cpp:2685:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2685 | chdir(env_data_path); | ~~~~~^~~~~~~~~~~~~~~ OSYS.cpp:2694:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2694 | chdir(bundle_resources_path.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS.cpp:2701:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2701 | chdir(PACKAGE_DATA_PATH); | ~~~~~^~~~~~~~~~~~~~~~~~~ OSYS.cpp: At global scope: OSYS.cpp:505:13: warning: 'void test_lzw()' defined but not used [-Wunused-function] 505 | static void test_lzw() | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OTORNADO.o OTORNADO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:752:32: warning: unused variable 'rebelPtr' [-Wunused-variable] 752 | Rebel* rebelPtr = rebel_array[rebel_recno]; | ^~~~~~~~ OTOWN.cpp: In member function 'void Town::population_grow()': OTOWN.cpp:1119:21: warning: unused variable 'loopCount' [-Wunused-variable] 1119 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::update_target_loyalty()': OTOWN.cpp:1245:47: warning: variable 'commanderRaceId' set but not used [-Wunused-but-set-variable] 1245 | int baseInfluence, thisInfluence, commanderRaceId; | ^~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::think_migrate()': OTOWN.cpp:2225:29: warning: unused variable 'loopCount' [-Wunused-variable] 2225 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::being_attacked(int, float)': OTOWN.cpp:2659:21: warning: unused variable 'loopCount' [-Wunused-variable] 2659 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'int Town::unjob_town_people(int, int, int)': OTOWN.cpp:3031:13: warning: unused variable 'racePop' [-Wunused-variable] 3031 | int racePop = jobless_race_pop_array[raceId-1]; | ^~~~~~~ OTOWN.cpp: In member function 'void Town::setup_link()': OTOWN.cpp:3311:61: warning: array subscript has type 'char' [-Wchar-subscripts] 3311 | firmPtr->linked_town_array[firmPtr->linked_town_count] = town_recno; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OTOWN.cpp:3312:68: warning: array subscript has type 'char' [-Wchar-subscripts] 3312 | firmPtr->linked_town_enable_array[firmPtr->linked_town_count] = defaultLinkStatus; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::auto_set_layout()': OTOWN.cpp:3776:29: warning: unused variable 'loopCount' [-Wunused-variable] 3776 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::get_most_populated_race(int&, int&)': OTOWN.cpp:4116:31: warning: variable 'mostRacePop2' set but not used [-Wunused-but-set-variable] 4116 | int mostRacePop1=0, mostRacePop2=0; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:319:13: warning: unused variable 'loopCount' [-Wunused-variable] 319 | int loopCount=0; | ^~~~~~~~~ OTOWNA.cpp: In member function 'void TownArray::draw_dot()': OTOWNA.cpp:522:21: warning: variable 'townLayout' set but not used [-Wunused-but-set-variable] 522 | TownLayout* townLayout; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OTownNetwork.o OTownNetwork.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWNIND.cpp: In member function 'int Town::form_new_nation()': OTOWNIND.cpp:264:45: warning: unused variable 'loopCount' [-Wunused-variable] 264 | int loopCount=0; // no spying skill | ^~~~~~~~~ OTOWNIND.cpp: In member function 'int Town::independent_unit_join_nation(int, int)': OTOWNIND.cpp:423:37: warning: unused variable 'loopCount' [-Wunused-variable] 423 | int loopCount=0; // no spying skill | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:663:13: warning: unused variable 'dispY1' [-Wunused-variable] 663 | int dispY1 = INFO_Y1+26; | ^~~~~~ OTOWNIF.cpp: In member function 'void Town::disp_train_menu(int)': OTOWNIF.cpp:852:21: warning: unused variable 'x' [-Wunused-variable] 852 | int x=INFO_X1, y=INFO_Y1+24; | ^ OTOWNIF.cpp: In member function 'void Town::detect_train_menu()': OTOWNIF.cpp:993:17: warning: unused variable 'x' [-Wunused-variable] 993 | int x=INFO_X1+2, y=INFO_Y1+24, rc, quitFlag; | ^ OTOWNIF.cpp: In member function 'void Town::disp_auto_menu(int)': OTOWNIF.cpp:1086:17: warning: unused variable 'nationPtr' [-Wunused-variable] 1086 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OTOWNIF.cpp: In member function 'void Town::process_queue()': OTOWNIF.cpp:1903:53: warning: array subscript has type 'char' [-Wchar-subscripts] 1903 | if(can_train(train_queue_race_array[i])) | ^ OTOWNIF.cpp:1905:59: warning: array subscript has type 'char' [-Wchar-subscripts] 1905 | skillId = train_queue_skill_array[i]; | ^ OTOWNIF.cpp:1906:57: warning: array subscript has type 'char' [-Wchar-subscripts] 1906 | raceId = train_queue_race_array[i]; | ^ OTOWNIF.cpp: In member function 'void Town::add_queue(char, char, int)': OTOWNIF.cpp:1938:41: warning: array subscript has type 'char' [-Wchar-subscripts] 1938 | train_queue_skill_array[train_queue_count] = skillId; | ^~~~~~~~~~~~~~~~~ OTOWNIF.cpp:1939:57: warning: array subscript has type 'char' [-Wchar-subscripts] 1939 | train_queue_race_array[train_queue_count++] = raceId; | ~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:241:26: warning: unused variable 'loopCount' [-Wunused-variable] 241 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNIT.cpp: In member function 'void Unit::update_loyalty()': OUNIT.cpp:1116:19: warning: unused variable 'rc' [-Wunused-variable] 1116 | int rc=0; | ^~ OUNIT.cpp: In member function 'int Unit::think_betray()': OUNIT.cpp:1285:13: warning: unused variable 'unitRecno' [-Wunused-variable] 1285 | int unitRecno = sprite_recno; | ^~~~~~~~~ OUNIT.cpp: In member function 'int Unit::betray(int)': OUNIT.cpp:1463:26: warning: unused variable 'nationReputation' [-Wunused-variable] 1463 | int i, nationReputation = (int) nation_array[nation_recno]->reputation; | ^~~~~~~~~~~~~~~~ OUNIT.cpp:1390:13: warning: unused variable 'unitRecno' [-Wunused-variable] 1390 | int unitRecno = sprite_recno; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITA.cpp: In member function 'void UnitArray::disappear_in_firm(int)': OUNITA.cpp:235:15: warning: unused variable 'unitPtr' [-Wunused-variable] 235 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ OUNITA.cpp: In member function 'void UnitArray::draw_dot()': OUNITA.cpp:413:51: warning: array subscript has type 'char' [-Wchar-subscripts] 413 | nationColorArray[unitPtr->nation_recno] : | ~~~~~~~~~^~~~~~~~~~~~ OUNITA.cpp:414:52: warning: array subscript has type 'char' [-Wchar-subscripts] 414 | excitedColorArray[unitPtr->nation_recno][sys.frame_count % excitedColorCount]; | ~~~~~~~~~^~~~~~~~~~~~ OUNITA.cpp: At global scope: OUNITA.cpp:527:13: warning: 'void put_profile(int, const char*, int)' defined but not used [-Wunused-function] 527 | static void put_profile(int y, const char* dispDes, int dispValue) | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:537:25: warning: unused variable 'firmNeedUnit' [-Wunused-variable] 537 | 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:845:13: warning: unused variable 'found' [-Wunused-variable] 845 | int found=0, foundAgain=0; | ^~~~~ OUNITAC.cpp:845:22: warning: unused variable 'foundAgain' [-Wunused-variable] 845 | int found=0, foundAgain=0; | ^~~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::process_build_firm()': OUNITAC.cpp:1216:37: warning: unused variable 'aiUnit' [-Wunused-variable] 1216 | int aiUnit = ai_unit; | ^~~~~~ OUNITAC.cpp:1217:37: warning: unused variable 'actionXLoc' [-Wunused-variable] 1217 | int actionXLoc = action_x_loc; | ^~~~~~~~~~ OUNITAC.cpp:1218:37: warning: unused variable 'actionYLoc' [-Wunused-variable] 1218 | int actionYLoc = action_y_loc; | ^~~~~~~~~~ OUNITAC.cpp:1219:39: warning: unused variable 'unitRecno' [-Wunused-variable] 1219 | short unitRecno = sprite_recno; | ^~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::process_assign()': OUNITAC.cpp:1366:49: warning: unused variable 'actionXLoc' [-Wunused-variable] 1366 | int actionXLoc = action_x_loc; | ^~~~~~~~~~ OUNITAC.cpp:1367:49: warning: unused variable 'actionYLoc' [-Wunused-variable] 1367 | int actionYLoc = action_y_loc; | ^~~~~~~~~~ OUNITAC.cpp:1369:49: warning: unused variable 'aiUnit' [-Wunused-variable] 1369 | char aiUnit = ai_unit; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OUNITAI.o OUNITAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OUNITAMT.o OUNITAMT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, from ../include/OUNIT.h:28, from OUNITAMT.cpp:104: ../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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAT2.cpp: In member function 'void Unit::process_attack_unit()': OUNITAT2.cpp:495:17: warning: unused variable 'spriteXLoc' [-Wunused-variable] 495 | int spriteXLoc = next_x_loc(); | ^~~~~~~~~~ OUNITAT2.cpp:496:17: warning: unused variable 'spriteYLoc' [-Wunused-variable] 496 | int spriteYLoc = next_y_loc(); | ^~~~~~~~~~ OUNITAT2.cpp:497:21: warning: unused variable 'attackInfo' [-Wunused-variable] 497 | AttackInfo* attackInfo = attack_info_array+cur_attack; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAT.cpp: In member function 'void Unit::set_unreachable_location(int, int)': OUNITAT.cpp:1227:31: warning: unused variable 'bitFlag' [-Wunused-variable] 1227 | 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:1278:13: warning: unused variable 'trial' [-Wunused-variable] 1278 | int trial = MAX_UNIT_ATTACK_TYPE+2; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OUNITATB.o OUNITATB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OUNITD.o OUNITD.cpp OUNITD.cpp:1097:27: warning: "/*" within comment [-Wcomment] 1097 | stop2(); //**** BUGHERE | OUNITD.cpp:1098:33: warning: "/*" within comment [-Wcomment] 1098 | //set_mode(0); //***BUGHERE | In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OUNITIND.o OUNITIND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITI.cpp: In member function 'int Unit::reactivate_idle_action()': OUNITI.cpp:322:16: warning: unused variable 'canMove' [-Wunused-variable] 322 | int canMove = 1; | ^~~~~~~ OUNITI.cpp: In member function 'int Unit::idle_detect_firm_checking(short int)': OUNITI.cpp:888:13: warning: unused variable 'targetMobileType' [-Wunused-variable] 888 | 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITIF.cpp: In member function 'void Unit::disp_hit_point(int)': OUNITIF.cpp:1532:13: warning: variable 'hitPoints' set but not used [-Wunused-but-set-variable] 1532 | 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:1640:15: warning: unused variable 'minDist' [-Wunused-variable] 1640 | short minDist = abs(dispX-dispY); | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OUNITS.o OUNITS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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&, UCHAR)': 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_CARAS.cpp: In member function 'int CaravanStop::update_pick_up(char*)': OU_CARAS.cpp:165:24: warning: variable 'selectiveMode' set but not used [-Wunused-but-set-variable] 165 | int id, i, selectiveMode; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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: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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::disp_stop(int, int)': OU_CARA.cpp:154:41: warning: variable 'needRefresh' set but not used [-Wunused-but-set-variable] 154 | int i, x=INFO_X1, y=dispY1, needRefresh; | ^~~~~~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::detect_stop()': OU_CARA.cpp:234:16: warning: unused variable 'x' [-Wunused-variable] 234 | int i, x=INFO_X1; | ^ OU_CARA.cpp: In member function 'void UnitCaravan::caravan_in_firm()': OU_CARA.cpp:1154:22: warning: unused variable 'stopPtr' [-Wunused-variable] 1154 | CaravanStop *stopPtr = stop_array + dest_stop_id - 1; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:36, 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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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:460:19: warning: unused variable 'stopPtr' [-Wunused-variable] 460 | ShipStop *stopPtr = stop_array + dest_stop_id - 1; | ^~~~~~~ OU_MARIT.cpp: In member function 'void UnitMarine::harbor_unload_raw()': OU_MARIT.cpp:936:82: warning: right operand of comma operator has no effect [-Wunused-value] 936 | for(j=0; jTERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o dbglog.o dbglog.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o file_input_stream.o file_input_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o OW_PLANT.o OW_PLANT.cpp In file included from OW_PLANT.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_PLANT.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 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o file_output_stream.o file_output_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o file_reader.o file_reader.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o file_util.o file_util.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o file_writer.o file_writer.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o input_stream.o input_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o output_stream.o output_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o player_desc.o player_desc.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o mem_input_stream.o mem_input_stream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o misc_uuid.o misc_uuid.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OWORLD.cpp: In member function 'void World::explore(int, int, int, int)': OWORLD.cpp:557:94: warning: array subscript has type 'char' [-Wchar-subscripts] 557 | *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:821:13: warning: unused variable 'loopCount' [-Wunused-variable] 821 | int loopCount=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -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)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o vgautil.o vgautil.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o surface_sdl.o surface_sdl.cpp In file included from ../include/OVGABUF.h:27, from ../include/vga_base.h:28, from ../include/vga_sdl.h:28, from ../include/OVGA.h:29, from surface_sdl.cpp:25: ../include/win32_compat.h:75: warning: "_rotr" redefined 75 | #define _rotr(value,shift) (value<>(32-shift)) | In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/immintrin.h:27, from /usr/include/SDL2/SDL_cpuinfo.h:111, from /usr/include/SDL2/SDL.h:38, from ../include/surface_sdl.h:28, from surface_sdl.cpp:24: /usr/lib/gcc/i586-alt-linux/12/include/ia32intrin.h:317: note: this is the location of the previous definition 317 | #define _rotr(a,b) __rord((a), (b)) | make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o vgautil2.o vgautil2.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -c -o vga_sdl.o vga_sdl.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I/usr/include/AL -D_REENTRANT -I/usr/include/SDL2 -I"../include" -include "../include/config.h" -o 7kaa AM.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 OGFILEA.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 ONEWSFRE.o ONEWSGER.o ONEWSSPA.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 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 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 OUNITAMT.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 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 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 player_desc.o surface_sdl.o vga_sdl.o vgautil.o vgautil2.o ./openal/libaudio_openal.a ./enet/libmultiplayer.a ./imgfun/generic/libimgfun_generic.a ./platform/libplatform.a ./curl/libWebService.a -lSDL2 -lopenal -lenet -lcurl ORAWRES.cpp: In function 'load_all_info.constprop': ORAWRES.cpp:102:47: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-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:276: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, | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' Making all in po make[1]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91306 + 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:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd 7kaa-2.14.7 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/7kaa-buildroot make: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/data' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/data' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa' /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_hitp.res resource/fnt_mid.res resource/fnt_news.res resource/fnt_san.res resource/fnt_smal.res resource/fnt_std.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 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 '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/resource' /bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/resource' /usr/libexec/rpm-build/install -p -m 644 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/pal_enc.res resource/pal_menu.res resource/pal_std.res resource/pal_win.res 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 '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/resource' /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' /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' /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/carave_s.spr sprite/caravel.spr sprite/catapult.spr sprite/catfire.spr sprite/catfirea.spr sprite/catfires.spr sprite/catstona.spr sprite/catstone.spr sprite/catstons.spr sprite/ch_arrow.spr sprite/chdragon.spr sprite/chinese.spr sprite/dr_arrow.spr sprite/dragon.spr sprite/eg_arrow.spr sprite/eg_god.spr sprite/eg_powar.spr sprite/egyptian.spr sprite/expcart.spr sprite/f_ballis.spr sprite/fb_arra0.spr sprite/fb_arrow.spr sprite/fb_arrs0.spr sprite/fcatapul.spr sprite/firekin.spr sprite/fl_arrow.spr sprite/flamethr.spr sprite/fpersian.spr sprite/galleo_s.spr sprite/galleon.spr sprite/gc_arrow.spr sprite/ge_star.spr '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/sprite' /bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/sprite' /usr/libexec/rpm-build/install -p -m 644 sprite/gi_star.spr sprite/giantet.spr sprite/gith.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/in_god.spr sprite/indian.spr sprite/ja_god.spr sprite/ja_power.spr sprite/japanese.spr sprite/kukulcan.spr sprite/lizard.spr sprite/lyw.spr sprite/man.spr sprite/maya.spr sprite/moldman.spr sprite/no_arrow.spr sprite/norman.spr sprite/pe_arrow.spr sprite/pe_powar.spr sprite/pehealer.spr sprite/persian.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' /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' /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/transp_s.spr sprite/transpor.spr sprite/v_arrow.spr sprite/v_splash.spr sprite/vessel.spr sprite/vessel_s.spr sprite/vi_god.spr sprite/viking.spr sprite/zu_arrow.spr sprite/zu_god.spr sprite/zulu.spr '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/sprite' /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' /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 '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/scenari2' /bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/resource' /usr/libexec/rpm-build/install -p -m 644 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_list.txt resource/tut_pict.res resource/tut_text.res '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/resource' /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' /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' /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' /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' /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' /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/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' /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' /bin/mkdir -p '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/tutorial' /usr/libexec/rpm-build/install -p -m 644 tutorial/10captur.int tutorial/10captur.tut tutorial/10captur.txt tutorial/1bas_mil.int tutorial/1bas_mil.tut tutorial/1bas_mil.txt tutorial/2b_trade.int tutorial/2b_trade.tut tutorial/2b_trade.txt tutorial/2bas_eco.int tutorial/2bas_eco.tut tutorial/2bas_eco.txt tutorial/3researc.int tutorial/3researc.tut tutorial/3researc.txt tutorial/4weapons.int tutorial/4weapons.tut tutorial/4weapons.txt tutorial/5bas_nav.int tutorial/5bas_nav.tut tutorial/5bas_nav.txt tutorial/6seatrad.int tutorial/6seatrad.tut tutorial/6seatrad.txt tutorial/7mercena.int tutorial/7mercena.tut tutorial/7mercena.txt tutorial/8fryhtan.int tutorial/8fryhtan.tut tutorial/8fryhtan.txt tutorial/9seatpow.int tutorial/9seatpow.tut tutorial/9seatpow.txt tutorial/loyalty.int tutorial/loyalty.tut tutorial/loyalty.txt tutorial/spying.int tutorial/spying.tut tutorial/spying.txt '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/tutorial' /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 '/usr/src/tmp/7kaa-buildroot/usr/share/7kaa/scenario' /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' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/data' Making install in include make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/include' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/include' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/include' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' Making install in enet make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/enet' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/enet' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/enet' Making install in imgfun make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun' Making install in generic make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[4]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/imgfun/generic' make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun/generic' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun' make[4]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/imgfun' make[3]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/imgfun' Making install in openal make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/openal' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/openal' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/openal' Making install in platform make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' 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.14.7/src/platform' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/platform' Making install in curl make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/curl' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/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.14.7/src/curl' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src/curl' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[3]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' /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.14.7/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7/src' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7/po' if test "7kaa" = "gettext-tools"; then \ /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.14.7/po' make[1]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7' make[2]: Entering directory '/usr/src/RPM/BUILD/7kaa-2.14.7' make[2]: Nothing to be done for 'install-exec-am'. /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.14.7' make[1]: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7' make: Leaving directory '/usr/src/RPM/BUILD/7kaa-2.14.7' + 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 + 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 + 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 + 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/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) verify-elf: WARNING: ./usr/bin/7kaa: uses non-LFS functions: alphasort fcntl fopen open scandir stat Processing files: 7kaa-2.14.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.67FRLY 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.sXN50t 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.14.7-alt1, /bin/bash, /lib/ld-linux.so.2, coreutils, libSDL2-2.0.so.0 >= set:nhT6Y7jvs6wD90xsGOOX7zldxQnN2ULLXZkwvB4WEEq5jZIcgGOTJnME7bGZjTxqqNRDtanBstQg88paqMiVGpfE2uMoB6YQijtWuGkaZah0Zj8r199R260, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libcurl.so.4 >= set:kgRQoh7U9b6XA19OKHr9Yje, libenet.so.7 >= set:kfVgejAjNc3hkZhPA4ih28GIMf3axk1IAeGeD0GrtDQWvX90, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), libopenal.so.1 >= set:lgAZ9hN9RkIImzDipWycZsGxZv59NIO5YEWMPXAZpKIOorujrHXZAbc0, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), 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.DSW2lU Creating 7kaa-debuginfo package Processing files: 7kaa-data-2.14.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.K7K1IJ 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.wG8vqV 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.14.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ABz9Xl 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.hY9Tz4 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.hbBfuF find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Requires: 7kaa-data = 2.14.7-alt1, /bin/bash, /usr/share/autodl/AutoDL.py, su, tar Requires(interp): /bin/sh Requires(postun): /bin/sh, coreutils Processing files: 7kaa-debuginfo-2.14.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I4UYc9 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TebHpn find-requires: running scripts (debuginfo) Requires: 7kaa = 2.14.7-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL2-2.0.so.0), debug(libc.so.6), debug(libcurl.so.4), debug(libenet.so.7), debug(libgcc_s.so.1), debug(libm.so.6), debug(libopenal.so.1), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/7kaa-2.14.7-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/7kaa-data-2.14.7-alt1.noarch.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/noarch/7kaa-music-2.14.7-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/7kaa-debuginfo-2.14.7-alt1.i586.rpm (w2T8.xzdio) 307.54user 28.92system 1:42.30elapsed 328%CPU (0avgtext+0avgdata 216876maxresident)k 0inputs+0outputs (0major+12573229minor)pagefaults 0swaps /.out/7kaa-music-2.14.7-alt1.noarch.rpm: bad symbols in the license tag: , 4.91user 2.40system 2:13.69elapsed 5%CPU (0avgtext+0avgdata 109524maxresident)k 1080inputs+0outputs (0major+237604minor)pagefaults 0swaps --- 7kaa-2.14.7-alt1.i586.rpm.repo 2017-08-06 08:33:27.000000000 +0000 +++ 7kaa-2.14.7-alt1.i586.rpm.hasher 2023-06-03 07:11:12.346766255 +0000 @@ -16,10 +16,15 @@ Requires: libc.so.6(GLIBC_2.2) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3) Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) -Requires: libcurl.so.4 >= set:jfRQSxhk2ChAtLr98J1nn1 +Requires: libcurl.so.4 >= set:kgRQoh7U9b6XA19OKHr9Yje Requires: libenet.so.7 >= set:kfVgejAjNc3hkZhPA4ih28GIMf3axk1IAeGeD0GrtDQWvX90 Requires: libgcc_s.so.1(GCC_3.0) +Requires: libgcc_s.so.1(GCC_3.3.1) Requires: libm.so.6(GLIBC_2.0) Requires: libm.so.6(GLIBC_2.1) +Requires: libm.so.6(GLIBC_2.27) Requires: libopenal.so.1 >= set:lgAZ9hN9RkIImzDipWycZsGxZv59NIO5YEWMPXAZpKIOorujrHXZAbc0 @@ -30,2 +35,3 @@ Requires: libstdc++.so.6(GLIBCXX_3.4.21) +Requires: libstdc++.so.6(GLIBCXX_3.4.29) Requires: rtld(GNU_HASH) @@ -33,5 +39,5 @@ Provides: 7kaa = 2.14.7-alt1 -File: /usr/bin/7kaa 100755 root:root d852225659c81c93d1209b6808f9e7bc +File: /usr/bin/7kaa 100755 root:root ac023d4511c0cf32441f51c05aad309a File: /usr/bin/7kaa-data-installer 100755 root:root aa8a39792d41fa3a76e8a1245b670f6b -File: /usr/share/applications/7kaa.desktop 100644 root:root cd8b69b844387c20b5322179d218d252 +File: /usr/share/applications/7kaa.desktop 100644 root:root 57b7b9b36cff18fb808a4302d35c7665 File: /usr/share/doc/7kaa 40755 root:root @@ -39,2 +45,2 @@ File: /usr/share/doc/7kaa/README 100644 root:root 9eeab362834382aee49857911dfcd53a -RPMIdentity: c75d03f8d41ed035c151ae24689037005d6fa73ec983b27dbce92a2bfa3c7d63761a31cdbb53838a21989ce4d6a2f531d6eca2baa5dcd60961c9af67ddfeb106 +RPMIdentity: 191d562990ca264b62d29ba4de9d7440b5234eeb0142a590275e02e69866d32bb4918f7c89bbf0faaccb003d59e1e04acae0b7f9f23e472f25c26c4101166c36 --- 7kaa-data-2.14.7-alt1.noarch.rpm.repo 2017-08-06 08:33:27.000000000 +0000 +++ 7kaa-data-2.14.7-alt1.noarch.rpm.hasher 2023-06-03 07:11:12.558768561 +0000 @@ -1069,5 +1069,5 @@ File: /usr/share/7kaa/tutorial/spying.txt 100644 root:root c9c6b49aac83985a27ea8d42e3c78813 -File: /usr/share/icons/hicolor/16x16/apps/7kaa_icon.png 100644 root:root c4dd730f3b8f592eba614cc1fea5dda4 -File: /usr/share/icons/hicolor/32x32/apps/7kaa_icon.png 100644 root:root 0c589391821a0dcc04c0a6d18e07a689 -File: /usr/share/icons/hicolor/48x48/apps/7kaa_icon.png 100644 root:root 5cea38759b53d5e64f068ced520a1405 -RPMIdentity: 4a92ff987092adfaef581f2d66b708fe32cbae04ea481f059d69abeea94d85add9537c14ccdbab197e5df5fa2863457918d739db04fa8c578a61dd7447ef22ec +File: /usr/share/icons/hicolor/16x16/apps/7kaa_icon.png 100644 root:root f50b4da16afab7377d14c174421c74ad +File: /usr/share/icons/hicolor/32x32/apps/7kaa_icon.png 100644 root:root 31815eb2814ea12332632a6e695b0e9d +File: /usr/share/icons/hicolor/48x48/apps/7kaa_icon.png 100644 root:root cfd800bde9ef2971b0f9de1ac006c277 +RPMIdentity: 2c8e590e19eed2fc901406fa2b115b0a9d1094414d60a1d8ce4ebabb6d463249eaa224ec0b54552851d2e6f16d395f54aa303bc207dae598fd9ee0c63faf7666 --- 7kaa-debuginfo-2.14.7-alt1.i586.rpm.repo 2017-08-06 08:33:28.000000000 +0000 +++ 7kaa-debuginfo-2.14.7-alt1.i586.rpm.hasher 2023-06-03 07:11:12.834771563 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/74 40755 root:root -/usr/lib/debug/.build-id/74/22304ebc9f8c7ed34add337126124ad5049293 120777 root:root ../../../../bin/7kaa -/usr/lib/debug/.build-id/74/22304ebc9f8c7ed34add337126124ad5049293.debug 120777 root:root ../../usr/bin/7kaa.debug +/usr/lib/debug/.build-id/c2 40755 root:root +/usr/lib/debug/.build-id/c2/58be6cd62dae2d6939c79c5434e59485d75a0b 120777 root:root ../../../../bin/7kaa +/usr/lib/debug/.build-id/c2/58be6cd62dae2d6939c79c5434e59485d75a0b.debug 120777 root:root ../../usr/bin/7kaa.debug /usr/lib/debug/usr/bin/7kaa.debug 100644 root:root @@ -6,3 +6,2 @@ /usr/src/debug/7kaa-2.14.7/include 40755 root:root -/usr/src/debug/7kaa-2.14.7/include/ALL.h 100644 root:root /usr/src/debug/7kaa-2.14.7/include/CRC.h 100644 root:root @@ -71,3 +70,2 @@ /usr/src/debug/7kaa-2.14.7/include/OMISC.h 100644 root:root -/usr/src/debug/7kaa-2.14.7/include/OMLINK.h 100644 root:root /usr/src/debug/7kaa-2.14.7/include/OMONSRES.h 100644 root:root @@ -299,2 +297,5 @@ /usr/src/debug/7kaa-2.14.7/src/ONEWSENG.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/ONEWSFRE.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/ONEWSGER.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/ONEWSSPA.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OOPTMENU.cpp 100644 root:root @@ -344,2 +345,3 @@ /usr/src/debug/7kaa-2.14.7/src/OSPATHBT.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/OSPREDBG.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OSPREOFF.cpp 100644 root:root @@ -357,5 +359,9 @@ /usr/src/debug/7kaa-2.14.7/src/OSYS2.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/OSYS3.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OTALKENG.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/OTALKFRE.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/OTALKGER.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OTALKMSG.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OTALKRES.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/OTALKSPA.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OTECHRES.cpp 100644 root:root @@ -415,2 +421,3 @@ /usr/src/debug/7kaa-2.14.7/src/OVGALOCK.cpp 100644 root:root +/usr/src/debug/7kaa-2.14.7/src/OVIDEO.cpp 100644 root:root /usr/src/debug/7kaa-2.14.7/src/OVOLUME.cpp 100644 root:root @@ -501,9 +508,8 @@ Provides: 7kaa-debuginfo = 2.14.7-alt1 -File: /usr/lib/debug/.build-id/74 40755 root:root -File: /usr/lib/debug/.build-id/74/22304ebc9f8c7ed34add337126124ad5049293 120777 root:root ../../../../bin/7kaa -File: /usr/lib/debug/.build-id/74/22304ebc9f8c7ed34add337126124ad5049293.debug 120777 root:root ../../usr/bin/7kaa.debug -File: /usr/lib/debug/usr/bin/7kaa.debug 100644 root:root 5526cf446fb90b081676548041013db6 +File: /usr/lib/debug/.build-id/c2 40755 root:root +File: /usr/lib/debug/.build-id/c2/58be6cd62dae2d6939c79c5434e59485d75a0b 120777 root:root ../../../../bin/7kaa +File: /usr/lib/debug/.build-id/c2/58be6cd62dae2d6939c79c5434e59485d75a0b.debug 120777 root:root ../../usr/bin/7kaa.debug +File: /usr/lib/debug/usr/bin/7kaa.debug 100644 root:root 70e430dc995afc16d605bcdac1decb0e File: /usr/src/debug/7kaa-2.14.7 40755 root:root File: /usr/src/debug/7kaa-2.14.7/include 40755 root:root -File: /usr/src/debug/7kaa-2.14.7/include/ALL.h 100644 root:root d294f2c95c73b2ba21c8848f2bdf8d2c File: /usr/src/debug/7kaa-2.14.7/include/CRC.h 100644 root:root 244c85f7bbf6cedd46ff9f80a2b0ea97 @@ -572,3 +578,2 @@ File: /usr/src/debug/7kaa-2.14.7/include/OMISC.h 100644 root:root a609a92ae1a1bfe8dace197d844a5cc2 -File: /usr/src/debug/7kaa-2.14.7/include/OMLINK.h 100644 root:root ea6541a2a86f0921d7c8196ddd3d27b4 File: /usr/src/debug/7kaa-2.14.7/include/OMONSRES.h 100644 root:root 3bfcd263c90be95ebf3f69154ef95b00 @@ -800,2 +805,5 @@ File: /usr/src/debug/7kaa-2.14.7/src/ONEWSENG.cpp 100644 root:root 1a297e50af39c7b1381dd9b31d54760f +File: /usr/src/debug/7kaa-2.14.7/src/ONEWSFRE.cpp 100644 root:root 158f976f20bbfced92fa099810c4714f +File: /usr/src/debug/7kaa-2.14.7/src/ONEWSGER.cpp 100644 root:root b588fa8162da9c02c8ccef70a8abb6cd +File: /usr/src/debug/7kaa-2.14.7/src/ONEWSSPA.cpp 100644 root:root cd6976a32b043cda3d8d6614a6fdfc46 File: /usr/src/debug/7kaa-2.14.7/src/OOPTMENU.cpp 100644 root:root ca2c3173d983a91fbe0cc206a065a8ad @@ -845,2 +853,3 @@ File: /usr/src/debug/7kaa-2.14.7/src/OSPATHBT.cpp 100644 root:root 1c77c9702035b888e7461881ed32e964 +File: /usr/src/debug/7kaa-2.14.7/src/OSPREDBG.cpp 100644 root:root 8a28df4850fe02b3587a8a9c31b10581 File: /usr/src/debug/7kaa-2.14.7/src/OSPREOFF.cpp 100644 root:root 6c74637b5f89bcaa2ee6f6ab02729adc @@ -858,5 +867,9 @@ File: /usr/src/debug/7kaa-2.14.7/src/OSYS2.cpp 100644 root:root ff4097d1e1422d5bbde49a32feb918a9 +File: /usr/src/debug/7kaa-2.14.7/src/OSYS3.cpp 100644 root:root 4481a192b4fc6a7df618cd7357e17fde File: /usr/src/debug/7kaa-2.14.7/src/OTALKENG.cpp 100644 root:root a30e50b51e654f8ffe679130f4c3b45b +File: /usr/src/debug/7kaa-2.14.7/src/OTALKFRE.cpp 100644 root:root a504054765f15f752224a7076acc397c +File: /usr/src/debug/7kaa-2.14.7/src/OTALKGER.cpp 100644 root:root 7a44b2ce0671137caac7df4d59054fd2 File: /usr/src/debug/7kaa-2.14.7/src/OTALKMSG.cpp 100644 root:root 7237dac8bba7abfab29240ca65b6a272 File: /usr/src/debug/7kaa-2.14.7/src/OTALKRES.cpp 100644 root:root c85b2b74609e10e5716794707686773d +File: /usr/src/debug/7kaa-2.14.7/src/OTALKSPA.cpp 100644 root:root fa1d8c19c7d54d019c61bd75954c9324 File: /usr/src/debug/7kaa-2.14.7/src/OTECHRES.cpp 100644 root:root db6142f837f5ddf632932b17ea38b4c8 @@ -916,2 +929,3 @@ File: /usr/src/debug/7kaa-2.14.7/src/OVGALOCK.cpp 100644 root:root 3c54c324ecb1ebbad93622149a5bd56d +File: /usr/src/debug/7kaa-2.14.7/src/OVIDEO.cpp 100644 root:root 0caa868b5deb4e754c4b2484c3c9452a File: /usr/src/debug/7kaa-2.14.7/src/OVOLUME.cpp 100644 root:root b88bfb4af96c6167f364e420db7ca490 @@ -990,2 +1004,2 @@ File: /usr/src/debug/7kaa-2.14.7/src/vgautil2.cpp 100644 root:root 02864753bbb3d0722ac6755e813edf4f -RPMIdentity: 5e2c01cf751d8b0182072b7d02c9a2b4fd2c3232b83ec2a0cc81f96ed28c1400e000906eb098ae43fcffc7b565ba47650fc791d1c6fdd3819c6d8ae8d209026a +RPMIdentity: 9a9fcd07312fde457aed8500951e3630205b54ed866856115d4e72d1fcc36e676d4bf7a960656497aa3f79ac5e5b6eeea3e77e35192e0fb80b88fe7c350c9d98 --- 7kaa-music-2.14.7-alt1.noarch.rpm.repo 2017-08-06 08:33:28.000000000 +0000 +++ 7kaa-music-2.14.7-alt1.noarch.rpm.hasher 2023-06-03 07:11:13.108774543 +0000 @@ -15,2 +15,2 @@ File: /usr/share/7kaa/music/7kaa.autodlrc 100644 root:root b865aaf5c8101e7b00e4ef9e7961c1cd -RPMIdentity: a7c98416f7d43c33f569b7c0ac0334f7974000e46dbfa190b8bbcaf5a6b9207ea86e8d09db5a2e555d14c1d6c71192ac43f76a8c632ab93eaa1bfa07555159ba +RPMIdentity: 10654f568899b4d0f37eba85bd57fa56902f8b7ffea2d0b4ea6a66c82e42672c910eab79339f056b3ceb0d9f30dee8074608302188abe8dc22e1ab3c9b98f058