<86>Dec 21 09:24:05 userdel[1449053]: delete user 'rooter' <86>Dec 21 09:24:05 userdel[1449053]: removed group 'rooter' owned by 'rooter' <86>Dec 21 09:24:05 userdel[1449053]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 09:24:05 groupadd[1449063]: group added to /etc/group: name=rooter, GID=1859 <86>Dec 21 09:24:05 groupadd[1449063]: group added to /etc/gshadow: name=rooter <86>Dec 21 09:24:05 groupadd[1449063]: new group: name=rooter, GID=1859 <86>Dec 21 09:24:05 useradd[1449073]: new user: name=rooter, UID=1859, GID=1859, home=/root, shell=/bin/bash, from=none <86>Dec 21 09:24:05 userdel[1449095]: delete user 'builder' <86>Dec 21 09:24:05 userdel[1449095]: removed group 'builder' owned by 'builder' <86>Dec 21 09:24:05 userdel[1449095]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 09:24:05 groupadd[1449122]: group added to /etc/group: name=builder, GID=1860 <86>Dec 21 09:24:05 groupadd[1449122]: group added to /etc/gshadow: name=builder <86>Dec 21 09:24:05 groupadd[1449122]: new group: name=builder, GID=1860 <86>Dec 21 09:24:05 useradd[1449148]: new user: name=builder, UID=1860, GID=1860, home=/usr/src, shell=/bin/bash, from=none <13>Dec 21 09:24:09 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Dec 21 09:24:09 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 21 09:24:09 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 09:24:09 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 21 09:24:09 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 21 09:24:09 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734008167 installed <13>Dec 21 09:24:09 rpmi: libngtcp2.16-1.9.1-alt1 sisyphus+363819.100.1.1 1733129258 installed <13>Dec 21 09:24:09 rpmi: libngtcp2_crypto_gnutls8-1.9.1-alt1 sisyphus+363819.100.1.1 1733129258 installed <13>Dec 21 09:24:09 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 21 09:24:09 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 21 09:24:10 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 21 09:24:10 rpmi: cmake-modules-3.31.2-alt2 sisyphus+364756.100.1.1 1733932352 installed <13>Dec 21 09:24:10 rpmi: libuv-1.49.1-alt1 sisyphus+364651.40.2.1 1733856345 installed <13>Dec 21 09:24:10 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Dec 21 09:24:10 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+346331.200.2.1 1716448553 installed <13>Dec 21 09:24:10 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Dec 21 09:24:10 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 21 09:24:10 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Dec 21 09:24:10 rpmi: libnghttp3.9-1.6.0-alt1 sisyphus+363819.40.1.1 1733129195 installed <13>Dec 21 09:24:10 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118560 installed <13>Dec 21 09:24:10 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 21 09:24:10 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Dec 21 09:24:10 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Dec 21 09:24:10 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Dec 21 09:24:10 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Dec 21 09:24:10 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 21 09:24:10 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729916 installed <13>Dec 21 09:24:10 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 21 09:24:10 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 21 09:24:10 rpmi: rpm-macros-cmake-3.29.1-alt1 sisyphus+344518.300.3.1 1712379787 installed <13>Dec 21 09:24:10 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 09:24:10 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 09:24:10 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 21 09:24:10 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 21 09:24:10 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 09:24:10 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 09:24:10 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <86>Dec 21 09:24:10 groupadd[1466584]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 21 09:24:10 groupadd[1466584]: group added to /etc/gshadow: name=_keytab <86>Dec 21 09:24:10 groupadd[1466584]: new group: name=_keytab, GID=999 <13>Dec 21 09:24:10 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <13>Dec 21 09:24:10 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed <86>Dec 21 09:24:10 groupadd[1466931]: group added to /etc/group: name=sasl, GID=998 <86>Dec 21 09:24:10 groupadd[1466931]: group added to /etc/gshadow: name=sasl <86>Dec 21 09:24:10 groupadd[1466931]: new group: name=sasl, GID=998 <13>Dec 21 09:24:10 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Dec 21 09:24:10 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971261 installed <13>Dec 21 09:24:10 rpmi: libarchive13-3.7.5-alt2 sisyphus+358189.100.1.1 1727162770 installed <13>Dec 21 09:24:10 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Dec 21 09:24:10 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905244 installed <13>Dec 21 09:24:11 rpmi: cmake-3.31.2-alt2 sisyphus+364756.100.1.1 1733932412 installed <13>Dec 21 09:24:11 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Dec 21 09:24:13 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Dec 21 09:24:13 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:13 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Dec 21 09:24:13 rpmi: libSDL2-2.30.10-alt1 sisyphus+364560.100.1.1 1733772093 installed <13>Dec 21 09:24:13 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Dec 21 09:24:13 rpmi: libogg-devel-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Dec 21 09:24:13 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 21 09:24:13 rpmi: libwebp7-1.5.0-alt1 sisyphus+365488.100.1.1 1734677706 installed <13>Dec 21 09:24:13 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Dec 21 09:24:13 rpmi: libwayland-server-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572108 installed <13>Dec 21 09:24:13 rpmi: libSDL2_mixer-2.8.0-alt1 sisyphus+340583.100.1.1 1707827335 installed <13>Dec 21 09:24:14 rpmi: libtheora-2:1.1.1-alt6 sisyphus+277967.100.1.1 1625928124 installed <13>Dec 21 09:24:14 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Dec 21 09:24:14 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:14 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:14 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Dec 21 09:24:14 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Dec 21 09:24:14 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Dec 21 09:24:14 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Dec 21 09:24:14 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Dec 21 09:24:14 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Dec 21 09:24:14 rpmi: liblua5.1-preinstall-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Dec 21 09:24:14 rpmi: liblua5.1-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Dec 21 09:24:14 rpmi: libtolua++-lua5.1-1.0.93-alt5 sisyphus+249325.100.1.1 1585937318 installed <13>Dec 21 09:24:14 rpmi: libreadline-devel-8.2.10-alt1 sisyphus+338911.100.4.1 1706717069 installed <13>Dec 21 09:24:14 rpmi: rpm-macros-lua-1.5.2-alt1 sisyphus+315204.340.3.1 1692689366 installed <13>Dec 21 09:24:14 rpmi: rpm-build-lua-0.5-alt1 sisyphus+315204.500.3.1 1692689380 installed <13>Dec 21 09:24:14 rpmi: liblua5.1-compat-devel-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Dec 21 09:24:14 rpmi: liblua5.1-devel-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Dec 21 09:24:14 rpmi: liblcms2-2.16-alt1 sisyphus+335676.100.1.1 1701682605 installed <13>Dec 21 09:24:14 rpmi: libmng-2.0.3-alt3 sisyphus+363683.100.1.1 1732898409 installed <13>Dec 21 09:24:14 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Dec 21 09:24:14 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Dec 21 09:24:14 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 21 09:24:14 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 21 09:24:14 rpmi: python3-module-more-itertools-10.5.0-alt1 sisyphus+357221.100.1.1 1725964420 installed <13>Dec 21 09:24:14 rpmi: python3-module-jaraco.functools-4.1.0-alt1 sisyphus+358564.100.1.1 1727528718 installed <13>Dec 21 09:24:15 rpmi: libpython3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 21 09:24:15 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Dec 21 09:24:15 rpmi: python3-module-autocommand-2.2.2-alt1.1 sisyphus+339714.100.1.1 1706968174 installed <13>Dec 21 09:24:15 rpmi: python3-module-jaraco.context-6.0.1-alt1 sisyphus+357809.300.1.1 1726769204 installed <13>Dec 21 09:24:15 rpmi: python3-module-jaraco.text-4.0.0-alt1 sisyphus+353877.400.2.1 1722250727 installed <13>Dec 21 09:24:15 rpmi: python3-module-jaraco.collections-5.1.0-alt1 sisyphus+357809.200.1.1 1726769173 installed <13>Dec 21 09:24:15 rpmi: python3-module-packaging-24.2-alt1 sisyphus+362183.100.1.1 1731315992 installed <13>Dec 21 09:24:15 rpmi: python3-module-platformdirs-4.3.6-alt1 sisyphus+357787.200.1.1 1726664692 installed <13>Dec 21 09:24:15 rpmi: python3-module-wheel-0.45.1-alt1 sisyphus+363326.100.2.1 1732609969 installed <13>Dec 21 09:24:15 rpmi: python3-module-pkg_resources-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185085 installed <13>Dec 21 09:24:15 rpmi: tests-for-installed-python3-pkgs-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Dec 21 09:24:15 rpmi: rpm-build-python3-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Dec 21 09:24:16 rpmi: python3-dev-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 21 09:24:16 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330311 installed <13>Dec 21 09:24:16 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180093 installed <13>Dec 21 09:24:16 rpmi: libSDL2_image-2.8.3-alt1 sisyphus+365324.100.1.1 1734503491 installed <13>Dec 21 09:24:16 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Dec 21 09:24:16 rpmi: libsensors3-3.6.0-alt3 sisyphus+308579.100.1.1 1666035269 installed <13>Dec 21 09:24:16 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 21 09:24:16 rpmi: libspirv-tools0-1:2024.4-alt0.1 sisyphus+365035.200.5.1 1734354505 installed <13>Dec 21 09:24:16 rpmi: llvm18.1-filesystem-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 09:24:16 rpmi: llvm18.1-polly-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 09:24:16 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <13>Dec 21 09:24:16 rpmi: llvm18.1-gold-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 09:24:18 rpmi: llvm18.1-libs-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 09:24:18 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Dec 21 09:24:18 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Dec 21 09:24:18 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Dec 21 09:24:18 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Dec 21 09:24:18 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Dec 21 09:24:18 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Dec 21 09:24:18 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023235 installed <13>Dec 21 09:24:20 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Dec 21 09:24:20 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Dec 21 09:24:20 rpmi: libwayland-client-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572108 installed <13>Dec 21 09:24:20 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440792 installed <13>Dec 21 09:24:20 rpmi: libdrm-1:2.4.124-alt1 sisyphus+364215.100.1.1 1733469813 installed <13>Dec 21 09:24:20 rpmi: libGLX-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 09:24:20 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:20 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:20 rpmi: libgbm-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 09:24:20 rpmi: libEGL-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 09:24:20 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:20 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 09:24:20 rpmi: libSDL2-devel-2.30.10-alt1 sisyphus+364560.100.1.1 1733772093 installed <13>Dec 21 09:24:20 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Dec 21 09:24:20 rpmi: libharfbuzz-10.1.0-alt1 sisyphus+361773.100.1.1 1730824050 installed <13>Dec 21 09:24:20 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221065 installed <13>Dec 21 09:24:20 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337302 installed <13>Dec 21 09:24:20 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333695 installed <13>Dec 21 09:24:20 rpmi: fontconfig-2.15.0-alt1 sisyphus+355771.100.2.3 1724337302 installed Updating fonts cache: <29>Dec 21 09:24:21 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 21 09:24:22 rpmi: fonts-ttf-dejavu-2.37-alt2 sisyphus+243548.100.1.1 1577296175 installed <13>Dec 21 09:24:22 rpmi: libstdc++-devel-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 21 09:24:22 rpmi: doctest-devel-2.4.11-alt2 sisyphus+333275.100.1.1 1698782121 installed <13>Dec 21 09:24:22 rpmi: doxygen-1:1.12.0-alt1 sisyphus+356266.100.1.1 1724854044 installed <13>Dec 21 09:24:22 rpmi: libSDL2_image-devel-2.8.3-alt1 sisyphus+365324.100.1.1 1734503491 installed <13>Dec 21 09:24:22 rpmi: libSDL2_mixer-devel-2.8.0-alt1 sisyphus+340583.100.1.1 1707827335 installed <13>Dec 21 09:24:22 rpmi: python3-module-setuptools-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185085 installed <13>Dec 21 09:24:22 rpmi: libmng-devel-2.0.3-alt3 sisyphus+363683.100.1.1 1732898409 installed <13>Dec 21 09:24:22 rpmi: libtolua++-lua5.1-devel-1.0.93-alt5 sisyphus+249325.100.1.1 1585937318 installed <13>Dec 21 09:24:22 rpmi: libvorbis-devel-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Dec 21 09:24:22 rpmi: libtheora-devel-2:1.1.1-alt6 sisyphus+277967.100.1.1 1625928124 installed <13>Dec 21 09:24:22 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Dec 21 09:24:22 rpmi: bzlib-devel-1:1.0.8-alt3 sisyphus+327286.5000.14.1 1711487131 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/stratagus-3.3.2-alt1.nosrc.rpm (w1.gzdio) Installing stratagus-3.3.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47456 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf stratagus-3.3.2 + echo 'Source #0 (stratagus-3.3.2.tar):' Source #0 (stratagus-3.3.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/stratagus-3.3.2.tar + cd stratagus-3.3.2 + /bin/chmod -c -Rf u+rwX,go-w . + tar xf /usr/src/RPM/SOURCES/vendor.tar -C third-party + subst 's|third-party/doctest/doctest|/usr/include/doctest|' CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.47456 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd stratagus-3.3.2 + mkdir -p i586-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B i586-alt-linux -DENABLE_DEV=ON -DENABLE_UPX=ON -DENABLE_TOUCHSCREEN=ON -DLUA_LIBRARIES=lua5.1 CMake Warning (dev) at CMakeLists.txt:49 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:50 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- Performing Test HAS_17_FS -- Performing Test HAS_17_FS - Success -- Found Lua51: lua5.1 (found version "5.1.5") -- Found program tolua++: /usr/bin/tolua++ -- Found library tolua++: /usr/lib/libtolua++.so -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Found PNG: /usr/lib/libpng.so (found version "1.6.42") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- sdl2 found: includes in /usr/include/SDL2, library in /usr/lib/libSDL2.so -- Found SDL2_mixer: /usr/lib/libSDL2_mixer.so (found version "2.8.0") -- Found SDL2_image: /usr/lib/libSDL2_image.so (found version "2.8.3") -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Could not find StackTrace -- Found MNG: /usr/lib/libmng.so -- Looking for vorbis_bitrate_addblock in vorbis -- Looking for vorbis_bitrate_addblock in vorbis - found -- Found OggVorbis: /usr/lib/libogg.so;/usr/lib/libvorbis.so -- theora found: includes in /usr/include, library in /usr/lib/libtheora.so;/usr/lib/libogg.so;/usr/lib/libvorbis.so -- Found Doxygen: /usr/bin/doxygen (found version "1.12.0") found components: doxygen missing components: dot -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of errno_t -- Check size of errno_t - failed -- Looking for strcpy_s -- Looking for strcpy_s - not found -- Looking for strncpy_s -- Looking for strncpy_s - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for getopt -- Looking for getopt - found -- Looking for strcat_s -- Looking for strcat_s - not found ================================== Debug mode: No (Enable by param -DCMAKE_BUILD_TYPE=Debug) Profiling mode: No (Enable by param -DCMAKE_BUILD_TYPE=Profile) Strip executables: No (Enable by param -DENABLE_STRIP=ON) Static linking: No (Enable by param -DENABLE_STATIC=ON) Place game files in: user directory (Place in game directory with -DENABLE_USEGAMEDIR=ON) Parallel building in MSVC: Yes (Disable by param -DENABLE_MULTIBUILD=OFF) Platform: Linux Redirect stdio: Unsupported on this platform Touchscreen input: Yes (Disable by param -DENABLE_TOUCHSCREEN=OFF) Eager load: No (Enable by param -DEAGER_LOAD=ON) Doxygen documentation: No (Enable by param -DENABLE_DOC=ON) Game development files: Yes (Disable by param -DENABLE_DEV=OFF) Upx packer: No (Enable by param -DENABLE_UPX=ON) NSIS Installer: Unsupported on this platform Bzip2: Found and enabled (Disable by param -DWITH_BZIP2=OFF) Mng: Found and enabled (Disable by param -DWITH_MNG=OFF) Ogg/Vorbis: Found and enabled (Disable by param -DWITH_OGGVORBIS=OFF) StackTrace: Not Found Theora: Found and enabled (Disable by param -DWITH_THEORA=OFF) OpenMP: Not Found ================================== -- Configuring done (2.8s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 Change Dir: '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 gmake: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/stratagus-3.3.2 -B/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/depend /usr/bin/gmake -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' cd /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/CMakeFiles/genversion.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' cd /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/CMakeFiles/png2stratagus.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 0%] Building CXX object CMakeFiles/genversion.dir/tools/genversion.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/genversion.dir/tools/genversion.cpp.o -MF CMakeFiles/genversion.dir/tools/genversion.cpp.o.d -o CMakeFiles/genversion.dir/tools/genversion.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/tools/genversion.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/tools/genversion.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/stratagus-3.3.2/tools/genversion.cpp:70:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fscanf(file, "%s", git_rev); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/tools/genversion.cpp:79:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fscanf(file, "%s", git_rev); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 1%] Linking CXX executable genversion /usr/bin/cmake -E cmake_link_script CMakeFiles/genversion.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -Wl,--dependency-file=CMakeFiles/genversion.dir/link.d CMakeFiles/genversion.dir/tools/genversion.cpp.o -o genversion gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 1%] Built target genversion gmake[1]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/depend /usr/bin/gmake -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' cd /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/CMakeFiles/version-generated.h.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' cd /usr/src/RPM/BUILD/stratagus-3.3.2 && /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/genversion /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/version-generated.h 3.3.2 Cannot get git revision -1 -1 -1 -1 - 3 3 2 0 ver update [genversion] update needed gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' cd /usr/src/RPM/BUILD/stratagus-3.3.2 && /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/genversion /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 2%] Built target version-generated.h gmake[1]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 1%] Building CXX object CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -MF CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o.d -o CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/tools/png2stratagus.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 2%] Generating tolua.cpp cd /usr/src/RPM/BUILD/stratagus-3.3.2/src/tolua && /usr/bin/tolua++ -L stratagus.lua -o /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/tolua.cpp stratagus.pkg ** tolua warning: Mapping variable to global may degrade performance. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' cd /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2 /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/CMakeFiles/stratagus.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 2%] Linking CXX executable png2stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/png2stratagus.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -Wl,--dependency-file=CMakeFiles/png2stratagus.dir/link.d CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -o png2stratagus /usr/lib/libpng.so /usr/lib/libz.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 9%] Built target png2stratagus gmake[1]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_research.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_research.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_research.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_research.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_research.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_research.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_research.cpp:47: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_defend.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_defend.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_defend.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 7%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_repair.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_repair.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_repair.cpp:49: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 6%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_die.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_die.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_die.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_die.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_die.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_die.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_die.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_built.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_built.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_built.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_built.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_built.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_built.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp:45: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp:56: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 2%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_attack.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_attack.cpp:45: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_attack.cpp:57: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 6%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_move.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_move.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_move.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_move.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_move.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_move.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_move.cpp:51: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_follow.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_follow.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_follow.cpp:47: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:52: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp: In member function 'int COrder_Resource::StopGathering(CUnit&)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:921:24: warning: unused variable 'depot' [-Wunused-variable] 921 | CUnit *depot = FindDeposit(unit, 1000, unit.CurrentResource); | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp: In member function 'bool COrder_Resource::WaitInDepot(CUnit&)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:1090:27: warning: unused variable 'range' [-Wunused-variable] 1090 | const int range = 15; | ^~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_board.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_board.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_board.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_board.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_board.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_board.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_board.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_still.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_still.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_still.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_still.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_still.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_still.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_still.cpp:50: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_explore.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_explore.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_explore.cpp:47: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_build.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_build.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_build.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_build.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_build.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_build.cpp:43: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_build.cpp:51: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_train.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_train.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_train.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_train.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_train.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_train.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_train.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_exactframe.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 12%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_attack.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 14%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_label.h:35, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 10%] Building CXX object CMakeFiles/stratagus.dir/src/action/actions.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/actions.cpp.o -MF CMakeFiles/stratagus.dir/src/action/actions.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/actions.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/actions.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/actions.cpp:62: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/actions.cpp:75: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/actions.cpp:85: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 12%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 14%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_ifvar.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 15%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_luacallback.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 15%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_move.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 16%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_randomgoto.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_goto.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_unload.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_unload.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_unload.cpp:47: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 16%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_randomrotate.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 17%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_randomwait.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_frame.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 10%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_rotate.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:43: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 11%] Building CXX object CMakeFiles/stratagus.dir/src/action/command.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/command.cpp.o -MF CMakeFiles/stratagus.dir/src/action/command.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/command.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/command.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/action/command.cpp:52: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_setvar.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 20%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_unbreakable.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 21%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_wait.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_setplayervar.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 20%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_spawnunit.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 19%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_spawnmissile.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp:47: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 21%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_wiggle.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 11%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation.cpp:72: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_building.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_building.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 17%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_randomsound.h:37, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 19%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_sound.h:35, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 29%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/cliprectangle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 29%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/color.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/color.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/color.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/color.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/color.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 23%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp:37: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 26%] Building CXX object CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/script_editor.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 30%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/exception.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 30%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/defaultfont.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 25%] Building CXX object CMakeFiles/stratagus.dir/src/editor/editor.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/editor.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/editor.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/editor.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editor.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 23%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_plan.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_plan.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_force.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_force.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 32%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/guichan.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 24%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_resource.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai_resource.cpp:51: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/gfont.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/focushandler.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 35%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/mouseinput.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 35%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/rectangle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 33%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/image.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/image.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/image.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/image.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/image.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/graphics.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 32%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/gui.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 34%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/key.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/key.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/key.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/key.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/key.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 33%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/imagefont.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 34%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/keyinput.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 24%] Building CXX object CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/script_ai.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/script_ai.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ai/ai.cpp:153: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 28%] Building CXX object CMakeFiles/stratagus.dir/src/game/trigger.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/trigger.cpp.o -MF CMakeFiles/stratagus.dir/src/game/trigger.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/trigger.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/trigger.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/trigger.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 37%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/button.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 38%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/container.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 39%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/checkbox.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o -MF CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/loadgame.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/loadgame.cpp:56: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 38%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/dropdown.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 39%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/icon.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/label.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 26%] Building CXX object CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/edmap.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/edmap.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/replay.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/replay.cpp.o -MF CMakeFiles/stratagus.dir/src/game/replay.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/replay.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/replay.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/replay.cpp:54: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/listbox.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 28%] Building CXX object CMakeFiles/stratagus.dir/src/game/savegame.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/savegame.cpp.o -MF CMakeFiles/stratagus.dir/src/game/savegame.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/savegame.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/savegame.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/savegame.cpp:52: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 41%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/slider.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 25%] Building CXX object CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:64: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'bool forEachTileOptionArea(std::function, int, int, int, int, int)>)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:671:13: warning: unused variable 'y2' [-Wunused-variable] 671 | int y2 = getSelectionArea()[3]; | ^~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'void EditorCallbackButtonUp(unsigned int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1116:21: warning: unused variable 'num' [-Wunused-variable] 1116 | int num = 0; | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'void EditorCallbackButtonDown(unsigned int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1193:74: warning: unused variable 'info' [-Wunused-variable] 1193 | const CTileInfo &info = Map.Tileset->tiles[i].tileinfo; | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'bool EditorCallbackMouse_EditUnitArea(const PixelPos&)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1549:14: warning: variable 'noHit' set but not used [-Wunused-but-set-variable] 1549 | bool noHit = forEachPlayerSelectionBoxArea([screenPos](int i, int x, int y, int w, int h) { | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'bool EditorCallbackMouse_EditTileArea(const PixelPos&)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1586:13: warning: unused variable 'bx' [-Wunused-variable] 1586 | int bx = UI.InfoPanel.X + 4; | ^~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1587:13: warning: unused variable 'by' [-Wunused-variable] 1587 | int by = UI.InfoPanel.Y + 4 + IconHeight + 10; | ^~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1589:14: warning: variable 'noHit' set but not used [-Wunused-but-set-variable] 1589 | bool noHit = forEachTileOptionArea([screenPos](bool active, std::string label, int i, int x, int y, int w, int h) { | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'void EditorMainLoop()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1944:14: warning: unused variable 'first_init' [-Wunused-variable] 1944 | bool first_init = true; | ^~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/game.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/game.cpp.o -MF CMakeFiles/stratagus.dir/src/game/game.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/game.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/game.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/game.cpp:45: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/game/game.cpp:73: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 43%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/window.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/radiobutton.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/sdl/gsdl.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 41%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/scrollarea.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 42%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/textfield.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 42%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widgets/textbox.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/sdl/sdlinput.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/sdl/sdlgraphics.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 37%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/widget.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 43%] Building CXX object CMakeFiles/stratagus.dir/src/map/fov.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fov.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fov.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fov.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fov.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fov.cpp:37: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 46%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_radar.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_radar.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_radar.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 48%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o -MF CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/script_tileset.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 49%] Building CXX object CMakeFiles/stratagus.dir/src/map/tileset.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/tileset.cpp.o -MF CMakeFiles/stratagus.dir/src/map/tileset.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/tileset.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/tileset.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/tileset.cpp: In member function 'unsigned int CTileset::getDefaultTileIndex() const': /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/tileset.cpp:231:9: warning: unused variable 'solid' [-Wunused-variable] 231 | int solid = 0; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/tileset.cpp: In member function 'unsigned int CTileset::getWallDirection(int, bool) const': /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/tileset.cpp:699:49: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 699 | if ((human && humanWallTable[i] == tileIndex) || orcWallTable[i] == tileIndex) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/tileset.cpp:699:82: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 699 | if ((human && humanWallTable[i] == tileIndex) || orcWallTable[i] == tileIndex) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 44%] Building CXX object CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow_utils.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow_utils.cpp:175: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 175 | #pragma omp parallel /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow_utils.cpp:300: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 300 | #pragma omp parallel /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow_utils.cpp:341: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 341 | #pragma omp parallel gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_continuous.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 44%] Building CXX object CMakeFiles/stratagus.dir/src/map/fow.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fow.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fow.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fow.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow.cpp:309: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 309 | #pragma omp parallel /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow.cpp:503: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 503 | #pragma omp parallel /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow.cpp:551: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 551 | #pragma omp parallel /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow.cpp:617: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 617 | #pragma omp parallel /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/fow.cpp:857: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 857 | #pragma omp parallel gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_cycleonce.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_draw.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_draw.cpp:43: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 51%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_deathcoil.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_deathcoil.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_cliptotarget.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_cliptotarget.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 51%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_fire.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_fire.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 47%] Building CXX object CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o -MF CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/mapfield.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/mapfield.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_fog.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_fog.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_fog.cpp:58: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 52%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_hit.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 46%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_wall.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map_wall.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map.cpp:45: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map.cpp:39: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/map.h: In constructor 'CMap::CMap()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/map.h:273:19: warning: 'CMap::TileGraphic' will be initialized after [-Wreorder] 273 | CGraphic *TileGraphic; /// graphic for all the tiles | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/map.h:271:19: warning: 'CTileset* CMap::Tileset' [-Wreorder] 271 | CTileset *Tileset; /// tileset data | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/map.cpp:321:1: warning: when initialized here [-Wreorder] 321 | CMap::CMap() : Fields(NULL), NoFogOfWar(false), TileGraphic(NULL), Tileset(NULL) | ^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 47%] Building CXX object CMakeFiles/stratagus.dir/src/map/minimap.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/minimap.cpp.o -MF CMakeFiles/stratagus.dir/src/map/minimap.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/minimap.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/minimap.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/minimap.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 52%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_flameshield.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_flameshield.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 53%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_landmine.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_landmine.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 53%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_none.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_pointotpointwithhit.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_pointtopoint.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 55%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_pointtopointcycleonce.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 55%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_pointtopointbounce.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 56%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_stay.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 48%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_map.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/script_map.cpp.o -MF CMakeFiles/stratagus.dir/src/map/script_map.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/script_map.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/script_map.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/map/script_map.cpp:48: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_parabolic.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_parabolic.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 49%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile.cpp:54: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 56%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_straightfly.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 57%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_whirlwind.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 57%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_tracer.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missile_tracer.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o -MF CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp: In function 'int NetSocketAddr(long unsigned int*, int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp:274:15: warning: unused variable 'tmpAddrPtr' [-Wunused-variable] 274 | void *tmpAddrPtr = NULL; | ^~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 61%] Building CXX object CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o -MF CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/netsockets.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 62%] Building CXX object CMakeFiles/stratagus.dir/src/network/mdns.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/mdns.cpp.o -MF CMakeFiles/stratagus.dir/src/network/mdns.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/mdns.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/mdns.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/mdns.cpp: In member function 'void MDNS::QueryServers(std::function)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/mdns.cpp:124:13: warning: unused variable 'responses' [-Wunused-variable] 124 | int responses = mdns_query_recv(querySockets[i], buffer, | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/mdns.cpp:31: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h: At global scope: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1215:1: warning: 'size_t mdns_record_parse_txt(const void*, size_t, size_t, size_t, mdns_record_txt_t*, size_t)' defined but not used [-Wunused-function] 1215 | mdns_record_parse_txt(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1202:1: warning: 'sockaddr_in6* mdns_record_parse_aaaa(const void*, size_t, size_t, size_t, sockaddr_in6*)' defined but not used [-Wunused-function] 1202 | mdns_record_parse_aaaa(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1167:1: warning: 'mdns_record_srv_t mdns_record_parse_srv(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1167 | mdns_record_parse_srv(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:851:1: warning: 'int mdns_discovery_answer(int, const void*, size_t, void*, size_t, const char*, size_t)' defined but not used [-Wunused-function] 851 | mdns_discovery_answer(int sock, const void* address, size_t address_size, void* buffer, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:694:1: warning: 'size_t mdns_discovery_recv(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 694 | mdns_discovery_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:689:1: warning: 'int mdns_discovery_send(int)' defined but not used [-Wunused-function] 689 | mdns_discovery_send(int sock) { | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:326:1: warning: 'int mdns_socket_open_ipv6(sockaddr_in6*)' defined but not used [-Wunused-function] 326 | mdns_socket_open_ipv6(struct sockaddr_in6* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_message.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/net_message.cpp.o -MF CMakeFiles/stratagus.dir/src/network/net_message.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/net_message.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/net_message.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/commands.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/commands.cpp.o -MF CMakeFiles/stratagus.dir/src/network/commands.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/commands.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/commands.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/commands.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/particle/radialparticle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 64%] Building CXX object CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/particle/staticparticle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 66%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o -MF CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o.d -o CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp:43: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 58%] Building CXX object CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp:43: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 65%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o -MF CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o.d -o CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:45: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 58%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/missile/missileconfig.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 62%] Building CXX object CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/particle/graphicanimation.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 64%] Building CXX object CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/particle/smokeparticle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 65%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o -MF CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o.d -o CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/astar.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/pathfinder/astar.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/particle/chunkparticle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/particle/particlemanager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_id.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/network.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/network.cpp.o -MF CMakeFiles/stratagus.dir/src/network/network.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/network.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/network.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/network.cpp:242: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 67%] Building CXX object CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/script_sound.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 66%] Building CXX object CMakeFiles/stratagus.dir/src/sound/music.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/music.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/music.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/music.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/music.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 69%] Building CXX object CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/script_spell.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/script_spell.cpp:54: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 69%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_adjustvariable.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_adjustvariable.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 70%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_adjustvital.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_adjustvital.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o -MF CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/netconnect.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:70: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1215:1: warning: 'size_t mdns_record_parse_txt(const void*, size_t, size_t, size_t, mdns_record_txt_t*, size_t)' defined but not used [-Wunused-function] 1215 | mdns_record_parse_txt(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1202:1: warning: 'sockaddr_in6* mdns_record_parse_aaaa(const void*, size_t, size_t, size_t, sockaddr_in6*)' defined but not used [-Wunused-function] 1202 | mdns_record_parse_aaaa(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1189:1: warning: 'sockaddr_in* mdns_record_parse_a(const void*, size_t, size_t, size_t, sockaddr_in*)' defined but not used [-Wunused-function] 1189 | mdns_record_parse_a(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1167:1: warning: 'mdns_record_srv_t mdns_record_parse_srv(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1167 | mdns_record_parse_srv(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1157:1: warning: 'mdns_string_t mdns_record_parse_ptr(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1157 | mdns_record_parse_ptr(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:994:1: warning: 'int mdns_query_answer(int, const void*, size_t, void*, size_t, uint16_t, const char*, size_t, const char*, size_t, uint32_t, const uint8_t*, uint16_t, const char*, size_t)' defined but not used [-Wunused-function] 994 | mdns_query_answer(int sock, const void* address, size_t address_size, void* buffer, size_t capacity, | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:937:1: warning: 'size_t mdns_query_recv(int, void*, size_t, mdns_record_callback_fn, void*, int)' defined but not used [-Wunused-function] 937 | mdns_query_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:890:1: warning: 'int mdns_query_send(int, mdns_record_type_t, const char*, size_t, void*, size_t, uint16_t)' defined but not used [-Wunused-function] 890 | mdns_query_send(int sock, mdns_record_type_t type, const char* name, size_t length, void* buffer, | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:851:1: warning: 'int mdns_discovery_answer(int, const void*, size_t, void*, size_t, const char*, size_t)' defined but not used [-Wunused-function] 851 | mdns_discovery_answer(int sock, const void* address, size_t address_size, void* buffer, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:788:1: warning: 'size_t mdns_socket_listen(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 788 | mdns_socket_listen(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:694:1: warning: 'size_t mdns_discovery_recv(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 694 | mdns_discovery_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:689:1: warning: 'int mdns_discovery_send(int)' defined but not used [-Wunused-function] 689 | mdns_discovery_send(int sock) { | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:326:1: warning: 'int mdns_socket_open_ipv6(sockaddr_in6*)' defined but not used [-Wunused-function] 326 | mdns_socket_open_ipv6(struct sockaddr_in6* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/network/mdns.h:262:1: warning: 'int mdns_socket_open_ipv4(sockaddr_in*)' defined but not used [-Wunused-function] 262 | mdns_socket_open_ipv4(struct sockaddr_in* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 70%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_areaadjustvital.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_areaadjustvital.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 67%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/sound.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/sound.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/sound.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_demolish.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_demolish.cpp:39: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 71%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_capture.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_capture.cpp:42: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_luacallback.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_luacallback.cpp:37: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_polymorph.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_polymorph.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 73%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_spawnportal.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_spawnportal.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:50: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function 'void FreeSample(Mix_Chunk*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:454:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 454 | if (sample->allocated == 0xcafebeef) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function 'int PlaySample(Mix_Chunk*, Origin*, void (*)(int))': /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:471:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 471 | if (sample->allocated == 0xcafebeef) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function 'void SetMusicVolume(int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:608:48: warning: statement has no effect [-Wunused-value] 608 | External_Volume(MusicVolume, oldVolume); | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:605:13: warning: unused variable 'oldVolume' [-Wunused-variable] 605 | int oldVolume = MusicVolume; | ^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 73%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_spawnmissile.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_spawnmissile.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 61%] Building CXX object CMakeFiles/stratagus.dir/src/network/online_service.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/online_service.cpp.o -MF CMakeFiles/stratagus.dir/src/network/online_service.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/online_service.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'uint64_t BNCSInputStream::read64()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:206:18: warning: unused variable 'nativeWordTwo' [-Wunused-variable] 206 | uint32_t nativeWordTwo = ntohl(wordTwo); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void Context::sendText(std::string, bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:888:13: warning: unused variable 'pos' [-Wunused-variable] 888 | int pos = 0; | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void OnlineState::handleGamelist(Context*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1507:18: warning: unused variable 'lang' [-Wunused-variable] 1507 | uint32_t lang = ctx->getMsgIStream()->read32(); | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1508:18: warning: unused variable 'addr_fam' [-Wunused-variable] 1508 | uint16_t addr_fam = ctx->getMsgIStream()->read16(); | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1513:18: warning: unused variable 'sinzero1' [-Wunused-variable] 1513 | uint32_t sinzero1 = ctx->getMsgIStream()->read32(); | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1514:18: warning: unused variable 'sinzero2' [-Wunused-variable] 1514 | uint32_t sinzero2 = ctx->getMsgIStream()->read32(); | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void OnlineState::handleChatevent(Context*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1553:14: warning: unused variable 'userFlags' [-Wunused-variable] 1553 | uint32_t userFlags = ctx->getMsgIStream()->read32(); | ^~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1554:14: warning: unused variable 'ping' [-Wunused-variable] 1554 | uint32_t ping = ctx->getMsgIStream()->read32(); | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1555:14: warning: unused variable 'ip' [-Wunused-variable] 1555 | uint32_t ip = ctx->getMsgIStream()->read32(); | ^~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1556:14: warning: unused variable 'acn' [-Wunused-variable] 1556 | uint32_t acn = ctx->getMsgIStream()->read32(); | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1557:14: warning: unused variable 'reg' [-Wunused-variable] 1557 | uint32_t reg = ctx->getMsgIStream()->read32(); | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'virtual void S2C_SID_AUTH_INFO::doOneStep(Context*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2037:22: warning: unused variable 'mpqFiletime' [-Wunused-variable] 2037 | uint64_t mpqFiletime = ctx->getMsgIStream()->readFiletime(); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:57: /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/./xsha1.h: At global scope: /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/./xsha1.h:94:21: warning: 'void pvpgn::do_hash(uint32_t (*)[5], uint32_t*)' declared 'static' but never defined [-Wunused-function] 94 | static void do_hash(t_hash * hash, std::uint32_t * tmp); | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2353:12: warning: 'int CclJoinGame(lua_State*)' defined but not used [-Wunused-function] 2353 | static int CclJoinGame(lua_State *l) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2318:12: warning: 'int CclStep(lua_State*)' defined but not used [-Wunused-function] 2318 | static int CclStep(lua_State *l) { | ^~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_randomsound.h:37, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 74%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_summon.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_summon.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 74%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_teleport.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_teleport.cpp:39: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 71%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_areabombardment.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spell_areabombardment.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/luacallback.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 78%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/parameters.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/main.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 75%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/construct.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 76%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/groups.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/groups.cpp:39: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 76%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/iolib.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 75%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spells.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spells.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spells.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spells.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spells.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/spell/spells.cpp:53: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/button_checks.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/button_checks.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/mainloop.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/mainloop.cpp:53: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/translate.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 78%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/player.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/player.cpp:53: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/player.cpp:54: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/util.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/util.cpp:55: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/title.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/title.cpp:35: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor 'Movie::Movie()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:111:26: warning: 'Movie::yuv_overlay' will be initialized after [-Wreorder] 111 | mutable SDL_Texture *yuv_overlay; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: 'SDL_Surface* Movie::surface' [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:108:20: warning: 'Movie::start_time' will be initialized after [-Wreorder] 108 | mutable Uint32 start_time; | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'bool Movie::is_dirty' [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'Movie::is_dirty' will be initialized after [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: 'int Movie::Width' [-Wreorder] 102 | int Width; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: 'Movie::data' will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: 'CFile* Movie::f' [-Wreorder] 105 | CFile *f; | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 79%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp:45: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 80%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp:214: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 80%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp:47: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/botpanel.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/botpanel.cpp:56: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 87%] Building CXX object CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/uitimer.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 79%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation/animation_setplayervar.h:36, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:52: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:62: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp: In function 'int LuaLoadFile(const std::string&, const std::string&, bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:258:41: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 258 | if (file.rfind("stratagus.lua") != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp: At global scope: /usr/src/RPM/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:2666:12: warning: 'int CclListFilesystem(lua_State*)' defined but not used [-Wunused-function] 2666 | static int CclListFilesystem(lua_State *l) | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 83%] Building CXX object CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp: In member function 'virtual void CContentTypeLifeBar::Parse(lua_State*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp:625:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 625 | if (this->colors[i] == -1) { | ~~~~~~~~~~~~~~~~^~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 83%] Building CXX object CMakeFiles/stratagus.dir/src/ui/icons.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/icons.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/icons.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/icons.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/icons.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/icons.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 84%] Building CXX object CMakeFiles/stratagus.dir/src/ui/interface.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/interface.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/interface.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/interface.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp:52: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function 'void InputKey(int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp:849:90: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 849 | strncpy(InputHistory + (InputHistoryIdx * sizeof(Input)), Input, sizeof(Input)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp:925:90: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 925 | strncpy(InputHistory + (InputHistoryPos * sizeof(Input)), Input, sizeof(Input)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp:938:90: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 938 | strncpy(InputHistory + (InputHistoryPos * sizeof(Input)), Input, sizeof(Input)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp: At global scope: /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/interface.cpp:150:13: warning: 'void UiUnselectAll()' defined but not used [-Wunused-function] 150 | static void UiUnselectAll() | ^~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 85%] Building CXX object CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/uibuttons_proc.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 89%] Building CXX object CMakeFiles/stratagus.dir/src/unit/depend.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/depend.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/depend.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/depend.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/depend.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/depend.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 88%] Building CXX object CMakeFiles/stratagus.dir/src/unit/build.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/build.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/build.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/build.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/build.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/build.cpp:39: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/build.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 85%] Building CXX object CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mouse.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:62: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mouse.cpp: In function 'bool DoRightButton_Harvest_Unit(CUnit&, CUnit&, int, int&)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:210:37: warning: unused variable 'resinfo' [-Wunused-variable] 210 | const ResourceInfo &resinfo = *unit.Type->ResInfo[unit.CurrentResource]; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mouse.cpp: In function 'void UIHandleButtonDown_OnButton(unsigned int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:1817:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1817 | if (static_cast(ButtonUnderCursor) == sub_j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 84%] Building CXX object CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp:57: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp: In function 'void DrawUnitInfo_transporter(CUnit&)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp:554:76: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 554 | if (static_cast(ButtonUnderCursor) == sub_j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/statusline.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_cache.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_cache.cpp:43: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/popup.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/popup.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/popup.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/popup.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/popup.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/popup.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 87%] Building CXX object CMakeFiles/stratagus.dir/src/ui/ui.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/ui.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/ui.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/ui.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/ui.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/ui.cpp:49: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 89%] Building CXX object CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp:37: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/script_ui.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/script_ui.cpp:51: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 93%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unitptr.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unitptr.cpp:35: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 92%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:39: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:36: /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp: In member function 'void CUnitManager::ReleaseUnit(CUnit*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:123:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 123 | Assert(unit->PlayerSlot == -1); | ~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/stratagus.h:143:36: note: in definition of macro 'Assert' 143 | do { if (EnableAssert && !(cond)) { AbortAt(__FILE__, __LINE__, __func__, #cond); }} while (0) | ^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 88%] Building CXX object CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/ui/widgets.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 91%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp: In constructor 'BestRangeTargetFinder::FillBadGood::FillBadGood(const CUnit&, int, std::vector*, std::vector*, int)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:973:27: warning: 'BestRangeTargetFinder::FillBadGood::size' will be initialized after [-Wreorder] 973 | const int size; | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:970:21: warning: 'int BestRangeTargetFinder::FillBadGood::enemy_count' [-Wreorder] 970 | int enemy_count; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:814:17: warning: when initialized here [-Wreorder] 814 | FillBadGood(const CUnit &a, int r, std::vector *g, std::vector *b, int s): | ^~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 92%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 94%] Building CXX object CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/upgrade.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/upgrade.cpp:53: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:41: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:52: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function 'int CclDefinePaletteSwap(lua_State*)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:2263:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2263 | if (lua_rawlen(l, -1) != alternativesCount) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:2275:63: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2275 | if (lua_rawlen(l, -1) != colorCount) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 94%] Building CXX object CMakeFiles/stratagus.dir/src/video/color.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/color.cpp.o -MF CMakeFiles/stratagus.dir/src/video/color.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/color.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/color.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 91%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_draw.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit_draw.cpp:56: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit.cpp:44: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit.cpp: In member function 'void CUnit::Init()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unit.cpp:461:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CUnit::_seen_stuff_'; use assignment or value-initialization instead [-Wclass-memaccess] 461 | memset(&Seen, 0, sizeof(Seen)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:390:16: note: 'struct CUnit::_seen_stuff_' declared here 390 | struct _seen_stuff_ { | ^~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 93%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unittype.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:38: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CUnitType::CUnitType()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:670:19: warning: 'CUnitType::ShadowSprite' will be initialized after [-Wreorder] 670 | CGraphic *ShadowSprite; /// Shadow sprite image | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:541:14: warning: 'char CUnitType::ShadowSpriteFrame' [-Wreorder] 541 | char ShadowSpriteFrame; /// If > 0, the shadow is a simple sprite without | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:519:1: warning: when initialized here [-Wreorder] 519 | CUnitType::CUnitType() : | ^~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:541:14: warning: 'CUnitType::ShadowSpriteFrame' will be initialized after [-Wreorder] 541 | char ShadowSpriteFrame; /// If > 0, the shadow is a simple sprite without | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:540:14: warning: 'char CUnitType::ShadowScale' [-Wreorder] 540 | char ShadowScale; /// Shadow scale-down factor | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:519:1: warning: when initialized here [-Wreorder] 519 | CUnitType::CUnitType() : | ^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 96%] Building CXX object CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o -MF CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/linedraw.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 96%] Building CXX object CMakeFiles/stratagus.dir/src/video/mng.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/mng.cpp.o -MF CMakeFiles/stratagus.dir/src/video/mng.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/mng.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/mng.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/mng.cpp:40: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/video.h: In constructor 'Mng::Mng()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/video.h:264:13: warning: 'Mng::iteration' will be initialized after [-Wreorder] 264 | int iteration; | ^~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/video.h:257:22: warning: 'bool Mng::is_dirty' [-Wreorder] 257 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/mng.cpp:191:1: warning: when initialized here [-Wreorder] 191 | Mng::Mng() : | ^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 97%] Building CXX object CMakeFiles/stratagus.dir/src/video/movie.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/movie.cpp.o -MF CMakeFiles/stratagus.dir/src/video/movie.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/movie.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/movie.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/movie.cpp:46: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor 'Movie::Movie()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:111:26: warning: 'Movie::yuv_overlay' will be initialized after [-Wreorder] 111 | mutable SDL_Texture *yuv_overlay; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: 'SDL_Surface* Movie::surface' [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:108:20: warning: 'Movie::start_time' will be initialized after [-Wreorder] 108 | mutable Uint32 start_time; | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'bool Movie::is_dirty' [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'Movie::is_dirty' will be initialized after [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: 'int Movie::Width' [-Wreorder] 102 | int Width; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: 'Movie::data' will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: 'CFile* Movie::f' [-Wreorder] 105 | CFile *f; | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/cursor.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/cursor.cpp.o -MF CMakeFiles/stratagus.dir/src/video/cursor.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/cursor.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/cursor.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/cursor.cpp:49: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/cursor.cpp: In function 'void DrawCursor()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/cursor.cpp:380:88: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 380 | if (ActuallyVisibleGameCursor != GameCursor || GameCursor->SpriteFrame != VisibleGameCursorFrame) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/font.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/font.cpp.o -MF CMakeFiles/stratagus.dir/src/video/font.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/font.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/font.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/font.cpp: In function 'unsigned char codepoint_to_codepage_index(int, const char**)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/font.cpp:262:57: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 262 | if (codepoint >= 0 && codepoint < sizeof(codepoint_to_cp437)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/font.cpp:277:65: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 277 | if (codepoint >= 0 && codepoint < sizeof(codepoint_to_cp866)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/graphic.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/graphic.cpp.o -MF CMakeFiles/stratagus.dir/src/video/graphic.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/graphic.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/graphic.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/graphic.cpp: In member function 'void CGraphic::OverlayGraphic(CGraphic*, bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1082:34: warning: unused variable 'dst' [-Wunused-variable] 1082 | uint8_t *dst = (uint8_t *)Surface->pixels; | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1083:34: warning: unused variable 'src' [-Wunused-variable] 1083 | uint8_t *src = (uint8_t *)other->Surface->pixels; | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1101:35: warning: unused variable 'dst' [-Wunused-variable] 1101 | uint32_t *dst = (uint32_t *)Surface->pixels; | ^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1102:35: warning: unused variable 'src' [-Wunused-variable] 1102 | uint32_t *src = (uint32_t *)other->Surface->pixels; | ^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 97%] Building CXX object CMakeFiles/stratagus.dir/src/video/png.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/png.cpp.o -MF CMakeFiles/stratagus.dir/src/video/png.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/png.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/png.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 98%] Building CXX object CMakeFiles/stratagus.dir/src/video/video.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/video.cpp.o -MF CMakeFiles/stratagus.dir/src/video/video.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/video.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/video.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/video.cpp:393: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 393 | #pragma omp parallel if(enableMT) gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 98%] Building CXX object CMakeFiles/stratagus.dir/src/video/sdl.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/sdl.cpp.o -MF CMakeFiles/stratagus.dir/src/video/sdl.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/sdl.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/sdl.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/sdl.cpp:79: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 99%] Building CXX object CMakeFiles/stratagus.dir/src/video/shaders.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/shaders.cpp.o -MF CMakeFiles/stratagus.dir/src/video/shaders.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/shaders.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/shaders.cpp /usr/src/RPM/BUILD/stratagus-3.3.2/src/video/shaders.cpp:257:14: warning: 'VertexCoord' defined but not used [-Wunused-variable] 257 | static GLint VertexCoord; | ^~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [ 99%] Building CXX object CMakeFiles/stratagus.dir/tolua.cpp.o /usr/bin/c++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_THEORA -DUSE_TOUCHSCREEN -DUSE_VORBIS -DUSE_ZLIB -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/usr/src/RPM/BUILD/stratagus-3.3.2/src/third_party -I/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux -I/usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/tolua.cpp.o -MF CMakeFiles/stratagus.dir/tolua.cpp.o.d -o CMakeFiles/stratagus.dir/tolua.cpp.o -c /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/tolua.cpp In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/tolua.cpp:23: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor 'Movie::Movie()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:111:26: warning: 'Movie::yuv_overlay' will be initialized after [-Wreorder] 111 | mutable SDL_Texture *yuv_overlay; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: 'SDL_Surface* Movie::surface' [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:108:20: warning: 'Movie::start_time' will be initialized after [-Wreorder] 108 | mutable Uint32 start_time; | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'bool Movie::is_dirty' [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'Movie::is_dirty' will be initialized after [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: 'int Movie::Width' [-Wreorder] 102 | int Width; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: 'Movie::data' will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: 'CFile* Movie::f' [-Wreorder] 105 | CFile *f; | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ In file included from /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/tolua.cpp:29: /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /usr/src/RPM/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/tolua.cpp: At global scope: /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/tolua.cpp:193:12: warning: 'int tolua_collect_SDL_Color(lua_State*)' defined but not used [-Wunused-function] 193 | static int tolua_collect_SDL_Color (lua_State* tolua_S) | ^~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [100%] Linking CXX executable stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/stratagus.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -g -ggdb -fsigned-char -Wl,--dependency-file=CMakeFiles/stratagus.dir/link.d CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o CMakeFiles/stratagus.dir/src/action/action_board.cpp.o CMakeFiles/stratagus.dir/src/action/action_build.cpp.o CMakeFiles/stratagus.dir/src/action/action_built.cpp.o CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o CMakeFiles/stratagus.dir/src/action/action_die.cpp.o CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o CMakeFiles/stratagus.dir/src/action/action_move.cpp.o CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o CMakeFiles/stratagus.dir/src/action/action_research.cpp.o CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o CMakeFiles/stratagus.dir/src/action/action_still.cpp.o CMakeFiles/stratagus.dir/src/action/action_train.cpp.o CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o CMakeFiles/stratagus.dir/src/action/actions.cpp.o CMakeFiles/stratagus.dir/src/action/command.cpp.o CMakeFiles/stratagus.dir/src/animation/animation.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o CMakeFiles/stratagus.dir/src/ai/ai.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o CMakeFiles/stratagus.dir/src/editor/editor.cpp.o CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o CMakeFiles/stratagus.dir/src/game/game.cpp.o CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o CMakeFiles/stratagus.dir/src/game/replay.cpp.o CMakeFiles/stratagus.dir/src/game/savegame.cpp.o CMakeFiles/stratagus.dir/src/game/trigger.cpp.o CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o CMakeFiles/stratagus.dir/src/guichan/color.cpp.o CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o CMakeFiles/stratagus.dir/src/guichan/image.cpp.o CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o CMakeFiles/stratagus.dir/src/guichan/key.cpp.o CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o CMakeFiles/stratagus.dir/src/map/fov.cpp.o CMakeFiles/stratagus.dir/src/map/fow.cpp.o CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o CMakeFiles/stratagus.dir/src/map/map.cpp.o CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o CMakeFiles/stratagus.dir/src/map/minimap.cpp.o CMakeFiles/stratagus.dir/src/map/script_map.cpp.o CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o CMakeFiles/stratagus.dir/src/map/tileset.cpp.o CMakeFiles/stratagus.dir/src/missile/missile.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o CMakeFiles/stratagus.dir/src/network/commands.cpp.o CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o CMakeFiles/stratagus.dir/src/network/net_message.cpp.o CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o CMakeFiles/stratagus.dir/src/network/network.cpp.o CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o CMakeFiles/stratagus.dir/src/network/online_service.cpp.o CMakeFiles/stratagus.dir/src/network/mdns.cpp.o CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o CMakeFiles/stratagus.dir/src/sound/music.cpp.o CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o CMakeFiles/stratagus.dir/src/sound/sound.cpp.o CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o CMakeFiles/stratagus.dir/src/spell/spells.cpp.o CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o CMakeFiles/stratagus.dir/src/ui/icons.cpp.o CMakeFiles/stratagus.dir/src/ui/interface.cpp.o CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o CMakeFiles/stratagus.dir/src/ui/popup.cpp.o CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o CMakeFiles/stratagus.dir/src/ui/ui.cpp.o CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o CMakeFiles/stratagus.dir/src/unit/build.cpp.o CMakeFiles/stratagus.dir/src/unit/depend.cpp.o CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o CMakeFiles/stratagus.dir/src/unit/unit.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o CMakeFiles/stratagus.dir/src/video/color.cpp.o CMakeFiles/stratagus.dir/src/video/cursor.cpp.o CMakeFiles/stratagus.dir/src/video/font.cpp.o CMakeFiles/stratagus.dir/src/video/graphic.cpp.o CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o CMakeFiles/stratagus.dir/src/video/mng.cpp.o CMakeFiles/stratagus.dir/src/video/movie.cpp.o CMakeFiles/stratagus.dir/src/video/png.cpp.o CMakeFiles/stratagus.dir/src/video/sdl.cpp.o CMakeFiles/stratagus.dir/src/video/video.cpp.o CMakeFiles/stratagus.dir/src/video/shaders.cpp.o CMakeFiles/stratagus.dir/tolua.cpp.o -o stratagus -llua5.1 /usr/lib/libSDL2.so /usr/lib/libSDL2_mixer.so /usr/lib/libSDL2_image.so /usr/lib/libtolua++.so /usr/lib/libz.so /usr/lib/libbz2.so /usr/lib/libmng.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libtheora.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libtheora.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' [100%] Built target stratagus gmake[1]: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/stratagus-3.3.2/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.59543 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/stratagus-buildroot + : + /bin/rm -rf -- /usr/src/tmp/stratagus-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd stratagus-3.3.2 + DESTDIR=/usr/src/tmp/stratagus-buildroot + cmake --install i586-alt-linux --verbose -- Install configuration: "" -- Installing: /usr/src/tmp/stratagus-buildroot/usr/games/stratagus -- Installing: /usr/src/tmp/stratagus-buildroot/usr/bin/png2stratagus -- Installing: /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-game-installer.nsi -- Installing: /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-gameutils.h -- Installing: /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-game-launcher.h -- Installing: /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-tinyfiledialogs.h + mkdir -p /usr/src/tmp/stratagus-buildroot/usr/share/games/stratagus + mkdir -p /usr/src/tmp/stratagus-buildroot/usr/share/man/man6/ + mv doc/stratagus.6 /usr/src/tmp/stratagus-buildroot/usr/share/man/man6 + install -pD -m644 /usr/src/RPM/SOURCES/stratagus-16.png /usr/src/tmp/stratagus-buildroot/usr/share/icons/hicolor/16x16/apps/stratagus.png + install -pD -m644 /usr/src/RPM/SOURCES/stratagus-32.png /usr/src/tmp/stratagus-buildroot/usr/share/icons/hicolor/32x32/apps/stratagus.png + install -pD -m644 /usr/src/RPM/SOURCES/stratagus-48.png /usr/src/tmp/stratagus-buildroot/usr/share/icons/hicolor/48x48/apps/stratagus.png + /usr/lib/rpm/find-lang stratagus + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/stratagus-buildroot (auto) Verifying and fixing files in /usr/src/tmp/stratagus-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/stratagus-buildroot/ (default) Compressing files in /usr/src/tmp/stratagus-buildroot (auto) Verifying ELF objects in /usr/src/tmp/stratagus-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/games/stratagus: uses non-LFS functions: fcntl fopen readdir stat verify-elf: WARNING: ./usr/bin/png2stratagus: uses non-LFS functions: fopen Splitting links to aliased files under /{,s}bin in /usr/src/tmp/stratagus-buildroot Hardlinking identical .pyc and .opt-?.pyc files Processing files: stratagus-3.3.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5yUik8 find-provides: running scripts (alternatives,debuginfo,lib,lua,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ewKDtO find-requires: running scripts (cpp,debuginfo,files,lib,lua,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libSDL2-2.0.so.0 >= set:ngKdwKqqk1Sh11UF2bdH5bZcXZ95gtjEjrr87PJnTjZhqoyHQ6wVzfLn9ZbxN33J3A8HU5Hg1m59QhnYRmRZBDp0z1bokz5VG2DibWmAO4ESULPcljVXE50538OlIeV3ZmS2BPUdzKp8bNvYeepFogBiPiFTSn29ANmMEvyT4oyY131GmkwzV3MoviitIebxSw3, libSDL2_image-2.0.so.0 >= set:jhfpAMHEEg, libSDL2_mixer-2.0.so.0 >= set:kfkiB6npsfv6FmTFtmZugXCY3PSo4eqe9RyG3XG6WZ12v8aRow07jEaa1retZ2yZi5rUje, libbz2.so.1 >= set:ifiV4CQe3QGVN4, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.16), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), liblua-5.1.so.0 >= set:lftTYMgZliuaDA3gQ6usS8iq5xuvBcAb1H5fmp94CPnzZfNh2B6srXlPHi79Lo2MEgOCsbKrzFLjWsGQ92jem3QYoqvJ9BqDqtGEOmooxUOe4Z8ee7RwZ1ZeyWLNn1, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libmng.so.2 >= set:oj1NY9V9xvGXSZeLPt9xPUSvUksj1fh2sDP6VBC8QOkWHehAAZpK11IZt4, libogg.so.0 >= set:kgsjOfZf3gycbsyq6YMk01k6rdZEvj1, libpng16.so.16 >= set:lgHMZqVuH9dlE87Vb2wZH9MWzFZf8qQUDRCNc2anU6mClwj8qRd, libpng16.so.16(PNG16_0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.5), 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.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.19), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.26), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libstdc++.so.6(GLIBCXX_3.4.9), libtheora.so.0 >= set:ieV730MFIkbuDiWkaJfHaS02, libtheora.so.0(libtheora.so.1.0), libtolua++-5.1.so >= set:kf47QJdBDVLsybC4VsYHFPx25I1v1T6BFkHVKmdC8BXyJ1gf3ioGJznDcRjz9Zvq5BZl8UPd9, libvorbis.so.0 >= set:jfUUwljPN7erkWM56CS5rH0, libz.so.1 >= set:kh8G5ahgE66rOfmY2Kww0, 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.Ll94tw Creating stratagus-debuginfo package Processing files: stratagus-devel-3.3.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HLnWf8 find-provides: running scripts (alternatives,debuginfo,lib,lua,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sk0vdp find-requires: running scripts (cpp,debuginfo,files,lib,lua,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-gameutils.h:98:10: fatal error: string: No such file or directory 98 | #include | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-gameutils.h: cpp failed, trying c++ mode /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-game-launcher.h:146:2: error: #error You need to define all Game macros, see stratagus-game-launcher.h 146 | #error You need to define all Game macros, see stratagus-game-launcher.h | ^~~~~ /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-game-launcher.h:167:2: error: #error You need to define paths, see stratagus-game-launcher.h 167 | #error You need to define paths, see stratagus-game-launcher.h | ^~~~~ cpp.req: WARNING: /usr/src/tmp/stratagus-buildroot/usr/include/stratagus-game-launcher.h: cpp failed Requires: stratagus = 3.3.2-alt1 Processing files: stratagus-debuginfo-3.3.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.P3Zjrd find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pMRJdn find-requires: running scripts (debuginfo) Requires: stratagus = 3.3.2-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL2-2.0.so.0), debug(libSDL2_image-2.0.so.0), debug(libSDL2_mixer-2.0.so.0), debug(libbz2.so.1), debug(libc.so.6), debug(libgcc_s.so.1), debug(liblua-5.1.so.0), debug(libm.so.6), debug(libmng.so.2), debug(libogg.so.0), debug(libpng16.so.16), debug(libstdc++.so.6), debug(libtheora.so.0), debug(libtolua++-5.1.so), debug(libvorbis.so.0), debug(libz.so.1) Adding to stratagus-devel a strict dependency on stratagus Adding to stratagus-debuginfo a strict dependency on stratagus Wrote: /usr/src/RPM/RPMS/i586/stratagus-3.3.2-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/stratagus-devel-3.3.2-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/stratagus-debuginfo-3.3.2-alt1.i586.rpm (w2T16.xzdio) 419.98user 58.06system 1:14.06elapsed 645%CPU (0avgtext+0avgdata 298196maxresident)k 0inputs+0outputs (0major+12735462minor)pagefaults 0swaps 4.51user 3.60system 1:39.46elapsed 8%CPU (0avgtext+0avgdata 130220maxresident)k 152inputs+0outputs (0major+314087minor)pagefaults 0swaps --- stratagus-3.3.2-alt1.i586.rpm.repo 2024-02-13 09:27:13.000000000 +0000 +++ stratagus-3.3.2-alt1.i586.rpm.hasher 2024-12-21 09:25:41.377308645 +0000 @@ -29,3 +29,2 @@ Requires: libgcc_s.so.1(GCC_3.3.1) -Requires: libgcc_s.so.1(GLIBC_2.0) Requires: liblua-5.1.so.0 >= set:lftTYMgZliuaDA3gQ6usS8iq5xuvBcAb1H5fmp94CPnzZfNh2B6srXlPHi79Lo2MEgOCsbKrzFLjWsGQ92jem3QYoqvJ9BqDqtGEOmooxUOe4Z8ee7RwZ1ZeyWLNn1 @@ -61,4 +60,4 @@ Provides: stratagus = 3.3.2-alt1:sisyphus+339883.100.2.1 -File: /usr/bin/png2stratagus 100755 root:root 973bbbf11ba4083b1a0e91c651131c9e -File: /usr/games/stratagus 100755 root:root 267a1aef5be604b7dedd288f137fb002 +File: /usr/bin/png2stratagus 100755 root:root 3893ba6091ca44aa66da7d8fa5bcfca7 +File: /usr/games/stratagus 100755 root:root f3192dd09005e6139233c84a8a2d8b36 File: /usr/share/games/stratagus 40755 root:root @@ -68,2 +67,2 @@ File: /usr/share/man/man6/stratagus.6.xz 100644 root:root f38b04de5c3ca2c4b9ce18bddd673815 -RPMIdentity: 9ff526eab0e670015dccada4c62a278b976be91a0e7c7f87804a374272e2fab4c19a329322c7b1273c36030cce119e231b742ff59d702b350acce31fd8dd8fcb +RPMIdentity: ce520103e34aa2a06efc7f42961c17dd5032e15e4b86820eae9021534fc6a3b63424b2b2b096727f14b6b47712881288e3a911ca618baa63f5fb5fd232c3d003 --- stratagus-debuginfo-3.3.2-alt1.i586.rpm.repo 2024-02-13 09:27:13.000000000 +0000 +++ stratagus-debuginfo-3.3.2-alt1.i586.rpm.hasher 2024-12-21 09:25:41.465310011 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/70 40755 root:root -/usr/lib/debug/.build-id/70/e4aab359191ef03c5d708f6f767c8f7a89622a 120777 root:root ../../../../games/stratagus -/usr/lib/debug/.build-id/70/e4aab359191ef03c5d708f6f767c8f7a89622a.debug 120777 root:root ../../usr/games/stratagus.debug -/usr/lib/debug/.build-id/a7 40755 root:root -/usr/lib/debug/.build-id/a7/81b35dfa9efd49699f53ebb14b6333a371e547 120777 root:root ../../../../bin/png2stratagus -/usr/lib/debug/.build-id/a7/81b35dfa9efd49699f53ebb14b6333a371e547.debug 120777 root:root ../../usr/bin/png2stratagus.debug +/usr/lib/debug/.build-id/07 40755 root:root +/usr/lib/debug/.build-id/07/57e7c3e90a5e5865c3e7db1929dc698de72625 120777 root:root ../../../../games/stratagus +/usr/lib/debug/.build-id/07/57e7c3e90a5e5865c3e7db1929dc698de72625.debug 120777 root:root ../../usr/games/stratagus.debug +/usr/lib/debug/.build-id/ec 40755 root:root +/usr/lib/debug/.build-id/ec/d19338b6dc436f27c182a1330363ee8fbc6714 120777 root:root ../../../../bin/png2stratagus +/usr/lib/debug/.build-id/ec/d19338b6dc436f27c182a1330363ee8fbc6714.debug 120777 root:root ../../usr/bin/png2stratagus.debug /usr/lib/debug/usr/bin/png2stratagus.debug 100644 root:root @@ -441,13 +441,13 @@ Provides: stratagus-debuginfo = 3.3.2-alt1:sisyphus+339883.100.2.1 -File: /usr/lib/debug/.build-id/70 40755 root:root -File: /usr/lib/debug/.build-id/70/e4aab359191ef03c5d708f6f767c8f7a89622a 120777 root:root ../../../../games/stratagus -File: /usr/lib/debug/.build-id/70/e4aab359191ef03c5d708f6f767c8f7a89622a.debug 120777 root:root ../../usr/games/stratagus.debug -File: /usr/lib/debug/.build-id/a7 40755 root:root -File: /usr/lib/debug/.build-id/a7/81b35dfa9efd49699f53ebb14b6333a371e547 120777 root:root ../../../../bin/png2stratagus -File: /usr/lib/debug/.build-id/a7/81b35dfa9efd49699f53ebb14b6333a371e547.debug 120777 root:root ../../usr/bin/png2stratagus.debug -File: /usr/lib/debug/usr/bin/png2stratagus.debug 100644 root:root 658dc4aff7ee8c8184e4474e19aff5bf -File: /usr/lib/debug/usr/games/stratagus.debug 100644 root:root b18d6ca960ac6ffbabdb53923986ade4 +File: /usr/lib/debug/.build-id/07 40755 root:root +File: /usr/lib/debug/.build-id/07/57e7c3e90a5e5865c3e7db1929dc698de72625 120777 root:root ../../../../games/stratagus +File: /usr/lib/debug/.build-id/07/57e7c3e90a5e5865c3e7db1929dc698de72625.debug 120777 root:root ../../usr/games/stratagus.debug +File: /usr/lib/debug/.build-id/ec 40755 root:root +File: /usr/lib/debug/.build-id/ec/d19338b6dc436f27c182a1330363ee8fbc6714 120777 root:root ../../../../bin/png2stratagus +File: /usr/lib/debug/.build-id/ec/d19338b6dc436f27c182a1330363ee8fbc6714.debug 120777 root:root ../../usr/bin/png2stratagus.debug +File: /usr/lib/debug/usr/bin/png2stratagus.debug 100644 root:root 55f91debc42c5a2c1752f2667ca6766a +File: /usr/lib/debug/usr/games/stratagus.debug 100644 root:root b647e4656e3919f9f2f12d4f91ca7457 File: /usr/src/debug/stratagus-3.3.2 40755 root:root File: /usr/src/debug/stratagus-3.3.2/i586-alt-linux 40755 root:root -File: /usr/src/debug/stratagus-3.3.2/i586-alt-linux/tolua.cpp 100644 root:root 3f84160de7d6dc5fdfdb582487a564c5 +File: /usr/src/debug/stratagus-3.3.2/i586-alt-linux/tolua.cpp 100644 root:root 05f83b26c237d575a1405ac91befbf18 File: /usr/src/debug/stratagus-3.3.2/src 40755 root:root @@ -862,2 +862,2 @@ File: /usr/src/debug/stratagus-3.3.2/tools/png2stratagus.cpp 100644 root:root f54d1fd8bcd20c75fa37e0446b334597 -RPMIdentity: 848aedf60cca6f118718b4186c61717f6e3562b90fcf7df6e253ee2345d086775df53249d1c0a8e8fd61bb3808c3ef92d28fb602a643c296f851948f37bf323f +RPMIdentity: c980d57b4d0c08faffbe1764f81b5139e09a5eb914f3545ab289f19826fb597518ee298f22b25030f73933bd7a718ee4fa3a70677ae3a78eb27d15ca383228c7