Warning: Permanently added '54.85.186.43' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/6408440-fedora-rawhide-aarch64 --chroot fedora-rawhide-aarch64 Version: 0.69 PID: 34643 Logging PID: 34644 Task: {'appstream': False, 'background': True, 'build_id': 6408440, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-aarch64', 'enable_net': False, 'fedora_review': False, 'git_hash': '5d5e5a067715395c59df1fca72f0f8c812c2be42', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/tuliom/zlib-ng-compat-mpb/stratagus', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'stratagus', 'package_version': '3.3.2-3', 'project_dirname': 'zlib-ng-compat-mpb', 'project_name': 'zlib-ng-compat-mpb', 'project_owner': 'tuliom', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/tuliom/zlib-ng-compat-mpb/fedora-rawhide-aarch64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'tuliom/zlib-ng-compat-mpb--tuliom', 'source_json': {}, 'source_type': None, 'submitter': 'tuliom', 'tags': [], 'task_id': '6408440-fedora-rawhide-aarch64', 'timeout': 115200, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/tuliom/zlib-ng-compat-mpb/stratagus /var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/tuliom/zlib-ng-compat-mpb/stratagus', '/var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus'... Running: git checkout 5d5e5a067715395c59df1fca72f0f8c812c2be42 -- cmd: ['git', 'checkout', '5d5e5a067715395c59df1fca72f0f8c812c2be42', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus rc: 0 stdout: stderr: Note: switching to '5d5e5a067715395c59df1fca72f0f8c812c2be42'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 5d5e5a0 automatic import of stratagus Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading stratagus-3.3.2.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o stratagus-3.3.2.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/tuliom/zlib-ng-compat-mpb/stratagus/stratagus-3.3.2.tar.gz/md5/c5cb331af47a7e9b1f0d27b85278a492/stratagus-3.3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Dload Upload Total Spent Left Speed 100 1545k 100 1545k 0 0 35.8M 0 --:--:-- --:--:-- --:--:-- 36.8M INFO: Reading stdout from command: md5sum stratagus-3.3.2.tar.gz Running (timeout=115200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus/stratagus.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1695224618.597544 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.1.1 starting (python version = 3.11.3, NVR = mock-5.1.1-1.fc38)... Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus/stratagus.spec) Config(fedora-rawhide-aarch64) Start: clean chroot Finish: clean chroot Mock Version: 5.1.1 INFO: Mock Version: 5.1.1 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1695224618.597544/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1695224618.597544/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/00bf6089d52e143f2330d0941dd8727f9b2b152e5b90cb7c2ad2d06d4146facc/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/00bf6089d52e143f2330d0941dd8727f9b2b152e5b90cb7c2ad2d06d4146facc/merged) with podman image umount INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 103 MB/s | 9.3 MB 00:00 fedora 53 MB/s | 69 MB 00:01 Last metadata expiration check: 0:00:01 ago on Wed Sep 20 15:43:43 2023. Package python3-dnf-4.16.2-4.fc40.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.4.2-1.fc39 fedora 293 k Installing dependencies: dbus-libs aarch64 1:1.14.10-1.fc40 fedora 156 k python3-dateutil noarch 1:2.8.2-10.fc39 fedora 355 k python3-dbus aarch64 1.3.2-4.fc39 fedora 157 k python3-distro noarch 1.8.0-6.fc39 fedora 49 k python3-six noarch 1.16.0-12.fc39 fedora 41 k python3-systemd aarch64 235-5.fc39 fedora 107 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.1 M Installed size: 4.6 M Downloading Packages: (1/7): python3-dbus-1.3.2-4.fc39.aarch64.rpm 6.6 MB/s | 157 kB 00:00 (2/7): python3-dateutil-2.8.2-10.fc39.noarch.rp 14 MB/s | 355 kB 00:00 (3/7): dbus-libs-1.14.10-1.fc40.aarch64.rpm 5.5 MB/s | 156 kB 00:00 (4/7): python3-distro-1.8.0-6.fc39.noarch.rpm 12 MB/s | 49 kB 00:00 (5/7): python3-dnf-plugins-core-4.4.2-1.fc39.no 18 MB/s | 293 kB 00:00 (6/7): python3-six-1.16.0-12.fc39.noarch.rpm 3.0 MB/s | 41 kB 00:00 (7/7): python3-systemd-235-5.fc39.aarch64.rpm 6.6 MB/s | 107 kB 00:00 -------------------------------------------------------------------------------- Total 6.2 MB/s | 1.1 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-systemd-235-5.fc39.aarch64 1/7 Installing : python3-six-1.16.0-12.fc39.noarch 2/7 Installing : python3-dateutil-1:2.8.2-10.fc39.noarch 3/7 Installing : python3-distro-1.8.0-6.fc39.noarch 4/7 Installing : dbus-libs-1:1.14.10-1.fc40.aarch64 5/7 Installing : python3-dbus-1.3.2-4.fc39.aarch64 6/7 Installing : python3-dnf-plugins-core-4.4.2-1.fc39.noarch 7/7 Running scriptlet: python3-dnf-plugins-core-4.4.2-1.fc39.noarch 7/7 Verifying : dbus-libs-1:1.14.10-1.fc40.aarch64 1/7 Verifying : python3-dateutil-1:2.8.2-10.fc39.noarch 2/7 Verifying : python3-dbus-1.3.2-4.fc39.aarch64 3/7 Verifying : python3-distro-1.8.0-6.fc39.noarch 4/7 Verifying : python3-dnf-plugins-core-4.4.2-1.fc39.noarch 5/7 Verifying : python3-six-1.16.0-12.fc39.noarch 6/7 Verifying : python3-systemd-235-5.fc39.aarch64 7/7 Installed: dbus-libs-1:1.14.10-1.fc40.aarch64 python3-dateutil-1:2.8.2-10.fc39.noarch python3-dbus-1.3.2-4.fc39.aarch64 python3-distro-1.8.0-6.fc39.noarch python3-dnf-plugins-core-4.4.2-1.fc39.noarch python3-six-1.16.0-12.fc39.noarch python3-systemd-235-5.fc39.aarch64 Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf detected and used (direct choice) Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 69 kB/s | 1.5 kB 00:00 Copr repository 97 MB/s | 9.3 MB 00:00 fedora 30 kB/s | 8.7 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: bash aarch64 5.2.15-5.fc39 fedora 1.8 M bzip2 aarch64 1.0.8-16.fc39 fedora 52 k coreutils aarch64 9.4-1.fc40 fedora 1.2 M cpio aarch64 2.14-4.fc39 fedora 277 k diffutils aarch64 3.10-3.fc39 fedora 396 k fedora-release-common noarch 40-0.7 fedora 18 k findutils aarch64 1:4.9.0-6.fc40 fedora 495 k gawk aarch64 5.2.2-2.fc39 fedora 1.1 M glibc-minimal-langpack aarch64 2.38.9000-9.fc40 fedora 74 k grep aarch64 3.11-5.fc40 fedora 296 k gzip aarch64 1.12-6.fc39 fedora 164 k info aarch64 7.0.3-3.fc39 fedora 179 k patch aarch64 2.7.6-22.fc39 fedora 123 k redhat-rpm-config noarch 270-1.fc40 copr_base 74 k rpm-build aarch64 4.19.0-1.fc40 fedora 79 k sed aarch64 4.8-14.fc39 fedora 304 k shadow-utils aarch64 2:4.14.0-1.fc40 fedora 1.3 M tar aarch64 2:1.35-2.fc40 fedora 854 k unzip aarch64 6.0-62.fc39 fedora 183 k util-linux aarch64 2.39.2-1.fc40 copr_base 1.1 M which aarch64 2.21-40.fc39 fedora 42 k xz aarch64 5.4.4-1.fc39 fedora 556 k Installing dependencies: alternatives aarch64 1.25-1.fc39 fedora 38 k ansible-srpm-macros noarch 1-11.fc39 fedora 21 k audit-libs aarch64 3.1.2-4.fc40 fedora 118 k authselect aarch64 1.4.2-3.fc39 fedora 144 k authselect-libs aarch64 1.4.2-3.fc39 fedora 249 k basesystem noarch 11-18.fc39 fedora 7.2 k binutils aarch64 2.41-5.fc40 fedora 6.7 M binutils-gold aarch64 2.41-5.fc40 fedora 948 k bzip2-libs aarch64 1.0.8-16.fc39 fedora 43 k ca-certificates noarch 2023.2.60_v7.0.306-3.fc40 fedora 837 k coreutils-common aarch64 9.4-1.fc40 fedora 2.1 M cracklib aarch64 2.9.11-2.fc40 copr_base 84 k crypto-policies noarch 20230731-1.git5ed06e0.fc39 fedora 99 k curl aarch64 8.3.0-1.fc40 copr_base 350 k cyrus-sasl-lib aarch64 2.1.28-11.fc40 copr_base 781 k debugedit aarch64 5.0-10.fc39 fedora 77 k dwz aarch64 0.15-3.fc39 fedora 136 k ed aarch64 1.19-4.fc39 fedora 78 k efi-srpm-macros noarch 5-9.fc39 fedora 22 k elfutils aarch64 0.189-6.fc40 fedora 539 k elfutils-debuginfod-client aarch64 0.189-6.fc40 fedora 38 k elfutils-default-yama-scope noarch 0.189-6.fc40 fedora 13 k elfutils-libelf aarch64 0.189-6.fc40 fedora 194 k elfutils-libs aarch64 0.189-6.fc40 fedora 258 k fedora-gpg-keys noarch 40-0.1 fedora 130 k fedora-release noarch 40-0.7 fedora 8.0 k fedora-release-identity-basic noarch 40-0.7 fedora 8.8 k fedora-repos noarch 40-0.1 fedora 9.4 k fedora-repos-rawhide noarch 40-0.1 fedora 9.0 k file aarch64 5.45-1.fc40 copr_base 50 k file-libs aarch64 5.45-1.fc40 copr_base 762 k filesystem aarch64 3.18-6.fc39 fedora 1.1 M fonts-srpm-macros noarch 1:2.0.5-12.fc39 fedora 26 k forge-srpm-macros noarch 0.1.0-1.fc40 fedora 18 k fpc-srpm-macros noarch 1.3-8.fc39 fedora 7.4 k gdb-minimal aarch64 13.2-9.fc40 fedora 3.8 M gdbm-libs aarch64 1:1.23-4.fc39 fedora 56 k ghc-srpm-macros noarch 1.6.1-2.fc39 fedora 7.8 k glibc aarch64 2.38.9000-9.fc40 fedora 1.7 M glibc-common aarch64 2.38.9000-9.fc40 fedora 351 k glibc-gconv-extra aarch64 2.38.9000-9.fc40 fedora 2.0 M gmp aarch64 1:6.2.1-5.fc39 fedora 266 k gnat-srpm-macros noarch 6-3.fc39 fedora 8.8 k go-srpm-macros noarch 3.2.0-7.fc40 fedora 27 k jansson aarch64 2.13.1-7.fc39 fedora 46 k kernel-srpm-macros noarch 1.0-20.fc39 fedora 10 k keyutils-libs aarch64 1.6.1-7.fc39 fedora 31 k krb5-libs aarch64 1.21.2-1.fc40 fedora 772 k libacl aarch64 2.3.1-9.fc40 fedora 23 k libarchive aarch64 3.7.2-1.fc40 copr_base 403 k libattr aarch64 2.5.1-9.fc40 fedora 18 k libblkid aarch64 2.39.2-1.fc40 copr_base 116 k libbrotli aarch64 1.1.0-1.fc40 fedora 344 k libcap aarch64 2.48-7.fc39 fedora 68 k libcap-ng aarch64 0.8.3-8.fc40 fedora 32 k libcom_err aarch64 1.47.0-2.fc39 fedora 26 k libcurl aarch64 8.3.0-1.fc40 copr_base 337 k libdb aarch64 5.3.28-58.fc40 copr_base 735 k libeconf aarch64 0.5.2-1.fc40 fedora 30 k libevent aarch64 2.1.12-9.fc39 fedora 254 k libfdisk aarch64 2.39.2-1.fc40 copr_base 158 k libffi aarch64 3.4.4-4.fc39 fedora 38 k libgcc aarch64 13.2.1-3.fc40 fedora 95 k libgomp aarch64 13.2.1-3.fc40 fedora 312 k libidn2 aarch64 2.3.4-3.fc39 fedora 118 k libmount aarch64 2.39.2-1.fc40 copr_base 153 k libnghttp2 aarch64 1.56.0-1.fc40 copr_base 76 k libnsl2 aarch64 2.0.0-6.fc39 fedora 30 k libpkgconf aarch64 1.9.5-2.fc39 fedora 38 k libpsl aarch64 0.21.2-4.fc39 fedora 63 k libpwquality aarch64 1.4.5-6.fc39 fedora 120 k libselinux aarch64 3.5-5.fc39 fedora 86 k libsemanage aarch64 3.5-4.fc39 fedora 117 k libsepol aarch64 3.5-2.fc39 fedora 311 k libsigsegv aarch64 2.14-5.fc39 fedora 27 k libsmartcols aarch64 2.39.2-1.fc40 copr_base 66 k libssh aarch64 0.10.5-2.fc40 copr_base 212 k libssh-config noarch 0.10.5-2.fc40 copr_base 9.7 k libstdc++ aarch64 13.2.1-3.fc40 fedora 811 k libtasn1 aarch64 4.19.0-3.fc39 fedora 73 k libtirpc aarch64 1.3.3-1.rc2.fc39 fedora 95 k libunistring aarch64 1.1-5.fc40 fedora 540 k libutempter aarch64 1.2.1-10.fc39 fedora 27 k libuuid aarch64 2.39.2-1.fc40 copr_base 28 k libverto aarch64 0.3.2-6.fc39 fedora 21 k libxcrypt aarch64 4.4.36-2.fc39 fedora 123 k libxml2 aarch64 2.11.5-1.fc40 copr_base 687 k libzstd aarch64 1.5.5-4.fc40 copr_base 281 k lua-libs aarch64 5.4.6-3.fc39 fedora 131 k lua-srpm-macros noarch 1-9.fc39 fedora 8.6 k lz4-libs aarch64 1.9.4-4.fc39 fedora 68 k mpfr aarch64 4.2.0-3.fc39 fedora 319 k ncurses-base noarch 6.4-7.20230520.fc40 fedora 88 k ncurses-libs aarch64 6.4-7.20230520.fc40 fedora 326 k ocaml-srpm-macros noarch 8-2.fc39 fedora 14 k openblas-srpm-macros noarch 2-14.fc39 fedora 7.5 k openldap aarch64 2.6.6-1.fc39 fedora 251 k openssl-libs aarch64 1:3.1.1-4.fc40 copr_base 2.0 M p11-kit aarch64 0.25.0-2.fc39 fedora 481 k p11-kit-trust aarch64 0.25.0-2.fc39 fedora 140 k package-notes-srpm-macros noarch 0.5-9.fc39 fedora 11 k pam aarch64 1.5.3-2.fc39 fedora 558 k pam-libs aarch64 1.5.3-2.fc39 fedora 58 k pcre2 aarch64 10.42-1.fc39.2 fedora 219 k pcre2-syntax noarch 10.42-1.fc39.2 fedora 143 k perl-srpm-macros noarch 1-51.fc39 fedora 8.0 k pkgconf aarch64 1.9.5-2.fc39 fedora 42 k pkgconf-m4 noarch 1.9.5-2.fc39 fedora 14 k pkgconf-pkg-config aarch64 1.9.5-2.fc39 fedora 9.6 k popt aarch64 1.19-3.fc39 fedora 66 k publicsuffix-list-dafsa noarch 20230812-1.fc40 fedora 57 k pyproject-srpm-macros noarch 1.9.0-2.fc39 fedora 14 k python-srpm-macros noarch 3.12-4.fc40 fedora 25 k qt5-srpm-macros noarch 5.15.10-2.fc39 fedora 8.3 k qt6-srpm-macros noarch 6.5.2-3.fc40 fedora 9.0 k readline aarch64 8.2-4.fc39 fedora 211 k rpm aarch64 4.19.0-1.fc40 fedora 537 k rpm-build-libs aarch64 4.19.0-1.fc40 fedora 92 k rpm-libs aarch64 4.19.0-1.fc40 fedora 306 k rpm-sequoia aarch64 1.5.0-1.fc40 fedora 842 k rust-srpm-macros noarch 24-5.fc40 fedora 12 k setup noarch 2.14.4-1.fc39 fedora 154 k sqlite-libs aarch64 3.43.1-1.fc40 fedora 679 k systemd-libs aarch64 254.2-12.fc40 fedora 666 k util-linux-core aarch64 2.39.2-1.fc40 copr_base 477 k xxhash-libs aarch64 0.8.2-1.fc39 fedora 35 k xz-libs aarch64 5.4.4-1.fc39 fedora 106 k zip aarch64 3.0-39.fc40 fedora 262 k zlib-ng-compat aarch64 2.1.3-5.fc40 copr_base 66 k zstd aarch64 1.5.5-4.fc40 copr_base 446 k Installing Groups: Buildsystem building group Transaction Summary ================================================================================ Install 152 Packages Total size: 52 M Installed size: 303 M Downloading Packages: [SKIPPED] cracklib-2.9.11-2.fc40.aarch64.rpm: Already downloaded [SKIPPED] curl-8.3.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] cyrus-sasl-lib-2.1.28-11.fc40.aarch64.rpm: Already downloaded [SKIPPED] file-5.45-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] file-libs-5.45-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libarchive-3.7.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libblkid-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libcurl-8.3.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libdb-5.3.28-58.fc40.aarch64.rpm: Already downloaded [SKIPPED] libfdisk-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libmount-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libnghttp2-1.56.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libsmartcols-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libssh-0.10.5-2.fc40.aarch64.rpm: Already downloaded [SKIPPED] libssh-config-0.10.5-2.fc40.noarch.rpm: Already downloaded [SKIPPED] libuuid-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libxml2-2.11.5-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libzstd-1.5.5-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] openssl-libs-3.1.1-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] redhat-rpm-config-270-1.fc40.noarch.rpm: Already downloaded [SKIPPED] util-linux-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] util-linux-core-2.39.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] zlib-ng-compat-2.1.3-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] zstd-1.5.5-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] alternatives-1.25-1.fc39.aarch64.rpm: Already downloaded [SKIPPED] ansible-srpm-macros-1-11.fc39.noarch.rpm: Already downloaded [SKIPPED] audit-libs-3.1.2-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] authselect-1.4.2-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] authselect-libs-1.4.2-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] basesystem-11-18.fc39.noarch.rpm: Already downloaded [SKIPPED] bash-5.2.15-5.fc39.aarch64.rpm: Already downloaded [SKIPPED] binutils-2.41-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] binutils-gold-2.41-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] bzip2-1.0.8-16.fc39.aarch64.rpm: Already downloaded [SKIPPED] bzip2-libs-1.0.8-16.fc39.aarch64.rpm: Already downloaded [SKIPPED] ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch.rpm: Already downloaded [SKIPPED] coreutils-9.4-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] coreutils-common-9.4-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] cpio-2.14-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] crypto-policies-20230731-1.git5ed06e0.fc39.noarch.rpm: Already downloaded [SKIPPED] debugedit-5.0-10.fc39.aarch64.rpm: Already downloaded [SKIPPED] diffutils-3.10-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] dwz-0.15-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] ed-1.19-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] efi-srpm-macros-5-9.fc39.noarch.rpm: Already downloaded [SKIPPED] elfutils-0.189-6.fc40.aarch64.rpm: Already downloaded [SKIPPED] elfutils-debuginfod-client-0.189-6.fc40.aarch64.rpm: Already downloaded [SKIPPED] elfutils-default-yama-scope-0.189-6.fc40.noarch.rpm: Already downloaded [SKIPPED] elfutils-libelf-0.189-6.fc40.aarch64.rpm: Already downloaded [SKIPPED] elfutils-libs-0.189-6.fc40.aarch64.rpm: Already downloaded [SKIPPED] fedora-gpg-keys-40-0.1.noarch.rpm: Already downloaded [SKIPPED] fedora-release-40-0.7.noarch.rpm: Already downloaded [SKIPPED] fedora-release-common-40-0.7.noarch.rpm: Already downloaded [SKIPPED] fedora-release-identity-basic-40-0.7.noarch.rpm: Already downloaded [SKIPPED] fedora-repos-40-0.1.noarch.rpm: Already downloaded [SKIPPED] fedora-repos-rawhide-40-0.1.noarch.rpm: Already downloaded [SKIPPED] filesystem-3.18-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] findutils-4.9.0-6.fc40.aarch64.rpm: Already downloaded [SKIPPED] fonts-srpm-macros-2.0.5-12.fc39.noarch.rpm: Already downloaded [SKIPPED] forge-srpm-macros-0.1.0-1.fc40.noarch.rpm: Already downloaded [SKIPPED] fpc-srpm-macros-1.3-8.fc39.noarch.rpm: Already downloaded [SKIPPED] gawk-5.2.2-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] gdb-minimal-13.2-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] gdbm-libs-1.23-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] ghc-srpm-macros-1.6.1-2.fc39.noarch.rpm: Already downloaded [SKIPPED] glibc-2.38.9000-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] glibc-common-2.38.9000-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] glibc-gconv-extra-2.38.9000-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] glibc-minimal-langpack-2.38.9000-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] gmp-6.2.1-5.fc39.aarch64.rpm: Already downloaded [SKIPPED] gnat-srpm-macros-6-3.fc39.noarch.rpm: Already downloaded [SKIPPED] go-srpm-macros-3.2.0-7.fc40.noarch.rpm: Already downloaded [SKIPPED] grep-3.11-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] gzip-1.12-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] info-7.0.3-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] jansson-2.13.1-7.fc39.aarch64.rpm: Already downloaded [SKIPPED] kernel-srpm-macros-1.0-20.fc39.noarch.rpm: Already downloaded [SKIPPED] keyutils-libs-1.6.1-7.fc39.aarch64.rpm: Already downloaded [SKIPPED] krb5-libs-1.21.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libacl-2.3.1-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] libattr-2.5.1-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] libbrotli-1.1.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libcap-2.48-7.fc39.aarch64.rpm: Already downloaded [SKIPPED] libcap-ng-0.8.3-8.fc40.aarch64.rpm: Already downloaded [SKIPPED] libcom_err-1.47.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libeconf-0.5.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libevent-2.1.12-9.fc39.aarch64.rpm: Already downloaded [SKIPPED] libffi-3.4.4-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] libgcc-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libgomp-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libidn2-2.3.4-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] libnsl2-2.0.0-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] libpkgconf-1.9.5-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libpsl-0.21.2-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] libpwquality-1.4.5-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] libselinux-3.5-5.fc39.aarch64.rpm: Already downloaded [SKIPPED] libsemanage-3.5-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] libsepol-3.5-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libsigsegv-2.14-5.fc39.aarch64.rpm: Already downloaded [SKIPPED] libstdc++-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libtasn1-4.19.0-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] libtirpc-1.3.3-1.rc2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libunistring-1.1-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] libutempter-1.2.1-10.fc39.aarch64.rpm: Already downloaded [SKIPPED] libverto-0.3.2-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] libxcrypt-4.4.36-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] lua-libs-5.4.6-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] lua-srpm-macros-1-9.fc39.noarch.rpm: Already downloaded [SKIPPED] lz4-libs-1.9.4-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] mpfr-4.2.0-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] ncurses-base-6.4-7.20230520.fc40.noarch.rpm: Already downloaded [SKIPPED] ncurses-libs-6.4-7.20230520.fc40.aarch64.rpm: Already downloaded [SKIPPED] ocaml-srpm-macros-8-2.fc39.noarch.rpm: Already downloaded [SKIPPED] openblas-srpm-macros-2-14.fc39.noarch.rpm: Already downloaded [SKIPPED] openldap-2.6.6-1.fc39.aarch64.rpm: Already downloaded [SKIPPED] p11-kit-0.25.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] p11-kit-trust-0.25.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] package-notes-srpm-macros-0.5-9.fc39.noarch.rpm: Already downloaded [SKIPPED] pam-1.5.3-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] pam-libs-1.5.3-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] patch-2.7.6-22.fc39.aarch64.rpm: Already downloaded [SKIPPED] pcre2-10.42-1.fc39.2.aarch64.rpm: Already downloaded [SKIPPED] pcre2-syntax-10.42-1.fc39.2.noarch.rpm: Already downloaded [SKIPPED] perl-srpm-macros-1-51.fc39.noarch.rpm: Already downloaded [SKIPPED] pkgconf-1.9.5-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] pkgconf-m4-1.9.5-2.fc39.noarch.rpm: Already downloaded [SKIPPED] pkgconf-pkg-config-1.9.5-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] popt-1.19-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] publicsuffix-list-dafsa-20230812-1.fc40.noarch.rpm: Already downloaded [SKIPPED] pyproject-srpm-macros-1.9.0-2.fc39.noarch.rpm: Already downloaded [SKIPPED] python-srpm-macros-3.12-4.fc40.noarch.rpm: Already downloaded [SKIPPED] qt5-srpm-macros-5.15.10-2.fc39.noarch.rpm: Already downloaded [SKIPPED] qt6-srpm-macros-6.5.2-3.fc40.noarch.rpm: Already downloaded [SKIPPED] readline-8.2-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] rpm-4.19.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] rpm-build-4.19.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] rpm-build-libs-4.19.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] rpm-libs-4.19.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] rpm-sequoia-1.5.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] rust-srpm-macros-24-5.fc40.noarch.rpm: Already downloaded [SKIPPED] sed-4.8-14.fc39.aarch64.rpm: Already downloaded [SKIPPED] setup-2.14.4-1.fc39.noarch.rpm: Already downloaded [SKIPPED] shadow-utils-4.14.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] sqlite-libs-3.43.1-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] systemd-libs-254.2-12.fc40.aarch64.rpm: Already downloaded [SKIPPED] tar-1.35-2.fc40.aarch64.rpm: Already downloaded [SKIPPED] unzip-6.0-62.fc39.aarch64.rpm: Already downloaded [SKIPPED] which-2.21-40.fc39.aarch64.rpm: Already downloaded [SKIPPED] xxhash-libs-0.8.2-1.fc39.aarch64.rpm: Already downloaded [SKIPPED] xz-5.4.4-1.fc39.aarch64.rpm: Already downloaded [SKIPPED] xz-libs-5.4.4-1.fc39.aarch64.rpm: Already downloaded [SKIPPED] zip-3.0-39.fc40.aarch64.rpm: Already downloaded fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115D F9AE F857 853E E844 5D0A 0727 707E A15B 79CC From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary Key imported successfully fedora 1.6 MB/s | 1.6 kB 00:00 GPG key at file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary (0xA15B79CC) is already installed fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x18B8E74C: Userid : "Fedora (39) " Fingerprint: E8F2 3996 F232 1864 0CB4 4CBE 75CF 5AC4 18B8 E74C From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-6.fc39.aarch64 1/1 Preparing : 1/1 Installing : libgcc-13.2.1-3.fc40.aarch64 1/152 Running scriptlet: libgcc-13.2.1-3.fc40.aarch64 1/152 Installing : crypto-policies-20230731-1.git5ed06e0.fc39.noarc 2/152 Running scriptlet: crypto-policies-20230731-1.git5ed06e0.fc39.noarc 2/152 Installing : fedora-release-identity-basic-40-0.7.noarch 3/152 Installing : fedora-repos-rawhide-40-0.1.noarch 4/152 Installing : fedora-gpg-keys-40-0.1.noarch 5/152 Installing : fedora-repos-40-0.1.noarch 6/152 Installing : fedora-release-common-40-0.7.noarch 7/152 Installing : fedora-release-40-0.7.noarch 8/152 Installing : setup-2.14.4-1.fc39.noarch 9/152 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.14.4-1.fc39.noarch 9/152 Installing : filesystem-3.18-6.fc39.aarch64 10/152 Installing : basesystem-11-18.fc39.noarch 11/152 Installing : rust-srpm-macros-24-5.fc40.noarch 12/152 Installing : qt6-srpm-macros-6.5.2-3.fc40.noarch 13/152 Installing : qt5-srpm-macros-5.15.10-2.fc39.noarch 14/152 Installing : pyproject-srpm-macros-1.9.0-2.fc39.noarch 15/152 Installing : publicsuffix-list-dafsa-20230812-1.fc40.noarch 16/152 Installing : pkgconf-m4-1.9.5-2.fc39.noarch 17/152 Installing : perl-srpm-macros-1-51.fc39.noarch 18/152 Installing : pcre2-syntax-10.42-1.fc39.2.noarch 19/152 Installing : package-notes-srpm-macros-0.5-9.fc39.noarch 20/152 Installing : openblas-srpm-macros-2-14.fc39.noarch 21/152 Installing : ocaml-srpm-macros-8-2.fc39.noarch 22/152 Installing : ncurses-base-6.4-7.20230520.fc40.noarch 23/152 Installing : glibc-gconv-extra-2.38.9000-9.fc40.aarch64 24/152 Running scriptlet: glibc-gconv-extra-2.38.9000-9.fc40.aarch64 24/152 Installing : glibc-minimal-langpack-2.38.9000-9.fc40.aarch64 25/152 Installing : glibc-common-2.38.9000-9.fc40.aarch64 26/152 Running scriptlet: glibc-2.38.9000-9.fc40.aarch64 27/152 Installing : glibc-2.38.9000-9.fc40.aarch64 27/152 Running scriptlet: glibc-2.38.9000-9.fc40.aarch64 27/152 Installing : ncurses-libs-6.4-7.20230520.fc40.aarch64 28/152 Installing : bash-5.2.15-5.fc39.aarch64 29/152 Running scriptlet: bash-5.2.15-5.fc39.aarch64 29/152 Installing : zlib-ng-compat-2.1.3-5.fc40.aarch64 30/152 Installing : xz-libs-5.4.4-1.fc39.aarch64 31/152 Installing : bzip2-libs-1.0.8-16.fc39.aarch64 32/152 Installing : libuuid-2.39.2-1.fc40.aarch64 33/152 Installing : libzstd-1.5.5-4.fc40.aarch64 34/152 Installing : elfutils-libelf-0.189-6.fc40.aarch64 35/152 Installing : libstdc++-13.2.1-3.fc40.aarch64 36/152 Installing : popt-1.19-3.fc39.aarch64 37/152 Installing : libblkid-2.39.2-1.fc40.aarch64 38/152 Installing : readline-8.2-4.fc39.aarch64 39/152 Installing : gmp-1:6.2.1-5.fc39.aarch64 40/152 Installing : libattr-2.5.1-9.fc40.aarch64 41/152 Installing : libacl-2.3.1-9.fc40.aarch64 42/152 Installing : libcap-2.48-7.fc39.aarch64 43/152 Installing : libxcrypt-4.4.36-2.fc39.aarch64 44/152 Installing : lz4-libs-1.9.4-4.fc39.aarch64 45/152 Installing : systemd-libs-254.2-12.fc40.aarch64 46/152 Installing : mpfr-4.2.0-3.fc39.aarch64 47/152 Installing : dwz-0.15-3.fc39.aarch64 48/152 Installing : unzip-6.0-62.fc39.aarch64 49/152 Installing : file-libs-5.45-1.fc40.aarch64 50/152 Installing : file-5.45-1.fc40.aarch64 51/152 Installing : libsmartcols-2.39.2-1.fc40.aarch64 52/152 Installing : alternatives-1.25-1.fc39.aarch64 53/152 Installing : jansson-2.13.1-7.fc39.aarch64 54/152 Installing : libcap-ng-0.8.3-8.fc40.aarch64 55/152 Installing : audit-libs-3.1.2-4.fc40.aarch64 56/152 Installing : pam-libs-1.5.3-2.fc39.aarch64 57/152 Installing : libcom_err-1.47.0-2.fc39.aarch64 58/152 Installing : libsepol-3.5-2.fc39.aarch64 59/152 Installing : libunistring-1.1-5.fc40.aarch64 60/152 Installing : libidn2-2.3.4-3.fc39.aarch64 61/152 Installing : lua-libs-5.4.6-3.fc39.aarch64 62/152 Installing : pcre2-10.42-1.fc39.2.aarch64 63/152 Installing : libselinux-3.5-5.fc39.aarch64 64/152 Installing : sed-4.8-14.fc39.aarch64 65/152 Installing : grep-3.11-5.fc40.aarch64 66/152 Installing : findutils-1:4.9.0-6.fc40.aarch64 67/152 Installing : xz-5.4.4-1.fc39.aarch64 68/152 Installing : libmount-2.39.2-1.fc40.aarch64 69/152 Installing : util-linux-core-2.39.2-1.fc40.aarch64 70/152 Installing : libsemanage-3.5-4.fc39.aarch64 71/152 Installing : tar-2:1.35-2.fc40.aarch64 72/152 Installing : libpsl-0.21.2-4.fc39.aarch64 73/152 Installing : zip-3.0-39.fc40.aarch64 74/152 Installing : zstd-1.5.5-4.fc40.aarch64 75/152 Installing : libfdisk-2.39.2-1.fc40.aarch64 76/152 Installing : bzip2-1.0.8-16.fc39.aarch64 77/152 Installing : libxml2-2.11.5-1.fc40.aarch64 78/152 Installing : sqlite-libs-3.43.1-1.fc40.aarch64 79/152 Installing : ed-1.19-4.fc39.aarch64 80/152 Installing : patch-2.7.6-22.fc39.aarch64 81/152 Installing : elfutils-default-yama-scope-0.189-6.fc40.noarch 82/152 Running scriptlet: elfutils-default-yama-scope-0.189-6.fc40.noarch 82/152 Installing : libdb-5.3.28-58.fc40.aarch64 83/152 Installing : libnghttp2-1.56.0-1.fc40.aarch64 84/152 Installing : cpio-2.14-4.fc39.aarch64 85/152 Installing : diffutils-3.10-3.fc39.aarch64 86/152 Installing : gdbm-libs-1:1.23-4.fc39.aarch64 87/152 Installing : cyrus-sasl-lib-2.1.28-11.fc40.aarch64 88/152 Installing : keyutils-libs-1.6.1-7.fc39.aarch64 89/152 Installing : libbrotli-1.1.0-1.fc40.aarch64 90/152 Installing : libeconf-0.5.2-1.fc40.aarch64 91/152 Installing : shadow-utils-2:4.14.0-1.fc40.aarch64 92/152 Running scriptlet: libutempter-1.2.1-10.fc39.aarch64 93/152 Installing : libutempter-1.2.1-10.fc39.aarch64 93/152 Installing : libffi-3.4.4-4.fc39.aarch64 94/152 Installing : p11-kit-0.25.0-2.fc39.aarch64 95/152 Installing : libgomp-13.2.1-3.fc40.aarch64 96/152 Installing : libpkgconf-1.9.5-2.fc39.aarch64 97/152 Installing : pkgconf-1.9.5-2.fc39.aarch64 98/152 Installing : pkgconf-pkg-config-1.9.5-2.fc39.aarch64 99/152 Installing : libsigsegv-2.14-5.fc39.aarch64 100/152 Installing : gawk-5.2.2-2.fc39.aarch64 101/152 Installing : libtasn1-4.19.0-3.fc39.aarch64 102/152 Installing : p11-kit-trust-0.25.0-2.fc39.aarch64 103/152 Running scriptlet: p11-kit-trust-0.25.0-2.fc39.aarch64 103/152 Installing : libverto-0.3.2-6.fc39.aarch64 104/152 Installing : xxhash-libs-0.8.2-1.fc39.aarch64 105/152 Installing : kernel-srpm-macros-1.0-20.fc39.noarch 106/152 Installing : gnat-srpm-macros-6-3.fc39.noarch 107/152 Installing : ghc-srpm-macros-1.6.1-2.fc39.noarch 108/152 Installing : fpc-srpm-macros-1.3-8.fc39.noarch 109/152 Installing : coreutils-common-9.4-1.fc40.aarch64 110/152 Installing : openssl-libs-1:3.1.1-4.fc40.aarch64 111/152 Installing : coreutils-9.4-1.fc40.aarch64 112/152 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 113/152 Installing : ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 113/152 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 113/152 Installing : krb5-libs-1.21.2-1.fc40.aarch64 114/152 Installing : libtirpc-1.3.3-1.rc2.fc39.aarch64 115/152 Running scriptlet: authselect-libs-1.4.2-3.fc39.aarch64 116/152 Installing : authselect-libs-1.4.2-3.fc39.aarch64 116/152 Installing : gzip-1.12-6.fc39.aarch64 117/152 Installing : cracklib-2.9.11-2.fc40.aarch64 118/152 Installing : libpwquality-1.4.5-6.fc39.aarch64 119/152 Installing : authselect-1.4.2-3.fc39.aarch64 120/152 Installing : libnsl2-2.0.0-6.fc39.aarch64 121/152 Installing : pam-1.5.3-2.fc39.aarch64 122/152 Installing : libarchive-3.7.2-1.fc40.aarch64 123/152 Installing : libevent-2.1.12-9.fc39.aarch64 124/152 Installing : openldap-2.6.6-1.fc39.aarch64 125/152 Installing : rpm-sequoia-1.5.0-1.fc40.aarch64 126/152 Installing : rpm-libs-4.19.0-1.fc40.aarch64 127/152 Installing : ansible-srpm-macros-1-11.fc39.noarch 128/152 Installing : libssh-config-0.10.5-2.fc40.noarch 129/152 Installing : libssh-0.10.5-2.fc40.aarch64 130/152 Installing : libcurl-8.3.0-1.fc40.aarch64 131/152 Installing : elfutils-libs-0.189-6.fc40.aarch64 132/152 Installing : elfutils-debuginfod-client-0.189-6.fc40.aarch64 133/152 Installing : binutils-gold-2.41-5.fc40.aarch64 134/152 Running scriptlet: binutils-gold-2.41-5.fc40.aarch64 134/152 Installing : binutils-2.41-5.fc40.aarch64 135/152 Running scriptlet: binutils-2.41-5.fc40.aarch64 135/152 Installing : elfutils-0.189-6.fc40.aarch64 136/152 Installing : gdb-minimal-13.2-9.fc40.aarch64 137/152 Installing : debugedit-5.0-10.fc39.aarch64 138/152 Installing : rpm-build-libs-4.19.0-1.fc40.aarch64 139/152 Installing : curl-8.3.0-1.fc40.aarch64 140/152 Running scriptlet: rpm-4.19.0-1.fc40.aarch64 141/152 Installing : rpm-4.19.0-1.fc40.aarch64 141/152 Installing : efi-srpm-macros-5-9.fc39.noarch 142/152 Installing : lua-srpm-macros-1-9.fc39.noarch 143/152 Installing : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 144/152 Installing : forge-srpm-macros-0.1.0-1.fc40.noarch 145/152 Installing : go-srpm-macros-3.2.0-7.fc40.noarch 146/152 Installing : python-srpm-macros-3.12-4.fc40.noarch 147/152 Installing : redhat-rpm-config-270-1.fc40.noarch 148/152 Installing : rpm-build-4.19.0-1.fc40.aarch64 149/152 Installing : util-linux-2.39.2-1.fc40.aarch64 150/152 Installing : which-2.21-40.fc39.aarch64 151/152 Installing : info-7.0.3-3.fc39.aarch64 152/152 Running scriptlet: filesystem-3.18-6.fc39.aarch64 152/152 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 152/152 Running scriptlet: authselect-libs-1.4.2-3.fc39.aarch64 152/152 Running scriptlet: rpm-4.19.0-1.fc40.aarch64 152/152 Running scriptlet: info-7.0.3-3.fc39.aarch64 152/152 Verifying : cracklib-2.9.11-2.fc40.aarch64 1/152 Verifying : curl-8.3.0-1.fc40.aarch64 2/152 Verifying : cyrus-sasl-lib-2.1.28-11.fc40.aarch64 3/152 Verifying : file-5.45-1.fc40.aarch64 4/152 Verifying : file-libs-5.45-1.fc40.aarch64 5/152 Verifying : libarchive-3.7.2-1.fc40.aarch64 6/152 Verifying : libblkid-2.39.2-1.fc40.aarch64 7/152 Verifying : libcurl-8.3.0-1.fc40.aarch64 8/152 Verifying : libdb-5.3.28-58.fc40.aarch64 9/152 Verifying : libfdisk-2.39.2-1.fc40.aarch64 10/152 Verifying : libmount-2.39.2-1.fc40.aarch64 11/152 Verifying : libnghttp2-1.56.0-1.fc40.aarch64 12/152 Verifying : libsmartcols-2.39.2-1.fc40.aarch64 13/152 Verifying : libssh-0.10.5-2.fc40.aarch64 14/152 Verifying : libssh-config-0.10.5-2.fc40.noarch 15/152 Verifying : libuuid-2.39.2-1.fc40.aarch64 16/152 Verifying : libxml2-2.11.5-1.fc40.aarch64 17/152 Verifying : libzstd-1.5.5-4.fc40.aarch64 18/152 Verifying : openssl-libs-1:3.1.1-4.fc40.aarch64 19/152 Verifying : redhat-rpm-config-270-1.fc40.noarch 20/152 Verifying : util-linux-2.39.2-1.fc40.aarch64 21/152 Verifying : util-linux-core-2.39.2-1.fc40.aarch64 22/152 Verifying : zlib-ng-compat-2.1.3-5.fc40.aarch64 23/152 Verifying : zstd-1.5.5-4.fc40.aarch64 24/152 Verifying : alternatives-1.25-1.fc39.aarch64 25/152 Verifying : ansible-srpm-macros-1-11.fc39.noarch 26/152 Verifying : audit-libs-3.1.2-4.fc40.aarch64 27/152 Verifying : authselect-1.4.2-3.fc39.aarch64 28/152 Verifying : authselect-libs-1.4.2-3.fc39.aarch64 29/152 Verifying : basesystem-11-18.fc39.noarch 30/152 Verifying : bash-5.2.15-5.fc39.aarch64 31/152 Verifying : binutils-2.41-5.fc40.aarch64 32/152 Verifying : binutils-gold-2.41-5.fc40.aarch64 33/152 Verifying : bzip2-1.0.8-16.fc39.aarch64 34/152 Verifying : bzip2-libs-1.0.8-16.fc39.aarch64 35/152 Verifying : ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 36/152 Verifying : coreutils-9.4-1.fc40.aarch64 37/152 Verifying : coreutils-common-9.4-1.fc40.aarch64 38/152 Verifying : cpio-2.14-4.fc39.aarch64 39/152 Verifying : crypto-policies-20230731-1.git5ed06e0.fc39.noarc 40/152 Verifying : debugedit-5.0-10.fc39.aarch64 41/152 Verifying : diffutils-3.10-3.fc39.aarch64 42/152 Verifying : dwz-0.15-3.fc39.aarch64 43/152 Verifying : ed-1.19-4.fc39.aarch64 44/152 Verifying : efi-srpm-macros-5-9.fc39.noarch 45/152 Verifying : elfutils-0.189-6.fc40.aarch64 46/152 Verifying : elfutils-debuginfod-client-0.189-6.fc40.aarch64 47/152 Verifying : elfutils-default-yama-scope-0.189-6.fc40.noarch 48/152 Verifying : elfutils-libelf-0.189-6.fc40.aarch64 49/152 Verifying : elfutils-libs-0.189-6.fc40.aarch64 50/152 Verifying : fedora-gpg-keys-40-0.1.noarch 51/152 Verifying : fedora-release-40-0.7.noarch 52/152 Verifying : fedora-release-common-40-0.7.noarch 53/152 Verifying : fedora-release-identity-basic-40-0.7.noarch 54/152 Verifying : fedora-repos-40-0.1.noarch 55/152 Verifying : fedora-repos-rawhide-40-0.1.noarch 56/152 Verifying : filesystem-3.18-6.fc39.aarch64 57/152 Verifying : findutils-1:4.9.0-6.fc40.aarch64 58/152 Verifying : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 59/152 Verifying : forge-srpm-macros-0.1.0-1.fc40.noarch 60/152 Verifying : fpc-srpm-macros-1.3-8.fc39.noarch 61/152 Verifying : gawk-5.2.2-2.fc39.aarch64 62/152 Verifying : gdb-minimal-13.2-9.fc40.aarch64 63/152 Verifying : gdbm-libs-1:1.23-4.fc39.aarch64 64/152 Verifying : ghc-srpm-macros-1.6.1-2.fc39.noarch 65/152 Verifying : glibc-2.38.9000-9.fc40.aarch64 66/152 Verifying : glibc-common-2.38.9000-9.fc40.aarch64 67/152 Verifying : glibc-gconv-extra-2.38.9000-9.fc40.aarch64 68/152 Verifying : glibc-minimal-langpack-2.38.9000-9.fc40.aarch64 69/152 Verifying : gmp-1:6.2.1-5.fc39.aarch64 70/152 Verifying : gnat-srpm-macros-6-3.fc39.noarch 71/152 Verifying : go-srpm-macros-3.2.0-7.fc40.noarch 72/152 Verifying : grep-3.11-5.fc40.aarch64 73/152 Verifying : gzip-1.12-6.fc39.aarch64 74/152 Verifying : info-7.0.3-3.fc39.aarch64 75/152 Verifying : jansson-2.13.1-7.fc39.aarch64 76/152 Verifying : kernel-srpm-macros-1.0-20.fc39.noarch 77/152 Verifying : keyutils-libs-1.6.1-7.fc39.aarch64 78/152 Verifying : krb5-libs-1.21.2-1.fc40.aarch64 79/152 Verifying : libacl-2.3.1-9.fc40.aarch64 80/152 Verifying : libattr-2.5.1-9.fc40.aarch64 81/152 Verifying : libbrotli-1.1.0-1.fc40.aarch64 82/152 Verifying : libcap-2.48-7.fc39.aarch64 83/152 Verifying : libcap-ng-0.8.3-8.fc40.aarch64 84/152 Verifying : libcom_err-1.47.0-2.fc39.aarch64 85/152 Verifying : libeconf-0.5.2-1.fc40.aarch64 86/152 Verifying : libevent-2.1.12-9.fc39.aarch64 87/152 Verifying : libffi-3.4.4-4.fc39.aarch64 88/152 Verifying : libgcc-13.2.1-3.fc40.aarch64 89/152 Verifying : libgomp-13.2.1-3.fc40.aarch64 90/152 Verifying : libidn2-2.3.4-3.fc39.aarch64 91/152 Verifying : libnsl2-2.0.0-6.fc39.aarch64 92/152 Verifying : libpkgconf-1.9.5-2.fc39.aarch64 93/152 Verifying : libpsl-0.21.2-4.fc39.aarch64 94/152 Verifying : libpwquality-1.4.5-6.fc39.aarch64 95/152 Verifying : libselinux-3.5-5.fc39.aarch64 96/152 Verifying : libsemanage-3.5-4.fc39.aarch64 97/152 Verifying : libsepol-3.5-2.fc39.aarch64 98/152 Verifying : libsigsegv-2.14-5.fc39.aarch64 99/152 Verifying : libstdc++-13.2.1-3.fc40.aarch64 100/152 Verifying : libtasn1-4.19.0-3.fc39.aarch64 101/152 Verifying : libtirpc-1.3.3-1.rc2.fc39.aarch64 102/152 Verifying : libunistring-1.1-5.fc40.aarch64 103/152 Verifying : libutempter-1.2.1-10.fc39.aarch64 104/152 Verifying : libverto-0.3.2-6.fc39.aarch64 105/152 Verifying : libxcrypt-4.4.36-2.fc39.aarch64 106/152 Verifying : lua-libs-5.4.6-3.fc39.aarch64 107/152 Verifying : lua-srpm-macros-1-9.fc39.noarch 108/152 Verifying : lz4-libs-1.9.4-4.fc39.aarch64 109/152 Verifying : mpfr-4.2.0-3.fc39.aarch64 110/152 Verifying : ncurses-base-6.4-7.20230520.fc40.noarch 111/152 Verifying : ncurses-libs-6.4-7.20230520.fc40.aarch64 112/152 Verifying : ocaml-srpm-macros-8-2.fc39.noarch 113/152 Verifying : openblas-srpm-macros-2-14.fc39.noarch 114/152 Verifying : openldap-2.6.6-1.fc39.aarch64 115/152 Verifying : p11-kit-0.25.0-2.fc39.aarch64 116/152 Verifying : p11-kit-trust-0.25.0-2.fc39.aarch64 117/152 Verifying : package-notes-srpm-macros-0.5-9.fc39.noarch 118/152 Verifying : pam-1.5.3-2.fc39.aarch64 119/152 Verifying : pam-libs-1.5.3-2.fc39.aarch64 120/152 Verifying : patch-2.7.6-22.fc39.aarch64 121/152 Verifying : pcre2-10.42-1.fc39.2.aarch64 122/152 Verifying : pcre2-syntax-10.42-1.fc39.2.noarch 123/152 Verifying : perl-srpm-macros-1-51.fc39.noarch 124/152 Verifying : pkgconf-1.9.5-2.fc39.aarch64 125/152 Verifying : pkgconf-m4-1.9.5-2.fc39.noarch 126/152 Verifying : pkgconf-pkg-config-1.9.5-2.fc39.aarch64 127/152 Verifying : popt-1.19-3.fc39.aarch64 128/152 Verifying : publicsuffix-list-dafsa-20230812-1.fc40.noarch 129/152 Verifying : pyproject-srpm-macros-1.9.0-2.fc39.noarch 130/152 Verifying : python-srpm-macros-3.12-4.fc40.noarch 131/152 Verifying : qt5-srpm-macros-5.15.10-2.fc39.noarch 132/152 Verifying : qt6-srpm-macros-6.5.2-3.fc40.noarch 133/152 Verifying : readline-8.2-4.fc39.aarch64 134/152 Verifying : rpm-4.19.0-1.fc40.aarch64 135/152 Verifying : rpm-build-4.19.0-1.fc40.aarch64 136/152 Verifying : rpm-build-libs-4.19.0-1.fc40.aarch64 137/152 Verifying : rpm-libs-4.19.0-1.fc40.aarch64 138/152 Verifying : rpm-sequoia-1.5.0-1.fc40.aarch64 139/152 Verifying : rust-srpm-macros-24-5.fc40.noarch 140/152 Verifying : sed-4.8-14.fc39.aarch64 141/152 Verifying : setup-2.14.4-1.fc39.noarch 142/152 Verifying : shadow-utils-2:4.14.0-1.fc40.aarch64 143/152 Verifying : sqlite-libs-3.43.1-1.fc40.aarch64 144/152 Verifying : systemd-libs-254.2-12.fc40.aarch64 145/152 Verifying : tar-2:1.35-2.fc40.aarch64 146/152 Verifying : unzip-6.0-62.fc39.aarch64 147/152 Verifying : which-2.21-40.fc39.aarch64 148/152 Verifying : xxhash-libs-0.8.2-1.fc39.aarch64 149/152 Verifying : xz-5.4.4-1.fc39.aarch64 150/152 Verifying : xz-libs-5.4.4-1.fc39.aarch64 151/152 Verifying : zip-3.0-39.fc40.aarch64 152/152 Installed: alternatives-1.25-1.fc39.aarch64 ansible-srpm-macros-1-11.fc39.noarch audit-libs-3.1.2-4.fc40.aarch64 authselect-1.4.2-3.fc39.aarch64 authselect-libs-1.4.2-3.fc39.aarch64 basesystem-11-18.fc39.noarch bash-5.2.15-5.fc39.aarch64 binutils-2.41-5.fc40.aarch64 binutils-gold-2.41-5.fc40.aarch64 bzip2-1.0.8-16.fc39.aarch64 bzip2-libs-1.0.8-16.fc39.aarch64 ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch coreutils-9.4-1.fc40.aarch64 coreutils-common-9.4-1.fc40.aarch64 cpio-2.14-4.fc39.aarch64 cracklib-2.9.11-2.fc40.aarch64 crypto-policies-20230731-1.git5ed06e0.fc39.noarch curl-8.3.0-1.fc40.aarch64 cyrus-sasl-lib-2.1.28-11.fc40.aarch64 debugedit-5.0-10.fc39.aarch64 diffutils-3.10-3.fc39.aarch64 dwz-0.15-3.fc39.aarch64 ed-1.19-4.fc39.aarch64 efi-srpm-macros-5-9.fc39.noarch elfutils-0.189-6.fc40.aarch64 elfutils-debuginfod-client-0.189-6.fc40.aarch64 elfutils-default-yama-scope-0.189-6.fc40.noarch elfutils-libelf-0.189-6.fc40.aarch64 elfutils-libs-0.189-6.fc40.aarch64 fedora-gpg-keys-40-0.1.noarch fedora-release-40-0.7.noarch fedora-release-common-40-0.7.noarch fedora-release-identity-basic-40-0.7.noarch fedora-repos-40-0.1.noarch fedora-repos-rawhide-40-0.1.noarch file-5.45-1.fc40.aarch64 file-libs-5.45-1.fc40.aarch64 filesystem-3.18-6.fc39.aarch64 findutils-1:4.9.0-6.fc40.aarch64 fonts-srpm-macros-1:2.0.5-12.fc39.noarch forge-srpm-macros-0.1.0-1.fc40.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.aarch64 gdb-minimal-13.2-9.fc40.aarch64 gdbm-libs-1:1.23-4.fc39.aarch64 ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38.9000-9.fc40.aarch64 glibc-common-2.38.9000-9.fc40.aarch64 glibc-gconv-extra-2.38.9000-9.fc40.aarch64 glibc-minimal-langpack-2.38.9000-9.fc40.aarch64 gmp-1:6.2.1-5.fc39.aarch64 gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.2.0-7.fc40.noarch grep-3.11-5.fc40.aarch64 gzip-1.12-6.fc39.aarch64 info-7.0.3-3.fc39.aarch64 jansson-2.13.1-7.fc39.aarch64 kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.1-7.fc39.aarch64 krb5-libs-1.21.2-1.fc40.aarch64 libacl-2.3.1-9.fc40.aarch64 libarchive-3.7.2-1.fc40.aarch64 libattr-2.5.1-9.fc40.aarch64 libblkid-2.39.2-1.fc40.aarch64 libbrotli-1.1.0-1.fc40.aarch64 libcap-2.48-7.fc39.aarch64 libcap-ng-0.8.3-8.fc40.aarch64 libcom_err-1.47.0-2.fc39.aarch64 libcurl-8.3.0-1.fc40.aarch64 libdb-5.3.28-58.fc40.aarch64 libeconf-0.5.2-1.fc40.aarch64 libevent-2.1.12-9.fc39.aarch64 libfdisk-2.39.2-1.fc40.aarch64 libffi-3.4.4-4.fc39.aarch64 libgcc-13.2.1-3.fc40.aarch64 libgomp-13.2.1-3.fc40.aarch64 libidn2-2.3.4-3.fc39.aarch64 libmount-2.39.2-1.fc40.aarch64 libnghttp2-1.56.0-1.fc40.aarch64 libnsl2-2.0.0-6.fc39.aarch64 libpkgconf-1.9.5-2.fc39.aarch64 libpsl-0.21.2-4.fc39.aarch64 libpwquality-1.4.5-6.fc39.aarch64 libselinux-3.5-5.fc39.aarch64 libsemanage-3.5-4.fc39.aarch64 libsepol-3.5-2.fc39.aarch64 libsigsegv-2.14-5.fc39.aarch64 libsmartcols-2.39.2-1.fc40.aarch64 libssh-0.10.5-2.fc40.aarch64 libssh-config-0.10.5-2.fc40.noarch libstdc++-13.2.1-3.fc40.aarch64 libtasn1-4.19.0-3.fc39.aarch64 libtirpc-1.3.3-1.rc2.fc39.aarch64 libunistring-1.1-5.fc40.aarch64 libutempter-1.2.1-10.fc39.aarch64 libuuid-2.39.2-1.fc40.aarch64 libverto-0.3.2-6.fc39.aarch64 libxcrypt-4.4.36-2.fc39.aarch64 libxml2-2.11.5-1.fc40.aarch64 libzstd-1.5.5-4.fc40.aarch64 lua-libs-5.4.6-3.fc39.aarch64 lua-srpm-macros-1-9.fc39.noarch lz4-libs-1.9.4-4.fc39.aarch64 mpfr-4.2.0-3.fc39.aarch64 ncurses-base-6.4-7.20230520.fc40.noarch ncurses-libs-6.4-7.20230520.fc40.aarch64 ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.6-1.fc39.aarch64 openssl-libs-1:3.1.1-4.fc40.aarch64 p11-kit-0.25.0-2.fc39.aarch64 p11-kit-trust-0.25.0-2.fc39.aarch64 package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-2.fc39.aarch64 pam-libs-1.5.3-2.fc39.aarch64 patch-2.7.6-22.fc39.aarch64 pcre2-10.42-1.fc39.2.aarch64 pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.aarch64 pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.aarch64 popt-1.19-3.fc39.aarch64 publicsuffix-list-dafsa-20230812-1.fc40.noarch pyproject-srpm-macros-1.9.0-2.fc39.noarch python-srpm-macros-3.12-4.fc40.noarch qt5-srpm-macros-5.15.10-2.fc39.noarch qt6-srpm-macros-6.5.2-3.fc40.noarch readline-8.2-4.fc39.aarch64 redhat-rpm-config-270-1.fc40.noarch rpm-4.19.0-1.fc40.aarch64 rpm-build-4.19.0-1.fc40.aarch64 rpm-build-libs-4.19.0-1.fc40.aarch64 rpm-libs-4.19.0-1.fc40.aarch64 rpm-sequoia-1.5.0-1.fc40.aarch64 rust-srpm-macros-24-5.fc40.noarch sed-4.8-14.fc39.aarch64 setup-2.14.4-1.fc39.noarch shadow-utils-2:4.14.0-1.fc40.aarch64 sqlite-libs-3.43.1-1.fc40.aarch64 systemd-libs-254.2-12.fc40.aarch64 tar-2:1.35-2.fc40.aarch64 unzip-6.0-62.fc39.aarch64 util-linux-2.39.2-1.fc40.aarch64 util-linux-core-2.39.2-1.fc40.aarch64 which-2.21-40.fc39.aarch64 xxhash-libs-0.8.2-1.fc39.aarch64 xz-5.4.4-1.fc39.aarch64 xz-libs-5.4.4-1.fc39.aarch64 zip-3.0-39.fc40.aarch64 zlib-ng-compat-2.1.3-5.fc40.aarch64 zstd-1.5.5-4.fc40.aarch64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.25-1.fc39.aarch64 ansible-srpm-macros-1-11.fc39.noarch audit-libs-3.1.2-4.fc40.aarch64 authselect-1.4.2-3.fc39.aarch64 authselect-libs-1.4.2-3.fc39.aarch64 basesystem-11-18.fc39.noarch bash-5.2.15-5.fc39.aarch64 binutils-2.41-5.fc40.aarch64 binutils-gold-2.41-5.fc40.aarch64 bzip2-1.0.8-16.fc39.aarch64 bzip2-libs-1.0.8-16.fc39.aarch64 ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch coreutils-9.4-1.fc40.aarch64 coreutils-common-9.4-1.fc40.aarch64 cpio-2.14-4.fc39.aarch64 cracklib-2.9.11-2.fc40.aarch64 crypto-policies-20230731-1.git5ed06e0.fc39.noarch curl-8.3.0-1.fc40.aarch64 cyrus-sasl-lib-2.1.28-11.fc40.aarch64 debugedit-5.0-10.fc39.aarch64 diffutils-3.10-3.fc39.aarch64 dwz-0.15-3.fc39.aarch64 ed-1.19-4.fc39.aarch64 efi-srpm-macros-5-9.fc39.noarch elfutils-0.189-6.fc40.aarch64 elfutils-debuginfod-client-0.189-6.fc40.aarch64 elfutils-default-yama-scope-0.189-6.fc40.noarch elfutils-libelf-0.189-6.fc40.aarch64 elfutils-libs-0.189-6.fc40.aarch64 fedora-gpg-keys-40-0.1.noarch fedora-release-40-0.7.noarch fedora-release-common-40-0.7.noarch fedora-release-identity-basic-40-0.7.noarch fedora-repos-40-0.1.noarch fedora-repos-rawhide-40-0.1.noarch file-5.45-1.fc40.aarch64 file-libs-5.45-1.fc40.aarch64 filesystem-3.18-6.fc39.aarch64 findutils-4.9.0-6.fc40.aarch64 fonts-srpm-macros-2.0.5-12.fc39.noarch forge-srpm-macros-0.1.0-1.fc40.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.aarch64 gdb-minimal-13.2-9.fc40.aarch64 gdbm-libs-1.23-4.fc39.aarch64 ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38.9000-9.fc40.aarch64 glibc-common-2.38.9000-9.fc40.aarch64 glibc-gconv-extra-2.38.9000-9.fc40.aarch64 glibc-minimal-langpack-2.38.9000-9.fc40.aarch64 gmp-6.2.1-5.fc39.aarch64 gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.2.0-7.fc40.noarch gpg-pubkey-18b8e74c-62f2920f gpg-pubkey-a15b79cc-63d04c2c grep-3.11-5.fc40.aarch64 gzip-1.12-6.fc39.aarch64 info-7.0.3-3.fc39.aarch64 jansson-2.13.1-7.fc39.aarch64 kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.1-7.fc39.aarch64 krb5-libs-1.21.2-1.fc40.aarch64 libacl-2.3.1-9.fc40.aarch64 libarchive-3.7.2-1.fc40.aarch64 libattr-2.5.1-9.fc40.aarch64 libblkid-2.39.2-1.fc40.aarch64 libbrotli-1.1.0-1.fc40.aarch64 libcap-2.48-7.fc39.aarch64 libcap-ng-0.8.3-8.fc40.aarch64 libcom_err-1.47.0-2.fc39.aarch64 libcurl-8.3.0-1.fc40.aarch64 libdb-5.3.28-58.fc40.aarch64 libeconf-0.5.2-1.fc40.aarch64 libevent-2.1.12-9.fc39.aarch64 libfdisk-2.39.2-1.fc40.aarch64 libffi-3.4.4-4.fc39.aarch64 libgcc-13.2.1-3.fc40.aarch64 libgomp-13.2.1-3.fc40.aarch64 libidn2-2.3.4-3.fc39.aarch64 libmount-2.39.2-1.fc40.aarch64 libnghttp2-1.56.0-1.fc40.aarch64 libnsl2-2.0.0-6.fc39.aarch64 libpkgconf-1.9.5-2.fc39.aarch64 libpsl-0.21.2-4.fc39.aarch64 libpwquality-1.4.5-6.fc39.aarch64 libselinux-3.5-5.fc39.aarch64 libsemanage-3.5-4.fc39.aarch64 libsepol-3.5-2.fc39.aarch64 libsigsegv-2.14-5.fc39.aarch64 libsmartcols-2.39.2-1.fc40.aarch64 libssh-0.10.5-2.fc40.aarch64 libssh-config-0.10.5-2.fc40.noarch libstdc++-13.2.1-3.fc40.aarch64 libtasn1-4.19.0-3.fc39.aarch64 libtirpc-1.3.3-1.rc2.fc39.aarch64 libunistring-1.1-5.fc40.aarch64 libutempter-1.2.1-10.fc39.aarch64 libuuid-2.39.2-1.fc40.aarch64 libverto-0.3.2-6.fc39.aarch64 libxcrypt-4.4.36-2.fc39.aarch64 libxml2-2.11.5-1.fc40.aarch64 libzstd-1.5.5-4.fc40.aarch64 lua-libs-5.4.6-3.fc39.aarch64 lua-srpm-macros-1-9.fc39.noarch lz4-libs-1.9.4-4.fc39.aarch64 mpfr-4.2.0-3.fc39.aarch64 ncurses-base-6.4-7.20230520.fc40.noarch ncurses-libs-6.4-7.20230520.fc40.aarch64 ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.6-1.fc39.aarch64 openssl-libs-3.1.1-4.fc40.aarch64 p11-kit-0.25.0-2.fc39.aarch64 p11-kit-trust-0.25.0-2.fc39.aarch64 package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-2.fc39.aarch64 pam-libs-1.5.3-2.fc39.aarch64 patch-2.7.6-22.fc39.aarch64 pcre2-10.42-1.fc39.2.aarch64 pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.aarch64 pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.aarch64 popt-1.19-3.fc39.aarch64 publicsuffix-list-dafsa-20230812-1.fc40.noarch pyproject-srpm-macros-1.9.0-2.fc39.noarch python-srpm-macros-3.12-4.fc40.noarch qt5-srpm-macros-5.15.10-2.fc39.noarch qt6-srpm-macros-6.5.2-3.fc40.noarch readline-8.2-4.fc39.aarch64 redhat-rpm-config-270-1.fc40.noarch rpm-4.19.0-1.fc40.aarch64 rpm-build-4.19.0-1.fc40.aarch64 rpm-build-libs-4.19.0-1.fc40.aarch64 rpm-libs-4.19.0-1.fc40.aarch64 rpm-sequoia-1.5.0-1.fc40.aarch64 rust-srpm-macros-24-5.fc40.noarch sed-4.8-14.fc39.aarch64 setup-2.14.4-1.fc39.noarch shadow-utils-4.14.0-1.fc40.aarch64 sqlite-libs-3.43.1-1.fc40.aarch64 systemd-libs-254.2-12.fc40.aarch64 tar-1.35-2.fc40.aarch64 unzip-6.0-62.fc39.aarch64 util-linux-2.39.2-1.fc40.aarch64 util-linux-core-2.39.2-1.fc40.aarch64 which-2.21-40.fc39.aarch64 xxhash-libs-0.8.2-1.fc39.aarch64 xz-5.4.4-1.fc39.aarch64 xz-libs-5.4.4-1.fc39.aarch64 zip-3.0-39.fc40.aarch64 zlib-ng-compat-2.1.3-5.fc40.aarch64 zstd-1.5.5-4.fc40.aarch64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/stratagus-3.3.2-3.fc40.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root/var/log/dnf.rpm.log /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root/var/log/dnf.librepo.log /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-47sh5dzp/stratagus/stratagus.spec) Config(child) 0 minutes 40 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/stratagus-3.3.2-3.fc40.src.rpm) Config(fedora-rawhide-aarch64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1695224618.597544/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1695224618.597544/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin Finish: chroot init INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.0-1.fc40.aarch64 rpm-sequoia-1.5.0-1.fc40.aarch64 python3-dnf-4.16.2-4.fc40.noarch python3-dnf-plugins-core-4.4.2-1.fc39.noarch yum-4.16.2-4.fc40.noarch Start: build phase for stratagus-3.3.2-3.fc40.src.rpm Start: build setup for stratagus-3.3.2-3.fc40.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/stratagus-3.3.2-3.fc40.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 68 kB/s | 1.5 kB 00:00 Copr repository 100 MB/s | 9.3 MB 00:00 fedora 29 kB/s | 8.7 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: SDL2-devel aarch64 2.26.5-2.fc39 fedora 395 k SDL2_image-devel aarch64 2.6.3-3.fc39 fedora 18 k SDL2_mixer-devel aarch64 2.6.3-2.fc39 fedora 31 k bzip2-devel aarch64 1.0.8-16.fc39 fedora 214 k cmake aarch64 3.27.4-8.fc40 fedora 7.4 M compat-lua-devel aarch64 5.1.5-23.fc39 fedora 20 k compat-tolua++-devel aarch64 1.0.93-20.fc39 fedora 63 k dos2unix aarch64 7.5.0-2.fc39 fedora 296 k gcc-c++ aarch64 13.2.1-3.fc40 fedora 12 M libmng-devel aarch64 2.0.3-19.fc40 copr_base 84 k libpng-devel aarch64 2:1.6.37-15.fc39 fedora 291 k libtheora-devel aarch64 1:1.1.1-34.fc39 fedora 31 k libvorbis-devel aarch64 1:1.3.7-8.fc39 fedora 18 k make aarch64 1:4.4.1-2.fc39 fedora 585 k sqlite-devel aarch64 3.43.1-1.fc40 fedora 146 k zlib-ng-compat-devel aarch64 2.1.3-5.fc40 copr_base 34 k Installing dependencies: SDL2 aarch64 2.26.5-2.fc39 fedora 670 k SDL2_image aarch64 2.6.3-3.fc39 fedora 108 k SDL2_mixer aarch64 2.6.3-2.fc39 fedora 163 k abattis-cantarell-vf-fonts noarch 0.301-10.fc39 fedora 121 k annobin-docs noarch 12.26-1.fc40 fedora 94 k annobin-plugin-gcc aarch64 12.26-1.fc40 fedora 958 k autoconf noarch 2.71-7.fc40 fedora 733 k automake noarch 1.16.5-14.fc40 fedora 697 k brotli aarch64 1.1.0-1.fc40 fedora 19 k brotli-devel aarch64 1.1.0-1.fc40 fedora 34 k cairo aarch64 1.17.8-5.fc40 copr_base 689 k cmake-data noarch 3.27.4-8.fc40 fedora 2.2 M cmake-filesystem aarch64 3.27.4-8.fc40 fedora 19 k cmake-rpm-macros noarch 3.27.4-8.fc40 fedora 18 k compat-lua-libs aarch64 5.1.5-23.fc39 fedora 166 k compat-tolua++ aarch64 1.0.93-20.fc39 fedora 23 k cpp aarch64 13.2.1-3.fc40 fedora 9.7 M dbus-libs aarch64 1:1.14.10-1.fc40 fedora 156 k default-fonts-core-sans noarch 4.0-9.fc40 fedora 32 k emacs-filesystem noarch 1:29.1-1.fc40 copr_base 8.9 k expat aarch64 2.5.0-3.fc39 fedora 108 k fontconfig aarch64 2.14.2-5.fc40 fedora 301 k fonts-filesystem noarch 1:2.0.5-12.fc39 fedora 8.2 k freetype aarch64 2.13.1-2.fc40 copr_base 406 k fribidi aarch64 1.0.13-2.fc39 fedora 91 k gc aarch64 8.2.2-4.fc39 fedora 110 k gcc aarch64 13.2.1-3.fc40 fedora 31 M gcc-plugin-annobin aarch64 13.2.1-3.fc40 fedora 48 k glib2 aarch64 2.78.0-2.fc40 fedora 2.8 M glibc-devel aarch64 2.38.9000-9.fc40 fedora 582 k gmock aarch64 1.13.0-3.fc39 fedora 57 k gnutls aarch64 3.8.1-1.fc40 fedora 1.0 M google-noto-fonts-common noarch 20230801-3.fc40 fedora 17 k google-noto-sans-vf-fonts noarch 20230801-3.fc40 fedora 583 k graphite2 aarch64 1.3.14-12.fc39 fedora 93 k groff-base aarch64 1.23.0-2.fc39 fedora 1.1 M gtest aarch64 1.13.0-3.fc39 fedora 159 k gtest-devel aarch64 1.13.0-3.fc39 fedora 254 k guile22 aarch64 2.2.7-9.fc39 fedora 6.5 M harfbuzz aarch64 8.2.1-1.fc40 fedora 934 k highway aarch64 1.0.7-1.fc40 fedora 98 k highway-devel aarch64 1.0.7-1.fc40 fedora 336 k jbigkit-libs aarch64 2.1-26.fc39 fedora 53 k jsoncpp aarch64 1.9.5-5.fc39 fedora 91 k kernel-headers aarch64 6.6.0-0.rc2.git0.1.fc40 fedora 1.5 M lcms2 aarch64 2.15-2.fc40 copr_base 177 k libX11 aarch64 1.8.6-3.fc40 fedora 643 k libX11-common noarch 1.8.6-3.fc40 fedora 175 k libX11-devel aarch64 1.8.6-3.fc40 fedora 1.0 M libX11-xcb aarch64 1.8.6-3.fc40 fedora 12 k libXau aarch64 1.0.11-4.fc40 fedora 32 k libXau-devel aarch64 1.0.11-4.fc40 fedora 14 k libXext aarch64 1.3.5-3.fc39 fedora 39 k libXfixes aarch64 6.0.0-7.fc40 fedora 19 k libXft aarch64 2.3.8-4.fc40 fedora 71 k libXrender aarch64 0.9.11-4.fc40 fedora 27 k libXxf86vm aarch64 1.1.5-4.fc40 fedora 18 k libasan aarch64 13.2.1-3.fc40 fedora 456 k libatomic aarch64 13.2.1-3.fc40 fedora 38 k libb2 aarch64 0.98.1-9.fc39 fedora 24 k libdatrie aarch64 0.2.13-7.fc39 fedora 32 k libdecor aarch64 0.1.1-3.fc39 fedora 42 k libdrm aarch64 2.4.114-3.fc39 fedora 135 k libglvnd aarch64 1:1.7.0-1.fc40 fedora 126 k libglvnd-core-devel aarch64 1:1.7.0-1.fc40 fedora 17 k libglvnd-devel aarch64 1:1.7.0-1.fc40 fedora 162 k libglvnd-egl aarch64 1:1.7.0-1.fc40 fedora 37 k libglvnd-gles aarch64 1:1.7.0-1.fc40 fedora 32 k libglvnd-glx aarch64 1:1.7.0-1.fc40 fedora 138 k libglvnd-opengl aarch64 1:1.7.0-1.fc40 fedora 44 k libjpeg-turbo aarch64 2.1.4-3.fc39 fedora 196 k libjpeg-turbo-devel aarch64 2.1.4-3.fc39 fedora 98 k libjxl aarch64 1:0.8.2-3.fc40 copr_base 777 k libjxl-devel aarch64 1:0.8.2-3.fc40 copr_base 55 k liblerc aarch64 4.0.0-4.fc39 fedora 179 k libmng aarch64 2.0.3-19.fc40 copr_base 183 k libmpc aarch64 1.3.1-3.fc39 fedora 72 k libogg aarch64 2:1.3.5-6.fc39 fedora 33 k libogg-devel aarch64 2:1.3.5-6.fc39 fedora 13 k libpng aarch64 2:1.6.37-15.fc39 fedora 115 k libstdc++-devel aarch64 13.2.1-3.fc40 fedora 2.6 M libthai aarch64 0.1.29-6.fc39 fedora 213 k libtheora aarch64 1:1.1.1-34.fc39 fedora 163 k libtiff aarch64 4.4.0-8.fc40 copr_base 196 k libtiff-devel aarch64 4.4.0-8.fc40 copr_base 513 k libtool-ltdl aarch64 2.4.7-8.fc40 fedora 36 k libubsan aarch64 13.2.1-3.fc40 fedora 205 k libuv aarch64 1:1.46.0-2.fc39 fedora 156 k libvorbis aarch64 1:1.3.7-8.fc39 fedora 191 k libwayland-client aarch64 1.22.0-2.fc39 fedora 33 k libwayland-cursor aarch64 1.22.0-2.fc39 fedora 19 k libwayland-server aarch64 1.22.0-2.fc39 fedora 42 k libwebp aarch64 1.3.2-1.fc40 fedora 243 k libwebp-devel aarch64 1.3.2-1.fc40 fedora 39 k libxcb aarch64 1.13.1-12.fc39 fedora 238 k libxcb-devel aarch64 1.13.1-12.fc39 fedora 1.4 M libxcrypt-devel aarch64 4.4.36-2.fc39 fedora 30 k libxshmfence aarch64 1.3-13.fc39 fedora 12 k m4 aarch64 1.4.19-7.fc40 fedora 299 k mesa-libEGL aarch64 23.2.0~rc3-1.fc40 fedora 133 k mesa-libEGL-devel aarch64 23.2.0~rc3-1.fc40 fedora 21 k mesa-libGL aarch64 23.2.0~rc3-1.fc40 fedora 186 k mesa-libgbm aarch64 23.2.0~rc3-1.fc40 fedora 46 k mesa-libglapi aarch64 23.2.0~rc3-1.fc40 fedora 67 k mpdecimal aarch64 2.5.1-7.fc39 fedora 90 k ncurses aarch64 6.4-7.20230520.fc40 fedora 415 k nettle aarch64 3.9.1-2.fc39 fedora 434 k pango aarch64 1.51.0-1.fc40 fedora 339 k perl-AutoLoader noarch 5.74-500.fc39 fedora 21 k perl-B aarch64 1.88-500.fc39 fedora 178 k perl-Carp noarch 1.54-500.fc39 fedora 29 k perl-Class-Struct noarch 0.68-500.fc39 fedora 22 k perl-Data-Dumper aarch64 2.188-501.fc39 fedora 55 k perl-Digest noarch 1.20-500.fc39 fedora 25 k perl-Digest-MD5 aarch64 2.58-500.fc39 fedora 36 k perl-DynaLoader aarch64 1.54-500.fc39 fedora 26 k perl-Encode aarch64 4:3.19-500.fc39 fedora 1.7 M perl-Errno aarch64 1.37-500.fc39 fedora 15 k perl-Exporter noarch 5.77-500.fc39 fedora 31 k perl-Fcntl aarch64 1.15-500.fc39 fedora 21 k perl-File-Basename noarch 2.86-500.fc39 fedora 17 k perl-File-Compare noarch 1.100.700-500.fc39 fedora 13 k perl-File-Copy noarch 2.41-500.fc39 fedora 20 k perl-File-Find noarch 1.43-500.fc39 fedora 25 k perl-File-Path noarch 2.18-500.fc39 fedora 35 k perl-File-Temp noarch 1:0.231.100-500.fc39 fedora 58 k perl-File-stat noarch 1.13-500.fc39 fedora 17 k perl-FileHandle noarch 2.05-500.fc39 fedora 16 k perl-Getopt-Long noarch 1:2.54-500.fc39 fedora 60 k perl-Getopt-Std noarch 1.13-500.fc39 fedora 16 k perl-HTTP-Tiny noarch 0.088-3.fc39 fedora 56 k perl-IO aarch64 1.52-500.fc39 fedora 83 k perl-IO-Socket-IP noarch 0.42-1.fc39 fedora 42 k perl-IO-Socket-SSL noarch 2.083-3.fc39 fedora 225 k perl-IPC-Open3 noarch 1.22-500.fc39 fedora 22 k perl-MIME-Base64 aarch64 3.16-500.fc39 fedora 30 k perl-Mozilla-CA noarch 20230821-1.fc40 fedora 13 k perl-Net-SSLeay aarch64 1.92-10.fc39 fedora 356 k perl-POSIX aarch64 2.13-500.fc39 fedora 98 k perl-PathTools aarch64 3.89-500.fc39 fedora 88 k perl-Pod-Escapes noarch 1:1.07-501.fc40 fedora 19 k perl-Pod-Perldoc noarch 3.28.01-501.fc39 fedora 86 k perl-Pod-Simple noarch 1:3.45-4.fc39 fedora 218 k perl-Pod-Usage noarch 4:2.03-500.fc39 fedora 39 k perl-Scalar-List-Utils aarch64 5:1.63-500.fc39 fedora 71 k perl-SelectSaver noarch 1.02-500.fc39 fedora 12 k perl-Socket aarch64 4:2.037-3.fc39 fedora 56 k perl-Storable aarch64 1:3.32-500.fc39 fedora 97 k perl-Symbol noarch 1.09-500.fc39 fedora 14 k perl-Term-ANSIColor noarch 5.01-501.fc39 fedora 47 k perl-Term-Cap noarch 1.18-500.fc39 fedora 22 k perl-Text-ParseWords noarch 3.31-500.fc39 fedora 16 k perl-Text-Tabs+Wrap noarch 2023.0511-3.fc39 fedora 22 k perl-Thread-Queue noarch 3.14-501.fc40 fedora 21 k perl-Time-Local noarch 2:1.350-3.fc39 fedora 34 k perl-URI noarch 5.21-1.fc40 fedora 125 k perl-base noarch 2.27-500.fc39 fedora 16 k perl-constant noarch 1.33-501.fc39 fedora 22 k perl-if noarch 0.61.000-500.fc39 fedora 14 k perl-interpreter aarch64 4:5.38.0-500.fc39 fedora 72 k perl-libnet noarch 3.15-501.fc39 fedora 129 k perl-libs aarch64 4:5.38.0-500.fc39 fedora 2.3 M perl-locale noarch 1.10-500.fc39 fedora 14 k perl-mro aarch64 1.28-500.fc39 fedora 29 k perl-overload noarch 1.37-500.fc39 fedora 46 k perl-overloading noarch 0.02-500.fc39 fedora 13 k perl-parent noarch 1:0.241-500.fc39 fedora 14 k perl-podlators noarch 1:5.01-500.fc39 fedora 125 k perl-threads aarch64 1:2.36-500.fc39 fedora 57 k perl-threads-shared aarch64 1.68-500.fc39 fedora 44 k perl-vars noarch 1.05-500.fc39 fedora 13 k pixman aarch64 0.42.2-2.fc39 fedora 216 k python-pip-wheel noarch 23.2.1-1.fc39 fedora 1.5 M python3 aarch64 3.12.0~rc2-1.fc40 fedora 26 k python3-libs aarch64 3.12.0~rc2-1.fc40 fedora 9.1 M rhash aarch64 1.4.3-3.fc39 fedora 192 k shared-mime-info aarch64 2.2-4.fc39 fedora 380 k sqlite aarch64 3.43.1-1.fc40 fedora 827 k tzdata noarch 2023c-3.fc40 fedora 718 k vim-filesystem noarch 2:9.0.1882-1.fc40 fedora 18 k xml-common noarch 0.6.3-61.fc39 fedora 31 k xorg-x11-proto-devel noarch 2023.2-3.fc40 fedora 298 k Transaction Summary ================================================================================ Install 198 Packages Total size: 120 M Total download size: 6.1 M Installed size: 449 M Downloading Packages: [SKIPPED] cairo-1.17.8-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] emacs-filesystem-29.1-1.fc40.noarch.rpm: Already downloaded [SKIPPED] freetype-2.13.1-2.fc40.aarch64.rpm: Already downloaded [SKIPPED] lcms2-2.15-2.fc40.aarch64.rpm: Already downloaded [SKIPPED] libtiff-4.4.0-8.fc40.aarch64.rpm: Already downloaded [SKIPPED] zlib-ng-compat-devel-2.1.3-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] abattis-cantarell-vf-fonts-0.301-10.fc39.noarch.rpm: Already downloaded [SKIPPED] annobin-docs-12.26-1.fc40.noarch.rpm: Already downloaded [SKIPPED] annobin-plugin-gcc-12.26-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] autoconf-2.71-7.fc40.noarch.rpm: Already downloaded [SKIPPED] automake-1.16.5-14.fc40.noarch.rpm: Already downloaded [SKIPPED] cmake-3.27.4-8.fc40.aarch64.rpm: Already downloaded [SKIPPED] cmake-data-3.27.4-8.fc40.noarch.rpm: Already downloaded [SKIPPED] cmake-filesystem-3.27.4-8.fc40.aarch64.rpm: Already downloaded [SKIPPED] cmake-rpm-macros-3.27.4-8.fc40.noarch.rpm: Already downloaded [SKIPPED] cpp-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] dbus-libs-1.14.10-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] default-fonts-core-sans-4.0-9.fc40.noarch.rpm: Already downloaded [SKIPPED] expat-2.5.0-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] fontconfig-2.14.2-5.fc40.aarch64.rpm: Already downloaded [SKIPPED] fonts-filesystem-2.0.5-12.fc39.noarch.rpm: Already downloaded [SKIPPED] fribidi-1.0.13-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] gc-8.2.2-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] gcc-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] gcc-c++-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] gcc-plugin-annobin-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] glib2-2.78.0-2.fc40.aarch64.rpm: Already downloaded [SKIPPED] glibc-devel-2.38.9000-9.fc40.aarch64.rpm: Already downloaded [SKIPPED] gnutls-3.8.1-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] google-noto-fonts-common-20230801-3.fc40.noarch.rpm: Already downloaded [SKIPPED] google-noto-sans-vf-fonts-20230801-3.fc40.noarch.rpm: Already downloaded [SKIPPED] graphite2-1.3.14-12.fc39.aarch64.rpm: Already downloaded [SKIPPED] groff-base-1.23.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] guile22-2.2.7-9.fc39.aarch64.rpm: Already downloaded [SKIPPED] harfbuzz-8.2.1-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] jbigkit-libs-2.1-26.fc39.aarch64.rpm: Already downloaded [SKIPPED] jsoncpp-1.9.5-5.fc39.aarch64.rpm: Already downloaded [SKIPPED] kernel-headers-6.6.0-0.rc2.git0.1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libX11-1.8.6-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libX11-common-1.8.6-3.fc40.noarch.rpm: Already downloaded [SKIPPED] libX11-devel-1.8.6-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libX11-xcb-1.8.6-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libXau-1.0.11-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] libXau-devel-1.0.11-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] libXext-1.3.5-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] libXfixes-6.0.0-7.fc40.aarch64.rpm: Already downloaded [SKIPPED] libXft-2.3.8-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] libXrender-0.9.11-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] libXxf86vm-1.1.5-4.fc40.aarch64.rpm: Already downloaded [SKIPPED] libasan-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libatomic-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libb2-0.98.1-9.fc39.aarch64.rpm: Already downloaded [SKIPPED] libdatrie-0.2.13-7.fc39.aarch64.rpm: Already downloaded [SKIPPED] libdrm-2.4.114-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-core-devel-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-devel-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-egl-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-gles-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-glx-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libglvnd-opengl-1.7.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libjpeg-turbo-2.1.4-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] liblerc-4.0.0-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] libmpc-1.3.1-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] libogg-1.3.5-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] libpng-1.6.37-15.fc39.aarch64.rpm: Already downloaded [SKIPPED] libstdc++-devel-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libthai-0.1.29-6.fc39.aarch64.rpm: Already downloaded [SKIPPED] libtheora-1.1.1-34.fc39.aarch64.rpm: Already downloaded [SKIPPED] libtool-ltdl-2.4.7-8.fc40.aarch64.rpm: Already downloaded [SKIPPED] libubsan-13.2.1-3.fc40.aarch64.rpm: Already downloaded [SKIPPED] libuv-1.46.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libvorbis-1.3.7-8.fc39.aarch64.rpm: Already downloaded [SKIPPED] libwayland-client-1.22.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libwayland-cursor-1.22.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libwayland-server-1.22.0-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libwebp-1.3.2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] libxcb-1.13.1-12.fc39.aarch64.rpm: Already downloaded [SKIPPED] libxcb-devel-1.13.1-12.fc39.aarch64.rpm: Already downloaded [SKIPPED] libxcrypt-devel-4.4.36-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] libxshmfence-1.3-13.fc39.aarch64.rpm: Already downloaded [SKIPPED] m4-1.4.19-7.fc40.aarch64.rpm: Already downloaded [SKIPPED] make-4.4.1-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] mesa-libEGL-23.2.0~rc3-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] mesa-libEGL-devel-23.2.0~rc3-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] mesa-libGL-23.2.0~rc3-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] mesa-libgbm-23.2.0~rc3-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] mesa-libglapi-23.2.0~rc3-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] mpdecimal-2.5.1-7.fc39.aarch64.rpm: Already downloaded [SKIPPED] ncurses-6.4-7.20230520.fc40.aarch64.rpm: Already downloaded [SKIPPED] nettle-3.9.1-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] pango-1.51.0-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] perl-AutoLoader-5.74-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-B-1.88-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Carp-1.54-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Class-Struct-0.68-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Data-Dumper-2.188-501.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Digest-1.20-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Digest-MD5-2.58-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-DynaLoader-1.54-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Encode-3.19-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Errno-1.37-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Exporter-5.77-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Fcntl-1.15-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-File-Basename-2.86-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-File-Compare-1.100.700-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-File-Copy-2.41-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-File-Find-1.43-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-File-Path-2.18-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-File-Temp-0.231.100-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-File-stat-1.13-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-FileHandle-2.05-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Getopt-Long-2.54-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Getopt-Std-1.13-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-HTTP-Tiny-0.088-3.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-IO-1.52-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-IO-Socket-IP-0.42-1.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-IO-Socket-SSL-2.083-3.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-IPC-Open3-1.22-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-MIME-Base64-3.16-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Mozilla-CA-20230821-1.fc40.noarch.rpm: Already downloaded [SKIPPED] perl-Net-SSLeay-1.92-10.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-POSIX-2.13-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-PathTools-3.89-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Pod-Escapes-1.07-501.fc40.noarch.rpm: Already downloaded [SKIPPED] perl-Pod-Perldoc-3.28.01-501.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Pod-Simple-3.45-4.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Pod-Usage-2.03-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Scalar-List-Utils-1.63-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-SelectSaver-1.02-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Socket-2.037-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Storable-3.32-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-Symbol-1.09-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Term-ANSIColor-5.01-501.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Term-Cap-1.18-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Text-ParseWords-3.31-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-Thread-Queue-3.14-501.fc40.noarch.rpm: Already downloaded [SKIPPED] perl-Time-Local-1.350-3.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-URI-5.21-1.fc40.noarch.rpm: Already downloaded [SKIPPED] perl-base-2.27-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-constant-1.33-501.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-if-0.61.000-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-interpreter-5.38.0-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-libnet-3.15-501.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-libs-5.38.0-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-locale-1.10-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-mro-1.28-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-overload-1.37-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-overloading-0.02-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-parent-0.241-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-podlators-5.01-500.fc39.noarch.rpm: Already downloaded [SKIPPED] perl-threads-2.36-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-threads-shared-1.68-500.fc39.aarch64.rpm: Already downloaded [SKIPPED] perl-vars-1.05-500.fc39.noarch.rpm: Already downloaded [SKIPPED] pixman-0.42.2-2.fc39.aarch64.rpm: Already downloaded [SKIPPED] python-pip-wheel-23.2.1-1.fc39.noarch.rpm: Already downloaded [SKIPPED] python3-3.12.0~rc2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] python3-libs-3.12.0~rc2-1.fc40.aarch64.rpm: Already downloaded [SKIPPED] rhash-1.4.3-3.fc39.aarch64.rpm: Already downloaded [SKIPPED] shared-mime-info-2.2-4.fc39.aarch64.rpm: Already downloaded [SKIPPED] tzdata-2023c-3.fc40.noarch.rpm: Already downloaded [SKIPPED] vim-filesystem-9.0.1882-1.fc40.noarch.rpm: Already downloaded [SKIPPED] xml-common-0.6.3-61.fc39.noarch.rpm: Already downloaded [SKIPPED] xorg-x11-proto-devel-2023.2-3.fc40.noarch.rpm: Already downloaded (166/198): libmng-2.0.3-19.fc40.aarch64.rpm 9.4 MB/s | 183 kB 00:00 (167/198): libjxl-devel-0.8.2-3.fc40.aarch64.rp 2.6 MB/s | 55 kB 00:00 (168/198): libjxl-0.8.2-3.fc40.aarch64.rpm 35 MB/s | 777 kB 00:00 (169/198): libmng-devel-2.0.3-19.fc40.aarch64.r 32 MB/s | 84 kB 00:00 (170/198): libtiff-devel-4.4.0-8.fc40.aarch64.r 122 MB/s | 513 kB 00:00 (171/198): SDL2-2.26.5-2.fc39.aarch64.rpm 50 MB/s | 670 kB 00:00 (172/198): SDL2_image-devel-2.6.3-3.fc39.aarch6 3.6 MB/s | 18 kB 00:00 (173/198): SDL2-devel-2.26.5-2.fc39.aarch64.rpm 18 MB/s | 395 kB 00:00 (174/198): SDL2_image-2.6.3-3.fc39.aarch64.rpm 5.0 MB/s | 108 kB 00:00 (175/198): SDL2_mixer-2.6.3-2.fc39.aarch64.rpm 23 MB/s | 163 kB 00:00 (176/198): SDL2_mixer-devel-2.6.3-2.fc39.aarch6 6.1 MB/s | 31 kB 00:00 (177/198): brotli-1.1.0-1.fc40.aarch64.rpm 4.9 MB/s | 19 kB 00:00 (178/198): brotli-devel-1.1.0-1.fc40.aarch64.rp 8.1 MB/s | 34 kB 00:00 (179/198): bzip2-devel-1.0.8-16.fc39.aarch64.rp 28 MB/s | 214 kB 00:00 (180/198): compat-lua-libs-5.1.5-23.fc39.aarch6 25 MB/s | 166 kB 00:00 (181/198): compat-lua-devel-5.1.5-23.fc39.aarch 1.3 MB/s | 20 kB 00:00 (182/198): compat-tolua++-1.0.93-20.fc39.aarch6 1.3 MB/s | 23 kB 00:00 (183/198): compat-tolua++-devel-1.0.93-20.fc39. 3.6 MB/s | 63 kB 00:00 (184/198): dos2unix-7.5.0-2.fc39.aarch64.rpm 27 MB/s | 296 kB 00:00 (185/198): gmock-1.13.0-3.fc39.aarch64.rpm 15 MB/s | 57 kB 00:00 (186/198): gtest-1.13.0-3.fc39.aarch64.rpm 37 MB/s | 159 kB 00:00 (187/198): highway-1.0.7-1.fc40.aarch64.rpm 51 MB/s | 98 kB 00:00 (188/198): libdecor-0.1.1-3.fc39.aarch64.rpm 26 MB/s | 42 kB 00:00 (189/198): gtest-devel-1.13.0-3.fc39.aarch64.rp 32 MB/s | 254 kB 00:00 (190/198): libjpeg-turbo-devel-2.1.4-3.fc39.aar 38 MB/s | 98 kB 00:00 (191/198): libogg-devel-1.3.5-6.fc39.aarch64.rp 3.8 MB/s | 13 kB 00:00 (192/198): libpng-devel-1.6.37-15.fc39.aarch64. 53 MB/s | 291 kB 00:00 (193/198): libtheora-devel-1.1.1-34.fc39.aarch6 8.5 MB/s | 31 kB 00:00 (194/198): highway-devel-1.0.7-1.fc40.aarch64.r 26 MB/s | 336 kB 00:00 (195/198): libvorbis-devel-1.3.7-8.fc39.aarch64 11 MB/s | 18 kB 00:00 (196/198): libwebp-devel-1.3.2-1.fc40.aarch64.r 12 MB/s | 39 kB 00:00 (197/198): sqlite-devel-3.43.1-1.fc40.aarch64.r 39 MB/s | 146 kB 00:00 (198/198): sqlite-3.43.1-1.fc40.aarch64.rpm 108 MB/s | 827 kB 00:00 -------------------------------------------------------------------------------- Total 24 MB/s | 6.1 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : cmake-filesystem-3.27.4-8.fc40.aarch64 1/198 Installing : libglvnd-1:1.7.0-1.fc40.aarch64 2/198 Installing : expat-2.5.0-3.fc39.aarch64 3/198 Installing : libwebp-1.3.2-1.fc40.aarch64 4/198 Installing : libwayland-client-1.22.0-2.fc39.aarch64 5/198 Installing : libpng-2:1.6.37-15.fc39.aarch64 6/198 Installing : libogg-2:1.3.5-6.fc39.aarch64 7/198 Installing : libmpc-1.3.1-3.fc39.aarch64 8/198 Installing : libjpeg-turbo-2.1.4-3.fc39.aarch64 9/198 Installing : libdrm-2.4.114-3.fc39.aarch64 10/198 Installing : libX11-xcb-1.8.6-3.fc40.aarch64 11/198 Installing : fonts-filesystem-1:2.0.5-12.fc39.noarch 12/198 Installing : compat-lua-libs-5.1.5-23.fc39.aarch64 13/198 Installing : xorg-x11-proto-devel-2023.2-3.fc40.noarch 14/198 Installing : mesa-libglapi-23.2.0~rc3-1.fc40.aarch64 15/198 Installing : libxshmfence-1.3-13.fc39.aarch64 16/198 Installing : libwayland-server-1.22.0-2.fc39.aarch64 17/198 Installing : libXau-1.0.11-4.fc40.aarch64 18/198 Installing : libxcb-1.13.1-12.fc39.aarch64 19/198 Installing : highway-1.0.7-1.fc40.aarch64 20/198 Installing : gtest-1.13.0-3.fc39.aarch64 21/198 Installing : zlib-ng-compat-devel-2.1.3-5.fc40.aarch64 22/198 Installing : emacs-filesystem-1:29.1-1.fc40.noarch 23/198 Installing : gmock-1.13.0-3.fc39.aarch64 24/198 Installing : gtest-devel-1.13.0-3.fc39.aarch64 25/198 Installing : highway-devel-1.0.7-1.fc40.aarch64 26/198 Installing : mesa-libgbm-23.2.0~rc3-1.fc40.aarch64 27/198 Installing : libglvnd-egl-1:1.7.0-1.fc40.aarch64 28/198 Installing : mesa-libEGL-23.2.0~rc3-1.fc40.aarch64 29/198 Installing : libglvnd-gles-1:1.7.0-1.fc40.aarch64 30/198 Installing : libXau-devel-1.0.11-4.fc40.aarch64 31/198 Installing : libxcb-devel-1.13.1-12.fc39.aarch64 32/198 Installing : compat-lua-devel-5.1.5-23.fc39.aarch64 33/198 Installing : compat-tolua++-1.0.93-20.fc39.aarch64 34/198 Installing : abattis-cantarell-vf-fonts-0.301-10.fc39.noarch 35/198 Installing : libjpeg-turbo-devel-2.1.4-3.fc39.aarch64 36/198 Installing : cpp-13.2.1-3.fc40.aarch64 37/198 Installing : libtheora-1:1.1.1-34.fc39.aarch64 38/198 Installing : libvorbis-1:1.3.7-8.fc39.aarch64 39/198 Installing : libwayland-cursor-1.22.0-2.fc39.aarch64 40/198 Installing : libwebp-devel-1.3.2-1.fc40.aarch64 41/198 Installing : libglvnd-opengl-1:1.7.0-1.fc40.aarch64 42/198 Running scriptlet: xml-common-0.6.3-61.fc39.noarch 43/198 Installing : xml-common-0.6.3-61.fc39.noarch 43/198 Installing : vim-filesystem-2:9.0.1882-1.fc40.noarch 44/198 Installing : tzdata-2023c-3.fc40.noarch 45/198 Installing : sqlite-3.43.1-1.fc40.aarch64 46/198 Installing : rhash-1.4.3-3.fc39.aarch64 47/198 Installing : python-pip-wheel-23.2.1-1.fc39.noarch 48/198 Installing : pixman-0.42.2-2.fc39.aarch64 49/198 Installing : nettle-3.9.1-2.fc39.aarch64 50/198 Installing : gnutls-3.8.1-1.fc40.aarch64 51/198 Installing : glib2-2.78.0-2.fc40.aarch64 52/198 Installing : shared-mime-info-2.2-4.fc39.aarch64 53/198 Running scriptlet: shared-mime-info-2.2-4.fc39.aarch64 53/198 Installing : libjxl-1:0.8.2-3.fc40.aarch64 54/198 Installing : ncurses-6.4-7.20230520.fc40.aarch64 55/198 Installing : mpdecimal-2.5.1-7.fc39.aarch64 56/198 Installing : m4-1.4.19-7.fc40.aarch64 57/198 Installing : libuv-1:1.46.0-2.fc39.aarch64 58/198 Installing : libubsan-13.2.1-3.fc40.aarch64 59/198 Installing : libtool-ltdl-2.4.7-8.fc40.aarch64 60/198 Installing : libstdc++-devel-13.2.1-3.fc40.aarch64 61/198 Installing : liblerc-4.0.0-4.fc39.aarch64 62/198 Installing : libglvnd-core-devel-1:1.7.0-1.fc40.aarch64 63/198 Installing : libdatrie-0.2.13-7.fc39.aarch64 64/198 Installing : libthai-0.1.29-6.fc39.aarch64 65/198 Installing : libb2-0.98.1-9.fc39.aarch64 66/198 Installing : python3-3.12.0~rc2-1.fc40.aarch64 67/198 Installing : python3-libs-3.12.0~rc2-1.fc40.aarch64 68/198 Installing : cmake-rpm-macros-3.27.4-8.fc40.noarch 69/198 Installing : libatomic-13.2.1-3.fc40.aarch64 70/198 Installing : libasan-13.2.1-3.fc40.aarch64 71/198 Installing : libX11-common-1.8.6-3.fc40.noarch 72/198 Installing : libX11-1.8.6-3.fc40.aarch64 73/198 Installing : libXext-1.3.5-3.fc39.aarch64 74/198 Installing : libXrender-0.9.11-4.fc40.aarch64 75/198 Installing : libX11-devel-1.8.6-3.fc40.aarch64 76/198 Installing : libXxf86vm-1.1.5-4.fc40.aarch64 77/198 Installing : libXfixes-6.0.0-7.fc40.aarch64 78/198 Installing : libglvnd-glx-1:1.7.0-1.fc40.aarch64 79/198 Installing : mesa-libGL-23.2.0~rc3-1.fc40.aarch64 80/198 Installing : libglvnd-devel-1:1.7.0-1.fc40.aarch64 81/198 Installing : mesa-libEGL-devel-23.2.0~rc3-1.fc40.aarch64 82/198 Installing : kernel-headers-6.6.0-0.rc2.git0.1.fc40.aarch64 83/198 Installing : libxcrypt-devel-4.4.36-2.fc39.aarch64 84/198 Installing : glibc-devel-2.38.9000-9.fc40.aarch64 85/198 Installing : jsoncpp-1.9.5-5.fc39.aarch64 86/198 Installing : jbigkit-libs-2.1-26.fc39.aarch64 87/198 Installing : libtiff-4.4.0-8.fc40.aarch64 88/198 Installing : libtiff-devel-4.4.0-8.fc40.aarch64 89/198 Running scriptlet: groff-base-1.23.0-2.fc39.aarch64 90/198 Installing : groff-base-1.23.0-2.fc39.aarch64 90/198 Running scriptlet: groff-base-1.23.0-2.fc39.aarch64 90/198 Installing : perl-Digest-1.20-500.fc39.noarch 91/198 Installing : perl-Digest-MD5-2.58-500.fc39.aarch64 92/198 Installing : perl-B-1.88-500.fc39.aarch64 93/198 Installing : perl-FileHandle-2.05-500.fc39.noarch 94/198 Installing : perl-Data-Dumper-2.188-501.fc39.aarch64 95/198 Installing : perl-libnet-3.15-501.fc39.noarch 96/198 Installing : perl-AutoLoader-5.74-500.fc39.noarch 97/198 Installing : perl-base-2.27-500.fc39.noarch 98/198 Installing : perl-URI-5.21-1.fc40.noarch 99/198 Installing : perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch 100/198 Installing : perl-Mozilla-CA-20230821-1.fc40.noarch 101/198 Installing : perl-if-0.61.000-500.fc39.noarch 102/198 Installing : perl-locale-1.10-500.fc39.noarch 103/198 Installing : perl-IO-Socket-IP-0.42-1.fc39.noarch 104/198 Installing : perl-Time-Local-2:1.350-3.fc39.noarch 105/198 Installing : perl-File-Path-2.18-500.fc39.noarch 106/198 Installing : perl-IO-Socket-SSL-2.083-3.fc39.noarch 107/198 Installing : perl-Net-SSLeay-1.92-10.fc39.aarch64 108/198 Installing : perl-Pod-Escapes-1:1.07-501.fc40.noarch 109/198 Installing : perl-Class-Struct-0.68-500.fc39.noarch 110/198 Installing : perl-Term-ANSIColor-5.01-501.fc39.noarch 111/198 Installing : perl-POSIX-2.13-500.fc39.aarch64 112/198 Installing : perl-IPC-Open3-1.22-500.fc39.noarch 113/198 Installing : perl-File-Temp-1:0.231.100-500.fc39.noarch 114/198 Installing : perl-HTTP-Tiny-0.088-3.fc39.noarch 115/198 Installing : perl-Term-Cap-1.18-500.fc39.noarch 116/198 Installing : perl-Pod-Simple-1:3.45-4.fc39.noarch 117/198 Installing : perl-Socket-4:2.037-3.fc39.aarch64 118/198 Installing : perl-SelectSaver-1.02-500.fc39.noarch 119/198 Installing : perl-Symbol-1.09-500.fc39.noarch 120/198 Installing : perl-File-stat-1.13-500.fc39.noarch 121/198 Installing : perl-podlators-1:5.01-500.fc39.noarch 122/198 Installing : perl-Pod-Perldoc-3.28.01-501.fc39.noarch 123/198 Installing : perl-Fcntl-1.15-500.fc39.aarch64 124/198 Installing : perl-Text-ParseWords-3.31-500.fc39.noarch 125/198 Installing : perl-mro-1.28-500.fc39.aarch64 126/198 Installing : perl-IO-1.52-500.fc39.aarch64 127/198 Installing : perl-overloading-0.02-500.fc39.noarch 128/198 Installing : perl-Pod-Usage-4:2.03-500.fc39.noarch 129/198 Installing : perl-Errno-1.37-500.fc39.aarch64 130/198 Installing : perl-File-Basename-2.86-500.fc39.noarch 131/198 Installing : perl-Getopt-Std-1.13-500.fc39.noarch 132/198 Installing : perl-MIME-Base64-3.16-500.fc39.aarch64 133/198 Installing : perl-Scalar-List-Utils-5:1.63-500.fc39.aarch64 134/198 Installing : perl-constant-1.33-501.fc39.noarch 135/198 Installing : perl-Storable-1:3.32-500.fc39.aarch64 136/198 Installing : perl-overload-1.37-500.fc39.noarch 137/198 Installing : perl-parent-1:0.241-500.fc39.noarch 138/198 Installing : perl-vars-1.05-500.fc39.noarch 139/198 Installing : perl-Getopt-Long-1:2.54-500.fc39.noarch 140/198 Installing : perl-Carp-1.54-500.fc39.noarch 141/198 Installing : perl-Exporter-5.77-500.fc39.noarch 142/198 Installing : perl-PathTools-3.89-500.fc39.aarch64 143/198 Installing : perl-DynaLoader-1.54-500.fc39.aarch64 144/198 Installing : perl-Encode-4:3.19-500.fc39.aarch64 145/198 Installing : perl-libs-4:5.38.0-500.fc39.aarch64 146/198 Installing : perl-interpreter-4:5.38.0-500.fc39.aarch64 147/198 Installing : perl-threads-1:2.36-500.fc39.aarch64 148/198 Installing : perl-threads-shared-1.68-500.fc39.aarch64 149/198 Installing : perl-Thread-Queue-3.14-501.fc40.noarch 150/198 Installing : perl-File-Compare-1.100.700-500.fc39.noarch 151/198 Installing : perl-File-Copy-2.41-500.fc39.noarch 152/198 Installing : perl-File-Find-1.43-500.fc39.noarch 153/198 Installing : autoconf-2.71-7.fc40.noarch 154/198 Installing : automake-1.16.5-14.fc40.noarch 155/198 Installing : libogg-devel-2:1.3.5-6.fc39.aarch64 156/198 Installing : graphite2-1.3.14-12.fc39.aarch64 157/198 Installing : google-noto-fonts-common-20230801-3.fc40.noarch 158/198 Installing : google-noto-sans-vf-fonts-20230801-3.fc40.noarch 159/198 Installing : default-fonts-core-sans-4.0-9.fc40.noarch 160/198 Installing : cairo-1.17.8-5.fc40.aarch64 161/198 Installing : harfbuzz-8.2.1-1.fc40.aarch64 162/198 Installing : freetype-2.13.1-2.fc40.aarch64 163/198 Installing : fontconfig-2.14.2-5.fc40.aarch64 164/198 Running scriptlet: fontconfig-2.14.2-5.fc40.aarch64 164/198 Installing : libXft-2.3.8-4.fc40.aarch64 165/198 Installing : gc-8.2.2-4.fc39.aarch64 166/198 Installing : guile22-2.2.7-9.fc39.aarch64 167/198 Installing : make-1:4.4.1-2.fc39.aarch64 168/198 Installing : gcc-13.2.1-3.fc40.aarch64 169/198 Running scriptlet: gcc-13.2.1-3.fc40.aarch64 169/198 Installing : cmake-3.27.4-8.fc40.aarch64 170/198 Installing : cmake-data-3.27.4-8.fc40.noarch 171/198 Installing : fribidi-1.0.13-2.fc39.aarch64 172/198 Installing : pango-1.51.0-1.fc40.aarch64 173/198 Installing : dbus-libs-1:1.14.10-1.fc40.aarch64 174/198 Installing : libdecor-0.1.1-3.fc39.aarch64 175/198 Installing : SDL2-2.26.5-2.fc39.aarch64 176/198 Installing : SDL2-devel-2.26.5-2.fc39.aarch64 177/198 Installing : SDL2_image-2.6.3-3.fc39.aarch64 178/198 Installing : SDL2_mixer-2.6.3-2.fc39.aarch64 179/198 Installing : brotli-1.1.0-1.fc40.aarch64 180/198 Installing : brotli-devel-1.1.0-1.fc40.aarch64 181/198 Installing : libjxl-devel-1:0.8.2-3.fc40.aarch64 182/198 Installing : annobin-docs-12.26-1.fc40.noarch 183/198 Installing : lcms2-2.15-2.fc40.aarch64 184/198 Installing : libmng-2.0.3-19.fc40.aarch64 185/198 Installing : libmng-devel-2.0.3-19.fc40.aarch64 186/198 Installing : annobin-plugin-gcc-12.26-1.fc40.aarch64 187/198 Running scriptlet: annobin-plugin-gcc-12.26-1.fc40.aarch64 187/198 Installing : SDL2_image-devel-2.6.3-3.fc39.aarch64 188/198 Installing : SDL2_mixer-devel-2.6.3-2.fc39.aarch64 189/198 Installing : gcc-c++-13.2.1-3.fc40.aarch64 190/198 Installing : gcc-plugin-annobin-13.2.1-3.fc40.aarch64 191/198 Running scriptlet: gcc-plugin-annobin-13.2.1-3.fc40.aarch64 191/198 Installing : libtheora-devel-1:1.1.1-34.fc39.aarch64 192/198 Installing : libvorbis-devel-1:1.3.7-8.fc39.aarch64 193/198 Installing : sqlite-devel-3.43.1-1.fc40.aarch64 194/198 Installing : compat-tolua++-devel-1.0.93-20.fc39.aarch64 195/198 Installing : libpng-devel-2:1.6.37-15.fc39.aarch64 196/198 Installing : dos2unix-7.5.0-2.fc39.aarch64 197/198 Installing : bzip2-devel-1.0.8-16.fc39.aarch64 198/198 Running scriptlet: fontconfig-2.14.2-5.fc40.aarch64 198/198 Running scriptlet: bzip2-devel-1.0.8-16.fc39.aarch64 198/198 Verifying : cairo-1.17.8-5.fc40.aarch64 1/198 Verifying : emacs-filesystem-1:29.1-1.fc40.noarch 2/198 Verifying : freetype-2.13.1-2.fc40.aarch64 3/198 Verifying : lcms2-2.15-2.fc40.aarch64 4/198 Verifying : libjxl-1:0.8.2-3.fc40.aarch64 5/198 Verifying : libjxl-devel-1:0.8.2-3.fc40.aarch64 6/198 Verifying : libmng-2.0.3-19.fc40.aarch64 7/198 Verifying : libmng-devel-2.0.3-19.fc40.aarch64 8/198 Verifying : libtiff-4.4.0-8.fc40.aarch64 9/198 Verifying : libtiff-devel-4.4.0-8.fc40.aarch64 10/198 Verifying : zlib-ng-compat-devel-2.1.3-5.fc40.aarch64 11/198 Verifying : SDL2-2.26.5-2.fc39.aarch64 12/198 Verifying : SDL2-devel-2.26.5-2.fc39.aarch64 13/198 Verifying : SDL2_image-2.6.3-3.fc39.aarch64 14/198 Verifying : SDL2_image-devel-2.6.3-3.fc39.aarch64 15/198 Verifying : SDL2_mixer-2.6.3-2.fc39.aarch64 16/198 Verifying : SDL2_mixer-devel-2.6.3-2.fc39.aarch64 17/198 Verifying : abattis-cantarell-vf-fonts-0.301-10.fc39.noarch 18/198 Verifying : annobin-docs-12.26-1.fc40.noarch 19/198 Verifying : annobin-plugin-gcc-12.26-1.fc40.aarch64 20/198 Verifying : autoconf-2.71-7.fc40.noarch 21/198 Verifying : automake-1.16.5-14.fc40.noarch 22/198 Verifying : brotli-1.1.0-1.fc40.aarch64 23/198 Verifying : brotli-devel-1.1.0-1.fc40.aarch64 24/198 Verifying : bzip2-devel-1.0.8-16.fc39.aarch64 25/198 Verifying : cmake-3.27.4-8.fc40.aarch64 26/198 Verifying : cmake-data-3.27.4-8.fc40.noarch 27/198 Verifying : cmake-filesystem-3.27.4-8.fc40.aarch64 28/198 Verifying : cmake-rpm-macros-3.27.4-8.fc40.noarch 29/198 Verifying : compat-lua-devel-5.1.5-23.fc39.aarch64 30/198 Verifying : compat-lua-libs-5.1.5-23.fc39.aarch64 31/198 Verifying : compat-tolua++-1.0.93-20.fc39.aarch64 32/198 Verifying : compat-tolua++-devel-1.0.93-20.fc39.aarch64 33/198 Verifying : cpp-13.2.1-3.fc40.aarch64 34/198 Verifying : dbus-libs-1:1.14.10-1.fc40.aarch64 35/198 Verifying : default-fonts-core-sans-4.0-9.fc40.noarch 36/198 Verifying : dos2unix-7.5.0-2.fc39.aarch64 37/198 Verifying : expat-2.5.0-3.fc39.aarch64 38/198 Verifying : fontconfig-2.14.2-5.fc40.aarch64 39/198 Verifying : fonts-filesystem-1:2.0.5-12.fc39.noarch 40/198 Verifying : fribidi-1.0.13-2.fc39.aarch64 41/198 Verifying : gc-8.2.2-4.fc39.aarch64 42/198 Verifying : gcc-13.2.1-3.fc40.aarch64 43/198 Verifying : gcc-c++-13.2.1-3.fc40.aarch64 44/198 Verifying : gcc-plugin-annobin-13.2.1-3.fc40.aarch64 45/198 Verifying : glib2-2.78.0-2.fc40.aarch64 46/198 Verifying : glibc-devel-2.38.9000-9.fc40.aarch64 47/198 Verifying : gmock-1.13.0-3.fc39.aarch64 48/198 Verifying : gnutls-3.8.1-1.fc40.aarch64 49/198 Verifying : google-noto-fonts-common-20230801-3.fc40.noarch 50/198 Verifying : google-noto-sans-vf-fonts-20230801-3.fc40.noarch 51/198 Verifying : graphite2-1.3.14-12.fc39.aarch64 52/198 Verifying : groff-base-1.23.0-2.fc39.aarch64 53/198 Verifying : gtest-1.13.0-3.fc39.aarch64 54/198 Verifying : gtest-devel-1.13.0-3.fc39.aarch64 55/198 Verifying : guile22-2.2.7-9.fc39.aarch64 56/198 Verifying : harfbuzz-8.2.1-1.fc40.aarch64 57/198 Verifying : highway-1.0.7-1.fc40.aarch64 58/198 Verifying : highway-devel-1.0.7-1.fc40.aarch64 59/198 Verifying : jbigkit-libs-2.1-26.fc39.aarch64 60/198 Verifying : jsoncpp-1.9.5-5.fc39.aarch64 61/198 Verifying : kernel-headers-6.6.0-0.rc2.git0.1.fc40.aarch64 62/198 Verifying : libX11-1.8.6-3.fc40.aarch64 63/198 Verifying : libX11-common-1.8.6-3.fc40.noarch 64/198 Verifying : libX11-devel-1.8.6-3.fc40.aarch64 65/198 Verifying : libX11-xcb-1.8.6-3.fc40.aarch64 66/198 Verifying : libXau-1.0.11-4.fc40.aarch64 67/198 Verifying : libXau-devel-1.0.11-4.fc40.aarch64 68/198 Verifying : libXext-1.3.5-3.fc39.aarch64 69/198 Verifying : libXfixes-6.0.0-7.fc40.aarch64 70/198 Verifying : libXft-2.3.8-4.fc40.aarch64 71/198 Verifying : libXrender-0.9.11-4.fc40.aarch64 72/198 Verifying : libXxf86vm-1.1.5-4.fc40.aarch64 73/198 Verifying : libasan-13.2.1-3.fc40.aarch64 74/198 Verifying : libatomic-13.2.1-3.fc40.aarch64 75/198 Verifying : libb2-0.98.1-9.fc39.aarch64 76/198 Verifying : libdatrie-0.2.13-7.fc39.aarch64 77/198 Verifying : libdecor-0.1.1-3.fc39.aarch64 78/198 Verifying : libdrm-2.4.114-3.fc39.aarch64 79/198 Verifying : libglvnd-1:1.7.0-1.fc40.aarch64 80/198 Verifying : libglvnd-core-devel-1:1.7.0-1.fc40.aarch64 81/198 Verifying : libglvnd-devel-1:1.7.0-1.fc40.aarch64 82/198 Verifying : libglvnd-egl-1:1.7.0-1.fc40.aarch64 83/198 Verifying : libglvnd-gles-1:1.7.0-1.fc40.aarch64 84/198 Verifying : libglvnd-glx-1:1.7.0-1.fc40.aarch64 85/198 Verifying : libglvnd-opengl-1:1.7.0-1.fc40.aarch64 86/198 Verifying : libjpeg-turbo-2.1.4-3.fc39.aarch64 87/198 Verifying : libjpeg-turbo-devel-2.1.4-3.fc39.aarch64 88/198 Verifying : liblerc-4.0.0-4.fc39.aarch64 89/198 Verifying : libmpc-1.3.1-3.fc39.aarch64 90/198 Verifying : libogg-2:1.3.5-6.fc39.aarch64 91/198 Verifying : libogg-devel-2:1.3.5-6.fc39.aarch64 92/198 Verifying : libpng-2:1.6.37-15.fc39.aarch64 93/198 Verifying : libpng-devel-2:1.6.37-15.fc39.aarch64 94/198 Verifying : libstdc++-devel-13.2.1-3.fc40.aarch64 95/198 Verifying : libthai-0.1.29-6.fc39.aarch64 96/198 Verifying : libtheora-1:1.1.1-34.fc39.aarch64 97/198 Verifying : libtheora-devel-1:1.1.1-34.fc39.aarch64 98/198 Verifying : libtool-ltdl-2.4.7-8.fc40.aarch64 99/198 Verifying : libubsan-13.2.1-3.fc40.aarch64 100/198 Verifying : libuv-1:1.46.0-2.fc39.aarch64 101/198 Verifying : libvorbis-1:1.3.7-8.fc39.aarch64 102/198 Verifying : libvorbis-devel-1:1.3.7-8.fc39.aarch64 103/198 Verifying : libwayland-client-1.22.0-2.fc39.aarch64 104/198 Verifying : libwayland-cursor-1.22.0-2.fc39.aarch64 105/198 Verifying : libwayland-server-1.22.0-2.fc39.aarch64 106/198 Verifying : libwebp-1.3.2-1.fc40.aarch64 107/198 Verifying : libwebp-devel-1.3.2-1.fc40.aarch64 108/198 Verifying : libxcb-1.13.1-12.fc39.aarch64 109/198 Verifying : libxcb-devel-1.13.1-12.fc39.aarch64 110/198 Verifying : libxcrypt-devel-4.4.36-2.fc39.aarch64 111/198 Verifying : libxshmfence-1.3-13.fc39.aarch64 112/198 Verifying : m4-1.4.19-7.fc40.aarch64 113/198 Verifying : make-1:4.4.1-2.fc39.aarch64 114/198 Verifying : mesa-libEGL-23.2.0~rc3-1.fc40.aarch64 115/198 Verifying : mesa-libEGL-devel-23.2.0~rc3-1.fc40.aarch64 116/198 Verifying : mesa-libGL-23.2.0~rc3-1.fc40.aarch64 117/198 Verifying : mesa-libgbm-23.2.0~rc3-1.fc40.aarch64 118/198 Verifying : mesa-libglapi-23.2.0~rc3-1.fc40.aarch64 119/198 Verifying : mpdecimal-2.5.1-7.fc39.aarch64 120/198 Verifying : ncurses-6.4-7.20230520.fc40.aarch64 121/198 Verifying : nettle-3.9.1-2.fc39.aarch64 122/198 Verifying : pango-1.51.0-1.fc40.aarch64 123/198 Verifying : perl-AutoLoader-5.74-500.fc39.noarch 124/198 Verifying : perl-B-1.88-500.fc39.aarch64 125/198 Verifying : perl-Carp-1.54-500.fc39.noarch 126/198 Verifying : perl-Class-Struct-0.68-500.fc39.noarch 127/198 Verifying : perl-Data-Dumper-2.188-501.fc39.aarch64 128/198 Verifying : perl-Digest-1.20-500.fc39.noarch 129/198 Verifying : perl-Digest-MD5-2.58-500.fc39.aarch64 130/198 Verifying : perl-DynaLoader-1.54-500.fc39.aarch64 131/198 Verifying : perl-Encode-4:3.19-500.fc39.aarch64 132/198 Verifying : perl-Errno-1.37-500.fc39.aarch64 133/198 Verifying : perl-Exporter-5.77-500.fc39.noarch 134/198 Verifying : perl-Fcntl-1.15-500.fc39.aarch64 135/198 Verifying : perl-File-Basename-2.86-500.fc39.noarch 136/198 Verifying : perl-File-Compare-1.100.700-500.fc39.noarch 137/198 Verifying : perl-File-Copy-2.41-500.fc39.noarch 138/198 Verifying : perl-File-Find-1.43-500.fc39.noarch 139/198 Verifying : perl-File-Path-2.18-500.fc39.noarch 140/198 Verifying : perl-File-Temp-1:0.231.100-500.fc39.noarch 141/198 Verifying : perl-File-stat-1.13-500.fc39.noarch 142/198 Verifying : perl-FileHandle-2.05-500.fc39.noarch 143/198 Verifying : perl-Getopt-Long-1:2.54-500.fc39.noarch 144/198 Verifying : perl-Getopt-Std-1.13-500.fc39.noarch 145/198 Verifying : perl-HTTP-Tiny-0.088-3.fc39.noarch 146/198 Verifying : perl-IO-1.52-500.fc39.aarch64 147/198 Verifying : perl-IO-Socket-IP-0.42-1.fc39.noarch 148/198 Verifying : perl-IO-Socket-SSL-2.083-3.fc39.noarch 149/198 Verifying : perl-IPC-Open3-1.22-500.fc39.noarch 150/198 Verifying : perl-MIME-Base64-3.16-500.fc39.aarch64 151/198 Verifying : perl-Mozilla-CA-20230821-1.fc40.noarch 152/198 Verifying : perl-Net-SSLeay-1.92-10.fc39.aarch64 153/198 Verifying : perl-POSIX-2.13-500.fc39.aarch64 154/198 Verifying : perl-PathTools-3.89-500.fc39.aarch64 155/198 Verifying : perl-Pod-Escapes-1:1.07-501.fc40.noarch 156/198 Verifying : perl-Pod-Perldoc-3.28.01-501.fc39.noarch 157/198 Verifying : perl-Pod-Simple-1:3.45-4.fc39.noarch 158/198 Verifying : perl-Pod-Usage-4:2.03-500.fc39.noarch 159/198 Verifying : perl-Scalar-List-Utils-5:1.63-500.fc39.aarch64 160/198 Verifying : perl-SelectSaver-1.02-500.fc39.noarch 161/198 Verifying : perl-Socket-4:2.037-3.fc39.aarch64 162/198 Verifying : perl-Storable-1:3.32-500.fc39.aarch64 163/198 Verifying : perl-Symbol-1.09-500.fc39.noarch 164/198 Verifying : perl-Term-ANSIColor-5.01-501.fc39.noarch 165/198 Verifying : perl-Term-Cap-1.18-500.fc39.noarch 166/198 Verifying : perl-Text-ParseWords-3.31-500.fc39.noarch 167/198 Verifying : perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch 168/198 Verifying : perl-Thread-Queue-3.14-501.fc40.noarch 169/198 Verifying : perl-Time-Local-2:1.350-3.fc39.noarch 170/198 Verifying : perl-URI-5.21-1.fc40.noarch 171/198 Verifying : perl-base-2.27-500.fc39.noarch 172/198 Verifying : perl-constant-1.33-501.fc39.noarch 173/198 Verifying : perl-if-0.61.000-500.fc39.noarch 174/198 Verifying : perl-interpreter-4:5.38.0-500.fc39.aarch64 175/198 Verifying : perl-libnet-3.15-501.fc39.noarch 176/198 Verifying : perl-libs-4:5.38.0-500.fc39.aarch64 177/198 Verifying : perl-locale-1.10-500.fc39.noarch 178/198 Verifying : perl-mro-1.28-500.fc39.aarch64 179/198 Verifying : perl-overload-1.37-500.fc39.noarch 180/198 Verifying : perl-overloading-0.02-500.fc39.noarch 181/198 Verifying : perl-parent-1:0.241-500.fc39.noarch 182/198 Verifying : perl-podlators-1:5.01-500.fc39.noarch 183/198 Verifying : perl-threads-1:2.36-500.fc39.aarch64 184/198 Verifying : perl-threads-shared-1.68-500.fc39.aarch64 185/198 Verifying : perl-vars-1.05-500.fc39.noarch 186/198 Verifying : pixman-0.42.2-2.fc39.aarch64 187/198 Verifying : python-pip-wheel-23.2.1-1.fc39.noarch 188/198 Verifying : python3-3.12.0~rc2-1.fc40.aarch64 189/198 Verifying : python3-libs-3.12.0~rc2-1.fc40.aarch64 190/198 Verifying : rhash-1.4.3-3.fc39.aarch64 191/198 Verifying : shared-mime-info-2.2-4.fc39.aarch64 192/198 Verifying : sqlite-3.43.1-1.fc40.aarch64 193/198 Verifying : sqlite-devel-3.43.1-1.fc40.aarch64 194/198 Verifying : tzdata-2023c-3.fc40.noarch 195/198 Verifying : vim-filesystem-2:9.0.1882-1.fc40.noarch 196/198 Verifying : xml-common-0.6.3-61.fc39.noarch 197/198 Verifying : xorg-x11-proto-devel-2023.2-3.fc40.noarch 198/198 Installed: SDL2-2.26.5-2.fc39.aarch64 SDL2-devel-2.26.5-2.fc39.aarch64 SDL2_image-2.6.3-3.fc39.aarch64 SDL2_image-devel-2.6.3-3.fc39.aarch64 SDL2_mixer-2.6.3-2.fc39.aarch64 SDL2_mixer-devel-2.6.3-2.fc39.aarch64 abattis-cantarell-vf-fonts-0.301-10.fc39.noarch annobin-docs-12.26-1.fc40.noarch annobin-plugin-gcc-12.26-1.fc40.aarch64 autoconf-2.71-7.fc40.noarch automake-1.16.5-14.fc40.noarch brotli-1.1.0-1.fc40.aarch64 brotli-devel-1.1.0-1.fc40.aarch64 bzip2-devel-1.0.8-16.fc39.aarch64 cairo-1.17.8-5.fc40.aarch64 cmake-3.27.4-8.fc40.aarch64 cmake-data-3.27.4-8.fc40.noarch cmake-filesystem-3.27.4-8.fc40.aarch64 cmake-rpm-macros-3.27.4-8.fc40.noarch compat-lua-devel-5.1.5-23.fc39.aarch64 compat-lua-libs-5.1.5-23.fc39.aarch64 compat-tolua++-1.0.93-20.fc39.aarch64 compat-tolua++-devel-1.0.93-20.fc39.aarch64 cpp-13.2.1-3.fc40.aarch64 dbus-libs-1:1.14.10-1.fc40.aarch64 default-fonts-core-sans-4.0-9.fc40.noarch dos2unix-7.5.0-2.fc39.aarch64 emacs-filesystem-1:29.1-1.fc40.noarch expat-2.5.0-3.fc39.aarch64 fontconfig-2.14.2-5.fc40.aarch64 fonts-filesystem-1:2.0.5-12.fc39.noarch freetype-2.13.1-2.fc40.aarch64 fribidi-1.0.13-2.fc39.aarch64 gc-8.2.2-4.fc39.aarch64 gcc-13.2.1-3.fc40.aarch64 gcc-c++-13.2.1-3.fc40.aarch64 gcc-plugin-annobin-13.2.1-3.fc40.aarch64 glib2-2.78.0-2.fc40.aarch64 glibc-devel-2.38.9000-9.fc40.aarch64 gmock-1.13.0-3.fc39.aarch64 gnutls-3.8.1-1.fc40.aarch64 google-noto-fonts-common-20230801-3.fc40.noarch google-noto-sans-vf-fonts-20230801-3.fc40.noarch graphite2-1.3.14-12.fc39.aarch64 groff-base-1.23.0-2.fc39.aarch64 gtest-1.13.0-3.fc39.aarch64 gtest-devel-1.13.0-3.fc39.aarch64 guile22-2.2.7-9.fc39.aarch64 harfbuzz-8.2.1-1.fc40.aarch64 highway-1.0.7-1.fc40.aarch64 highway-devel-1.0.7-1.fc40.aarch64 jbigkit-libs-2.1-26.fc39.aarch64 jsoncpp-1.9.5-5.fc39.aarch64 kernel-headers-6.6.0-0.rc2.git0.1.fc40.aarch64 lcms2-2.15-2.fc40.aarch64 libX11-1.8.6-3.fc40.aarch64 libX11-common-1.8.6-3.fc40.noarch libX11-devel-1.8.6-3.fc40.aarch64 libX11-xcb-1.8.6-3.fc40.aarch64 libXau-1.0.11-4.fc40.aarch64 libXau-devel-1.0.11-4.fc40.aarch64 libXext-1.3.5-3.fc39.aarch64 libXfixes-6.0.0-7.fc40.aarch64 libXft-2.3.8-4.fc40.aarch64 libXrender-0.9.11-4.fc40.aarch64 libXxf86vm-1.1.5-4.fc40.aarch64 libasan-13.2.1-3.fc40.aarch64 libatomic-13.2.1-3.fc40.aarch64 libb2-0.98.1-9.fc39.aarch64 libdatrie-0.2.13-7.fc39.aarch64 libdecor-0.1.1-3.fc39.aarch64 libdrm-2.4.114-3.fc39.aarch64 libglvnd-1:1.7.0-1.fc40.aarch64 libglvnd-core-devel-1:1.7.0-1.fc40.aarch64 libglvnd-devel-1:1.7.0-1.fc40.aarch64 libglvnd-egl-1:1.7.0-1.fc40.aarch64 libglvnd-gles-1:1.7.0-1.fc40.aarch64 libglvnd-glx-1:1.7.0-1.fc40.aarch64 libglvnd-opengl-1:1.7.0-1.fc40.aarch64 libjpeg-turbo-2.1.4-3.fc39.aarch64 libjpeg-turbo-devel-2.1.4-3.fc39.aarch64 libjxl-1:0.8.2-3.fc40.aarch64 libjxl-devel-1:0.8.2-3.fc40.aarch64 liblerc-4.0.0-4.fc39.aarch64 libmng-2.0.3-19.fc40.aarch64 libmng-devel-2.0.3-19.fc40.aarch64 libmpc-1.3.1-3.fc39.aarch64 libogg-2:1.3.5-6.fc39.aarch64 libogg-devel-2:1.3.5-6.fc39.aarch64 libpng-2:1.6.37-15.fc39.aarch64 libpng-devel-2:1.6.37-15.fc39.aarch64 libstdc++-devel-13.2.1-3.fc40.aarch64 libthai-0.1.29-6.fc39.aarch64 libtheora-1:1.1.1-34.fc39.aarch64 libtheora-devel-1:1.1.1-34.fc39.aarch64 libtiff-4.4.0-8.fc40.aarch64 libtiff-devel-4.4.0-8.fc40.aarch64 libtool-ltdl-2.4.7-8.fc40.aarch64 libubsan-13.2.1-3.fc40.aarch64 libuv-1:1.46.0-2.fc39.aarch64 libvorbis-1:1.3.7-8.fc39.aarch64 libvorbis-devel-1:1.3.7-8.fc39.aarch64 libwayland-client-1.22.0-2.fc39.aarch64 libwayland-cursor-1.22.0-2.fc39.aarch64 libwayland-server-1.22.0-2.fc39.aarch64 libwebp-1.3.2-1.fc40.aarch64 libwebp-devel-1.3.2-1.fc40.aarch64 libxcb-1.13.1-12.fc39.aarch64 libxcb-devel-1.13.1-12.fc39.aarch64 libxcrypt-devel-4.4.36-2.fc39.aarch64 libxshmfence-1.3-13.fc39.aarch64 m4-1.4.19-7.fc40.aarch64 make-1:4.4.1-2.fc39.aarch64 mesa-libEGL-23.2.0~rc3-1.fc40.aarch64 mesa-libEGL-devel-23.2.0~rc3-1.fc40.aarch64 mesa-libGL-23.2.0~rc3-1.fc40.aarch64 mesa-libgbm-23.2.0~rc3-1.fc40.aarch64 mesa-libglapi-23.2.0~rc3-1.fc40.aarch64 mpdecimal-2.5.1-7.fc39.aarch64 ncurses-6.4-7.20230520.fc40.aarch64 nettle-3.9.1-2.fc39.aarch64 pango-1.51.0-1.fc40.aarch64 perl-AutoLoader-5.74-500.fc39.noarch perl-B-1.88-500.fc39.aarch64 perl-Carp-1.54-500.fc39.noarch perl-Class-Struct-0.68-500.fc39.noarch perl-Data-Dumper-2.188-501.fc39.aarch64 perl-Digest-1.20-500.fc39.noarch perl-Digest-MD5-2.58-500.fc39.aarch64 perl-DynaLoader-1.54-500.fc39.aarch64 perl-Encode-4:3.19-500.fc39.aarch64 perl-Errno-1.37-500.fc39.aarch64 perl-Exporter-5.77-500.fc39.noarch perl-Fcntl-1.15-500.fc39.aarch64 perl-File-Basename-2.86-500.fc39.noarch perl-File-Compare-1.100.700-500.fc39.noarch perl-File-Copy-2.41-500.fc39.noarch perl-File-Find-1.43-500.fc39.noarch perl-File-Path-2.18-500.fc39.noarch perl-File-Temp-1:0.231.100-500.fc39.noarch perl-File-stat-1.13-500.fc39.noarch perl-FileHandle-2.05-500.fc39.noarch perl-Getopt-Long-1:2.54-500.fc39.noarch perl-Getopt-Std-1.13-500.fc39.noarch perl-HTTP-Tiny-0.088-3.fc39.noarch perl-IO-1.52-500.fc39.aarch64 perl-IO-Socket-IP-0.42-1.fc39.noarch perl-IO-Socket-SSL-2.083-3.fc39.noarch perl-IPC-Open3-1.22-500.fc39.noarch perl-MIME-Base64-3.16-500.fc39.aarch64 perl-Mozilla-CA-20230821-1.fc40.noarch perl-Net-SSLeay-1.92-10.fc39.aarch64 perl-POSIX-2.13-500.fc39.aarch64 perl-PathTools-3.89-500.fc39.aarch64 perl-Pod-Escapes-1:1.07-501.fc40.noarch perl-Pod-Perldoc-3.28.01-501.fc39.noarch perl-Pod-Simple-1:3.45-4.fc39.noarch perl-Pod-Usage-4:2.03-500.fc39.noarch perl-Scalar-List-Utils-5:1.63-500.fc39.aarch64 perl-SelectSaver-1.02-500.fc39.noarch perl-Socket-4:2.037-3.fc39.aarch64 perl-Storable-1:3.32-500.fc39.aarch64 perl-Symbol-1.09-500.fc39.noarch perl-Term-ANSIColor-5.01-501.fc39.noarch perl-Term-Cap-1.18-500.fc39.noarch perl-Text-ParseWords-3.31-500.fc39.noarch perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch perl-Thread-Queue-3.14-501.fc40.noarch perl-Time-Local-2:1.350-3.fc39.noarch perl-URI-5.21-1.fc40.noarch perl-base-2.27-500.fc39.noarch perl-constant-1.33-501.fc39.noarch perl-if-0.61.000-500.fc39.noarch perl-interpreter-4:5.38.0-500.fc39.aarch64 perl-libnet-3.15-501.fc39.noarch perl-libs-4:5.38.0-500.fc39.aarch64 perl-locale-1.10-500.fc39.noarch perl-mro-1.28-500.fc39.aarch64 perl-overload-1.37-500.fc39.noarch perl-overloading-0.02-500.fc39.noarch perl-parent-1:0.241-500.fc39.noarch perl-podlators-1:5.01-500.fc39.noarch perl-threads-1:2.36-500.fc39.aarch64 perl-threads-shared-1.68-500.fc39.aarch64 perl-vars-1.05-500.fc39.noarch pixman-0.42.2-2.fc39.aarch64 python-pip-wheel-23.2.1-1.fc39.noarch python3-3.12.0~rc2-1.fc40.aarch64 python3-libs-3.12.0~rc2-1.fc40.aarch64 rhash-1.4.3-3.fc39.aarch64 shared-mime-info-2.2-4.fc39.aarch64 sqlite-3.43.1-1.fc40.aarch64 sqlite-devel-3.43.1-1.fc40.aarch64 tzdata-2023c-3.fc40.noarch vim-filesystem-2:9.0.1882-1.fc40.noarch xml-common-0.6.3-61.fc39.noarch xorg-x11-proto-devel-2023.2-3.fc40.noarch zlib-ng-compat-devel-2.1.3-5.fc40.aarch64 Complete! Finish: build setup for stratagus-3.3.2-3.fc40.src.rpm Start: rpmbuild stratagus-3.3.2-3.fc40.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ITSUf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stratagus-3.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stratagus-3.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stratagus-3.3.2 + rm -rf /builddir/build/BUILD/stratagus-3.3.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/stratagus-3.3.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/stratagus-0001-Fix-binaries-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso8859-1 -t utf8 doc/guichan-copyright.txt + mv -f doc/guichan-copyright.utf8 doc/guichan-copyright.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zQWAQK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stratagus-3.3.2 + mkdir build + pushd build ~/build/BUILD/stratagus-3.3.2/build ~/build/BUILD/stratagus-3.3.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -DENABLE_DEV=ON -DLUA_INCLUDE_DIR=/usr/include/lua-5.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 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:50 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Performing Test HAS_17_FS -- Performing Test HAS_17_FS - Failed -- Performing Test HAS_EXP_17_FS_WITH_STDC -- Performing Test HAS_EXP_17_FS_WITH_STDC - Success -- Found Lua51: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so (found version "5.1.5") -- Found program tolua++: /usr/bin/tolua++ -- Found library tolua++: /usr/lib64/libtolua++.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.37") -- 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/lib64/libSDL2.so -- Found SDL2_mixer: /usr/lib64/libSDL2_mixer.so (found version "2.6.3") -- Found SDL2_image: /usr/lib64/libSDL2_image.so (found version "2.6.3") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Could not find StackTrace -- Found MNG: /usr/lib64/libmng.so -- Looking for vorbis_bitrate_addblock in vorbis -- Looking for vorbis_bitrate_addblock in vorbis - found -- Found OggVorbis: /usr/lib64/libogg.so;/usr/lib64/libvorbis.so -- theora found: includes in /usr/include, library in /usr/lib64/libtheora.so;/usr/lib64/libogg.so;/usr/lib64/libvorbis.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Looking for sys/types.h CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:77 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: stdc++fs For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/share/cmake/Modules/CheckTypeSize.cmake:250 (check_include_file) CMakeLists.txt:917 (check_type_size) This warning is for project developers. Use -Wno-dev to suppress it. -- 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: No (Enable by param -DENABLE_TOUCHSCREEN=ON) 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: Found and enabled (Disable by param -DWITH_OPENMP=OFF) ================================== -- Configuring done (5.3s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/stratagus-3.3.2/build + make -j4 /usr/bin/cmake -S/builddir/build/BUILD/stratagus-3.3.2 -B/builddir/build/BUILD/stratagus-3.3.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles /builddir/build/BUILD/stratagus-3.3.2/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/depend make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/genversion.dir/DependInfo.cmake "--color=" make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/png2stratagus.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/build make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 1%] Building CXX object CMakeFiles/genversion.dir/tools/genversion.cpp.o [ 1%] Building CXX object CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 /builddir/build/BUILD/stratagus-3.3.2/tools/genversion.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 /builddir/build/BUILD/stratagus-3.3.2/tools/png2stratagus.cpp /builddir/build/BUILD/stratagus-3.3.2/tools/genversion.cpp: In function ‘int main(int, char**)’: /builddir/build/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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ [ 1%] Linking CXX executable genversion /usr/bin/cmake -E cmake_link_script CMakeFiles/genversion.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/genversion.dir/tools/genversion.cpp.o -o genversion make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 1%] Built target genversion make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/depend make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/version-generated.h.dir/DependInfo.cmake "--color=" make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision -1 -1 -1 -1 - 3 3 2 0 ver update [genversion] update needed make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 2%] Generating tolua.cpp cd /builddir/build/BUILD/stratagus-3.3.2/src/tolua && /usr/bin/tolua++ -L stratagus.lua -o /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp stratagus.pkg [ 2%] Built target version-generated.h ** tolua warning: Mapping variable to global may degrade performance. cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/stratagus.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_build.cpp.o [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_board.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_build.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_attack.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_board.cpp [ 3%] Linking CXX executable png2stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/png2stratagus.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -o png2stratagus /usr/lib64/libpng.so /usr/lib64/libz.so In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_attack.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_build.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_board.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 3%] Built target png2stratagus [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_built.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_built.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_build.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_board.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_attack.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_built.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_defend.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_die.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_die.cpp [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_explore.cpp [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_follow.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_defend.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_die.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_explore.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_die.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_defend.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_follow.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 6%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_move.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_move.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_explore.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_follow.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ [ 6%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 7%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_move.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_repair.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 7%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_research.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_research.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_move.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_repair.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_research.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_repair.cpp:49: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_research.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_still.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_still.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_train.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_train.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp: In member function ‘int COrder_Resource::StopGathering(CUnit&)’: /builddir/build/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); | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp: In member function ‘bool COrder_Resource::WaitInDepot(CUnit&)’: /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:1090:27: warning: unused variable ‘range’ [-Wunused-variable] 1090 | const int range = 15; | ^~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_still.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_train.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_still.cpp:50: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_train.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_unload.cpp [ 10%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp [ 10%] Building CXX object CMakeFiles/stratagus.dir/src/action/actions.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp [ 11%] Building CXX object CMakeFiles/stratagus.dir/src/action/command.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/command.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_unload.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_unload.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:75: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:85: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function ‘void print_backtrace(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable ‘j’ [-Wunused-variable] 10 | int j, nptrs; | ^ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/command.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ [ 11%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation.cpp.o /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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/include/stdio.h:964, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4097, from /usr/include/c++/13/string:54, from /builddir/build/BUILD/stratagus-3.3.2/src/include/stratagus.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:38: In function ‘fprintf’, inlined from ‘DumpUnitInfo(CUnit&)’ at /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:521:9: /usr/include/bits/stdio2.h:79:24: warning: ‘currentAction’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp: In function ‘DumpUnitInfo(CUnit&)’: /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:494:21: note: ‘currentAction’ was declared here 494 | const char *currentAction; | ^~~~~~~~~~~~~ [ 12%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp [ 12%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_attack.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation.cpp:72: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_exactframe.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_frame.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 14%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_goto.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 14%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_ifvar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 15%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp [ 15%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_label.h:35, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 16%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp [ 16%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_luacallback.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_move.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomgoto.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 17%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomrotate.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 17%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomsound.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomwait.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_rotate.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_setplayervar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/actions.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:40: In function ‘operator+(Vec2T const&, Vec2T const&)Vec2T’, inlined from ‘CAnimation_Rotate::Action(CUnit&, int&, int) const’ at /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:73:64: /builddir/build/BUILD/stratagus-3.3.2/src/include/vec2i.h:106:18: warning: ‘target’ may be used uninitialized [-Wmaybe-uninitialized] 106 | Vec2T res(lhs); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp: In member function ‘CAnimation_Rotate::Action(CUnit&, int&, int) const’: /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:63:24: note: ‘target’ was declared here 63 | CUnit *target; | ^~~~~~ [ 19%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp [ 19%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp [ 20%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_setvar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_spawnmissile.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_sound.h:35, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_spawnunit.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ [ 20%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp [ 21%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp [ 21%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_building.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_unbreakable.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_wait.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_wiggle.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_building.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_force.cpp [ 23%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_force.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 23%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_plan.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai.cpp:153: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_plan.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_resource.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 24%] Building CXX object CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ai/script_ai.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_resource.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 25%] Building CXX object CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/script_ai.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 25%] Building CXX object CMakeFiles/stratagus.dir/src/editor/editor.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/editor/editor.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:64: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function ‘bool forEachTileOptionArea(std::function, int, int, int, int, int)>)’: /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:671:13: warning: unused variable ‘y2’ [-Wunused-variable] 671 | int y2 = getSelectionArea()[3]; | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function ‘void EditorCallbackButtonUp(unsigned int)’: /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1116:21: warning: unused variable ‘num’ [-Wunused-variable] 1116 | int num = 0; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function ‘void EditorCallbackButtonDown(unsigned int)’: /builddir/build/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; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function ‘bool EditorCallbackMouse_EditUnitArea(const PixelPos&)’: /builddir/build/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) { | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function ‘bool EditorCallbackMouse_EditTileArea(const PixelPos&)’: /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1586:13: warning: unused variable ‘bx’ [-Wunused-variable] 1586 | int bx = UI.InfoPanel.X + 4; | ^~ /builddir/build/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; | ^~ /builddir/build/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) { | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function ‘void EditorMainLoop()’: /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1944:14: warning: unused variable ‘first_init’ [-Wunused-variable] 1944 | bool first_init = true; | ^~~~~~~~~~ [ 26%] Building CXX object CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/editor/edmap.cpp [ 26%] Building CXX object CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/editor/script_editor.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/editor/edmap.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/game.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/loadgame.cpp [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/replay.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/loadgame.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:73: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 28%] Building CXX object CMakeFiles/stratagus.dir/src/game/savegame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 28%] Building CXX object CMakeFiles/stratagus.dir/src/game/trigger.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/trigger.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/trigger.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 29%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/cliprectangle.cpp [ 29%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/color.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/color.cpp [ 30%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/defaultfont.cpp [ 30%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/exception.cpp [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/focushandler.cpp [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/gfont.cpp [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/graphics.cpp [ 32%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/gui.cpp [ 32%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/guichan.cpp [ 33%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/image.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/image.cpp [ 33%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/imagefont.cpp [ 34%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/key.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/key.cpp [ 34%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/keyinput.cpp [ 35%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/mouseinput.cpp [ 35%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/rectangle.cpp [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/sdl/gsdl.cpp [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/sdl/sdlgraphics.cpp [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/sdl/sdlinput.cpp [ 37%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widget.cpp [ 37%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/button.cpp [ 38%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/container.cpp [ 38%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/dropdown.cpp [ 39%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/checkbox.cpp [ 39%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/icon.cpp [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/label.cpp [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/listbox.cpp [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/radiobutton.cpp [ 41%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/scrollarea.cpp [ 41%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/slider.cpp [ 42%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/textbox.cpp [ 42%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/textfield.cpp [ 43%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/window.cpp [ 43%] Building CXX object CMakeFiles/stratagus.dir/src/map/fov.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/fov.cpp [ 44%] Building CXX object CMakeFiles/stratagus.dir/src/map/fow.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/fow.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/fov.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map.cpp.o [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/fow_utils.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map_draw.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h: In constructor ‘CMap::CMap()’: /builddir/build/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 | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h:271:19: warning: ‘CTileset* CMap::Tileset’ [-Wreorder] 271 | CTileset *Tileset; /// tileset data | ^~~~~~~ /builddir/build/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) | ^~~~ [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map_fog.cpp [ 46%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map_radar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_draw.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 46%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map_wall.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_radar.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map_radar.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_fog.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map_fog.cpp:58: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function ‘void print_backtrace(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable ‘j’ [-Wunused-variable] 10 | int j, nptrs; | ^ [ 47%] Building CXX object CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o [ 47%] Building CXX object CMakeFiles/stratagus.dir/src/map/minimap.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/mapfield.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/minimap.cpp [ 48%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_wall.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/minimap.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/mapfield.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 48%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/script_tileset.cpp [ 49%] Building CXX object CMakeFiles/stratagus.dir/src/map/tileset.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 49%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile.cpp /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp: In member function ‘unsigned int CTileset::getDefaultTileIndex() const’: /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp:231:9: warning: unused variable ‘solid’ [-Wunused-variable] 231 | int solid = 0; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp: In member function ‘unsigned int CTileset::getWallDirection(int, bool) const’: /builddir/build/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) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/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) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_cliptotarget.cpp [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_continuous.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_cycleonce.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_cliptotarget.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 51%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_deathcoil.cpp [ 51%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_fire.cpp [ 52%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_flameshield.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_deathcoil.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_fire.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_flameshield.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 52%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_hit.cpp [ 53%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_landmine.cpp [ 53%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_none.cpp [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_parabolic.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_landmine.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointotpointwithhit.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointtopoint.cpp [ 55%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointtopointbounce.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_parabolic.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 55%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointtopointcycleonce.cpp [ 56%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_stay.cpp [ 56%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_straightfly.cpp [ 57%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_tracer.cpp [ 57%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_whirlwind.cpp [ 58%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/missileconfig.cpp [ 58%] Building CXX object CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_tracer.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/commands.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/commands.cpp [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp: In function ‘int NetSocketAddr(long unsigned int*, int)’: /builddir/build/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp:274:15: warning: unused variable ‘tmpAddrPtr’ [-Wunused-variable] 274 | void *tmpAddrPtr = NULL; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/network/commands.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_message.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/net_message.cpp [ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp [ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/network.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/network.cpp [ 61%] Building CXX object CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/netsockets.cpp [ 61%] Building CXX object CMakeFiles/stratagus.dir/src/network/online_service.cpp.o [ 62%] Building CXX object CMakeFiles/stratagus.dir/src/network/mdns.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/network/network.cpp:242: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp: In member function ‘void MDNS::QueryServers(std::function)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp:31: /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h: At global scope: /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:70: /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~~~ [ 62%] Building CXX object CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/particle/graphicanimation.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘uint64_t BNCSInputStream::read64()’: /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:206:18: warning: unused variable ‘nativeWordTwo’ [-Wunused-variable] 206 | uint32_t nativeWordTwo = ntohl(wordTwo); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘void Context::sendText(std::string, bool)’: /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:888:13: warning: unused variable ‘pos’ [-Wunused-variable] 888 | int pos = 0; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘void OnlineState::handleGamelist(Context*)’: /builddir/build/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(); | ^~~~ /builddir/build/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(); | ^~~~~~~~ /builddir/build/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(); | ^~~~~~~~ /builddir/build/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(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘void OnlineState::handleChatevent(Context*)’: /builddir/build/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(); | ^~~~~~~~~ /builddir/build/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(); | ^~~~ /builddir/build/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(); | ^~ /builddir/build/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(); | ^~~ /builddir/build/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(); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘virtual void S2C_SID_AUTH_INFO::doOneStep(Context*)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/network/./xsha1.h: At global scope: /builddir/build/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); | ^~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~ [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/particle/chunkparticle.cpp [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/particle/particlemanager.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp: In member function ‘CServer::Send_MapFragment(CNetworkHost const&, unsigned int)’: /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1157:90: warning: ‘fileSize’ may be used uninitialized [-Wmaybe-uninitialized] 1157 | fragmentDataSize = std::min(fragmentDataSize, fileSize - offset); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1124:18: note: ‘fileSize’ was declared here 1124 | uint32_t fileSize; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1152:9: warning: ‘fragmentDataSize’ may be used uninitialized [-Wmaybe-uninitialized] 1152 | if (fragmentDataSize > 0) { | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1123:18: note: ‘fragmentDataSize’ was declared here 1123 | uint32_t fragmentDataSize; | ^~~~~~~~~~~~~~~~ [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/particle/radialparticle.cpp [ 64%] Building CXX object CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/particle/smokeparticle.cpp [ 64%] Building CXX object CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/particle/staticparticle.cpp [ 65%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/astar.cpp [ 65%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/astar.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 66%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp: In function ‘PlaceReachable(CUnit const&, Vec2T const&, int, int, int, int, bool)’: /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:236:9: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 236 | switch (i) { | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:189:13: note: ‘i’ was declared here 189 | int i; | ^ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ [ 66%] Building CXX object CMakeFiles/stratagus.dir/src/sound/music.cpp.o /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/sound/music.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 67%] Building CXX object CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/sound/script_sound.cpp [ 67%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound.cpp [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_id.cpp [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:50: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function ‘void FreeSample(Mix_Chunk*)’: /builddir/build/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) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function ‘int PlaySample(Mix_Chunk*, Origin*, void (*)(int))’: /builddir/build/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) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function ‘void SetMusicVolume(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:608:48: warning: statement has no effect [-Wunused-value] 608 | External_Volume(MusicVolume, oldVolume); | ^ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:605:13: warning: unused variable ‘oldVolume’ [-Wunused-variable] 605 | int oldVolume = MusicVolume; | ^~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomsound.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 69%] Building CXX object CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/script_spell.cpp [ 69%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvariable.cpp [ 70%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvital.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/script_spell.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvariable.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ [ 70%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areaadjustvital.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvital.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 71%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areabombardment.cpp [ 71%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_capture.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areaadjustvital.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_demolish.cpp [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_luacallback.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_capture.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areabombardment.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_demolish.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_polymorph.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_luacallback.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 73%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnmissile.cpp [ 73%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnportal.cpp [ 74%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_summon.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_polymorph.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnmissile.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnportal.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 74%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_teleport.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_summon.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 75%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spells.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/spell/spells.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_teleport.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 75%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/construct.cpp [ 76%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/groups.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 76%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/iolib.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/groups.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spells.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/luacallback.cpp [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/main.cpp [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/mainloop.cpp [ 78%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/parameters.cpp [ 78%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/player.cpp [ 79%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/mainloop.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 79%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/player.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/player.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_setplayervar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 80%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp: In function ‘int LuaLoadFile(const std::string&, const std::string&, bool)’: /builddir/build/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 ‘long unsigned int’} and ‘int’ [-Wsign-compare] 258 | if (file.rfind("stratagus.lua") != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp: At global scope: /builddir/build/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) | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 80%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/title.cpp [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/translate.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp:214: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function ‘void print_backtrace(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable ‘j’ [-Wunused-variable] 10 | int j, nptrs; | ^ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/title.cpp:35: /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor ‘Movie::Movie()’: /builddir/build/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; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: ‘SDL_Surface* Movie::surface’ [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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; | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: ‘bool Movie::is_dirty’ [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: ‘int Movie::Width’ [-Wreorder] 102 | int Width; | ^~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: ‘Movie::data’ will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: ‘CFile* Movie::f’ [-Wreorder] 105 | CFile *f; | ^ /builddir/build/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), | ^~~~~ [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/util.cpp [ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/botpanel.cpp [ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/button_checks.cpp [ 83%] Building CXX object CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/util.cpp:55: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function ‘void print_backtrace(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable ‘j’ [-Wunused-variable] 10 | int j, nptrs; | ^ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/button_checks.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/botpanel.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 83%] Building CXX object CMakeFiles/stratagus.dir/src/ui/icons.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/icons.cpp [ 84%] Building CXX object CMakeFiles/stratagus.dir/src/ui/interface.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp: In member function ‘virtual void CContentTypeLifeBar::Parse(lua_State*)’: /builddir/build/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) { | ~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/icons.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function ‘void InputKey(int)’: /builddir/build/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)); | ^~~~~~~~~~~~~ /builddir/build/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)); | ^~~~~~~~~~~~~ /builddir/build/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)); | ^~~~~~~~~~~~~ [ 84%] Building CXX object CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:150:13: warning: ‘void UiUnselectAll()’ defined but not used [-Wunused-function] 150 | static void UiUnselectAll() | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function ‘addCursorToInput()’: /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:110:16: warning: ‘__strncpy_chk’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 110 | strncpy(Input + InputIndex, Cursor, strlen(Cursor)); | ^ [ 85%] Building CXX object CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/uibuttons_proc.cpp /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function ‘InputKey(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:943:32: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 943 | strncpy(Input, InputHistory + (InputHistoryPos * sizeof(Input)), sizeof(Input)); | ^ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:930:32: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 930 | strncpy(Input, InputHistory + (InputHistoryPos * sizeof(Input)), sizeof(Input)); | ^ [ 85%] Building CXX object CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/popup.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/popup.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp: In function ‘void DrawUnitInfo_transporter(CUnit&)’: /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp:554:76: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 554 | if (static_cast(ButtonUnderCursor) == sub_j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/script_ui.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp: In function ‘bool DoRightButton_Harvest_Unit(CUnit&, CUnit&, int, int&)’: /builddir/build/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]; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp: In function ‘void UIHandleButtonDown_OnButton(unsigned int)’: /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:1817:108: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1817 | if (static_cast(ButtonUnderCursor) == sub_j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/ui/popup.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/statusline.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/script_ui.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 87%] Building CXX object CMakeFiles/stratagus.dir/src/ui/ui.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/ui.cpp [ 87%] Building CXX object CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/uitimer.cpp [ 88%] Building CXX object CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/ui/widgets.cpp [ 88%] Building CXX object CMakeFiles/stratagus.dir/src/unit/build.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/build.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/ui.cpp:49: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/build.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/build.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 89%] Building CXX object CMakeFiles/stratagus.dir/src/unit/depend.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/depend.cpp [ 89%] Building CXX object CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/depend.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_cache.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_cache.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function ‘int CclDefinePaletteSwap(lua_State*)’: /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:2263:55: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2263 | if (lua_rawlen(l, -1) != alternativesCount) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:2275:63: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2275 | if (lua_rawlen(l, -1) != colorCount) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp [ 91%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_draw.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp: In member function ‘void CUnit::Init()’: /builddir/build/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:390:16: note: ‘struct CUnit::_seen_stuff_’ declared here 390 | struct _seen_stuff_ { | ^~~~~~~~~~~~ [ 91%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_draw.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp: In constructor ‘BestRangeTargetFinder::FillBadGood::FillBadGood(const CUnit&, int, std::vector*, std::vector*, int)’: /builddir/build/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; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:970:21: warning: ‘int BestRangeTargetFinder::FillBadGood::enemy_count’ [-Wreorder] 970 | int enemy_count; | ^~~~~~~~~~~ /builddir/build/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): | ^~~~~~~~~~~ [ 92%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp [ 92%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp [ 93%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unitptr.cpp [ 93%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unitptr.cpp:35: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:36: /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp: In member function ‘void CUnitManager::ReleaseUnit(CUnit*)’: /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:123:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 123 | Assert(unit->PlayerSlot == -1); | ~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/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) | ^~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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), | ^~~~~~~~~~~ [ 94%] Building CXX object CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/unit/upgrade.cpp [ 94%] Building CXX object CMakeFiles/stratagus.dir/src/video/color.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/color.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CUnitType::CUnitType()’: /builddir/build/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 | ^~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:519:1: warning: when initialized here [-Wreorder] 519 | CUnitType::CUnitType() : | ^~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:540:14: warning: ‘char CUnitType::ShadowScale’ [-Wreorder] 540 | char ShadowScale; /// Shadow scale-down factor | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:519:1: warning: when initialized here [-Wreorder] 519 | CUnitType::CUnitType() : | ^~~~~~~~~ [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/cursor.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/upgrade.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/font.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/graphic.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp:49: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp: In function ‘void DrawCursor()’: /builddir/build/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) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp: In function ‘unsigned char codepoint_to_codepage_index(int, const char**)’: /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp:262:57: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 262 | if (codepoint >= 0 && codepoint < sizeof(codepoint_to_cp437)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp:277:65: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 277 | if (codepoint >= 0 && codepoint < sizeof(codepoint_to_cp866)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 96%] Building CXX object CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/linedraw.cpp /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp: In member function ‘void CGraphic::OverlayGraphic(CGraphic*, bool)’: /builddir/build/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; | ^~~ /builddir/build/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; | ^~~ /builddir/build/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; | ^~~ /builddir/build/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; | ^~~ [ 96%] Building CXX object CMakeFiles/stratagus.dir/src/video/mng.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/mng.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/video/mng.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/video.h: In constructor ‘Mng::Mng()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/video.h:264:13: warning: ‘Mng::iteration’ will be initialized after [-Wreorder] 264 | int iteration; | ^~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/video.h:257:22: warning: ‘bool Mng::is_dirty’ [-Wreorder] 257 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/mng.cpp:191:1: warning: when initialized here [-Wreorder] 191 | Mng::Mng() : | ^~~ [ 97%] Building CXX object CMakeFiles/stratagus.dir/src/video/movie.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/movie.cpp [ 97%] Building CXX object CMakeFiles/stratagus.dir/src/video/png.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/png.cpp [ 98%] Building CXX object CMakeFiles/stratagus.dir/src/video/sdl.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/sdl.cpp [ 98%] Building CXX object CMakeFiles/stratagus.dir/src/video/video.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/video.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/video/movie.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor ‘Movie::Movie()’: /builddir/build/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; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: ‘SDL_Surface* Movie::surface’ [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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; | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: ‘bool Movie::is_dirty’ [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: ‘int Movie::Width’ [-Wreorder] 102 | int Width; | ^~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: ‘Movie::data’ will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: ‘CFile* Movie::f’ [-Wreorder] 105 | CFile *f; | ^ /builddir/build/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), | ^~~~~ [ 99%] Building CXX object CMakeFiles/stratagus.dir/src/video/shaders.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/video/shaders.cpp [ 99%] Building CXX object CMakeFiles/stratagus.dir/tolua.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -MD -MT CMakeFiles/stratagus.dir/tolua.cpp.o -MF CMakeFiles/stratagus.dir/tolua.cpp.o.d -o CMakeFiles/stratagus.dir/tolua.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/video/sdl.cpp:79: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp:23: /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor ‘Movie::Movie()’: /builddir/build/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; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: ‘SDL_Surface* Movie::surface’ [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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; | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: ‘bool Movie::is_dirty’ [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: ‘int Movie::Width’ [-Wreorder] 102 | int Width; | ^~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: ‘Movie::data’ will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: ‘CFile* Movie::f’ [-Wreorder] 105 | CFile *f; | ^ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp:29: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan.h:83, from /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:36: /builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan/widgets/dropdown.h: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan/widgets/dropdown.h:134:22: warning: ‘virtual void gcn::DropDown::setListModel(gcn::ListModel*)’ was hidden [-Woverloaded-virtual=] 134 | virtual void setListModel(ListModel *listModel); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp:34: /builddir/build/BUILD/stratagus-3.3.2/src/include/widgets.h:440:14: note: by ‘void ImageDropDownWidget::setListModel(LuaListModel*)’ 440 | void setListModel(LuaListModel *listModel); | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/shaders.cpp:257:14: warning: ‘VertexCoord’ defined but not used [-Wunused-variable] 257 | static GLint VertexCoord; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/build/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) | ^~~~~~~~~~~~~~~~~~~~~~~ [100%] Linking CXX executable stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/stratagus.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 -lstdc++fs /usr/lib64/liblua-5.1.so -lm /usr/lib64/libSDL2.so /usr/lib64/libSDL2_mixer.so /usr/lib64/libSDL2_image.so /usr/lib64/libtolua++.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libmng.so /usr/lib64/libogg.so /usr/lib64/libvorbis.so /usr/lib64/libtheora.so /usr/lib64/libogg.so /usr/lib64/libvorbis.so /usr/lib64/libtheora.so /usr/lib/gcc/aarch64-redhat-linux/13/libgomp.so /usr/lib64/libpthread.a /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp: In function ‘CclStratagusMap’: /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp:99:106: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 99 | Map.Fields = new CMapField[Map.Info.MapWidth * Map.Info.MapHeight]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function ‘CclCopyUnitType’: /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:1300:62: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1300 | to->Portrait.Files = new std::string[to->Portrait.Num]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function ‘CclDefineUnitType’: /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:619:82: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 619 | type->Portrait.Files = new std::string[type->Portrait.Num]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function ‘Init’, inlined from ‘EditorMainLoop’ at /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:2074:14: /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1837:82: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1837 | Map.Fields = new CMapField[Map.Info.MapWidth * Map.Info.MapHeight]; | ^ /usr/include/c++/13/new: In function ‘EditorMainLoop’: /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function ‘Create’, inlined from ‘LoadMap’ at /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:607:14, inlined from ‘CreateGame.constprop’ at /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:907:10: /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:343:80: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 343 | this->Fields = new CMapField[this->Info.MapWidth * this->Info.MapHeight]; | ^ /usr/include/c++/13/new: In function ‘CreateGame.constprop’: /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [100%] Built target stratagus make[1]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles 0 + popd ~/build/BUILD/stratagus-3.3.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kfa9ZO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 ++ dirname /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stratagus-3.3.2 + make install -C build DESTDIR=/builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 make: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' /usr/bin/cmake -S/builddir/build/BUILD/stratagus-3.3.2 -B/builddir/build/BUILD/stratagus-3.3.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles /builddir/build/BUILD/stratagus-3.3.2/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/genversion.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Nothing to be done for 'CMakeFiles/genversion.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Built target genversion make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/version-generated.h.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Built target version-generated.h make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/stratagus.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Building CXX object CMakeFiles/stratagus.dir/src/action/actions.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:75: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:85: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function ‘void print_backtrace(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable ‘j’ [-Wunused-variable] 10 | int j, nptrs; | ^ In file included from /usr/include/stdio.h:964, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4097, from /usr/include/c++/13/string:54, from /builddir/build/BUILD/stratagus-3.3.2/src/include/stratagus.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:38: In function ‘fprintf’, inlined from ‘DumpUnitInfo(CUnit&)’ at /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:521:9: /usr/include/bits/stdio2.h:79:24: warning: ‘currentAction’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp: In function ‘DumpUnitInfo(CUnit&)’: /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:494:21: note: ‘currentAction’ was declared here 494 | const char *currentAction; | ^~~~~~~~~~~~~ [ 1%] Building CXX object CMakeFiles/stratagus.dir/src/game/game.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor ‘CAnimations::CAnimations()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: ‘CAnimations::Upgrade’ will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: ‘bool CAnimations::hasDeathAnimation’ [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:73: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 1%] Building CXX object CMakeFiles/stratagus.dir/src/game/replay.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 2%] Building CXX object CMakeFiles/stratagus.dir/src/game/savegame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/map/map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h: In constructor ‘CMap::CMap()’: /builddir/build/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 | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h:271:19: warning: ‘CTileset* CMap::Tileset’ [-Wreorder] 271 | CTileset *Tileset; /// tileset data | ^~~~~~~ /builddir/build/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) | ^~~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarBar::CDecoVarBar()’: /builddir/build/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 | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: ‘bool CDecoVarBar::Invert’ [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()’: /builddir/build/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 | ^ /builddir/build/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 | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionDistance::CBuildRestrictionDistance()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: ‘CBuildRestrictionDistance::CheckBuilder’ will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: ‘CUnitType* CBuildRestrictionDistance::RestrictType’ [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor ‘CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: ‘CBuildRestrictionSurroundedBy::Count’ will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: ‘int CBuildRestrictionSurroundedBy::Distance’ [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/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) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CUnit::CUnit()’: /builddir/build/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. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: ‘int CUnit::Colors’ [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: ‘CVariable* CUnit::Variable’ [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/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), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor ‘CPreference::CPreference()’: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: ‘CPreference::PressedIconFrameG’ will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/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 | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiExplores(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_SimplifiedAutoTargeting(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function ‘void CPreference::set_AiChecksDependencies(bool)’: /builddir/build/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; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_message.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/net_message.cpp [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:70: /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~ /builddir/build/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, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp: In member function ‘CServer::Send_MapFragment(CNetworkHost const&, unsigned int)’: /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1157:90: warning: ‘fileSize’ may be used uninitialized [-Wmaybe-uninitialized] 1157 | fragmentDataSize = std::min(fragmentDataSize, fileSize - offset); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1124:18: note: ‘fileSize’ was declared here 1124 | uint32_t fileSize; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1152:9: warning: ‘fragmentDataSize’ may be used uninitialized [-Wmaybe-uninitialized] 1152 | if (fragmentDataSize > 0) { | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1123:18: note: ‘fragmentDataSize’ was declared here 1123 | uint32_t fragmentDataSize; | ^~~~~~~~~~~~~~~~ [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/network/online_service.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘uint64_t BNCSInputStream::read64()’: /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:206:18: warning: unused variable ‘nativeWordTwo’ [-Wunused-variable] 206 | uint32_t nativeWordTwo = ntohl(wordTwo); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘void Context::sendText(std::string, bool)’: /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:888:13: warning: unused variable ‘pos’ [-Wunused-variable] 888 | int pos = 0; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘void OnlineState::handleGamelist(Context*)’: /builddir/build/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(); | ^~~~ /builddir/build/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(); | ^~~~~~~~ /builddir/build/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(); | ^~~~~~~~ /builddir/build/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(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘void OnlineState::handleChatevent(Context*)’: /builddir/build/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(); | ^~~~~~~~~ /builddir/build/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(); | ^~~~ /builddir/build/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(); | ^~ /builddir/build/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(); | ^~~ /builddir/build/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(); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function ‘virtual void S2C_SID_AUTH_INFO::doOneStep(Context*)’: /builddir/build/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 /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/network/./xsha1.h: At global scope: /builddir/build/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); | ^~~~~~~ /builddir/build/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) { | ^~~~~~~~~~~ /builddir/build/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) { | ^~~~~~~ [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -std=gnu++17 -fopenmp -fopenmp -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 /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp:214: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function ‘void print_backtrace(int)’: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable ‘j’ [-Wunused-variable] 10 | int j, nptrs; | ^ [ 6%] Linking CXX executable stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/stratagus.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 -lstdc++fs /usr/lib64/liblua-5.1.so -lm /usr/lib64/libSDL2.so /usr/lib64/libSDL2_mixer.so /usr/lib64/libSDL2_image.so /usr/lib64/libtolua++.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libmng.so /usr/lib64/libogg.so /usr/lib64/libvorbis.so /usr/lib64/libtheora.so /usr/lib64/libogg.so /usr/lib64/libvorbis.so /usr/lib64/libtheora.so /usr/lib/gcc/aarch64-redhat-linux/13/libgomp.so /usr/lib64/libpthread.a /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp: In function ‘CclStratagusMap’: /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp:99:106: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 99 | Map.Fields = new CMapField[Map.Info.MapWidth * Map.Info.MapHeight]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function ‘CclCopyUnitType’: /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:1300:62: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1300 | to->Portrait.Files = new std::string[to->Portrait.Num]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function ‘CclDefineUnitType’: /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:619:82: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 619 | type->Portrait.Files = new std::string[type->Portrait.Num]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function ‘Init’, inlined from ‘EditorMainLoop’ at /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:2074:14: /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1837:82: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1837 | Map.Fields = new CMapField[Map.Info.MapWidth * Map.Info.MapHeight]; | ^ /usr/include/c++/13/new: In function ‘EditorMainLoop’: /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function ‘Create’, inlined from ‘LoadMap’ at /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:607:14, inlined from ‘CreateGame.constprop’ at /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:907:10: /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:343:80: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 343 | this->Fields = new CMapField[this->Info.MapWidth * this->Info.MapHeight]; | ^ /usr/include/c++/13/new: In function ‘CreateGame.constprop’: /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 99%] Built target stratagus make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/png2stratagus.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Nothing to be done for 'CMakeFiles/png2stratagus.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [100%] Built target png2stratagus make[1]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/bin/stratagus -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/bin/png2stratagus -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/include/stratagus-game-installer.nsi -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/include/stratagus-gameutils.h -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/include/stratagus-game-launcher.h -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/include/stratagus-tinyfiledialogs.h make: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.3.2-3.fc40 --unique-debug-suffix -3.3.2-3.fc40.aarch64 --unique-debug-src-base stratagus-3.3.2-3.fc40.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/stratagus-3.3.2 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/stratagus-3.3.2-3.fc40.aarch64 9630 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: stratagus-3.3.2-3.fc40.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GWkIYr + umask 022 + cd /builddir/build/BUILD + cd stratagus-3.3.2 + DOCDIR=/builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/doc/stratagus + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/doc/stratagus + cp -pr /builddir/build/BUILD/stratagus-3.3.2/README.md /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/doc/stratagus + cp -pr /builddir/build/BUILD/stratagus-3.3.2/doc /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/doc/stratagus + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MBJdE6 + umask 022 + cd /builddir/build/BUILD + cd stratagus-3.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/licenses/stratagus + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/licenses/stratagus + cp -pr /builddir/build/BUILD/stratagus-3.3.2/COPYING /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64/usr/share/licenses/stratagus + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(guichan) stratagus = 3.3.2-3.fc40 stratagus(aarch-64) = 3.3.2-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libSDL2-2.0.so.0()(64bit) libSDL2_image-2.0.so.0()(64bit) libSDL2_mixer-2.0.so.0()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(OMP_1.0)(64bit) liblua-5.1.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libmng.so.2()(64bit) libogg.so.0()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtheora.so.0()(64bit) libtheora.so.0(libtheora.so.1.0)(64bit) libtolua++-5.1.so()(64bit) libvorbis.so.0()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: stratagus-devel-3.3.2-3.fc40.noarch Provides: stratagus-devel = 3.3.2-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: stratagus-debugsource-3.3.2-3.fc40.aarch64 Provides: stratagus-debugsource = 3.3.2-3.fc40 stratagus-debugsource(aarch-64) = 3.3.2-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: stratagus-debuginfo-3.3.2-3.fc40.aarch64 Provides: debuginfo(build-id) = 5b4b19cffad24330831a9bbe4247d1a5fa1e7431 debuginfo(build-id) = 983ac4d7eac657c23945fae8ea9a5c3d36714743 stratagus-debuginfo = 3.3.2-3.fc40 stratagus-debuginfo(aarch-64) = 3.3.2-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: stratagus-debugsource(aarch-64) = 3.3.2-3.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 Wrote: /builddir/build/RPMS/stratagus-devel-3.3.2-3.fc40.noarch.rpm Wrote: /builddir/build/RPMS/stratagus-3.3.2-3.fc40.aarch64.rpm Wrote: /builddir/build/RPMS/stratagus-debugsource-3.3.2-3.fc40.aarch64.rpm Wrote: /builddir/build/RPMS/stratagus-debuginfo-3.3.2-3.fc40.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.swPH93 + umask 022 + cd /builddir/build/BUILD + cd stratagus-3.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/stratagus-3.3.2-3.fc40.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.6eYKOJ + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/stratagus-3.3.2-SPECPARTS + rm -rf stratagus-3.3.2 stratagus-3.3.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild stratagus-3.3.2-3.fc40.src.rpm Finish: build phase for stratagus-3.3.2-3.fc40.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root/var/log/dnf.rpm.log /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root/var/log/dnf.librepo.log /var/lib/mock/fedora-rawhide-aarch64-1695224618.597544/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/stratagus-3.3.2-3.fc40.src.rpm) Config(child) 3 minutes 15 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "stratagus-debugsource", "epoch": null, "version": "3.3.2", "release": "3.fc40", "arch": "aarch64" }, { "name": "stratagus-devel", "epoch": null, "version": "3.3.2", "release": "3.fc40", "arch": "noarch" }, { "name": "stratagus", "epoch": null, "version": "3.3.2", "release": "3.fc40", "arch": "src" }, { "name": "stratagus", "epoch": null, "version": "3.3.2", "release": "3.fc40", "arch": "aarch64" }, { "name": "stratagus-debuginfo", "epoch": null, "version": "3.3.2", "release": "3.fc40", "arch": "aarch64" } ] } RPMResults finished