Warning: Permanently added '18.209.104.142' (ECDSA) to the list of known hosts. Running: /usr/bin/copr-rpmbuild --verbose --drop-resultdir --build-id 1322994 --chroot fedora-rawhide-x86_64 --detached Version: 0.37 Task: {'build_id': 1322994, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fetch_sources_only': True, 'git_hash': 'ee5a28a8aee0dff6935f486344d4a27c0d0c208a', 'git_repo': 'pauld/7kaa/7kaa', 'memory_reqs': 2048, 'package_name': '7kaa', 'package_version': '2.15.3-103', 'project_dirname': '7kaa', 'project_name': '7kaa', 'project_owner': 'pauld', 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/pauld/7kaa/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository'}], 'sandbox': 'pauld/7kaa--pauld', 'source_json': {'clone_url': 'https://copr-dist-git.fedorainfracloud.org/git/pauld/7kaa/7kaa.git', 'committish': 'ee5a28a8aee0dff6935f486344d4a27c0d0c208a'}, 'source_type': 8, 'submitter': 'pauld', 'task_id': '1322994-fedora-rawhide-x86_64', 'timeout': 86400, 'use_bootstrap_container': False, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/pauld/7kaa/7kaa.git /tmp/copr-rpmbuild-fnm30vzs/obtain-sources/7kaa --depth 500 --no-single-branch cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/pauld/7kaa/7kaa.git', '/tmp/copr-rpmbuild-fnm30vzs/obtain-sources/7kaa', '--depth', '500', '--no-single-branch'] cwd: . rc: 0 stdout: stderr: Cloning into '/tmp/copr-rpmbuild-fnm30vzs/obtain-sources/7kaa'... Running: git checkout ee5a28a8aee0dff6935f486344d4a27c0d0c208a cmd: ['git', 'checkout', 'ee5a28a8aee0dff6935f486344d4a27c0d0c208a'] cwd: /tmp/copr-rpmbuild-fnm30vzs/obtain-sources/7kaa rc: 0 stdout: stderr: Note: switching to 'ee5a28a8aee0dff6935f486344d4a27c0d0c208a'. 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 ee5a28a automatic import of 7kaa Running: cp -r . /tmp/copr-rpmbuild-fnm30vzs cmd: ['cp', '-r', '.', '/tmp/copr-rpmbuild-fnm30vzs'] cwd: /tmp/copr-rpmbuild-fnm30vzs/obtain-sources/7kaa rc: 0 stdout: stderr: Generated rpkg config: [rpkg] preprocess_spec = True # auto-packing is deprecated: auto_pack = True [git] lookaside = https://copr-dist-git.fedorainfracloud.org/repo/pkgs/%(ns2)s/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s anongiturl = https://copr-dist-git.fedorainfracloud.org/git/%(module)s Writing config into /tmp/copr-rpmbuild-fnm30vzs/obtain-sources/.config/rpkg.conf Running: rpkg -C /tmp/copr-rpmbuild-fnm30vzs/obtain-sources/.config/rpkg.conf sources --outdir /tmp/copr-rpmbuild-fnm30vzs /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated cmd: ['rpkg', '-C', '/tmp/copr-rpmbuild-fnm30vzs/obtain-sources/.config/rpkg.conf', 'sources', '--outdir', '/tmp/copr-rpmbuild-fnm30vzs'] cwd: /tmp/copr-rpmbuild-fnm30vzs/obtain-sources/7kaa rc: 0 stdout: Downloading 7kaa-2.15.3.tar.xz from lookaside cache at copr-dist-git.fedorainfracloud.org stderr: Running (timeout=86400): unbuffer mock --buildsrpm --spec /tmp/copr-rpmbuild-fnm30vzs/7kaa.spec --sources /tmp/copr-rpmbuild-fnm30vzs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1585492368.904341 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 2.1 starting (python version = 3.7.6)... 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(/tmp/copr-rpmbuild-fnm30vzs/7kaa.spec) Config(1322994-fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492368.904341/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 Mock Version: 2.1 INFO: Mock Version: 2.1 Start: dnf install No matches found for the following disable plugin patterns: local, spacewalk Copr repository 4.9 kB/s | 2.1 kB 00:00 fedora 19 MB/s | 72 MB 00:03 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: bash x86_64 5.0.11-2.fc32 fedora 1.6 M bzip2 x86_64 1.0.8-2.fc32 fedora 52 k coreutils x86_64 8.32-3.fc33 fedora 1.2 M cpio x86_64 2.13-4.fc32 fedora 283 k diffutils x86_64 3.7-4.fc32 fedora 397 k fedora-release-common noarch 33-0.3 fedora 20 k findutils x86_64 1:4.7.0-3.fc32 fedora 552 k gawk x86_64 5.0.1-7.fc32 fedora 1.2 M glibc-minimal-langpack x86_64 2.31.9000-5.fc33 fedora 71 k grep x86_64 3.3-4.fc32 fedora 250 k gzip x86_64 1.10-2.fc32 fedora 155 k info x86_64 6.7-7.fc33 fedora 228 k make x86_64 1:4.3-1.fc33 fedora 536 k patch x86_64 2.7.6-12.fc32 fedora 135 k redhat-rpm-config noarch 153-1.fc33 fedora 64 k rpm-build x86_64 4.15.1-2.fc32.1 fedora 116 k sed x86_64 4.8-1.fc33 fedora 303 k shadow-utils x86_64 2:4.8.1-2.fc33 fedora 1.2 M tar x86_64 2:1.32-4.fc32 fedora 887 k unzip x86_64 6.0-47.fc32 fedora 179 k util-linux x86_64 2.35.1-7.fc33 fedora 2.7 M which x86_64 2.21-19.fc33 fedora 42 k xz x86_64 5.2.4-8.fc32 fedora 162 k Installing dependencies: alternatives x86_64 1.11-6.fc32 fedora 35 k audit-libs x86_64 3.0-0.19.20191104git1c2f876.fc33 fedora 115 k basesystem noarch 11-9.fc32 fedora 6.8 k binutils x86_64 2.34-2.fc33 fedora 5.4 M binutils-gold x86_64 2.34-2.fc33 fedora 861 k bzip2-libs x86_64 1.0.8-2.fc32 fedora 40 k ca-certificates noarch 2020.2.40-3.fc32 fedora 358 k coreutils-common x86_64 8.32-3.fc33 fedora 2.0 M cracklib x86_64 2.9.6-22.fc32 fedora 83 k crypto-policies noarch 20200312-1.git3ae59d2.fc33 fedora 56 k curl x86_64 7.69.0-2.fc33 fedora 291 k cyrus-sasl-lib x86_64 2.1.27-4.fc33 fedora 101 k dwz x86_64 0.13-2.fc32 fedora 109 k efi-srpm-macros noarch 4-4.fc32 fedora 22 k elfutils x86_64 0.178-9.fc32 fedora 532 k elfutils-default-yama-scope noarch 0.178-9.fc32 fedora 17 k elfutils-libelf x86_64 0.178-9.fc32 fedora 191 k elfutils-libs x86_64 0.178-9.fc32 fedora 266 k expat x86_64 2.2.8-2.fc32 fedora 103 k fedora-gpg-keys noarch 33-0.3 fedora 103 k fedora-release noarch 33-0.3 fedora 12 k fedora-repos noarch 33-0.3 fedora 9.9 k fedora-repos-rawhide noarch 33-0.3 fedora 9.1 k file x86_64 5.38-3.fc33 fedora 51 k file-libs x86_64 5.38-3.fc33 fedora 568 k filesystem x86_64 3.14-2.fc32 fedora 1.1 M fonts-srpm-macros noarch 2.0.3-1.fc33 fedora 26 k fpc-srpm-macros noarch 1.3-1.fc32 fedora 7.6 k gc x86_64 8.0.4-3.fc32 fedora 113 k gdb-minimal x86_64 9.1-4.fc33 fedora 3.5 M ghc-srpm-macros noarch 1.5.0-2.fc32 fedora 7.7 k glibc x86_64 2.31.9000-5.fc33 fedora 3.5 M glibc-common x86_64 2.31.9000-5.fc33 fedora 1.8 M gmp x86_64 1:6.2.0-1.fc33 fedora 322 k gnat-srpm-macros noarch 4-11.fc32 fedora 8.2 k go-srpm-macros noarch 3.0.8-5.fc32 fedora 25 k guile22 x86_64 2.2.6-4.fc32 fedora 6.6 M keyutils-libs x86_64 1.6-4.fc32 fedora 31 k krb5-libs x86_64 1.18-9.fc33 fedora 755 k libacl x86_64 2.2.53-5.fc32 fedora 25 k libarchive x86_64 3.4.2-1.fc33 fedora 388 k libattr x86_64 2.4.48-8.fc32 fedora 18 k libblkid x86_64 2.35.1-7.fc33 fedora 153 k libbrotli x86_64 1.0.7-10.fc32 fedora 324 k libcap x86_64 2.26-7.fc32 fedora 52 k libcap-ng x86_64 0.7.10-2.fc32 fedora 28 k libcom_err x86_64 1.45.6-2.fc33 fedora 28 k libcurl x86_64 7.69.0-2.fc33 fedora 271 k libdb x86_64 5.3.28-40.fc32 fedora 761 k libdb-utils x86_64 5.3.28-40.fc32 fedora 142 k libfdisk x86_64 2.35.1-7.fc33 fedora 204 k libffi x86_64 3.1-24.fc32 fedora 33 k libgcc x86_64 10.0.1-0.10.fc33 fedora 86 k libgcrypt x86_64 1.8.5-3.fc32 fedora 469 k libgomp x86_64 10.0.1-0.10.fc33 fedora 245 k libgpg-error x86_64 1.37-1.fc33 fedora 205 k libidn2 x86_64 2.3.0-2.fc32 fedora 104 k libmetalink x86_64 0.1.3-10.fc32 fedora 31 k libmount x86_64 2.35.1-7.fc33 fedora 178 k libnghttp2 x86_64 1.40.0-2.fc32 fedora 79 k libnsl2 x86_64 1.2.0-6.20180605git4a062cf.fc32 fedora 59 k libpkgconf x86_64 1.6.3-3.fc32 fedora 35 k libpsl x86_64 0.21.0-4.fc32 fedora 61 k libpwquality x86_64 1.4.2-2.fc32 fedora 101 k libselinux x86_64 3.0-4.fc33 fedora 85 k libsemanage x86_64 3.0-3.fc32 fedora 123 k libsepol x86_64 3.0-3.fc32 fedora 299 k libsigsegv x86_64 2.11-10.fc32 fedora 26 k libsmartcols x86_64 2.35.1-7.fc33 fedora 120 k libssh x86_64 0.9.3-2.fc32 fedora 214 k libssh-config noarch 0.9.3-2.fc32 fedora 11 k libstdc++ x86_64 10.0.1-0.10.fc33 fedora 612 k libtasn1 x86_64 4.16.0-1.fc32 fedora 73 k libtirpc x86_64 1.2.5-1.rc2.fc33 fedora 98 k libtool-ltdl x86_64 2.4.6-33.fc32 fedora 37 k libunistring x86_64 0.9.10-7.fc32 fedora 512 k libutempter x86_64 1.1.6-18.fc32 fedora 26 k libuuid x86_64 2.35.1-7.fc33 fedora 28 k libverto x86_64 0.3.0-9.fc32 fedora 22 k libxcrypt x86_64 4.4.15-1.fc33 fedora 126 k libxml2 x86_64 2.9.10-4.fc33 fedora 703 k libzstd x86_64 1.4.4-2.fc32 fedora 260 k lua-libs x86_64 5.3.5-7.fc32 fedora 119 k lz4-libs x86_64 1.9.1-2.fc32 fedora 65 k mpfr x86_64 4.0.2-3.fc32 fedora 256 k ncurses x86_64 6.2-1.20200222.fc33 fedora 394 k ncurses-base noarch 6.2-1.20200222.fc33 fedora 59 k ncurses-libs x86_64 6.2-1.20200222.fc33 fedora 327 k nim-srpm-macros noarch 3-2.fc32 fedora 8.3 k ocaml-srpm-macros noarch 6-2.fc32 fedora 7.7 k openblas-srpm-macros noarch 2-7.fc32 fedora 7.2 k openldap x86_64 2.4.47-4.fc32 fedora 305 k openssl-libs x86_64 1:1.1.1e-2.fc33 fedora 1.4 M p11-kit x86_64 0.23.20-1.fc32 fedora 347 k p11-kit-trust x86_64 0.23.20-1.fc32 fedora 142 k pam x86_64 1.3.1-24.fc33 fedora 666 k pcre x86_64 8.44-1.fc33 fedora 198 k pcre2 x86_64 10.34-9.fc33 fedora 231 k pcre2-syntax noarch 10.34-9.fc33 fedora 140 k perl-srpm-macros noarch 1-34.fc32 fedora 8.3 k pkgconf x86_64 1.6.3-3.fc32 fedora 41 k pkgconf-m4 noarch 1.6.3-3.fc32 fedora 14 k pkgconf-pkg-config x86_64 1.6.3-3.fc32 fedora 9.7 k popt x86_64 1.16-19.fc32 fedora 58 k publicsuffix-list-dafsa noarch 20190417-3.fc32 fedora 56 k python-srpm-macros noarch 3.8-1.fc33 fedora 17 k qt5-srpm-macros noarch 5.13.2-2.fc32 fedora 8.5 k readline x86_64 8.0-4.fc32 fedora 207 k rpm x86_64 4.15.1-2.fc32.1 fedora 499 k rpm-build-libs x86_64 4.15.1-2.fc32.1 fedora 97 k rpm-libs x86_64 4.15.1-2.fc32.1 fedora 300 k rust-srpm-macros noarch 13-2.fc33 fedora 9.5 k setup noarch 2.13.6-2.fc32 fedora 142 k systemd-libs x86_64 245.3-1.fc33 fedora 557 k tzdata noarch 2019c-3.fc32 fedora 429 k xxhash-libs x86_64 0.7.3-1.fc33 fedora 29 k xz-libs x86_64 5.2.4-8.fc32 fedora 90 k zip x86_64 3.0-26.fc32 fedora 260 k zlib x86_64 1.2.11-21.fc32 fedora 93 k zstd x86_64 1.4.4-2.fc32 fedora 387 k Installing Groups: Buildsystem building group Transaction Summary ================================================================================ Install 143 Packages Total download size: 56 M Installed size: 228 M Downloading Packages: [MIRROR] alternatives-1.11-6.fc32.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/a/alternatives-1.11-6.fc32.x86_64.rpm (IP: 99.84.185.192) [MIRROR] audit-libs-3.0-0.19.20191104git1c2f876.fc33.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/a/audit-libs-3.0-0.19.20191104git1c2f876.fc33.x86_64.rpm (IP: 99.84.185.192) [MIRROR] basesystem-11-9.fc32.noarch.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/b/basesystem-11-9.fc32.noarch.rpm (IP: 99.84.185.192) (1/143): basesystem-11-9.fc32.noarch.rpm 147 kB/s | 6.8 kB 00:00 (2/143): alternatives-1.11-6.fc32.x86_64.rpm 676 kB/s | 35 kB 00:00 (3/143): audit-libs-3.0-0.19.20191104git1c2f876 1.7 MB/s | 115 kB 00:00 (4/143): binutils-gold-2.34-2.fc33.x86_64.rpm 6.4 MB/s | 861 kB 00:00 (5/143): bzip2-1.0.8-2.fc32.x86_64.rpm 5.6 MB/s | 52 kB 00:00 (6/143): bzip2-libs-1.0.8-2.fc32.x86_64.rpm 4.5 MB/s | 40 kB 00:00 (7/143): bash-5.0.11-2.fc32.x86_64.rpm 8.1 MB/s | 1.6 MB 00:00 (8/143): coreutils-8.32-3.fc33.x86_64.rpm 24 MB/s | 1.2 MB 00:00 (9/143): binutils-2.34-2.fc33.x86_64.rpm 15 MB/s | 5.4 MB 00:00 (10/143): coreutils-common-8.32-3.fc33.x86_64.r 16 MB/s | 2.0 MB 00:00 (11/143): cpio-2.13-4.fc32.x86_64.rpm 11 MB/s | 283 kB 00:00 (12/143): ca-certificates-2020.2.40-3.fc32.noar 1.7 MB/s | 358 kB 00:00 (13/143): cracklib-2.9.6-22.fc32.x86_64.rpm 6.9 MB/s | 83 kB 00:00 (14/143): crypto-policies-20200312-1.git3ae59d2 6.3 MB/s | 56 kB 00:00 (15/143): cyrus-sasl-lib-2.1.27-4.fc33.x86_64.r 10 MB/s | 101 kB 00:00 (16/143): curl-7.69.0-2.fc33.x86_64.rpm 13 MB/s | 291 kB 00:00 (17/143): dwz-0.13-2.fc32.x86_64.rpm 8.9 MB/s | 109 kB 00:00 (18/143): diffutils-3.7-4.fc32.x86_64.rpm 19 MB/s | 397 kB 00:00 (19/143): efi-srpm-macros-4-4.fc32.noarch.rpm 2.7 MB/s | 22 kB 00:00 (20/143): elfutils-default-yama-scope-0.178-9.f 1.7 MB/s | 17 kB 00:00 (21/143): elfutils-0.178-9.fc32.x86_64.rpm 27 MB/s | 532 kB 00:00 (22/143): elfutils-libelf-0.178-9.fc32.x86_64.r 13 MB/s | 191 kB 00:00 (23/143): elfutils-libs-0.178-9.fc32.x86_64.rpm 21 MB/s | 266 kB 00:00 (24/143): expat-2.2.8-2.fc32.x86_64.rpm 9.7 MB/s | 103 kB 00:00 (25/143): fedora-gpg-keys-33-0.3.noarch.rpm 8.5 MB/s | 103 kB 00:00 (26/143): fedora-release-common-33-0.3.noarch.r 2.4 MB/s | 20 kB 00:00 (27/143): fedora-repos-33-0.3.noarch.rpm 1.2 MB/s | 9.9 kB 00:00 (28/143): fedora-release-33-0.3.noarch.rpm 617 kB/s | 12 kB 00:00 (29/143): fedora-repos-rawhide-33-0.3.noarch.rp 1.1 MB/s | 9.1 kB 00:00 (30/143): file-5.38-3.fc33.x86_64.rpm 5.7 MB/s | 51 kB 00:00 (31/143): file-libs-5.38-3.fc33.x86_64.rpm 19 MB/s | 568 kB 00:00 (32/143): findutils-4.7.0-3.fc32.x86_64.rpm 20 MB/s | 552 kB 00:00 (33/143): filesystem-3.14-2.fc32.x86_64.rpm 30 MB/s | 1.1 MB 00:00 (34/143): fonts-srpm-macros-2.0.3-1.fc33.noarch 1.9 MB/s | 26 kB 00:00 (35/143): fpc-srpm-macros-1.3-1.fc32.noarch.rpm 851 kB/s | 7.6 kB 00:00 (36/143): gc-8.0.4-3.fc32.x86_64.rpm 9.2 MB/s | 113 kB 00:00 (37/143): ghc-srpm-macros-1.5.0-2.fc32.noarch.r 749 kB/s | 7.7 kB 00:00 (38/143): gawk-5.0.1-7.fc32.x86_64.rpm 26 MB/s | 1.2 MB 00:00 (39/143): gdb-minimal-9.1-4.fc33.x86_64.rpm 24 MB/s | 3.5 MB 00:00 (40/143): glibc-common-2.31.9000-5.fc33.x86_64. 16 MB/s | 1.8 MB 00:00 (41/143): glibc-minimal-langpack-2.31.9000-5.fc 3.5 MB/s | 71 kB 00:00 (42/143): glibc-2.31.9000-5.fc33.x86_64.rpm 18 MB/s | 3.5 MB 00:00 (43/143): gnat-srpm-macros-4-11.fc32.noarch.rpm 146 kB/s | 8.2 kB 00:00 (44/143): gmp-6.2.0-1.fc33.x86_64.rpm 4.9 MB/s | 322 kB 00:00 (45/143): grep-3.3-4.fc32.x86_64.rpm 21 MB/s | 250 kB 00:00 (46/143): gzip-1.10-2.fc32.x86_64.rpm 15 MB/s | 155 kB 00:00 (47/143): go-srpm-macros-3.0.8-5.fc32.noarch.rp 534 kB/s | 25 kB 00:00 (48/143): keyutils-libs-1.6-4.fc32.x86_64.rpm 3.8 MB/s | 31 kB 00:00 (49/143): krb5-libs-1.18-9.fc33.x86_64.rpm 39 MB/s | 755 kB 00:00 (50/143): libacl-2.2.53-5.fc32.x86_64.rpm 3.0 MB/s | 25 kB 00:00 (51/143): libarchive-3.4.2-1.fc33.x86_64.rpm 28 MB/s | 388 kB 00:00 (52/143): info-6.7-7.fc33.x86_64.rpm 2.9 MB/s | 228 kB 00:00 (53/143): libattr-2.4.48-8.fc32.x86_64.rpm 2.2 MB/s | 18 kB 00:00 (54/143): libblkid-2.35.1-7.fc33.x86_64.rpm 14 MB/s | 153 kB 00:00 (55/143): libbrotli-1.0.7-10.fc32.x86_64.rpm 23 MB/s | 324 kB 00:00 (56/143): libcap-2.26-7.fc32.x86_64.rpm 5.3 MB/s | 52 kB 00:00 (57/143): libcap-ng-0.7.10-2.fc32.x86_64.rpm 3.4 MB/s | 28 kB 00:00 (58/143): libcom_err-1.45.6-2.fc33.x86_64.rpm 3.2 MB/s | 28 kB 00:00 (59/143): libcurl-7.69.0-2.fc33.x86_64.rpm 19 MB/s | 271 kB 00:00 (60/143): libdb-5.3.28-40.fc32.x86_64.rpm 35 MB/s | 761 kB 00:00 (61/143): libdb-utils-5.3.28-40.fc32.x86_64.rpm 13 MB/s | 142 kB 00:00 (62/143): libfdisk-2.35.1-7.fc33.x86_64.rpm 18 MB/s | 204 kB 00:00 (63/143): libffi-3.1-24.fc32.x86_64.rpm 3.1 MB/s | 33 kB 00:00 (64/143): libgcc-10.0.1-0.10.fc33.x86_64.rpm 9.3 MB/s | 86 kB 00:00 (65/143): libgcrypt-1.8.5-3.fc32.x86_64.rpm 30 MB/s | 469 kB 00:00 (66/143): libgomp-10.0.1-0.10.fc33.x86_64.rpm 21 MB/s | 245 kB 00:00 (67/143): libgpg-error-1.37-1.fc33.x86_64.rpm 18 MB/s | 205 kB 00:00 (68/143): libidn2-2.3.0-2.fc32.x86_64.rpm 11 MB/s | 104 kB 00:00 (69/143): libmetalink-0.1.3-10.fc32.x86_64.rpm 3.2 MB/s | 31 kB 00:00 (70/143): libmount-2.35.1-7.fc33.x86_64.rpm 13 MB/s | 178 kB 00:00 (71/143): libnghttp2-1.40.0-2.fc32.x86_64.rpm 7.2 MB/s | 79 kB 00:00 (72/143): libnsl2-1.2.0-6.20180605git4a062cf.fc 6.1 MB/s | 59 kB 00:00 (73/143): libpkgconf-1.6.3-3.fc32.x86_64.rpm 3.6 MB/s | 35 kB 00:00 (74/143): libpwquality-1.4.2-2.fc32.x86_64.rpm 8.9 MB/s | 101 kB 00:00 (75/143): libselinux-3.0-4.fc33.x86_64.rpm 7.8 MB/s | 85 kB 00:00 (76/143): libsemanage-3.0-3.fc32.x86_64.rpm 11 MB/s | 123 kB 00:00 (77/143): libpsl-0.21.0-4.fc32.x86_64.rpm 1.3 MB/s | 61 kB 00:00 (78/143): libsepol-3.0-3.fc32.x86_64.rpm 23 MB/s | 299 kB 00:00 (79/143): libsigsegv-2.11-10.fc32.x86_64.rpm 3.1 MB/s | 26 kB 00:00 (80/143): guile22-2.2.6-4.fc32.x86_64.rpm 21 MB/s | 6.6 MB 00:00 (81/143): libsmartcols-2.35.1-7.fc33.x86_64.rpm 2.5 MB/s | 120 kB 00:00 (82/143): libssh-0.9.3-2.fc32.x86_64.rpm 4.6 MB/s | 214 kB 00:00 (83/143): libssh-config-0.9.3-2.fc32.noarch.rpm 1.3 MB/s | 11 kB 00:00 (84/143): libtasn1-4.16.0-1.fc32.x86_64.rpm 6.9 MB/s | 73 kB 00:00 (85/143): libtirpc-1.2.5-1.rc2.fc33.x86_64.rpm 10 MB/s | 98 kB 00:00 (86/143): libstdc++-10.0.1-0.10.fc33.x86_64.rpm 30 MB/s | 612 kB 00:00 (87/143): libtool-ltdl-2.4.6-33.fc32.x86_64.rpm 4.0 MB/s | 37 kB 00:00 (88/143): libutempter-1.1.6-18.fc32.x86_64.rpm 2.9 MB/s | 26 kB 00:00 (89/143): libuuid-2.35.1-7.fc33.x86_64.rpm 3.3 MB/s | 28 kB 00:00 (90/143): libunistring-0.9.10-7.fc32.x86_64.rpm 28 MB/s | 512 kB 00:00 (91/143): libverto-0.3.0-9.fc32.x86_64.rpm 2.5 MB/s | 22 kB 00:00 (92/143): libxcrypt-4.4.15-1.fc33.x86_64.rpm 13 MB/s | 126 kB 00:00 (93/143): libzstd-1.4.4-2.fc32.x86_64.rpm 17 MB/s | 260 kB 00:00 (94/143): lua-libs-5.3.5-7.fc32.x86_64.rpm 8.9 MB/s | 119 kB 00:00 (95/143): libxml2-2.9.10-4.fc33.x86_64.rpm 29 MB/s | 703 kB 00:00 (96/143): lz4-libs-1.9.1-2.fc32.x86_64.rpm 6.7 MB/s | 65 kB 00:00 (97/143): mpfr-4.0.2-3.fc32.x86_64.rpm 19 MB/s | 256 kB 00:00 (98/143): make-4.3-1.fc33.x86_64.rpm 23 MB/s | 536 kB 00:00 (99/143): ncurses-6.2-1.20200222.fc33.x86_64.rp 23 MB/s | 394 kB 00:00 (100/143): ncurses-base-6.2-1.20200222.fc33.noa 5.2 MB/s | 59 kB 00:00 (101/143): ncurses-libs-6.2-1.20200222.fc33.x86 25 MB/s | 327 kB 00:00 (102/143): nim-srpm-macros-3-2.fc32.noarch.rpm 898 kB/s | 8.3 kB 00:00 (103/143): ocaml-srpm-macros-6-2.fc32.noarch.rp 868 kB/s | 7.7 kB 00:00 (104/143): openblas-srpm-macros-2-7.fc32.noarch 924 kB/s | 7.2 kB 00:00 (105/143): openldap-2.4.47-4.fc32.x86_64.rpm 19 MB/s | 305 kB 00:00 (106/143): p11-kit-0.23.20-1.fc32.x86_64.rpm 18 MB/s | 347 kB 00:00 (107/143): p11-kit-trust-0.23.20-1.fc32.x86_64. 11 MB/s | 142 kB 00:00 (108/143): openssl-libs-1.1.1e-2.fc33.x86_64.rp 33 MB/s | 1.4 MB 00:00 (109/143): patch-2.7.6-12.fc32.x86_64.rpm 8.0 MB/s | 135 kB 00:00 (110/143): pam-1.3.1-24.fc33.x86_64.rpm 25 MB/s | 666 kB 00:00 (111/143): pcre-8.44-1.fc33.x86_64.rpm 15 MB/s | 198 kB 00:00 (112/143): pcre2-10.34-9.fc33.x86_64.rpm 17 MB/s | 231 kB 00:00 (113/143): pcre2-syntax-10.34-9.fc33.noarch.rpm 14 MB/s | 140 kB 00:00 (114/143): perl-srpm-macros-1-34.fc32.noarch.rp 1.0 MB/s | 8.3 kB 00:00 (115/143): pkgconf-1.6.3-3.fc32.x86_64.rpm 4.7 MB/s | 41 kB 00:00 (116/143): pkgconf-m4-1.6.3-3.fc32.noarch.rpm 1.8 MB/s | 14 kB 00:00 (117/143): pkgconf-pkg-config-1.6.3-3.fc32.x86_ 1.1 MB/s | 9.7 kB 00:00 (118/143): popt-1.16-19.fc32.x86_64.rpm 6.6 MB/s | 58 kB 00:00 (119/143): publicsuffix-list-dafsa-20190417-3.f 6.3 MB/s | 56 kB 00:00 (120/143): python-srpm-macros-3.8-1.fc33.noarch 2.1 MB/s | 17 kB 00:00 (121/143): qt5-srpm-macros-5.13.2-2.fc32.noarch 1.0 MB/s | 8.5 kB 00:00 (122/143): readline-8.0-4.fc32.x86_64.rpm 19 MB/s | 207 kB 00:00 (123/143): redhat-rpm-config-153-1.fc33.noarch. 6.5 MB/s | 64 kB 00:00 (124/143): rpm-4.15.1-2.fc32.1.x86_64.rpm 32 MB/s | 499 kB 00:00 (125/143): rpm-build-libs-4.15.1-2.fc32.1.x86_6 9.6 MB/s | 97 kB 00:00 (126/143): rpm-libs-4.15.1-2.fc32.1.x86_64.rpm 24 MB/s | 300 kB 00:00 (127/143): rpm-build-4.15.1-2.fc32.1.x86_64.rpm 4.5 MB/s | 116 kB 00:00 (128/143): rust-srpm-macros-13-2.fc33.noarch.rp 446 kB/s | 9.5 kB 00:00 (129/143): setup-2.13.6-2.fc32.noarch.rpm 13 MB/s | 142 kB 00:00 (130/143): sed-4.8-1.fc33.x86_64.rpm 19 MB/s | 303 kB 00:00 (131/143): systemd-libs-245.3-1.fc33.x86_64.rpm 19 MB/s | 557 kB 00:00 (132/143): shadow-utils-4.8.1-2.fc33.x86_64.rpm 31 MB/s | 1.2 MB 00:00 (133/143): tar-1.32-4.fc32.x86_64.rpm 21 MB/s | 887 kB 00:00 (134/143): tzdata-2019c-3.fc32.noarch.rpm 23 MB/s | 429 kB 00:00 (135/143): which-2.21-19.fc33.x86_64.rpm 4.4 MB/s | 42 kB 00:00 (136/143): util-linux-2.35.1-7.fc33.x86_64.rpm 55 MB/s | 2.7 MB 00:00 (137/143): xz-5.2.4-8.fc32.x86_64.rpm 15 MB/s | 162 kB 00:00 (138/143): xz-libs-5.2.4-8.fc32.x86_64.rpm 9.5 MB/s | 90 kB 00:00 (139/143): xxhash-libs-0.7.3-1.fc33.x86_64.rpm 486 kB/s | 29 kB 00:00 (140/143): zlib-1.2.11-21.fc32.x86_64.rpm 9.8 MB/s | 93 kB 00:00 (141/143): unzip-6.0-47.fc32.x86_64.rpm 1.8 MB/s | 179 kB 00:00 (142/143): zip-3.0-26.fc32.x86_64.rpm 1.4 MB/s | 260 kB 00:00 (143/143): zstd-1.4.4-2.fc32.x86_64.rpm 2.0 MB/s | 387 kB 00:00 -------------------------------------------------------------------------------- Total 33 MB/s | 56 MB 00:01 warning: Generating 18 missing index(es), please wait... warning: /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492368.904341/root/var/cache/dnf/fedora-2d95c80a1fa0a67d/packages/alternatives-1.11-6.fc32.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 9570ff31: NOKEY fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x9570FF31: Userid : "Fedora (33) " Fingerprint: 963A 2BEB 0200 9608 FE67 EA42 49FD 7749 9570 FF31 From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-33-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-33-primary (0x9570FF31) is already installed fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x12C944D0: Userid : "Fedora (32) " Fingerprint: 97A1 AE57 C3A2 372C CA3A 4ABA 6C13 026D 12C9 44D0 From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-32-primary Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.14-2.fc32.x86_64 1/1 Preparing : 1/1 Installing : libgcc-10.0.1-0.10.fc33.x86_64 1/143 Running scriptlet: libgcc-10.0.1-0.10.fc33.x86_64 1/143 Installing : tzdata-2019c-3.fc32.noarch 2/143 Installing : rust-srpm-macros-13-2.fc33.noarch 3/143 Installing : qt5-srpm-macros-5.13.2-2.fc32.noarch 4/143 Installing : publicsuffix-list-dafsa-20190417-3.fc32.noarch 5/143 Installing : pkgconf-m4-1.6.3-3.fc32.noarch 6/143 Installing : perl-srpm-macros-1-34.fc32.noarch 7/143 Installing : pcre2-syntax-10.34-9.fc33.noarch 8/143 Installing : openblas-srpm-macros-2-7.fc32.noarch 9/143 Installing : ocaml-srpm-macros-6-2.fc32.noarch 10/143 Installing : nim-srpm-macros-3-2.fc32.noarch 11/143 Installing : ncurses-base-6.2-1.20200222.fc33.noarch 12/143 Installing : libssh-config-0.9.3-2.fc32.noarch 13/143 Installing : gnat-srpm-macros-4-11.fc32.noarch 14/143 Installing : ghc-srpm-macros-1.5.0-2.fc32.noarch 15/143 Installing : fpc-srpm-macros-1.3-1.fc32.noarch 16/143 Installing : fedora-gpg-keys-33-0.3.noarch 17/143 Installing : fedora-release-33-0.3.noarch 18/143 Installing : fedora-release-common-33-0.3.noarch 19/143 Installing : fedora-repos-rawhide-33-0.3.noarch 20/143 Installing : fedora-repos-33-0.3.noarch 21/143 Installing : setup-2.13.6-2.fc32.noarch 22/143 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.13.6-2.fc32.noarch 22/143 Installing : filesystem-3.14-2.fc32.x86_64 23/143 Installing : basesystem-11-9.fc32.noarch 24/143 Installing : glibc-minimal-langpack-2.31.9000-5.fc33.x86_64 25/143 Installing : glibc-common-2.31.9000-5.fc33.x86_64 26/143 Running scriptlet: glibc-2.31.9000-5.fc33.x86_64 27/143 Installing : glibc-2.31.9000-5.fc33.x86_64 27/143 Running scriptlet: glibc-2.31.9000-5.fc33.x86_64 27/143 Installing : ncurses-libs-6.2-1.20200222.fc33.x86_64 28/143 Installing : bash-5.0.11-2.fc32.x86_64 29/143 Running scriptlet: bash-5.0.11-2.fc32.x86_64 29/143 Installing : zlib-1.2.11-21.fc32.x86_64 30/143 Installing : bzip2-libs-1.0.8-2.fc32.x86_64 31/143 Installing : xz-libs-5.2.4-8.fc32.x86_64 32/143 Installing : libstdc++-10.0.1-0.10.fc33.x86_64 33/143 Installing : elfutils-libelf-0.178-9.fc32.x86_64 34/143 Installing : libdb-5.3.28-40.fc32.x86_64 35/143 Installing : libxcrypt-4.4.15-1.fc33.x86_64 36/143 Installing : readline-8.0-4.fc32.x86_64 37/143 Installing : libattr-2.4.48-8.fc32.x86_64 38/143 Installing : libacl-2.2.53-5.fc32.x86_64 39/143 Installing : libcom_err-1.45.6-2.fc33.x86_64 40/143 Installing : libuuid-2.35.1-7.fc33.x86_64 41/143 Installing : popt-1.16-19.fc32.x86_64 42/143 Installing : libcap-2.26-7.fc32.x86_64 43/143 Installing : libunistring-0.9.10-7.fc32.x86_64 44/143 Installing : libzstd-1.4.4-2.fc32.x86_64 45/143 Installing : libidn2-2.3.0-2.fc32.x86_64 46/143 Installing : unzip-6.0-47.fc32.x86_64 47/143 Installing : file-libs-5.38-3.fc33.x86_64 48/143 Installing : file-5.38-3.fc33.x86_64 49/143 Installing : libsepol-3.0-3.fc32.x86_64 50/143 Running scriptlet: libsepol-3.0-3.fc32.x86_64 50/143 Installing : alternatives-1.11-6.fc32.x86_64 51/143 Installing : libcap-ng-0.7.10-2.fc32.x86_64 52/143 Installing : audit-libs-3.0-0.19.20191104git1c2f876.fc33.x86_ 53/143 Installing : libffi-3.1-24.fc32.x86_64 54/143 Installing : p11-kit-0.23.20-1.fc32.x86_64 55/143 Installing : lua-libs-5.3.5-7.fc32.x86_64 56/143 Installing : lz4-libs-1.9.1-2.fc32.x86_64 57/143 Installing : pcre2-10.34-9.fc33.x86_64 58/143 Installing : libselinux-3.0-4.fc33.x86_64 59/143 Installing : sed-4.8-1.fc33.x86_64 60/143 Installing : findutils-1:4.7.0-3.fc32.x86_64 61/143 Installing : libsemanage-3.0-3.fc32.x86_64 62/143 Installing : shadow-utils-2:4.8.1-2.fc33.x86_64 63/143 Running scriptlet: libutempter-1.1.6-18.fc32.x86_64 64/143 Installing : libutempter-1.1.6-18.fc32.x86_64 64/143 Installing : patch-2.7.6-12.fc32.x86_64 65/143 Installing : tar-2:1.32-4.fc32.x86_64 66/143 Installing : zip-3.0-26.fc32.x86_64 67/143 Installing : libpsl-0.21.0-4.fc32.x86_64 68/143 Installing : libdb-utils-5.3.28-40.fc32.x86_64 69/143 Installing : dwz-0.13-2.fc32.x86_64 70/143 Installing : gc-8.0.4-3.fc32.x86_64 71/143 Installing : zstd-1.4.4-2.fc32.x86_64 72/143 Installing : libxml2-2.9.10-4.fc33.x86_64 73/143 Installing : bzip2-1.0.8-2.fc32.x86_64 74/143 Installing : elfutils-default-yama-scope-0.178-9.fc32.noarch 75/143 Running scriptlet: elfutils-default-yama-scope-0.178-9.fc32.noarch 75/143 Installing : elfutils-libs-0.178-9.fc32.x86_64 76/143 Installing : elfutils-0.178-9.fc32.x86_64 77/143 Installing : ncurses-6.2-1.20200222.fc33.x86_64 78/143 Installing : cpio-2.13-4.fc32.x86_64 79/143 Installing : diffutils-3.7-4.fc32.x86_64 80/143 Installing : expat-2.2.8-2.fc32.x86_64 81/143 Installing : libmetalink-0.1.3-10.fc32.x86_64 82/143 Installing : keyutils-libs-1.6-4.fc32.x86_64 83/143 Installing : libbrotli-1.0.7-10.fc32.x86_64 84/143 Installing : libgomp-10.0.1-0.10.fc33.x86_64 85/143 Installing : libgpg-error-1.37-1.fc33.x86_64 86/143 Installing : libgcrypt-1.8.5-3.fc32.x86_64 87/143 Installing : libnghttp2-1.40.0-2.fc32.x86_64 88/143 Installing : libpkgconf-1.6.3-3.fc32.x86_64 89/143 Installing : pkgconf-1.6.3-3.fc32.x86_64 90/143 Installing : pkgconf-pkg-config-1.6.3-3.fc32.x86_64 91/143 Installing : gmp-1:6.2.0-1.fc33.x86_64 92/143 Installing : mpfr-4.0.2-3.fc32.x86_64 93/143 Installing : libsigsegv-2.11-10.fc32.x86_64 94/143 Installing : gawk-5.0.1-7.fc32.x86_64 95/143 Installing : libsmartcols-2.35.1-7.fc33.x86_64 96/143 Installing : libtasn1-4.16.0-1.fc32.x86_64 97/143 Installing : p11-kit-trust-0.23.20-1.fc32.x86_64 98/143 Running scriptlet: p11-kit-trust-0.23.20-1.fc32.x86_64 98/143 Installing : libtool-ltdl-2.4.6-33.fc32.x86_64 99/143 Installing : libverto-0.3.0-9.fc32.x86_64 100/143 Installing : pcre-8.44-1.fc33.x86_64 101/143 Installing : grep-3.3-4.fc32.x86_64 102/143 Installing : xz-5.2.4-8.fc32.x86_64 103/143 Installing : xxhash-libs-0.7.3-1.fc33.x86_64 104/143 Installing : gdb-minimal-9.1-4.fc33.x86_64 105/143 Installing : coreutils-common-8.32-3.fc33.x86_64 106/143 Installing : openssl-libs-1:1.1.1e-2.fc33.x86_64 107/143 Installing : coreutils-8.32-3.fc33.x86_64 108/143 Installing : crypto-policies-20200312-1.git3ae59d2.fc33.noarc 109/143 Running scriptlet: ca-certificates-2020.2.40-3.fc32.noarch 110/143 Installing : ca-certificates-2020.2.40-3.fc32.noarch 110/143 Running scriptlet: ca-certificates-2020.2.40-3.fc32.noarch 110/143 Installing : krb5-libs-1.18-9.fc33.x86_64 111/143 Installing : libblkid-2.35.1-7.fc33.x86_64 112/143 Running scriptlet: libblkid-2.35.1-7.fc33.x86_64 112/143 Installing : libtirpc-1.2.5-1.rc2.fc33.x86_64 113/143 Installing : binutils-gold-2.34-2.fc33.x86_64 114/143 Installing : binutils-2.34-2.fc33.x86_64 115/143 Running scriptlet: binutils-2.34-2.fc33.x86_64 115/143 Installing : gzip-1.10-2.fc32.x86_64 116/143 Installing : cracklib-2.9.6-22.fc32.x86_64 117/143 Installing : libnsl2-1.2.0-6.20180605git4a062cf.fc32.x86_64 118/143 Installing : libpwquality-1.4.2-2.fc32.x86_64 119/143 Installing : pam-1.3.1-24.fc33.x86_64 120/143 Installing : libfdisk-2.35.1-7.fc33.x86_64 121/143 Installing : libmount-2.35.1-7.fc33.x86_64 122/143 Installing : cyrus-sasl-lib-2.1.27-4.fc33.x86_64 123/143 Installing : openldap-2.4.47-4.fc32.x86_64 124/143 Installing : libssh-0.9.3-2.fc32.x86_64 125/143 Installing : libcurl-7.69.0-2.fc33.x86_64 126/143 Installing : curl-7.69.0-2.fc33.x86_64 127/143 Installing : guile22-2.2.6-4.fc32.x86_64 128/143 Running scriptlet: guile22-2.2.6-4.fc32.x86_64 128/143 Installing : systemd-libs-245.3-1.fc33.x86_64 129/143 Running scriptlet: systemd-libs-245.3-1.fc33.x86_64 129/143 Installing : libarchive-3.4.2-1.fc33.x86_64 130/143 Installing : rpm-4.15.1-2.fc32.1.x86_64 131/143 Installing : rpm-libs-4.15.1-2.fc32.1.x86_64 132/143 Installing : rpm-build-libs-4.15.1-2.fc32.1.x86_64 133/143 Installing : efi-srpm-macros-4-4.fc32.noarch 134/143 Installing : fonts-srpm-macros-2.0.3-1.fc33.noarch 135/143 Installing : go-srpm-macros-3.0.8-5.fc32.noarch 136/143 Installing : python-srpm-macros-3.8-1.fc33.noarch 137/143 Installing : redhat-rpm-config-153-1.fc33.noarch 138/143 Installing : rpm-build-4.15.1-2.fc32.1.x86_64 139/143 Installing : util-linux-2.35.1-7.fc33.x86_64 140/143 Running scriptlet: util-linux-2.35.1-7.fc33.x86_64 140/143 Installing : make-1:4.3-1.fc33.x86_64 141/143 Installing : info-6.7-7.fc33.x86_64 142/143 Installing : which-2.21-19.fc33.x86_64 143/143 Running scriptlet: filesystem-3.14-2.fc32.x86_64 143/143 Running scriptlet: which-2.21-19.fc33.x86_64 143/143 Verifying : alternatives-1.11-6.fc32.x86_64 1/143 Verifying : audit-libs-3.0-0.19.20191104git1c2f876.fc33.x86_ 2/143 Verifying : basesystem-11-9.fc32.noarch 3/143 Verifying : bash-5.0.11-2.fc32.x86_64 4/143 Verifying : binutils-2.34-2.fc33.x86_64 5/143 Verifying : binutils-gold-2.34-2.fc33.x86_64 6/143 Verifying : bzip2-1.0.8-2.fc32.x86_64 7/143 Verifying : bzip2-libs-1.0.8-2.fc32.x86_64 8/143 Verifying : ca-certificates-2020.2.40-3.fc32.noarch 9/143 Verifying : coreutils-8.32-3.fc33.x86_64 10/143 Verifying : coreutils-common-8.32-3.fc33.x86_64 11/143 Verifying : cpio-2.13-4.fc32.x86_64 12/143 Verifying : cracklib-2.9.6-22.fc32.x86_64 13/143 Verifying : crypto-policies-20200312-1.git3ae59d2.fc33.noarc 14/143 Verifying : curl-7.69.0-2.fc33.x86_64 15/143 Verifying : cyrus-sasl-lib-2.1.27-4.fc33.x86_64 16/143 Verifying : diffutils-3.7-4.fc32.x86_64 17/143 Verifying : dwz-0.13-2.fc32.x86_64 18/143 Verifying : efi-srpm-macros-4-4.fc32.noarch 19/143 Verifying : elfutils-0.178-9.fc32.x86_64 20/143 Verifying : elfutils-default-yama-scope-0.178-9.fc32.noarch 21/143 Verifying : elfutils-libelf-0.178-9.fc32.x86_64 22/143 Verifying : elfutils-libs-0.178-9.fc32.x86_64 23/143 Verifying : expat-2.2.8-2.fc32.x86_64 24/143 Verifying : fedora-gpg-keys-33-0.3.noarch 25/143 Verifying : fedora-release-33-0.3.noarch 26/143 Verifying : fedora-release-common-33-0.3.noarch 27/143 Verifying : fedora-repos-33-0.3.noarch 28/143 Verifying : fedora-repos-rawhide-33-0.3.noarch 29/143 Verifying : file-5.38-3.fc33.x86_64 30/143 Verifying : file-libs-5.38-3.fc33.x86_64 31/143 Verifying : filesystem-3.14-2.fc32.x86_64 32/143 Verifying : findutils-1:4.7.0-3.fc32.x86_64 33/143 Verifying : fonts-srpm-macros-2.0.3-1.fc33.noarch 34/143 Verifying : fpc-srpm-macros-1.3-1.fc32.noarch 35/143 Verifying : gawk-5.0.1-7.fc32.x86_64 36/143 Verifying : gc-8.0.4-3.fc32.x86_64 37/143 Verifying : gdb-minimal-9.1-4.fc33.x86_64 38/143 Verifying : ghc-srpm-macros-1.5.0-2.fc32.noarch 39/143 Verifying : glibc-2.31.9000-5.fc33.x86_64 40/143 Verifying : glibc-common-2.31.9000-5.fc33.x86_64 41/143 Verifying : glibc-minimal-langpack-2.31.9000-5.fc33.x86_64 42/143 Verifying : gmp-1:6.2.0-1.fc33.x86_64 43/143 Verifying : gnat-srpm-macros-4-11.fc32.noarch 44/143 Verifying : go-srpm-macros-3.0.8-5.fc32.noarch 45/143 Verifying : grep-3.3-4.fc32.x86_64 46/143 Verifying : guile22-2.2.6-4.fc32.x86_64 47/143 Verifying : gzip-1.10-2.fc32.x86_64 48/143 Verifying : info-6.7-7.fc33.x86_64 49/143 Verifying : keyutils-libs-1.6-4.fc32.x86_64 50/143 Verifying : krb5-libs-1.18-9.fc33.x86_64 51/143 Verifying : libacl-2.2.53-5.fc32.x86_64 52/143 Verifying : libarchive-3.4.2-1.fc33.x86_64 53/143 Verifying : libattr-2.4.48-8.fc32.x86_64 54/143 Verifying : libblkid-2.35.1-7.fc33.x86_64 55/143 Verifying : libbrotli-1.0.7-10.fc32.x86_64 56/143 Verifying : libcap-2.26-7.fc32.x86_64 57/143 Verifying : libcap-ng-0.7.10-2.fc32.x86_64 58/143 Verifying : libcom_err-1.45.6-2.fc33.x86_64 59/143 Verifying : libcurl-7.69.0-2.fc33.x86_64 60/143 Verifying : libdb-5.3.28-40.fc32.x86_64 61/143 Verifying : libdb-utils-5.3.28-40.fc32.x86_64 62/143 Verifying : libfdisk-2.35.1-7.fc33.x86_64 63/143 Verifying : libffi-3.1-24.fc32.x86_64 64/143 Verifying : libgcc-10.0.1-0.10.fc33.x86_64 65/143 Verifying : libgcrypt-1.8.5-3.fc32.x86_64 66/143 Verifying : libgomp-10.0.1-0.10.fc33.x86_64 67/143 Verifying : libgpg-error-1.37-1.fc33.x86_64 68/143 Verifying : libidn2-2.3.0-2.fc32.x86_64 69/143 Verifying : libmetalink-0.1.3-10.fc32.x86_64 70/143 Verifying : libmount-2.35.1-7.fc33.x86_64 71/143 Verifying : libnghttp2-1.40.0-2.fc32.x86_64 72/143 Verifying : libnsl2-1.2.0-6.20180605git4a062cf.fc32.x86_64 73/143 Verifying : libpkgconf-1.6.3-3.fc32.x86_64 74/143 Verifying : libpsl-0.21.0-4.fc32.x86_64 75/143 Verifying : libpwquality-1.4.2-2.fc32.x86_64 76/143 Verifying : libselinux-3.0-4.fc33.x86_64 77/143 Verifying : libsemanage-3.0-3.fc32.x86_64 78/143 Verifying : libsepol-3.0-3.fc32.x86_64 79/143 Verifying : libsigsegv-2.11-10.fc32.x86_64 80/143 Verifying : libsmartcols-2.35.1-7.fc33.x86_64 81/143 Verifying : libssh-0.9.3-2.fc32.x86_64 82/143 Verifying : libssh-config-0.9.3-2.fc32.noarch 83/143 Verifying : libstdc++-10.0.1-0.10.fc33.x86_64 84/143 Verifying : libtasn1-4.16.0-1.fc32.x86_64 85/143 Verifying : libtirpc-1.2.5-1.rc2.fc33.x86_64 86/143 Verifying : libtool-ltdl-2.4.6-33.fc32.x86_64 87/143 Verifying : libunistring-0.9.10-7.fc32.x86_64 88/143 Verifying : libutempter-1.1.6-18.fc32.x86_64 89/143 Verifying : libuuid-2.35.1-7.fc33.x86_64 90/143 Verifying : libverto-0.3.0-9.fc32.x86_64 91/143 Verifying : libxcrypt-4.4.15-1.fc33.x86_64 92/143 Verifying : libxml2-2.9.10-4.fc33.x86_64 93/143 Verifying : libzstd-1.4.4-2.fc32.x86_64 94/143 Verifying : lua-libs-5.3.5-7.fc32.x86_64 95/143 Verifying : lz4-libs-1.9.1-2.fc32.x86_64 96/143 Verifying : make-1:4.3-1.fc33.x86_64 97/143 Verifying : mpfr-4.0.2-3.fc32.x86_64 98/143 Verifying : ncurses-6.2-1.20200222.fc33.x86_64 99/143 Verifying : ncurses-base-6.2-1.20200222.fc33.noarch 100/143 Verifying : ncurses-libs-6.2-1.20200222.fc33.x86_64 101/143 Verifying : nim-srpm-macros-3-2.fc32.noarch 102/143 Verifying : ocaml-srpm-macros-6-2.fc32.noarch 103/143 Verifying : openblas-srpm-macros-2-7.fc32.noarch 104/143 Verifying : openldap-2.4.47-4.fc32.x86_64 105/143 Verifying : openssl-libs-1:1.1.1e-2.fc33.x86_64 106/143 Verifying : p11-kit-0.23.20-1.fc32.x86_64 107/143 Verifying : p11-kit-trust-0.23.20-1.fc32.x86_64 108/143 Verifying : pam-1.3.1-24.fc33.x86_64 109/143 Verifying : patch-2.7.6-12.fc32.x86_64 110/143 Verifying : pcre-8.44-1.fc33.x86_64 111/143 Verifying : pcre2-10.34-9.fc33.x86_64 112/143 Verifying : pcre2-syntax-10.34-9.fc33.noarch 113/143 Verifying : perl-srpm-macros-1-34.fc32.noarch 114/143 Verifying : pkgconf-1.6.3-3.fc32.x86_64 115/143 Verifying : pkgconf-m4-1.6.3-3.fc32.noarch 116/143 Verifying : pkgconf-pkg-config-1.6.3-3.fc32.x86_64 117/143 Verifying : popt-1.16-19.fc32.x86_64 118/143 Verifying : publicsuffix-list-dafsa-20190417-3.fc32.noarch 119/143 Verifying : python-srpm-macros-3.8-1.fc33.noarch 120/143 Verifying : qt5-srpm-macros-5.13.2-2.fc32.noarch 121/143 Verifying : readline-8.0-4.fc32.x86_64 122/143 Verifying : redhat-rpm-config-153-1.fc33.noarch 123/143 Verifying : rpm-4.15.1-2.fc32.1.x86_64 124/143 Verifying : rpm-build-4.15.1-2.fc32.1.x86_64 125/143 Verifying : rpm-build-libs-4.15.1-2.fc32.1.x86_64 126/143 Verifying : rpm-libs-4.15.1-2.fc32.1.x86_64 127/143 Verifying : rust-srpm-macros-13-2.fc33.noarch 128/143 Verifying : sed-4.8-1.fc33.x86_64 129/143 Verifying : setup-2.13.6-2.fc32.noarch 130/143 Verifying : shadow-utils-2:4.8.1-2.fc33.x86_64 131/143 Verifying : systemd-libs-245.3-1.fc33.x86_64 132/143 Verifying : tar-2:1.32-4.fc32.x86_64 133/143 Verifying : tzdata-2019c-3.fc32.noarch 134/143 Verifying : unzip-6.0-47.fc32.x86_64 135/143 Verifying : util-linux-2.35.1-7.fc33.x86_64 136/143 Verifying : which-2.21-19.fc33.x86_64 137/143 Verifying : xxhash-libs-0.7.3-1.fc33.x86_64 138/143 Verifying : xz-5.2.4-8.fc32.x86_64 139/143 Verifying : xz-libs-5.2.4-8.fc32.x86_64 140/143 Verifying : zip-3.0-26.fc32.x86_64 141/143 Verifying : zlib-1.2.11-21.fc32.x86_64 142/143 Verifying : zstd-1.4.4-2.fc32.x86_64 143/143 Installed: alternatives-1.11-6.fc32.x86_64 audit-libs-3.0-0.19.20191104git1c2f876.fc33.x86_64 basesystem-11-9.fc32.noarch bash-5.0.11-2.fc32.x86_64 binutils-2.34-2.fc33.x86_64 binutils-gold-2.34-2.fc33.x86_64 bzip2-1.0.8-2.fc32.x86_64 bzip2-libs-1.0.8-2.fc32.x86_64 ca-certificates-2020.2.40-3.fc32.noarch coreutils-8.32-3.fc33.x86_64 coreutils-common-8.32-3.fc33.x86_64 cpio-2.13-4.fc32.x86_64 cracklib-2.9.6-22.fc32.x86_64 crypto-policies-20200312-1.git3ae59d2.fc33.noarch curl-7.69.0-2.fc33.x86_64 cyrus-sasl-lib-2.1.27-4.fc33.x86_64 diffutils-3.7-4.fc32.x86_64 dwz-0.13-2.fc32.x86_64 efi-srpm-macros-4-4.fc32.noarch elfutils-0.178-9.fc32.x86_64 elfutils-default-yama-scope-0.178-9.fc32.noarch elfutils-libelf-0.178-9.fc32.x86_64 elfutils-libs-0.178-9.fc32.x86_64 expat-2.2.8-2.fc32.x86_64 fedora-gpg-keys-33-0.3.noarch fedora-release-33-0.3.noarch fedora-release-common-33-0.3.noarch fedora-repos-33-0.3.noarch fedora-repos-rawhide-33-0.3.noarch file-5.38-3.fc33.x86_64 file-libs-5.38-3.fc33.x86_64 filesystem-3.14-2.fc32.x86_64 findutils-1:4.7.0-3.fc32.x86_64 fonts-srpm-macros-2.0.3-1.fc33.noarch fpc-srpm-macros-1.3-1.fc32.noarch gawk-5.0.1-7.fc32.x86_64 gc-8.0.4-3.fc32.x86_64 gdb-minimal-9.1-4.fc33.x86_64 ghc-srpm-macros-1.5.0-2.fc32.noarch glibc-2.31.9000-5.fc33.x86_64 glibc-common-2.31.9000-5.fc33.x86_64 glibc-minimal-langpack-2.31.9000-5.fc33.x86_64 gmp-1:6.2.0-1.fc33.x86_64 gnat-srpm-macros-4-11.fc32.noarch go-srpm-macros-3.0.8-5.fc32.noarch grep-3.3-4.fc32.x86_64 guile22-2.2.6-4.fc32.x86_64 gzip-1.10-2.fc32.x86_64 info-6.7-7.fc33.x86_64 keyutils-libs-1.6-4.fc32.x86_64 krb5-libs-1.18-9.fc33.x86_64 libacl-2.2.53-5.fc32.x86_64 libarchive-3.4.2-1.fc33.x86_64 libattr-2.4.48-8.fc32.x86_64 libblkid-2.35.1-7.fc33.x86_64 libbrotli-1.0.7-10.fc32.x86_64 libcap-2.26-7.fc32.x86_64 libcap-ng-0.7.10-2.fc32.x86_64 libcom_err-1.45.6-2.fc33.x86_64 libcurl-7.69.0-2.fc33.x86_64 libdb-5.3.28-40.fc32.x86_64 libdb-utils-5.3.28-40.fc32.x86_64 libfdisk-2.35.1-7.fc33.x86_64 libffi-3.1-24.fc32.x86_64 libgcc-10.0.1-0.10.fc33.x86_64 libgcrypt-1.8.5-3.fc32.x86_64 libgomp-10.0.1-0.10.fc33.x86_64 libgpg-error-1.37-1.fc33.x86_64 libidn2-2.3.0-2.fc32.x86_64 libmetalink-0.1.3-10.fc32.x86_64 libmount-2.35.1-7.fc33.x86_64 libnghttp2-1.40.0-2.fc32.x86_64 libnsl2-1.2.0-6.20180605git4a062cf.fc32.x86_64 libpkgconf-1.6.3-3.fc32.x86_64 libpsl-0.21.0-4.fc32.x86_64 libpwquality-1.4.2-2.fc32.x86_64 libselinux-3.0-4.fc33.x86_64 libsemanage-3.0-3.fc32.x86_64 libsepol-3.0-3.fc32.x86_64 libsigsegv-2.11-10.fc32.x86_64 libsmartcols-2.35.1-7.fc33.x86_64 libssh-0.9.3-2.fc32.x86_64 libssh-config-0.9.3-2.fc32.noarch libstdc++-10.0.1-0.10.fc33.x86_64 libtasn1-4.16.0-1.fc32.x86_64 libtirpc-1.2.5-1.rc2.fc33.x86_64 libtool-ltdl-2.4.6-33.fc32.x86_64 libunistring-0.9.10-7.fc32.x86_64 libutempter-1.1.6-18.fc32.x86_64 libuuid-2.35.1-7.fc33.x86_64 libverto-0.3.0-9.fc32.x86_64 libxcrypt-4.4.15-1.fc33.x86_64 libxml2-2.9.10-4.fc33.x86_64 libzstd-1.4.4-2.fc32.x86_64 lua-libs-5.3.5-7.fc32.x86_64 lz4-libs-1.9.1-2.fc32.x86_64 make-1:4.3-1.fc33.x86_64 mpfr-4.0.2-3.fc32.x86_64 ncurses-6.2-1.20200222.fc33.x86_64 ncurses-base-6.2-1.20200222.fc33.noarch ncurses-libs-6.2-1.20200222.fc33.x86_64 nim-srpm-macros-3-2.fc32.noarch ocaml-srpm-macros-6-2.fc32.noarch openblas-srpm-macros-2-7.fc32.noarch openldap-2.4.47-4.fc32.x86_64 openssl-libs-1:1.1.1e-2.fc33.x86_64 p11-kit-0.23.20-1.fc32.x86_64 p11-kit-trust-0.23.20-1.fc32.x86_64 pam-1.3.1-24.fc33.x86_64 patch-2.7.6-12.fc32.x86_64 pcre-8.44-1.fc33.x86_64 pcre2-10.34-9.fc33.x86_64 pcre2-syntax-10.34-9.fc33.noarch perl-srpm-macros-1-34.fc32.noarch pkgconf-1.6.3-3.fc32.x86_64 pkgconf-m4-1.6.3-3.fc32.noarch pkgconf-pkg-config-1.6.3-3.fc32.x86_64 popt-1.16-19.fc32.x86_64 publicsuffix-list-dafsa-20190417-3.fc32.noarch python-srpm-macros-3.8-1.fc33.noarch qt5-srpm-macros-5.13.2-2.fc32.noarch readline-8.0-4.fc32.x86_64 redhat-rpm-config-153-1.fc33.noarch rpm-4.15.1-2.fc32.1.x86_64 rpm-build-4.15.1-2.fc32.1.x86_64 rpm-build-libs-4.15.1-2.fc32.1.x86_64 rpm-libs-4.15.1-2.fc32.1.x86_64 rust-srpm-macros-13-2.fc33.noarch sed-4.8-1.fc33.x86_64 setup-2.13.6-2.fc32.noarch shadow-utils-2:4.8.1-2.fc33.x86_64 systemd-libs-245.3-1.fc33.x86_64 tar-2:1.32-4.fc32.x86_64 tzdata-2019c-3.fc32.noarch unzip-6.0-47.fc32.x86_64 util-linux-2.35.1-7.fc33.x86_64 which-2.21-19.fc33.x86_64 xxhash-libs-0.7.3-1.fc33.x86_64 xz-5.2.4-8.fc32.x86_64 xz-libs-5.2.4-8.fc32.x86_64 zip-3.0-26.fc32.x86_64 zlib-1.2.11-21.fc32.x86_64 zstd-1.4.4-2.fc32.x86_64 Complete! Finish: dnf install Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1585353600 Wrote: /builddir/build/SRPMS/7kaa-2.15.3-103.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492368.904341/root/var/log/dnf.rpm.log /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492368.904341/root/var/log/dnf.librepo.log /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492368.904341/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/tmp/copr-rpmbuild-fnm30vzs/7kaa.spec) Config(child) 0 minutes 52 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 (timeout=86400): unbuffer mock --rebuild /var/lib/copr-rpmbuild/results/7kaa-2.15.3-103.src.rpm --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1585492422.374121 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 2.1 starting (python version = 3.7.6)... 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/results/7kaa-2.15.3-103.src.rpm) Config(1322994-fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492422.374121/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 Mock Version: 2.1 INFO: Mock Version: 2.1 Start: dnf update No matches found for the following disable plugin patterns: local, spacewalk Copr repository 24 kB/s | 3.3 kB 00:00 fedora 30 kB/s | 12 kB 00:00 Dependencies resolved. Nothing to do. Complete! Finish: dnf update Finish: chroot init Start: build phase for 7kaa-2.15.3-103.src.rpm Start: build setup for 7kaa-2.15.3-103.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1585353600 Wrote: /builddir/build/SRPMS/7kaa-2.15.3-103.src.rpm No matches found for the following disable plugin patterns: local, spacewalk Copr repository 11 kB/s | 3.3 kB 00:00 fedora 95 kB/s | 12 kB 00:00 Package pkgconf-pkg-config-1.6.3-3.fc32.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: ImageMagick x86_64 1:6.9.10.86-2.fc32 fedora 160 k SDL2-devel x86_64 2.0.12-1.fc33 fedora 243 k enet-devel x86_64 1.3.14-3.fc32 fedora 26 k gcc-c++ x86_64 10.0.1-0.10.fc33 fedora 11 M libcurl-devel x86_64 7.69.0-2.fc33 fedora 811 k openal-soft-devel x86_64 1.19.1-5.fc33 fedora 53 k Installing dependencies: ImageMagick-libs x86_64 1:6.9.10.86-2.fc32 fedora 2.3 M LibRaw x86_64 0.19.5-1.fc32 fedora 320 k OpenEXR-libs x86_64 2.3.0-5.fc32 fedora 817 k SDL2 x86_64 2.0.12-1.fc33 fedora 519 k adobe-mappings-cmap noarch 20171205-7.fc32 fedora 1.9 M adobe-mappings-cmap-deprecated noarch 20171205-7.fc32 fedora 109 k adobe-mappings-pdf noarch 20180407-5.fc32 fedora 668 k annobin x86_64 9.16-1.fc33 fedora 112 k atk x86_64 2.35.1-2.fc32 fedora 270 k avahi-libs x86_64 0.8-2.fc33 fedora 67 k cairo x86_64 1.16.0-7.fc32 fedora 713 k cairo-gobject x86_64 1.16.0-7.fc32 fedora 19 k cmake-filesystem x86_64 3.17.0-1.fc33 fedora 14 k cpp x86_64 10.0.1-0.10.fc33 fedora 9.4 M cups-libs x86_64 1:2.3.1-5.fc32 fedora 273 k dbus-libs x86_64 1:1.12.16-5.fc33 fedora 163 k dejavu-sans-fonts noarch 2.37-7.fc33 fedora 1.3 M emacs-filesystem noarch 1:26.3-2.fc32 fedora 8.5 k enet x86_64 1.3.14-3.fc32 fedora 36 k fftw-libs-double x86_64 3.3.8-7.fc32 fedora 968 k fontconfig x86_64 2.13.92-8.fc33 fedora 265 k fonts-filesystem noarch 2.0.3-1.fc33 fedora 7.8 k freetype x86_64 2.10.1-2.fc32 fedora 384 k fribidi x86_64 1.0.9-1.fc33 fedora 85 k gcc x86_64 10.0.1-0.10.fc33 fedora 30 M gd x86_64 2.3.0-1.fc33 fedora 140 k gdk-pixbuf2 x86_64 2.40.0-2.fc32 fedora 464 k gdk-pixbuf2-modules x86_64 2.40.0-2.fc32 fedora 99 k glib2 x86_64 2.64.1-1.fc33 fedora 2.7 M glibc-devel x86_64 2.31.9000-5.fc33 fedora 1.0 M glibc-headers x86_64 2.31.9000-5.fc33 fedora 471 k gnutls x86_64 3.6.12-2.fc33 fedora 975 k google-droid-sans-fonts noarch 20200215-3.fc33 fedora 2.7 M graphite2 x86_64 1.3.13-1.fc32 fedora 104 k graphviz x86_64 2.42.2-9.fc33 fedora 3.4 M gtk-update-icon-cache x86_64 3.24.16-1.fc33 fedora 33 k gtk2 x86_64 2.24.32-7.fc32 fedora 3.5 M gts x86_64 0.7.6-37.20121130.fc32 fedora 237 k harfbuzz x86_64 2.6.4-4.fc33 fedora 596 k hicolor-icon-theme noarch 0.17-8.fc32 fedora 44 k hwdata noarch 0.333-1.fc33 fedora 1.4 M ilmbase x86_64 2.3.0-4.fc32 fedora 141 k isl x86_64 0.16.1-10.fc32 fedora 872 k jasper-libs x86_64 2.0.16-2.fc32 fedora 164 k jbig2dec-libs x86_64 0.17-4.fc32 fedora 71 k jbigkit-libs x86_64 2.1-18.fc32 fedora 53 k kernel-headers x86_64 5.6.0-0.rc7.git0.1.fc33 fedora 1.2 M langpacks-core-font-en noarch 3.0-3.fc33 fedora 9.4 k lasi x86_64 1.1.3-2.fc32 fedora 56 k lcms2 x86_64 2.9-7.fc32 fedora 167 k libICE x86_64 1.0.10-3.fc32 fedora 71 k libSM x86_64 1.2.3-5.fc32 fedora 42 k libX11 x86_64 1.6.9-3.fc32 fedora 660 k libX11-common noarch 1.6.9-3.fc32 fedora 153 k libX11-devel x86_64 1.6.9-3.fc32 fedora 938 k libX11-xcb x86_64 1.6.9-3.fc32 fedora 11 k libXau x86_64 1.0.9-3.fc32 fedora 31 k libXau-devel x86_64 1.0.9-3.fc32 fedora 14 k libXaw x86_64 1.0.13-14.fc32 fedora 201 k libXcomposite x86_64 0.4.5-2.fc32 fedora 23 k libXcursor x86_64 1.2.0-2.fc32 fedora 30 k libXdamage x86_64 1.1.5-2.fc32 fedora 22 k libXext x86_64 1.3.4-3.fc32 fedora 39 k libXfixes x86_64 5.0.3-11.fc32 fedora 19 k libXft x86_64 2.3.3-3.fc32 fedora 64 k libXi x86_64 1.7.10-3.fc32 fedora 38 k libXinerama x86_64 1.1.4-5.fc32 fedora 14 k libXmu x86_64 1.1.3-3.fc32 fedora 75 k libXpm x86_64 3.5.13-2.fc32 fedora 59 k libXrandr x86_64 1.5.2-3.fc32 fedora 27 k libXrender x86_64 0.9.10-11.fc32 fedora 27 k libXt x86_64 1.2.0-1.fc32 fedora 183 k libXxf86vm x86_64 1.1.4-13.fc32 fedora 18 k libdatrie x86_64 0.2.9-11.fc32 fedora 32 k libdrm x86_64 2.4.100-2.fc32 fedora 159 k libevent x86_64 2.1.8-8.fc32 fedora 254 k libfontenc x86_64 1.1.3-12.fc32 fedora 31 k libglvnd x86_64 1:1.3.1-1.fc33 fedora 142 k libglvnd-core-devel x86_64 1:1.3.1-1.fc33 fedora 19 k libglvnd-devel x86_64 1:1.3.1-1.fc33 fedora 156 k libglvnd-egl x86_64 1:1.3.1-1.fc33 fedora 46 k libglvnd-gles x86_64 1:1.3.1-1.fc33 fedora 37 k libglvnd-glx x86_64 1:1.3.1-1.fc33 fedora 159 k libglvnd-opengl x86_64 1:1.3.1-1.fc33 fedora 49 k libgs x86_64 9.50-1.fc33 fedora 3.0 M libidn x86_64 1.35-7.fc32 fedora 240 k libijs x86_64 0.35-11.fc32 fedora 30 k libimagequant x86_64 2.12.6-2.fc32 fedora 62 k libjpeg-turbo x86_64 2.0.4-1.fc32 fedora 168 k liblqr-1 x86_64 0.4.2-14.fc32 fedora 50 k libmcpp x86_64 2.7.2-25.fc32 fedora 78 k libmpc x86_64 1.1.0-8.fc32 fedora 59 k libpaper x86_64 1.1.24-26.fc32 fedora 41 k libpciaccess x86_64 0.16-2.fc32 fedora 27 k libpng x86_64 2:1.6.37-3.fc32 fedora 116 k libraqm x86_64 0.7.0-5.fc32 fedora 19 k librsvg2 x86_64 2.48.1-1.fc33 fedora 3.1 M libstdc++-devel x86_64 10.0.1-0.10.fc33 fedora 2.0 M libthai x86_64 0.1.28-4.fc32 fedora 213 k libtiff x86_64 4.1.0-2.fc32 fedora 185 k libwayland-client x86_64 1.18.0-1.fc33 fedora 35 k libwayland-server x86_64 1.18.0-1.fc33 fedora 43 k libwebp x86_64 1.1.0-2.fc32 fedora 276 k libwmf-lite x86_64 0.2.12-3.fc32 fedora 73 k libxcb x86_64 1.13.1-4.fc32 fedora 231 k libxcb-devel x86_64 1.13.1-4.fc32 fedora 1.0 M libxcrypt-devel x86_64 4.4.15-1.fc33 fedora 34 k libxshmfence x86_64 1.3-6.fc32 fedora 12 k mcpp x86_64 2.7.2-25.fc32 fedora 27 k mesa-libEGL x86_64 20.0.2-1.fc33 fedora 123 k mesa-libEGL-devel x86_64 20.0.2-1.fc33 fedora 19 k mesa-libGL x86_64 20.0.2-1.fc33 fedora 180 k mesa-libgbm x86_64 20.0.2-1.fc33 fedora 43 k mesa-libglapi x86_64 20.0.2-1.fc33 fedora 59 k netpbm x86_64 10.90.00-1.fc33 fedora 186 k nettle x86_64 3.5.1-5.fc32 fedora 314 k openal-soft x86_64 1.19.1-5.fc33 fedora 548 k openjpeg2 x86_64 2.3.1-6.fc33 fedora 154 k pango x86_64 1.44.7-2.fc32 fedora 293 k pixman x86_64 0.38.4-2.fc32 fedora 262 k shared-mime-info x86_64 1.15-3.fc33 fedora 303 k urw-base35-bookman-fonts noarch 20170801-14.fc32 fedora 856 k urw-base35-c059-fonts noarch 20170801-14.fc32 fedora 884 k urw-base35-d050000l-fonts noarch 20170801-14.fc32 fedora 78 k urw-base35-fonts noarch 20170801-14.fc32 fedora 10 k urw-base35-fonts-common noarch 20170801-14.fc32 fedora 21 k urw-base35-gothic-fonts noarch 20170801-14.fc32 fedora 652 k urw-base35-nimbus-mono-ps-fonts noarch 20170801-14.fc32 fedora 802 k urw-base35-nimbus-roman-fonts noarch 20170801-14.fc32 fedora 865 k urw-base35-nimbus-sans-fonts noarch 20170801-14.fc32 fedora 1.3 M urw-base35-p052-fonts noarch 20170801-14.fc32 fedora 984 k urw-base35-standard-symbols-ps-fonts noarch 20170801-14.fc32 fedora 42 k urw-base35-z003-fonts noarch 20170801-14.fc32 fedora 279 k xorg-x11-font-utils x86_64 1:7.5-44.fc32 fedora 104 k xorg-x11-fonts-ISO8859-1-100dpi noarch 7.5-24.fc32 fedora 1.0 M xorg-x11-proto-devel noarch 2019.1-3.fc32 fedora 262 k xorg-x11-server-utils x86_64 7.7-34.fc32 fedora 188 k Transaction Summary ================================================================================ Install 143 Packages Total download size: 109 M Installed size: 338 M Downloading Packages: [MIRROR] LibRaw-0.19.5-1.fc32.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/LibRaw-0.19.5-1.fc32.x86_64.rpm (IP: 13.249.40.15) [MIRROR] ImageMagick-6.9.10.86-2.fc32.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/i/ImageMagick-6.9.10.86-2.fc32.x86_64.rpm (IP: 13.249.40.15) [MIRROR] ImageMagick-libs-6.9.10.86-2.fc32.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/i/ImageMagick-libs-6.9.10.86-2.fc32.x86_64.rpm (IP: 13.249.40.15) (1/143): ImageMagick-6.9.10.86-2.fc32.x86_64.rp 251 kB/s | 160 kB 00:00 (2/143): LibRaw-0.19.5-1.fc32.x86_64.rpm 502 kB/s | 320 kB 00:00 (3/143): ImageMagick-libs-6.9.10.86-2.fc32.x86_ 3.4 MB/s | 2.3 MB 00:00 (4/143): SDL2-devel-2.0.12-1.fc33.x86_64.rpm 3.0 MB/s | 243 kB 00:00 [MIRROR] OpenEXR-libs-2.3.0-5.fc32.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/o/OpenEXR-libs-2.3.0-5.fc32.x86_64.rpm (IP: 13.249.40.15) [MIRROR] SDL2-2.0.12-1.fc33.x86_64.rpm: Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/s/SDL2-2.0.12-1.fc33.x86_64.rpm (IP: 13.249.40.15) (5/143): adobe-mappings-cmap-20171205-7.fc32.no 11 MB/s | 1.9 MB 00:00 (6/143): SDL2-2.0.12-1.fc33.x86_64.rpm 1.5 MB/s | 519 kB 00:00 (7/143): adobe-mappings-cmap-deprecated-2017120 749 kB/s | 109 kB 00:00 (8/143): adobe-mappings-pdf-20180407-5.fc32.noa 5.0 MB/s | 668 kB 00:00 (9/143): annobin-9.16-1.fc33.x86_64.rpm 1.6 MB/s | 112 kB 00:00 (10/143): atk-2.35.1-2.fc32.x86_64.rpm 5.7 MB/s | 270 kB 00:00 (11/143): avahi-libs-0.8-2.fc33.x86_64.rpm 2.5 MB/s | 67 kB 00:00 (12/143): cairo-gobject-1.16.0-7.fc32.x86_64.rp 611 kB/s | 19 kB 00:00 (13/143): cairo-1.16.0-7.fc32.x86_64.rpm 13 MB/s | 713 kB 00:00 (14/143): OpenEXR-libs-2.3.0-5.fc32.x86_64.rpm 1.3 MB/s | 817 kB 00:00 (15/143): cmake-filesystem-3.17.0-1.fc33.x86_64 229 kB/s | 14 kB 00:00 (16/143): cups-libs-2.3.1-5.fc32.x86_64.rpm 2.2 MB/s | 273 kB 00:00 (17/143): dbus-libs-1.12.16-5.fc33.x86_64.rpm 1.5 MB/s | 163 kB 00:00 (18/143): cpp-10.0.1-0.10.fc33.x86_64.rpm 34 MB/s | 9.4 MB 00:00 (19/143): emacs-filesystem-26.3-2.fc32.noarch.r 75 kB/s | 8.5 kB 00:00 (20/143): enet-1.3.14-3.fc32.x86_64.rpm 468 kB/s | 36 kB 00:00 (21/143): enet-devel-1.3.14-3.fc32.x86_64.rpm 308 kB/s | 26 kB 00:00 (22/143): dejavu-sans-fonts-2.37-7.fc33.noarch. 6.2 MB/s | 1.3 MB 00:00 (23/143): fontconfig-2.13.92-8.fc33.x86_64.rpm 9.0 MB/s | 265 kB 00:00 (24/143): freetype-2.10.1-2.fc32.x86_64.rpm 14 MB/s | 384 kB 00:00 (25/143): fribidi-1.0.9-1.fc33.x86_64.rpm 2.5 MB/s | 85 kB 00:00 (26/143): fonts-filesystem-2.0.3-1.fc33.noarch. 91 kB/s | 7.8 kB 00:00 (27/143): fftw-libs-double-3.3.8-7.fc32.x86_64. 8.6 MB/s | 968 kB 00:00 (28/143): gd-2.3.0-1.fc33.x86_64.rpm 614 kB/s | 140 kB 00:00 (29/143): gdk-pixbuf2-2.40.0-2.fc32.x86_64.rpm 2.9 MB/s | 464 kB 00:00 (30/143): gdk-pixbuf2-modules-2.40.0-2.fc32.x86 1.8 MB/s | 99 kB 00:00 (31/143): gcc-c++-10.0.1-0.10.fc33.x86_64.rpm 19 MB/s | 11 MB 00:00 (32/143): glib2-2.64.1-1.fc33.x86_64.rpm 15 MB/s | 2.7 MB 00:00 (33/143): glibc-devel-2.31.9000-5.fc33.x86_64.r 8.2 MB/s | 1.0 MB 00:00 (34/143): gcc-10.0.1-0.10.fc33.x86_64.rpm 33 MB/s | 30 MB 00:00 (35/143): glibc-headers-2.31.9000-5.fc33.x86_64 1.6 MB/s | 471 kB 00:00 (36/143): gnutls-3.6.12-2.fc33.x86_64.rpm 4.6 MB/s | 975 kB 00:00 (37/143): graphite2-1.3.13-1.fc32.x86_64.rpm 1.3 MB/s | 104 kB 00:00 (38/143): google-droid-sans-fonts-20200215-3.fc 21 MB/s | 2.7 MB 00:00 (39/143): gtk-update-icon-cache-3.24.16-1.fc33. 289 kB/s | 33 kB 00:00 (40/143): gtk2-2.24.32-7.fc32.x86_64.rpm 29 MB/s | 3.5 MB 00:00 (41/143): graphviz-2.42.2-9.fc33.x86_64.rpm 13 MB/s | 3.4 MB 00:00 (42/143): gts-0.7.6-37.20121130.fc32.x86_64.rpm 3.0 MB/s | 237 kB 00:00 (43/143): harfbuzz-2.6.4-4.fc33.x86_64.rpm 15 MB/s | 596 kB 00:00 (44/143): hicolor-icon-theme-0.17-8.fc32.noarch 1.5 MB/s | 44 kB 00:00 (45/143): hwdata-0.333-1.fc33.noarch.rpm 18 MB/s | 1.4 MB 00:00 (46/143): ilmbase-2.3.0-4.fc32.x86_64.rpm 2.0 MB/s | 141 kB 00:00 (47/143): isl-0.16.1-10.fc32.x86_64.rpm 6.4 MB/s | 872 kB 00:00 (48/143): jbig2dec-libs-0.17-4.fc32.x86_64.rpm 823 kB/s | 71 kB 00:00 (49/143): jasper-libs-2.0.16-2.fc32.x86_64.rpm 1.7 MB/s | 164 kB 00:00 (50/143): jbigkit-libs-2.1-18.fc32.x86_64.rpm 2.2 MB/s | 53 kB 00:00 (51/143): langpacks-core-font-en-3.0-3.fc33.noa 426 kB/s | 9.4 kB 00:00 (52/143): lasi-1.1.3-2.fc32.x86_64.rpm 679 kB/s | 56 kB 00:00 (53/143): lcms2-2.9-7.fc32.x86_64.rpm 1.9 MB/s | 167 kB 00:00 (54/143): libICE-1.0.10-3.fc32.x86_64.rpm 1.8 MB/s | 71 kB 00:00 (55/143): kernel-headers-5.6.0-0.rc7.git0.1.fc3 7.1 MB/s | 1.2 MB 00:00 (56/143): libSM-1.2.3-5.fc32.x86_64.rpm 816 kB/s | 42 kB 00:00 (57/143): libX11-1.6.9-3.fc32.x86_64.rpm 11 MB/s | 660 kB 00:00 (58/143): libX11-common-1.6.9-3.fc32.noarch.rpm 2.8 MB/s | 153 kB 00:00 (59/143): libXau-1.0.9-3.fc32.x86_64.rpm 1.2 MB/s | 31 kB 00:00 (60/143): libX11-devel-1.6.9-3.fc32.x86_64.rpm 8.7 MB/s | 938 kB 00:00 (61/143): libXau-devel-1.0.9-3.fc32.x86_64.rpm 419 kB/s | 14 kB 00:00 (62/143): libX11-xcb-1.6.9-3.fc32.x86_64.rpm 103 kB/s | 11 kB 00:00 (63/143): libXcomposite-0.4.5-2.fc32.x86_64.rpm 826 kB/s | 23 kB 00:00 (64/143): libXdamage-1.1.5-2.fc32.x86_64.rpm 1.4 MB/s | 22 kB 00:00 (65/143): libXext-1.3.4-3.fc32.x86_64.rpm 2.0 MB/s | 39 kB 00:00 (66/143): libXaw-1.0.13-14.fc32.x86_64.rpm 2.6 MB/s | 201 kB 00:00 (67/143): libXcursor-1.2.0-2.fc32.x86_64.rpm 528 kB/s | 30 kB 00:00 (68/143): libXfixes-5.0.3-11.fc32.x86_64.rpm 1.2 MB/s | 19 kB 00:00 (69/143): libXft-2.3.3-3.fc32.x86_64.rpm 1.9 MB/s | 64 kB 00:00 (70/143): libXinerama-1.1.4-5.fc32.x86_64.rpm 392 kB/s | 14 kB 00:00 (71/143): libXi-1.7.10-3.fc32.x86_64.rpm 855 kB/s | 38 kB 00:00 (72/143): libXmu-1.1.3-3.fc32.x86_64.rpm 2.0 MB/s | 75 kB 00:00 (73/143): libXrandr-1.5.2-3.fc32.x86_64.rpm 1.3 MB/s | 27 kB 00:00 (74/143): libXrender-0.9.10-11.fc32.x86_64.rpm 1.0 MB/s | 27 kB 00:00 (75/143): libXt-1.2.0-1.fc32.x86_64.rpm 6.1 MB/s | 183 kB 00:00 (76/143): libXpm-3.5.13-2.fc32.x86_64.rpm 912 kB/s | 59 kB 00:00 (77/143): libXxf86vm-1.1.4-13.fc32.x86_64.rpm 398 kB/s | 18 kB 00:00 (78/143): libdatrie-0.2.9-11.fc32.x86_64.rpm 776 kB/s | 32 kB 00:00 (79/143): libevent-2.1.8-8.fc32.x86_64.rpm 6.0 MB/s | 254 kB 00:00 (80/143): libfontenc-1.1.3-12.fc32.x86_64.rpm 1.1 MB/s | 31 kB 00:00 (81/143): libcurl-devel-7.69.0-2.fc33.x86_64.rp 5.4 MB/s | 811 kB 00:00 (82/143): libdrm-2.4.100-2.fc32.x86_64.rpm 1.3 MB/s | 159 kB 00:00 (83/143): libglvnd-1.3.1-1.fc33.x86_64.rpm 3.2 MB/s | 142 kB 00:00 (84/143): libglvnd-egl-1.3.1-1.fc33.x86_64.rpm 2.9 MB/s | 46 kB 00:00 (85/143): libglvnd-gles-1.3.1-1.fc33.x86_64.rpm 1.5 MB/s | 37 kB 00:00 (86/143): libglvnd-core-devel-1.3.1-1.fc33.x86_ 336 kB/s | 19 kB 00:00 (87/143): libglvnd-glx-1.3.1-1.fc33.x86_64.rpm 6.3 MB/s | 159 kB 00:00 (88/143): libglvnd-devel-1.3.1-1.fc33.x86_64.rp 1.6 MB/s | 156 kB 00:00 (89/143): libglvnd-opengl-1.3.1-1.fc33.x86_64.r 490 kB/s | 49 kB 00:00 (90/143): libgs-9.50-1.fc33.x86_64.rpm 19 MB/s | 3.0 MB 00:00 (91/143): libidn-1.35-7.fc32.x86_64.rpm 1.6 MB/s | 240 kB 00:00 (92/143): libimagequant-2.12.6-2.fc32.x86_64.rp 1.1 MB/s | 62 kB 00:00 (93/143): libijs-0.35-11.fc32.x86_64.rpm 167 kB/s | 30 kB 00:00 (94/143): liblqr-1-0.4.2-14.fc32.x86_64.rpm 1.1 MB/s | 50 kB 00:00 (95/143): libjpeg-turbo-2.0.4-1.fc32.x86_64.rpm 1.2 MB/s | 168 kB 00:00 (96/143): libmpc-1.1.0-8.fc32.x86_64.rpm 870 kB/s | 59 kB 00:00 (97/143): libmcpp-2.7.2-25.fc32.x86_64.rpm 699 kB/s | 78 kB 00:00 (98/143): libpciaccess-0.16-2.fc32.x86_64.rpm 627 kB/s | 27 kB 00:00 (99/143): libpaper-1.1.24-26.fc32.x86_64.rpm 388 kB/s | 41 kB 00:00 (100/143): libpng-1.6.37-3.fc32.x86_64.rpm 1.9 MB/s | 116 kB 00:00 (101/143): libraqm-0.7.0-5.fc32.x86_64.rpm 207 kB/s | 19 kB 00:00 (102/143): libthai-0.1.28-4.fc32.x86_64.rpm 3.2 MB/s | 213 kB 00:00 (103/143): librsvg2-2.48.1-1.fc33.x86_64.rpm 20 MB/s | 3.1 MB 00:00 (104/143): libtiff-4.1.0-2.fc32.x86_64.rpm 4.0 MB/s | 185 kB 00:00 (105/143): libwayland-server-1.18.0-1.fc33.x86_ 1.1 MB/s | 43 kB 00:00 (106/143): libstdc++-devel-10.0.1-0.10.fc33.x86 10 MB/s | 2.0 MB 00:00 (107/143): libwayland-client-1.18.0-1.fc33.x86_ 550 kB/s | 35 kB 00:00 (108/143): libwmf-lite-0.2.12-3.fc32.x86_64.rpm 1.8 MB/s | 73 kB 00:00 (109/143): libxcb-1.13.1-4.fc32.x86_64.rpm 4.3 MB/s | 231 kB 00:00 (110/143): libwebp-1.1.0-2.fc32.x86_64.rpm 2.3 MB/s | 276 kB 00:00 (111/143): libxcb-devel-1.13.1-4.fc32.x86_64.rp 9.7 MB/s | 1.0 MB 00:00 (112/143): libxshmfence-1.3-6.fc32.x86_64.rpm 304 kB/s | 12 kB 00:00 (113/143): libxcrypt-devel-4.4.15-1.fc33.x86_64 242 kB/s | 34 kB 00:00 (114/143): mesa-libEGL-20.0.2-1.fc33.x86_64.rpm 1.5 MB/s | 123 kB 00:00 (115/143): mcpp-2.7.2-25.fc32.x86_64.rpm 215 kB/s | 27 kB 00:00 (116/143): mesa-libGL-20.0.2-1.fc33.x86_64.rpm 3.6 MB/s | 180 kB 00:00 (117/143): mesa-libglapi-20.0.2-1.fc33.x86_64.r 1.4 MB/s | 59 kB 00:00 (118/143): mesa-libEGL-devel-20.0.2-1.fc33.x86_ 137 kB/s | 19 kB 00:00 (119/143): mesa-libgbm-20.0.2-1.fc33.x86_64.rpm 410 kB/s | 43 kB 00:00 (120/143): nettle-3.5.1-5.fc32.x86_64.rpm 4.4 MB/s | 314 kB 00:00 (121/143): netpbm-10.90.00-1.fc33.x86_64.rpm 2.0 MB/s | 186 kB 00:00 (122/143): openal-soft-1.19.1-5.fc33.x86_64.rpm 5.9 MB/s | 548 kB 00:00 (123/143): openjpeg2-2.3.1-6.fc33.x86_64.rpm 2.0 MB/s | 154 kB 00:00 (124/143): openal-soft-devel-1.19.1-5.fc33.x86_ 443 kB/s | 53 kB 00:00 (125/143): pixman-0.38.4-2.fc32.x86_64.rpm 6.2 MB/s | 262 kB 00:00 (126/143): pango-1.44.7-2.fc32.x86_64.rpm 3.5 MB/s | 293 kB 00:00 (127/143): shared-mime-info-1.15-3.fc33.x86_64. 7.8 MB/s | 303 kB 00:00 (128/143): urw-base35-bookman-fonts-20170801-14 7.5 MB/s | 856 kB 00:00 (129/143): urw-base35-c059-fonts-20170801-14.fc 8.8 MB/s | 884 kB 00:00 (130/143): urw-base35-d050000l-fonts-20170801-1 601 kB/s | 78 kB 00:00 (131/143): urw-base35-fonts-20170801-14.fc32.no 181 kB/s | 10 kB 00:00 (132/143): urw-base35-fonts-common-20170801-14. 257 kB/s | 21 kB 00:00 (133/143): urw-base35-nimbus-mono-ps-fonts-2017 7.9 MB/s | 802 kB 00:00 (134/143): urw-base35-gothic-fonts-20170801-14. 5.9 MB/s | 652 kB 00:00 (135/143): urw-base35-p052-fonts-20170801-14.fc 15 MB/s | 984 kB 00:00 (136/143): urw-base35-nimbus-roman-fonts-201708 5.8 MB/s | 865 kB 00:00 (137/143): urw-base35-standard-symbols-ps-fonts 281 kB/s | 42 kB 00:00 (138/143): urw-base35-nimbus-sans-fonts-2017080 5.2 MB/s | 1.3 MB 00:00 (139/143): urw-base35-z003-fonts-20170801-14.fc 1.4 MB/s | 279 kB 00:00 (140/143): xorg-x11-font-utils-7.5-44.fc32.x86_ 833 kB/s | 104 kB 00:00 (141/143): xorg-x11-fonts-ISO8859-1-100dpi-7.5- 6.8 MB/s | 1.0 MB 00:00 (142/143): xorg-x11-server-utils-7.7-34.fc32.x8 2.3 MB/s | 188 kB 00:00 (143/143): xorg-x11-proto-devel-2019.1-3.fc32.n 1.3 MB/s | 262 kB 00:00 -------------------------------------------------------------------------------- Total 19 MB/s | 109 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : shared-mime-info-1.15-3.fc33.x86_64 1/143 Running scriptlet: shared-mime-info-1.15-3.fc33.x86_64 1/143 Installing : glib2-2.64.1-1.fc33.x86_64 2/143 Installing : libpng-2:1.6.37-3.fc32.x86_64 3/143 Installing : freetype-2.10.1-2.fc32.x86_64 4/143 Installing : libjpeg-turbo-2.0.4-1.fc32.x86_64 5/143 Installing : gdk-pixbuf2-2.40.0-2.fc32.x86_64 6/143 Installing : libglvnd-1:1.3.1-1.fc33.x86_64 7/143 Installing : libICE-1.0.10-3.fc32.x86_64 8/143 Installing : fonts-filesystem-2.0.3-1.fc33.noarch 9/143 Installing : urw-base35-fonts-common-20170801-14.fc32.noarch 10/143 Installing : libwebp-1.1.0-2.fc32.x86_64 11/143 Installing : libmpc-1.1.0-8.fc32.x86_64 12/143 Installing : libX11-xcb-1.6.9-3.fc32.x86_64 13/143 Installing : lcms2-2.9-7.fc32.x86_64 14/143 Installing : dejavu-sans-fonts-2.37-7.fc33.noarch 15/143 Installing : libSM-1.2.3-5.fc32.x86_64 16/143 Installing : jasper-libs-2.0.16-2.fc32.x86_64 17/143 Installing : atk-2.35.1-2.fc32.x86_64 18/143 Installing : xorg-x11-proto-devel-2019.1-3.fc32.noarch 19/143 Installing : pixman-0.38.4-2.fc32.x86_64 20/143 Installing : openjpeg2-2.3.1-6.fc33.x86_64 21/143 Installing : mesa-libglapi-20.0.2-1.fc33.x86_64 22/143 Installing : libxshmfence-1.3-6.fc32.x86_64 23/143 Installing : libwayland-server-1.18.0-1.fc33.x86_64 24/143 Installing : libXau-1.0.9-3.fc32.x86_64 25/143 Installing : libxcb-1.13.1-4.fc32.x86_64 26/143 Installing : jbigkit-libs-2.1-18.fc32.x86_64 27/143 Installing : libtiff-4.1.0-2.fc32.x86_64 28/143 Installing : ilmbase-2.3.0-4.fc32.x86_64 29/143 Installing : fribidi-1.0.9-1.fc33.x86_64 30/143 Installing : adobe-mappings-cmap-20171205-7.fc32.noarch 31/143 Installing : adobe-mappings-cmap-deprecated-20171205-7.fc32.n 32/143 Installing : OpenEXR-libs-2.3.0-5.fc32.x86_64 33/143 Installing : gdk-pixbuf2-modules-2.40.0-2.fc32.x86_64 34/143 Installing : libXau-devel-1.0.9-3.fc32.x86_64 35/143 Installing : libxcb-devel-1.13.1-4.fc32.x86_64 36/143 Installing : LibRaw-0.19.5-1.fc32.x86_64 37/143 Installing : langpacks-core-font-en-3.0-3.fc33.noarch 38/143 Installing : fontconfig-2.13.92-8.fc33.x86_64 39/143 Running scriptlet: fontconfig-2.13.92-8.fc33.x86_64 39/143 Installing : cpp-10.0.1-0.10.fc33.x86_64 40/143 Installing : google-droid-sans-fonts-20200215-3.fc33.noarch 41/143 Installing : libglvnd-gles-1:1.3.1-1.fc33.x86_64 42/143 Installing : libglvnd-opengl-1:1.3.1-1.fc33.x86_64 43/143 Installing : gtk-update-icon-cache-3.24.16-1.fc33.x86_64 44/143 Installing : liblqr-1-0.4.2-14.fc32.x86_64 45/143 Installing : openal-soft-1.19.1-5.fc33.x86_64 46/143 Installing : nettle-3.5.1-5.fc32.x86_64 47/143 Installing : gnutls-3.6.12-2.fc33.x86_64 48/143 Installing : netpbm-10.90.00-1.fc33.x86_64 49/143 Installing : gts-0.7.6-37.20121130.fc32.x86_64 50/143 Installing : libwmf-lite-0.2.12-3.fc32.x86_64 51/143 Installing : libwayland-client-1.18.0-1.fc33.x86_64 52/143 Installing : libstdc++-devel-10.0.1-0.10.fc33.x86_64 53/143 Installing : libpaper-1.1.24-26.fc32.x86_64 54/143 Installing : libmcpp-2.7.2-25.fc32.x86_64 55/143 Installing : mcpp-2.7.2-25.fc32.x86_64 56/143 Installing : libimagequant-2.12.6-2.fc32.x86_64 57/143 Installing : libijs-0.35-11.fc32.x86_64 58/143 Installing : libglvnd-core-devel-1:1.3.1-1.fc33.x86_64 59/143 Installing : libfontenc-1.1.3-12.fc32.x86_64 60/143 Installing : xorg-x11-font-utils-1:7.5-44.fc32.x86_64 61/143 Installing : xorg-x11-fonts-ISO8859-1-100dpi-7.5-24.fc32.noar 62/143 Running scriptlet: xorg-x11-fonts-ISO8859-1-100dpi-7.5-24.fc32.noar 62/143 Installing : libevent-2.1.8-8.fc32.x86_64 63/143 Installing : libdatrie-0.2.9-11.fc32.x86_64 64/143 Installing : libthai-0.1.28-4.fc32.x86_64 65/143 Installing : libX11-common-1.6.9-3.fc32.noarch 66/143 Installing : libX11-1.6.9-3.fc32.x86_64 67/143 Installing : libXext-1.3.4-3.fc32.x86_64 68/143 Installing : libXrender-0.9.10-11.fc32.x86_64 69/143 Installing : cairo-1.16.0-7.fc32.x86_64 70/143 Installing : libXfixes-5.0.3-11.fc32.x86_64 71/143 Installing : libXt-1.2.0-1.fc32.x86_64 72/143 Installing : libXmu-1.1.3-3.fc32.x86_64 73/143 Installing : libXcursor-1.2.0-2.fc32.x86_64 74/143 Installing : libXdamage-1.1.5-2.fc32.x86_64 75/143 Installing : libXrandr-1.5.2-3.fc32.x86_64 76/143 Installing : libXi-1.7.10-3.fc32.x86_64 77/143 Installing : libXinerama-1.1.4-5.fc32.x86_64 78/143 Installing : libXxf86vm-1.1.4-13.fc32.x86_64 79/143 Installing : xorg-x11-server-utils-7.7-34.fc32.x86_64 80/143 Installing : libX11-devel-1.6.9-3.fc32.x86_64 81/143 Installing : libXpm-3.5.13-2.fc32.x86_64 82/143 Installing : libXaw-1.0.13-14.fc32.x86_64 83/143 Installing : urw-base35-bookman-fonts-20170801-14.fc32.noarch 84/143 Running scriptlet: urw-base35-bookman-fonts-20170801-14.fc32.noarch 84/143 Installing : urw-base35-c059-fonts-20170801-14.fc32.noarch 85/143 Running scriptlet: urw-base35-c059-fonts-20170801-14.fc32.noarch 85/143 Installing : urw-base35-d050000l-fonts-20170801-14.fc32.noarc 86/143 Running scriptlet: urw-base35-d050000l-fonts-20170801-14.fc32.noarc 86/143 Installing : urw-base35-gothic-fonts-20170801-14.fc32.noarch 87/143 Running scriptlet: urw-base35-gothic-fonts-20170801-14.fc32.noarch 87/143 Installing : urw-base35-nimbus-mono-ps-fonts-20170801-14.fc32 88/143 Running scriptlet: urw-base35-nimbus-mono-ps-fonts-20170801-14.fc32 88/143 Installing : urw-base35-nimbus-roman-fonts-20170801-14.fc32.n 89/143 Running scriptlet: urw-base35-nimbus-roman-fonts-20170801-14.fc32.n 89/143 Installing : urw-base35-nimbus-sans-fonts-20170801-14.fc32.no 90/143 Running scriptlet: urw-base35-nimbus-sans-fonts-20170801-14.fc32.no 90/143 Installing : urw-base35-p052-fonts-20170801-14.fc32.noarch 91/143 Running scriptlet: urw-base35-p052-fonts-20170801-14.fc32.noarch 91/143 Installing : urw-base35-standard-symbols-ps-fonts-20170801-14 92/143 Running scriptlet: urw-base35-standard-symbols-ps-fonts-20170801-14 92/143 Installing : urw-base35-z003-fonts-20170801-14.fc32.noarch 93/143 Running scriptlet: urw-base35-z003-fonts-20170801-14.fc32.noarch 93/143 Installing : urw-base35-fonts-20170801-14.fc32.noarch 94/143 Installing : cairo-gobject-1.16.0-7.fc32.x86_64 95/143 Installing : libXft-2.3.3-3.fc32.x86_64 96/143 Installing : libXcomposite-0.4.5-2.fc32.x86_64 97/143 Installing : kernel-headers-5.6.0-0.rc7.git0.1.fc33.x86_64 98/143 Running scriptlet: glibc-headers-2.31.9000-5.fc33.x86_64 99/143 Installing : glibc-headers-2.31.9000-5.fc33.x86_64 99/143 Installing : libxcrypt-devel-4.4.15-1.fc33.x86_64 100/143 Installing : glibc-devel-2.31.9000-5.fc33.x86_64 101/143 Installing : jbig2dec-libs-0.17-4.fc32.x86_64 102/143 Installing : isl-0.16.1-10.fc32.x86_64 103/143 Installing : gcc-10.0.1-0.10.fc33.x86_64 104/143 Installing : hwdata-0.333-1.fc33.noarch 105/143 Installing : libpciaccess-0.16-2.fc32.x86_64 106/143 Installing : libdrm-2.4.100-2.fc32.x86_64 107/143 Installing : libglvnd-glx-1:1.3.1-1.fc33.x86_64 108/143 Installing : mesa-libGL-20.0.2-1.fc33.x86_64 109/143 Installing : mesa-libgbm-20.0.2-1.fc33.x86_64 110/143 Installing : libglvnd-egl-1:1.3.1-1.fc33.x86_64 111/143 Installing : mesa-libEGL-20.0.2-1.fc33.x86_64 112/143 Installing : libglvnd-devel-1:1.3.1-1.fc33.x86_64 113/143 Installing : mesa-libEGL-devel-20.0.2-1.fc33.x86_64 114/143 Installing : hicolor-icon-theme-0.17-8.fc32.noarch 115/143 Installing : graphite2-1.3.13-1.fc32.x86_64 116/143 Installing : harfbuzz-2.6.4-4.fc33.x86_64 117/143 Installing : pango-1.44.7-2.fc32.x86_64 118/143 Installing : librsvg2-2.48.1-1.fc33.x86_64 119/143 Installing : libraqm-0.7.0-5.fc32.x86_64 120/143 Installing : gd-2.3.0-1.fc33.x86_64 121/143 Installing : lasi-1.1.3-2.fc32.x86_64 122/143 Installing : fftw-libs-double-3.3.8-7.fc32.x86_64 123/143 Installing : enet-1.3.14-3.fc32.x86_64 124/143 Installing : emacs-filesystem-1:26.3-2.fc32.noarch 125/143 Installing : libidn-1.35-7.fc32.x86_64 126/143 Installing : dbus-libs-1:1.12.16-5.fc33.x86_64 127/143 Installing : avahi-libs-0.8-2.fc33.x86_64 128/143 Installing : cups-libs-1:2.3.1-5.fc32.x86_64 129/143 Installing : gtk2-2.24.32-7.fc32.x86_64 130/143 Installing : cmake-filesystem-3.17.0-1.fc33.x86_64 131/143 Installing : adobe-mappings-pdf-20180407-5.fc32.noarch 132/143 Installing : libgs-9.50-1.fc33.x86_64 133/143 Installing : graphviz-2.42.2-9.fc33.x86_64 134/143 Running scriptlet: graphviz-2.42.2-9.fc33.x86_64 134/143 Installing : ImageMagick-libs-1:6.9.10.86-2.fc32.x86_64 135/143 Installing : SDL2-2.0.12-1.fc33.x86_64 136/143 Installing : SDL2-devel-2.0.12-1.fc33.x86_64 137/143 Installing : ImageMagick-1:6.9.10.86-2.fc32.x86_64 138/143 Installing : openal-soft-devel-1.19.1-5.fc33.x86_64 139/143 Installing : enet-devel-1.3.14-3.fc32.x86_64 140/143 Installing : annobin-9.16-1.fc33.x86_64 141/143 Installing : gcc-c++-10.0.1-0.10.fc33.x86_64 142/143 Installing : libcurl-devel-7.69.0-2.fc33.x86_64 143/143 Running scriptlet: urw-base35-bookman-fonts-20170801-14.fc32.noarch 143/143 Running scriptlet: urw-base35-c059-fonts-20170801-14.fc32.noarch 143/143 Running scriptlet: urw-base35-d050000l-fonts-20170801-14.fc32.noarc 143/143 Running scriptlet: urw-base35-gothic-fonts-20170801-14.fc32.noarch 143/143 Running scriptlet: urw-base35-nimbus-mono-ps-fonts-20170801-14.fc32 143/143 Running scriptlet: urw-base35-nimbus-roman-fonts-20170801-14.fc32.n 143/143 Running scriptlet: urw-base35-nimbus-sans-fonts-20170801-14.fc32.no 143/143 Running scriptlet: urw-base35-p052-fonts-20170801-14.fc32.noarch 143/143 Running scriptlet: urw-base35-standard-symbols-ps-fonts-20170801-14 143/143 Running scriptlet: urw-base35-z003-fonts-20170801-14.fc32.noarch 143/143 Running scriptlet: libcurl-devel-7.69.0-2.fc33.x86_64 143/143 Verifying : ImageMagick-1:6.9.10.86-2.fc32.x86_64 1/143 Verifying : ImageMagick-libs-1:6.9.10.86-2.fc32.x86_64 2/143 Verifying : LibRaw-0.19.5-1.fc32.x86_64 3/143 Verifying : OpenEXR-libs-2.3.0-5.fc32.x86_64 4/143 Verifying : SDL2-2.0.12-1.fc33.x86_64 5/143 Verifying : SDL2-devel-2.0.12-1.fc33.x86_64 6/143 Verifying : adobe-mappings-cmap-20171205-7.fc32.noarch 7/143 Verifying : adobe-mappings-cmap-deprecated-20171205-7.fc32.n 8/143 Verifying : adobe-mappings-pdf-20180407-5.fc32.noarch 9/143 Verifying : annobin-9.16-1.fc33.x86_64 10/143 Verifying : atk-2.35.1-2.fc32.x86_64 11/143 Verifying : avahi-libs-0.8-2.fc33.x86_64 12/143 Verifying : cairo-1.16.0-7.fc32.x86_64 13/143 Verifying : cairo-gobject-1.16.0-7.fc32.x86_64 14/143 Verifying : cmake-filesystem-3.17.0-1.fc33.x86_64 15/143 Verifying : cpp-10.0.1-0.10.fc33.x86_64 16/143 Verifying : cups-libs-1:2.3.1-5.fc32.x86_64 17/143 Verifying : dbus-libs-1:1.12.16-5.fc33.x86_64 18/143 Verifying : dejavu-sans-fonts-2.37-7.fc33.noarch 19/143 Verifying : emacs-filesystem-1:26.3-2.fc32.noarch 20/143 Verifying : enet-1.3.14-3.fc32.x86_64 21/143 Verifying : enet-devel-1.3.14-3.fc32.x86_64 22/143 Verifying : fftw-libs-double-3.3.8-7.fc32.x86_64 23/143 Verifying : fontconfig-2.13.92-8.fc33.x86_64 24/143 Verifying : fonts-filesystem-2.0.3-1.fc33.noarch 25/143 Verifying : freetype-2.10.1-2.fc32.x86_64 26/143 Verifying : fribidi-1.0.9-1.fc33.x86_64 27/143 Verifying : gcc-10.0.1-0.10.fc33.x86_64 28/143 Verifying : gcc-c++-10.0.1-0.10.fc33.x86_64 29/143 Verifying : gd-2.3.0-1.fc33.x86_64 30/143 Verifying : gdk-pixbuf2-2.40.0-2.fc32.x86_64 31/143 Verifying : gdk-pixbuf2-modules-2.40.0-2.fc32.x86_64 32/143 Verifying : glib2-2.64.1-1.fc33.x86_64 33/143 Verifying : glibc-devel-2.31.9000-5.fc33.x86_64 34/143 Verifying : glibc-headers-2.31.9000-5.fc33.x86_64 35/143 Verifying : gnutls-3.6.12-2.fc33.x86_64 36/143 Verifying : google-droid-sans-fonts-20200215-3.fc33.noarch 37/143 Verifying : graphite2-1.3.13-1.fc32.x86_64 38/143 Verifying : graphviz-2.42.2-9.fc33.x86_64 39/143 Verifying : gtk-update-icon-cache-3.24.16-1.fc33.x86_64 40/143 Verifying : gtk2-2.24.32-7.fc32.x86_64 41/143 Verifying : gts-0.7.6-37.20121130.fc32.x86_64 42/143 Verifying : harfbuzz-2.6.4-4.fc33.x86_64 43/143 Verifying : hicolor-icon-theme-0.17-8.fc32.noarch 44/143 Verifying : hwdata-0.333-1.fc33.noarch 45/143 Verifying : ilmbase-2.3.0-4.fc32.x86_64 46/143 Verifying : isl-0.16.1-10.fc32.x86_64 47/143 Verifying : jasper-libs-2.0.16-2.fc32.x86_64 48/143 Verifying : jbig2dec-libs-0.17-4.fc32.x86_64 49/143 Verifying : jbigkit-libs-2.1-18.fc32.x86_64 50/143 Verifying : kernel-headers-5.6.0-0.rc7.git0.1.fc33.x86_64 51/143 Verifying : langpacks-core-font-en-3.0-3.fc33.noarch 52/143 Verifying : lasi-1.1.3-2.fc32.x86_64 53/143 Verifying : lcms2-2.9-7.fc32.x86_64 54/143 Verifying : libICE-1.0.10-3.fc32.x86_64 55/143 Verifying : libSM-1.2.3-5.fc32.x86_64 56/143 Verifying : libX11-1.6.9-3.fc32.x86_64 57/143 Verifying : libX11-common-1.6.9-3.fc32.noarch 58/143 Verifying : libX11-devel-1.6.9-3.fc32.x86_64 59/143 Verifying : libX11-xcb-1.6.9-3.fc32.x86_64 60/143 Verifying : libXau-1.0.9-3.fc32.x86_64 61/143 Verifying : libXau-devel-1.0.9-3.fc32.x86_64 62/143 Verifying : libXaw-1.0.13-14.fc32.x86_64 63/143 Verifying : libXcomposite-0.4.5-2.fc32.x86_64 64/143 Verifying : libXcursor-1.2.0-2.fc32.x86_64 65/143 Verifying : libXdamage-1.1.5-2.fc32.x86_64 66/143 Verifying : libXext-1.3.4-3.fc32.x86_64 67/143 Verifying : libXfixes-5.0.3-11.fc32.x86_64 68/143 Verifying : libXft-2.3.3-3.fc32.x86_64 69/143 Verifying : libXi-1.7.10-3.fc32.x86_64 70/143 Verifying : libXinerama-1.1.4-5.fc32.x86_64 71/143 Verifying : libXmu-1.1.3-3.fc32.x86_64 72/143 Verifying : libXpm-3.5.13-2.fc32.x86_64 73/143 Verifying : libXrandr-1.5.2-3.fc32.x86_64 74/143 Verifying : libXrender-0.9.10-11.fc32.x86_64 75/143 Verifying : libXt-1.2.0-1.fc32.x86_64 76/143 Verifying : libXxf86vm-1.1.4-13.fc32.x86_64 77/143 Verifying : libcurl-devel-7.69.0-2.fc33.x86_64 78/143 Verifying : libdatrie-0.2.9-11.fc32.x86_64 79/143 Verifying : libdrm-2.4.100-2.fc32.x86_64 80/143 Verifying : libevent-2.1.8-8.fc32.x86_64 81/143 Verifying : libfontenc-1.1.3-12.fc32.x86_64 82/143 Verifying : libglvnd-1:1.3.1-1.fc33.x86_64 83/143 Verifying : libglvnd-core-devel-1:1.3.1-1.fc33.x86_64 84/143 Verifying : libglvnd-devel-1:1.3.1-1.fc33.x86_64 85/143 Verifying : libglvnd-egl-1:1.3.1-1.fc33.x86_64 86/143 Verifying : libglvnd-gles-1:1.3.1-1.fc33.x86_64 87/143 Verifying : libglvnd-glx-1:1.3.1-1.fc33.x86_64 88/143 Verifying : libglvnd-opengl-1:1.3.1-1.fc33.x86_64 89/143 Verifying : libgs-9.50-1.fc33.x86_64 90/143 Verifying : libidn-1.35-7.fc32.x86_64 91/143 Verifying : libijs-0.35-11.fc32.x86_64 92/143 Verifying : libimagequant-2.12.6-2.fc32.x86_64 93/143 Verifying : libjpeg-turbo-2.0.4-1.fc32.x86_64 94/143 Verifying : liblqr-1-0.4.2-14.fc32.x86_64 95/143 Verifying : libmcpp-2.7.2-25.fc32.x86_64 96/143 Verifying : libmpc-1.1.0-8.fc32.x86_64 97/143 Verifying : libpaper-1.1.24-26.fc32.x86_64 98/143 Verifying : libpciaccess-0.16-2.fc32.x86_64 99/143 Verifying : libpng-2:1.6.37-3.fc32.x86_64 100/143 Verifying : libraqm-0.7.0-5.fc32.x86_64 101/143 Verifying : librsvg2-2.48.1-1.fc33.x86_64 102/143 Verifying : libstdc++-devel-10.0.1-0.10.fc33.x86_64 103/143 Verifying : libthai-0.1.28-4.fc32.x86_64 104/143 Verifying : libtiff-4.1.0-2.fc32.x86_64 105/143 Verifying : libwayland-client-1.18.0-1.fc33.x86_64 106/143 Verifying : libwayland-server-1.18.0-1.fc33.x86_64 107/143 Verifying : libwebp-1.1.0-2.fc32.x86_64 108/143 Verifying : libwmf-lite-0.2.12-3.fc32.x86_64 109/143 Verifying : libxcb-1.13.1-4.fc32.x86_64 110/143 Verifying : libxcb-devel-1.13.1-4.fc32.x86_64 111/143 Verifying : libxcrypt-devel-4.4.15-1.fc33.x86_64 112/143 Verifying : libxshmfence-1.3-6.fc32.x86_64 113/143 Verifying : mcpp-2.7.2-25.fc32.x86_64 114/143 Verifying : mesa-libEGL-20.0.2-1.fc33.x86_64 115/143 Verifying : mesa-libEGL-devel-20.0.2-1.fc33.x86_64 116/143 Verifying : mesa-libGL-20.0.2-1.fc33.x86_64 117/143 Verifying : mesa-libgbm-20.0.2-1.fc33.x86_64 118/143 Verifying : mesa-libglapi-20.0.2-1.fc33.x86_64 119/143 Verifying : netpbm-10.90.00-1.fc33.x86_64 120/143 Verifying : nettle-3.5.1-5.fc32.x86_64 121/143 Verifying : openal-soft-1.19.1-5.fc33.x86_64 122/143 Verifying : openal-soft-devel-1.19.1-5.fc33.x86_64 123/143 Verifying : openjpeg2-2.3.1-6.fc33.x86_64 124/143 Verifying : pango-1.44.7-2.fc32.x86_64 125/143 Verifying : pixman-0.38.4-2.fc32.x86_64 126/143 Verifying : shared-mime-info-1.15-3.fc33.x86_64 127/143 Verifying : urw-base35-bookman-fonts-20170801-14.fc32.noarch 128/143 Verifying : urw-base35-c059-fonts-20170801-14.fc32.noarch 129/143 Verifying : urw-base35-d050000l-fonts-20170801-14.fc32.noarc 130/143 Verifying : urw-base35-fonts-20170801-14.fc32.noarch 131/143 Verifying : urw-base35-fonts-common-20170801-14.fc32.noarch 132/143 Verifying : urw-base35-gothic-fonts-20170801-14.fc32.noarch 133/143 Verifying : urw-base35-nimbus-mono-ps-fonts-20170801-14.fc32 134/143 Verifying : urw-base35-nimbus-roman-fonts-20170801-14.fc32.n 135/143 Verifying : urw-base35-nimbus-sans-fonts-20170801-14.fc32.no 136/143 Verifying : urw-base35-p052-fonts-20170801-14.fc32.noarch 137/143 Verifying : urw-base35-standard-symbols-ps-fonts-20170801-14 138/143 Verifying : urw-base35-z003-fonts-20170801-14.fc32.noarch 139/143 Verifying : xorg-x11-font-utils-1:7.5-44.fc32.x86_64 140/143 Verifying : xorg-x11-fonts-ISO8859-1-100dpi-7.5-24.fc32.noar 141/143 Verifying : xorg-x11-proto-devel-2019.1-3.fc32.noarch 142/143 Verifying : xorg-x11-server-utils-7.7-34.fc32.x86_64 143/143 Installed: ImageMagick-1:6.9.10.86-2.fc32.x86_64 ImageMagick-libs-1:6.9.10.86-2.fc32.x86_64 LibRaw-0.19.5-1.fc32.x86_64 OpenEXR-libs-2.3.0-5.fc32.x86_64 SDL2-2.0.12-1.fc33.x86_64 SDL2-devel-2.0.12-1.fc33.x86_64 adobe-mappings-cmap-20171205-7.fc32.noarch adobe-mappings-cmap-deprecated-20171205-7.fc32.noarch adobe-mappings-pdf-20180407-5.fc32.noarch annobin-9.16-1.fc33.x86_64 atk-2.35.1-2.fc32.x86_64 avahi-libs-0.8-2.fc33.x86_64 cairo-1.16.0-7.fc32.x86_64 cairo-gobject-1.16.0-7.fc32.x86_64 cmake-filesystem-3.17.0-1.fc33.x86_64 cpp-10.0.1-0.10.fc33.x86_64 cups-libs-1:2.3.1-5.fc32.x86_64 dbus-libs-1:1.12.16-5.fc33.x86_64 dejavu-sans-fonts-2.37-7.fc33.noarch emacs-filesystem-1:26.3-2.fc32.noarch enet-1.3.14-3.fc32.x86_64 enet-devel-1.3.14-3.fc32.x86_64 fftw-libs-double-3.3.8-7.fc32.x86_64 fontconfig-2.13.92-8.fc33.x86_64 fonts-filesystem-2.0.3-1.fc33.noarch freetype-2.10.1-2.fc32.x86_64 fribidi-1.0.9-1.fc33.x86_64 gcc-10.0.1-0.10.fc33.x86_64 gcc-c++-10.0.1-0.10.fc33.x86_64 gd-2.3.0-1.fc33.x86_64 gdk-pixbuf2-2.40.0-2.fc32.x86_64 gdk-pixbuf2-modules-2.40.0-2.fc32.x86_64 glib2-2.64.1-1.fc33.x86_64 glibc-devel-2.31.9000-5.fc33.x86_64 glibc-headers-2.31.9000-5.fc33.x86_64 gnutls-3.6.12-2.fc33.x86_64 google-droid-sans-fonts-20200215-3.fc33.noarch graphite2-1.3.13-1.fc32.x86_64 graphviz-2.42.2-9.fc33.x86_64 gtk-update-icon-cache-3.24.16-1.fc33.x86_64 gtk2-2.24.32-7.fc32.x86_64 gts-0.7.6-37.20121130.fc32.x86_64 harfbuzz-2.6.4-4.fc33.x86_64 hicolor-icon-theme-0.17-8.fc32.noarch hwdata-0.333-1.fc33.noarch ilmbase-2.3.0-4.fc32.x86_64 isl-0.16.1-10.fc32.x86_64 jasper-libs-2.0.16-2.fc32.x86_64 jbig2dec-libs-0.17-4.fc32.x86_64 jbigkit-libs-2.1-18.fc32.x86_64 kernel-headers-5.6.0-0.rc7.git0.1.fc33.x86_64 langpacks-core-font-en-3.0-3.fc33.noarch lasi-1.1.3-2.fc32.x86_64 lcms2-2.9-7.fc32.x86_64 libICE-1.0.10-3.fc32.x86_64 libSM-1.2.3-5.fc32.x86_64 libX11-1.6.9-3.fc32.x86_64 libX11-common-1.6.9-3.fc32.noarch libX11-devel-1.6.9-3.fc32.x86_64 libX11-xcb-1.6.9-3.fc32.x86_64 libXau-1.0.9-3.fc32.x86_64 libXau-devel-1.0.9-3.fc32.x86_64 libXaw-1.0.13-14.fc32.x86_64 libXcomposite-0.4.5-2.fc32.x86_64 libXcursor-1.2.0-2.fc32.x86_64 libXdamage-1.1.5-2.fc32.x86_64 libXext-1.3.4-3.fc32.x86_64 libXfixes-5.0.3-11.fc32.x86_64 libXft-2.3.3-3.fc32.x86_64 libXi-1.7.10-3.fc32.x86_64 libXinerama-1.1.4-5.fc32.x86_64 libXmu-1.1.3-3.fc32.x86_64 libXpm-3.5.13-2.fc32.x86_64 libXrandr-1.5.2-3.fc32.x86_64 libXrender-0.9.10-11.fc32.x86_64 libXt-1.2.0-1.fc32.x86_64 libXxf86vm-1.1.4-13.fc32.x86_64 libcurl-devel-7.69.0-2.fc33.x86_64 libdatrie-0.2.9-11.fc32.x86_64 libdrm-2.4.100-2.fc32.x86_64 libevent-2.1.8-8.fc32.x86_64 libfontenc-1.1.3-12.fc32.x86_64 libglvnd-1:1.3.1-1.fc33.x86_64 libglvnd-core-devel-1:1.3.1-1.fc33.x86_64 libglvnd-devel-1:1.3.1-1.fc33.x86_64 libglvnd-egl-1:1.3.1-1.fc33.x86_64 libglvnd-gles-1:1.3.1-1.fc33.x86_64 libglvnd-glx-1:1.3.1-1.fc33.x86_64 libglvnd-opengl-1:1.3.1-1.fc33.x86_64 libgs-9.50-1.fc33.x86_64 libidn-1.35-7.fc32.x86_64 libijs-0.35-11.fc32.x86_64 libimagequant-2.12.6-2.fc32.x86_64 libjpeg-turbo-2.0.4-1.fc32.x86_64 liblqr-1-0.4.2-14.fc32.x86_64 libmcpp-2.7.2-25.fc32.x86_64 libmpc-1.1.0-8.fc32.x86_64 libpaper-1.1.24-26.fc32.x86_64 libpciaccess-0.16-2.fc32.x86_64 libpng-2:1.6.37-3.fc32.x86_64 libraqm-0.7.0-5.fc32.x86_64 librsvg2-2.48.1-1.fc33.x86_64 libstdc++-devel-10.0.1-0.10.fc33.x86_64 libthai-0.1.28-4.fc32.x86_64 libtiff-4.1.0-2.fc32.x86_64 libwayland-client-1.18.0-1.fc33.x86_64 libwayland-server-1.18.0-1.fc33.x86_64 libwebp-1.1.0-2.fc32.x86_64 libwmf-lite-0.2.12-3.fc32.x86_64 libxcb-1.13.1-4.fc32.x86_64 libxcb-devel-1.13.1-4.fc32.x86_64 libxcrypt-devel-4.4.15-1.fc33.x86_64 libxshmfence-1.3-6.fc32.x86_64 mcpp-2.7.2-25.fc32.x86_64 mesa-libEGL-20.0.2-1.fc33.x86_64 mesa-libEGL-devel-20.0.2-1.fc33.x86_64 mesa-libGL-20.0.2-1.fc33.x86_64 mesa-libgbm-20.0.2-1.fc33.x86_64 mesa-libglapi-20.0.2-1.fc33.x86_64 netpbm-10.90.00-1.fc33.x86_64 nettle-3.5.1-5.fc32.x86_64 openal-soft-1.19.1-5.fc33.x86_64 openal-soft-devel-1.19.1-5.fc33.x86_64 openjpeg2-2.3.1-6.fc33.x86_64 pango-1.44.7-2.fc32.x86_64 pixman-0.38.4-2.fc32.x86_64 shared-mime-info-1.15-3.fc33.x86_64 urw-base35-bookman-fonts-20170801-14.fc32.noarch urw-base35-c059-fonts-20170801-14.fc32.noarch urw-base35-d050000l-fonts-20170801-14.fc32.noarch urw-base35-fonts-20170801-14.fc32.noarch urw-base35-fonts-common-20170801-14.fc32.noarch urw-base35-gothic-fonts-20170801-14.fc32.noarch urw-base35-nimbus-mono-ps-fonts-20170801-14.fc32.noarch urw-base35-nimbus-roman-fonts-20170801-14.fc32.noarch urw-base35-nimbus-sans-fonts-20170801-14.fc32.noarch urw-base35-p052-fonts-20170801-14.fc32.noarch urw-base35-standard-symbols-ps-fonts-20170801-14.fc32.noarch urw-base35-z003-fonts-20170801-14.fc32.noarch xorg-x11-font-utils-1:7.5-44.fc32.x86_64 xorg-x11-fonts-ISO8859-1-100dpi-7.5-24.fc32.noarch xorg-x11-proto-devel-2019.1-3.fc32.noarch xorg-x11-server-utils-7.7-34.fc32.x86_64 Complete! Finish: build setup for 7kaa-2.15.3-103.src.rpm Start: rpmbuild 7kaa-2.15.3-103.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1585353600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AruZXs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf 7kaa-2.15.3 + /usr/bin/xz -dc /builddir/build/SOURCES/7kaa-2.15.3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd 7kaa-2.15.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EncH0u + umask 022 + cd /builddir/build/BUILD + cd 7kaa-2.15.3 + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/7kaa checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether g++ supports C++11 features by default... yes checking whether char is signed... yes checking checking if compiler can emit 387 instructions... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for int16_t... yes checking for int32_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for _NSGetExecutablePath... no checking for strcasecmp() in string.h... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for gettext... yes checking for iconv... yes checking for openal... yes checking for sdl2 >= 2.0.4... yes checking for libenet... yes checking for libcurl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating src/curl/Makefile config.status: creating src/enet/Makefile config.status: creating src/imgfun/Makefile config.status: creating src/imgfun/generic/Makefile config.status: creating src/imgfun/x86/Makefile config.status: creating src/openal/Makefile config.status: creating po/Makefile.in config.status: creating include/config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: audio backend: openal configure: video backend: sdl configure: input backend: sdl configure: x86 asm: no configure: multiplayer: yes configure: debugging features: no + make -j2 Making all in data make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/data' Making all in include make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/include' make all-am make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/include' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/include' make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/include' Making all in src make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src' Making all in enet make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/enet' g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o multiplayer.o multiplayer.cpp multiplayer.cpp: In member function 'int MultiPlayer::poll_sessions()': multiplayer.cpp:345:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 345 | if (prev = get_session(m->session_id)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiplayer.cpp: In member function 'void MultiPlayer::do_host_nat_punch(MpMsgHostNatPunch*)': multiplayer.cpp:1216:13: warning: unused variable 'b' [-Wunused-variable] 1216 | ENetBuffer b; | ^ multiplayer.cpp:1217:12: warning: unused variable 'm' [-Wunused-variable] 1217 | MpMsgPing m; | ^ In file included from /usr/include/string.h:495, from ../../include/OSTR.h:27, from ../../include/ALL.h:30, from ../../include/ODYNARR.h:28, from ../../include/ODYNARRB.h:28, from ../../include/multiplayer.h:31, from multiplayer.cpp:25: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void MultiPlayer::send_req_login_id()' at multiplayer.cpp:1107:9, inlined from 'int MultiPlayer::poll_sessions()' at multiplayer.cpp:363:21: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void MultiPlayer::send_user_session_status(ENetAddress*)' at multiplayer.cpp:1093:9: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void MultiPlayer::send_req_login_id()' at multiplayer.cpp:1107:9: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void MultiPlayer::send_req_login_id()' at multiplayer.cpp:1107:9, inlined from 'int MultiPlayer::poll_players()' at multiplayer.cpp:878:22: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libmultiplayer.a ar cru libmultiplayer.a multiplayer.o ranlib libmultiplayer.a make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/enet' Making all in imgfun make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' Making all in generic make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun/generic' g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o CRC.o CRC.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB.o IB.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB2.o IB2.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_32.o IB_32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_A.o IB_A.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_AR.o IB_AR.cpp IB_AR.cpp: In function 'void IMGbltAreaRemap(char*, int, int, int, char*, int, int, int, int, char*)': IB_AR.cpp:70:56: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | imageBuf[ dest + i ] = colorTable[ bitmapBuf[esi + i] ]; | ~~~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_AT.o IB_AT.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_ATD.o IB_ATD.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_ATDM.o IB_ATDM.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_ATR.o IB_ATR.cpp IB_ATR.cpp: In function 'void IMGbltAreaTransRemap(char*, int, int, int, char*, int, int, int, int, char*)': IB_ATR.cpp:74:57: warning: array subscript has type 'char' [-Wchar-subscripts] 74 | imageBuf[destline + i] = colorTable[ bitmapBuf[esi+i] ]; | ~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_ATRD.o IB_ATRD.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_ATRDM.o IB_ATRDM.cpp IB_ATRD.cpp: In function 'void IMGbltAreaTransRemapDecompress(char*, int, int, int, char*, int, int, int, int, char*)': IB_ATRD.cpp:92:6: warning: unused variable 'bitmapHeight' [-Wunused-variable] 92 | int bitmapHeight = ((unsigned char*)bitmapBuf)[2] + (((unsigned char*)bitmapBuf)[3]<<8); | ^~~~~~~~~~~~ IB_ATRDM.cpp: In function 'void IMGbltAreaTransRemapDecompressHMirror(char*, int, int, int, char*, int, int, int, int, char*)': IB_ATRDM.cpp:95:6: warning: unused variable 'bitmapHeight' [-Wunused-variable] 95 | int bitmapHeight = ((unsigned char*)bitmapBuf)[2] + (((unsigned char*)bitmapBuf)[3]<<8); | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_DW.o IB_DW.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_R.o IB_R.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_RD.o IB_RD.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_T.o IB_T.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_TD.o IB_TD.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_TDM.o IB_TDM.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_TR.o IB_TR.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_TRD.o IB_TRD.cpp IB_TR.cpp: In function 'void IMGbltTransRemap(char*, int, int, int, char*, char*)': IB_TR.cpp:68:57: warning: array subscript has type 'char' [-Wchar-subscripts] 68 | imageBuf[destline + i] = colorTable[ bitmapBuf[esi+i] ]; | ~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IB_TRDM.o IB_TRDM.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IC.o IC.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IC_R.o IC_R.cpp IC_R.cpp: In function 'void IMGcopyRemap(char*, int, char*, int, int, int, int, int, unsigned char*)': IC_R.cpp:56:54: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | imageBuf[ dest + i ] = colorTable[ backBuf[src + i] ]; | ~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IJ_T.o IJ_T.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IR.o IR.cpp IR.cpp: In function 'void IMGremap(char*, int, int, int, char*, unsigned char**)': IR.cpp:59:47: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | colorTableArray[ al ][ imageBuf[destline+i] ]; | ~~~~~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IR_A.o IR_A.cpp IR_A.cpp: In function 'void IMGremapArea(char*, int, int, int, char*, unsigned char**, int, int, int, int)': IR_A.cpp:59:43: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | colorTableArray[ al ][ imageBuf[dest+i] ]; | ~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IR_AM.o IR_AM.cpp IR_AM.cpp: In function 'void IMGremapAreaHMirror(char*, int, int, int, char*, unsigned char**, int, int, int, int)': IR_AM.cpp:60:43: warning: array subscript has type 'char' [-Wchar-subscripts] 60 | colorTableArray[ al ][ imageBuf[dest+i] ]; | ~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IR_BAR.o IR_BAR.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o IR_M.o IR_M.cpp IR_M.cpp: In function 'void IMGremapHMirror(char*, int, int, int, char*, unsigned char**)': IR_M.cpp:59:47: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | colorTableArray[ al ][ imageBuf[destline+i] ]; | ~~~~~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_BAR.o I_BAR.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_BLACK.o I_BLACK.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_EMASK.o I_EMASK.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_EREMAP.o I_EREMAP.cpp I_EREMAP.cpp: In function 'void IMGremap16x16(char*, int, int, int, char*, char**)': I_EREMAP.cpp:91:50: warning: array subscript has type 'char' [-Wchar-subscripts] 91 | table = colorTableArray[ maskPtr[ srcline + i ] ]; | ~~~~~~~~~~~~~~~~~~~~~^ I_EREMAP.cpp:85:6: warning: unused variable 'al' [-Wunused-variable] 85 | int al; | ^~ g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_FONT.o I_FONT.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_FREMAP.o I_FREMAP.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_LINE.o I_LINE.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_PIXEL.o I_PIXEL.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_READ.o I_READ.cpp g++ -DHAVE_CONFIG_H -I. -I../../../include -include "../../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o I_SNOW.o I_SNOW.cpp rm -f libimgfun_generic.a ar cru libimgfun_generic.a CRC.o IB.o IB2.o IB_32.o IB_A.o IB_AR.o IB_AT.o IB_ATD.o IB_ATDM.o IB_ATR.o IB_ATRD.o IB_ATRDM.o IB_DW.o IB_R.o IB_RD.o IB_T.o IB_TD.o IB_TDM.o IB_TR.o IB_TRD.o IB_TRDM.o IC.o IC_R.o IJ_T.o IR.o IR_A.o IR_AM.o IR_BAR.o IR_M.o I_BAR.o I_BLACK.o I_EMASK.o I_EREMAP.o I_FONT.o I_FREMAP.o I_LINE.o I_PIXEL.o I_READ.o I_SNOW.o ranlib libimgfun_generic.a make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun/generic' make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' Making all in openal make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/openal' g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/AL -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o openal_audio.o openal_audio.cpp g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/AL -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o wav_stream.o wav_stream.cpp rm -f libaudio_openal.a ar cru libaudio_openal.a openal_audio.o wav_stream.o ranlib libaudio_openal.a make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/openal' Making all in curl make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/curl' g++ -DHAVE_CONFIG_H -I. -I../../include -include "../../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o WebService.o WebService.cpp rm -f libWebService.a ar cru libWebService.a WebService.o ranlib libWebService.a make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/curl' make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src' g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o AM.o AM.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ConfigAdv.o ConfigAdv.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ConfigAdv.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o CmdLine.o CmdLine.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o LocaleRes.o LocaleRes.cpp LocaleRes.cpp: In member function 'void LocaleRes::init()': LocaleRes.cpp:71:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 71 | else if( env_locale_dir = getenv("SKLOCALE") ) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_ACT.o OAI_ACT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from AM.cpp:36: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from AM.cpp:68: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OAI_ACT.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_ACT.cpp: In member function 'int Nation::process_action(int, int)': OAI_ACT.cpp:203:8: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 203 | else if( rc== -1 ) // action failed, remove immediately if return -1 | ^~ OAI_ACT.cpp: In member function 'void Nation::action_finished(uint16_t, short int, int)': OAI_ACT.cpp:595:18: warning: 'actionNode' may be used uninitialized in this function [-Wmaybe-uninitialized] 595 | if( actionNode->action_type != ACTION_FIXED ) | ~~~~~~~~~~~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_ACT2.o OAI_ACT2.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_ATTK.o OAI_ATTK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_ATTK.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OAI_ACT2.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_ACT2.cpp: In member function 'int Nation::ai_assign_overseer(ActionNode*)': OAI_ACT2.cpp:151:12: warning: unused variable 'firmInfo' [-Wunused-variable] 151 | FirmInfo* firmInfo = firm_res[firmId]; | ^~~~~~~~ OAI_ACT2.cpp: In member function 'int Nation::ai_assign_worker(ActionNode*)': OAI_ACT2.cpp:322:12: warning: unused variable 'firmInfo' [-Wunused-variable] 322 | FirmInfo* firmInfo = firm_res[firmId]; | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_BUIL.o OAI_BUIL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_BUIL.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_CAP2.o OAI_CAP2.cpp OAI_CAP2.cpp:460:60: warning: "/*" within comment [-Wcomment] 460 | if( townPtr->nation_recno == targetTown->nation_recno ) //**BUGHERE | In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_CAP2.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_BUIL.cpp: In member function 'int Nation::ai_supported_inn_count()': OAI_BUIL.cpp:305:8: warning: unused variable 'fixedExpense' [-Wunused-variable] 305 | float fixedExpense = fixed_expense_365days(); | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_CAPT.o OAI_CAPT.cpp OAI_CAP2.cpp: In member function 'Town* Nation::think_capture_enemy_town_target(Town*)': OAI_CAP2.cpp:264:10: warning: unused variable 'ownNation' [-Wunused-variable] 264 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ OAI_CAP2.cpp:267:8: warning: variable 'neededCombatLevel' set but not used [-Wunused-but-set-variable] 267 | int neededCombatLevel=0; | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_DEFE.o OAI_DEFE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_CAPT.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OAI_DEFE.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_CAPT.cpp: In member function 'int Nation::capture_expected_resistance(int, int*)': OAI_CAPT.cpp:227:6: warning: unused variable 'captureRating' [-Wunused-variable] 227 | int captureRating = 0; | ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_DIPL.o OAI_DIPL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OAI_DIPL.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_ECO.o OAI_ECO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_ECO.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_DIPL.cpp: In member function 'int Nation::think_request_cease_war()': OAI_DIPL.cpp:365:14: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 365 | Nation* nationPtr; | ^~~~~~~~~ OAI_DIPL.cpp: In member function 'int Nation::think_trade_treaty()': OAI_DIPL.cpp:479:13: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 479 | Nation* nationPtr; | ^~~~~~~~~ OAI_DIPL.cpp: In member function 'int Nation::think_declare_war()': OAI_DIPL.cpp:636:6: warning: unused variable 'rc' [-Wunused-variable] 636 | int rc=0; | ^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_GRAN.o OAI_GRAN.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_INFO.o OAI_INFO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from OAI_GRAN.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MARK.h:28, from OAI_INFO.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_GRAN.cpp: In member function 'int Nation::think_ally_against_big_enemy()': OAI_GRAN.cpp:725:10: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 725 | Nation* nationPtr; | ^~~~~~~~~ OAI_GRAN.cpp:727:18: warning: variable 'ourNationRelation' set but not used [-Wunused-but-set-variable] 727 | NationRelation *ourNationRelation, *enemyNationRelation; | ^~~~~~~~~~~~~~~~~ OAI_GRAN.cpp:727:38: warning: variable 'enemyNationRelation' set but not used [-Wunused-but-set-variable] 727 | NationRelation *ourNationRelation, *enemyNationRelation; | ^~~~~~~~~~~~~~~~~~~ OAI_GRAN.cpp: In member function 'int Nation::think_attack_enemy_firm(int, int)': OAI_GRAN.cpp:830:11: warning: unused variable 'nationPtr' [-Wunused-variable] 830 | Nation *nationPtr = nation_array[enemyNationRecno]; | ^~~~~~~~~ OAI_INFO.cpp: In member function 'void Nation::update_ai_region()': OAI_INFO.cpp:251:35: warning: array subscript has type 'char' [-Wchar-subscripts] 251 | ai_region_array[ai_region_count++].region_id = townPtr->region_id; | ~~~~~~~~~~~~~~~^~ OAI_INFO.cpp: In member function 'void Nation::add_general_info(short int)': OAI_INFO.cpp:307:8: warning: unused variable 'unitPtr' [-Wunused-variable] 307 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ OAI_INFO.cpp: In member function 'void Nation::del_general_info(short int)': OAI_INFO.cpp:321:8: warning: unused variable 'unitPtr' [-Wunused-variable] 321 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_MAIN.o OAI_MAIN.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_MAR2.o OAI_MAR2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OAI_MAIN.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_MAR2.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_MAR2.cpp: In member function 'int Nation::ai_sea_travel3(ActionNode*)': OAI_MAR2.cpp:202:8: warning: variable 'unitCount' set but not used [-Wunused-but-set-variable] 202 | short unitCount; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_MAR3.o OAI_MAR3.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_MARI.o OAI_MARI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_MAR3.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OAI_MARI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_MAR3.cpp: In member function 'int Nation::ai_settle_to_region(int, int, int)': OAI_MAR3.cpp:96:6: warning: unused variable 'loopCount' [-Wunused-variable] 96 | int loopCount=0; | ^~~~~~~~~ OAI_MARI.cpp: In member function 'int Nation::ai_build_harbor(int, int)': OAI_MARI.cpp:198:34: warning: variable 'bestYLoc' set but not used [-Wunused-but-set-variable] 198 | int xLoc, yLoc, bestXLoc= -1, bestYLoc= -1, maxEnemyDistance=0; | ^~~~~~~~ OAI_MARI.cpp:193:26: warning: 'townPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 193 | int homeYLoc = townPtr->center_y; | ~~~~~~~~~^~~~~~~~ OAI_MAR3.cpp: In member function 'int Nation::think_move_to_region_with_mine()': OAI_MAR3.cpp:322:24: warning: 'sitePtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 322 | sitePtr->map_x_loc+1, sitePtr->map_y_loc+1 ); | ~~~~~~~~~^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_MILI.o OAI_MILI.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_MONS.o OAI_MONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from OAI_MILI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MONS.h:28, from OAI_MONS.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_QUER.o OAI_QUER.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_SEEK.o OAI_SEEK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OAI_QUER.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_SEEK.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_SPY.o OAI_SPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OAI_SPY.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_SEEK.cpp: In member function 'int Nation::find_best_firm_loc(short int, short int, short int, short int&, short int&)': OAI_SEEK.cpp:504:8: warning: 'refX1' may be used uninitialized in this function [-Wmaybe-uninitialized] 504 | refX1 -= firmLocWidth/2; // since we use loc_x1 as the building reference, we need to shift it so it will match the use of center_x in effective distance | ~~~~~~^~~~~~~~~~~~~~~~~ OAI_SEEK.cpp:505:8: warning: 'refY1' may be used uninitialized in this function [-Wmaybe-uninitialized] 505 | refY1 -= firmLocHeight/2; | ~~~~~~^~~~~~~~~~~~~~~~~~ OAI_SEEK.cpp:517:9: warning: 'refY2' may be used uninitialized in this function [-Wmaybe-uninitialized] 517 | refY2 -= firmLocHeight/2; | ~~~~~~^~~~~~~~~~~~~~~~~~ OAI_SEEK.cpp:512:9: warning: 'refX2' may be used uninitialized in this function [-Wmaybe-uninitialized] 512 | refX2 -= firmLocWidth/2; | ~~~~~~^~~~~~~~~~~~~~~~~ OAI_SEEK.cpp:450:17: warning: 'centerY' may be used uninitialized in this function [-Wmaybe-uninitialized] 450 | short centerX, centerY, refX1, refY1, refX2, refY2; | ^~~~~~~ OAI_SEEK.cpp:450:8: warning: 'centerX' may be used uninitialized in this function [-Wmaybe-uninitialized] 450 | short centerX, centerY, refX1, refY1, refX2, refY2; | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_TALK.o OAI_TALK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MARK.h:28, from OAI_TALK.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_TOWN.o OAI_TOWN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_TOWN.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OAI_TALK.cpp: In member function 'int Nation::consider_give_tribute(TalkMsg*)': OAI_TALK.cpp:767:6: warning: unused variable 'relationStatus' [-Wunused-variable] 767 | int relationStatus = get_relation_status(talkMsg->from_nation_recno); | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_TRAD.o OAI_TRAD.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OAI_UNIT.o OAI_UNIT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OAI_UNIT.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OAI_TRAD.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OANLINE.o OANLINE.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBATTLE.o OBATTLE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OBATTLE.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBLOB.o OBLOB.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBOX.o OBOX.cpp OBATTLE.cpp: In member function 'void Battle::create_ai_nation(int)': OBATTLE.cpp:397:7: warning: variable 'nationRecno' set but not used [-Wunused-but-set-variable] 397 | int nationRecno; | ^~~~~~~~~~~ OBATTLE.cpp: At global scope: OBATTLE.cpp:950:12: warning: 'int is_space(int, int, int, int, char)' defined but not used [-Wunused-function] 950 | static int is_space(int xLoc1, int yLoc1, int xLoc2, int yLoc2, char mobileType) | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBULLET.o OBULLET.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBULLETA.o OBULLETA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OBULLET.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OBULLET.cpp: In member function 'void Bullet::hit_wall(short int, short int)': OBULLET.cpp:423:3: warning: 'virtualUnit' may be used uninitialized in this function [-Wmaybe-uninitialized] 423 | if(!virtualUnit) | ^~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OBULLETA.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OBULLETA.cpp: In member function 'short int BulletArray::add_bullet(Unit*, Unit*)': OBULLETA.cpp:355:14: warning: unused variable 'attackInfo' [-Wunused-variable] 355 | AttackInfo *attackInfo = parentUnit->attack_info_array+parentUnit->cur_attack; | ^~~~~~~~~~ OBULLETA.cpp: In member function 'short int BulletArray::add_bullet(Unit*, short int, short int)': OBULLETA.cpp:402:14: warning: unused variable 'attackInfo' [-Wunused-variable] 402 | AttackInfo *attackInfo = parentUnit->attack_info_array+parentUnit->cur_attack; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBUTT3D.o OBUTT3D.cpp OBULLETA.cpp: In member function 'int BulletArray::add_bullet_possible(short int, short int, char, short int, short int, char, short int, short int, short int&, short int&, char, short int)': OBULLETA.cpp:301:9: warning: 'leftXOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 301 | leftX += leftXOffset; | ~~~~~~^~~~~~~~~~~~~~ OBULLETA.cpp:302:9: warning: 'leftYOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 302 | leftY += leftYOffset; | ~~~~~~^~~~~~~~~~~~~~ OBULLETA.cpp:319:10: warning: 'rightYOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 319 | rightY += rightYOffset; | ~~~~~~~^~~~~~~~~~~~~~~ OBULLETA.cpp:318:10: warning: 'rightXOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 318 | rightX += rightXOffset; | ~~~~~~~^~~~~~~~~~~~~~~ OBULLETA.cpp: In member function 'short int BulletArray::add_bullet(Unit*, short int, short int)': OBULLETA.cpp:432:55: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] 432 | attackYLoc >= targetYLoc && attackYLoc < targetYLoc+height) | ^~~~~~ OBULLETA.cpp:431:57: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] 431 | if(attackXLoc >= targetXLoc && attackXLoc < targetXLoc+width && | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBUTTCUS.o OBUTTCUS.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OBUTTON.o OBUTTON.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OB_FLAME.o OB_FLAME.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from ../include/OB_FLAME.h:28, from OB_FLAME.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OBUTTON.cpp: In member function 'void Button::wait_press(int)': OBUTTON.cpp:494:34: warning: 'lastMouseY' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | if( lastMouseX == mouse.cur_x && lastMouseY == mouse.cur_y ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OB_HOMIN.o OB_HOMIN.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OB_PROJ.o OB_PROJ.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from ../include/OB_HOMIN.h:27, from OB_HOMIN.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OBULLET.h:29, from ../include/OB_PROJ.h:27, from OB_PROJ.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OB_PROJ.cpp: In member function 'virtual void Projectile::init(char, short int, short int, short int, char)': OB_PROJ.cpp:82:15: warning: unused variable 'spriteFrame' [-Wunused-variable] 82 | SpriteFrame* spriteFrame = cur_sprite_frame(); | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OCOLTBL.o OCOLTBL.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OCONFIG.o OCONFIG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OCONFIG.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OCRC_STO.o OCRC_STO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from OCRC_STO.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ODATE.o ODATE.cpp ODATE.cpp: In member function 'int DateInfo::get_date(long int, char)': ODATE.cpp:137:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 137 | if (year%4 == 0 && year%100 != 0 || year%400 == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'char* DateInfo::date_str(long int, int)': ODATE.cpp:207:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 207 | if (year%4 == 0 && year%100 != 0 || year%400 == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'int DateInfo::day_year(int, int, int)': ODATE.cpp:336:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 336 | isLeap = ( year%4 == 0 && year%100 != 0 || year%400 == 0 ) ? 1 : 0 ; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ODATE.cpp: In member function 'int DateInfo::month_day(int, int, int&, int&)': ODATE.cpp:384:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 384 | isLeap = ( year%4 == 0 && year%100 != 0 || year%400 == 0 ) ? 1 : 0 ; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ODB.o ODB.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ODIR.o ODIR.cpp ODIR.cpp: In member function 'int Directory::read(const char*, int)': ODIR.cpp:107:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 107 | for( int i = 0; i < results.gl_pathc; i++ ) | ~~^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ODYNARR.o ODYNARR.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ODYNARRB.o ODYNARRB.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OEFFECT.o OEFFECT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OEFFECT.h:27, from OEFFECT.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ODYNARRB.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OERRCTRL.o OERRCTRL.cpp OERRCTRL.cpp: In member function 'int ErrorControl::send(char, void*, long unsigned int)': OERRCTRL.cpp:131:19: warning: array subscript has type 'char' [-Wchar-subscripts] 131 | toDPid = dp_id[ecPlayerId]; | ^~~~~~~~~~ OERRCTRL.cpp: In member function 'char* ErrorControl::receive(char*, uint32_t*)': OERRCTRL.cpp:183:33: warning: array subscript has type 'char' [-Wchar-subscripts] 183 | char *dataPtr = receive_queue[recv_head].queue_buf; | ^~~~~~~~~ OERRCTRL.cpp:184:32: warning: array subscript has type 'char' [-Wchar-subscripts] 184 | uint32_t len = receive_queue[recv_head].length(); | ^~~~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::yield()': OERRCTRL.cpp:294:45: warning: array subscript has type 'char' [-Wchar-subscripts] 294 | for( ; recv_flag[ecMsg.sender_id-1][scanFrame]; inc_frame_id(scanFrame) ) | ^~~~~~~~~ OERRCTRL.cpp:365:45: warning: array subscript has type 'char' [-Wchar-subscripts] 365 | for( ; recv_flag[ecMsg.sender_id-1][scanFrame]; inc_frame_id(scanFrame) ) | ^~~~~~~~~ OERRCTRL.cpp:443:40: warning: array subscript has type 'char' [-Wchar-subscripts] 443 | char *replyMsg = send_queue[ecMsg.frame_id].queue_buf; | ~~~~~~^~~~~~~~ OERRCTRL.cpp:444:43: warning: array subscript has type 'char' [-Wchar-subscripts] 444 | uint32_t replyLen = send_queue[ecMsg.frame_id].length(); | ~~~~~~^~~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::en_recv_queue(void*, long unsigned int)': OERRCTRL.cpp:580:17: warning: array subscript has type 'char' [-Wchar-subscripts] 580 | receive_queue[f].clear(); | ^ OERRCTRL.cpp:581:25: warning: array subscript has type 'char' [-Wchar-subscripts] 581 | memcpy( receive_queue[f].reserve(dataLen), dataPtr, dataLen); | ^ OERRCTRL.cpp: In member function 'void ErrorControl::set_ack(char, char)': OERRCTRL.cpp:599:11: warning: array subscript has type 'char' [-Wchar-subscripts] 599 | ack_flag[frameId][ecPlayerId-1] = 1; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::clear_ack(char)': OERRCTRL.cpp:604:19: warning: array subscript has type 'char' [-Wchar-subscripts] 604 | memset( ack_flag[frameId], 0, MAX_PLAYER ); | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::mark_send_time(char, long unsigned int)': OERRCTRL.cpp:609:12: warning: array subscript has type 'char' [-Wchar-subscripts] 609 | send_time[frameId] = misc.get_time(); | ^~~~~~~ OERRCTRL.cpp:610:16: warning: array subscript has type 'char' [-Wchar-subscripts] 610 | re_send_after[frameId] = duration; | ^~~~~~~ OERRCTRL.cpp: In member function 'int ErrorControl::need_re_send(char, int)': OERRCTRL.cpp:616:39: warning: array subscript has type 'char' [-Wchar-subscripts] 616 | return ((misc.get_time() - send_time[frameId]) * promptFactor) >= re_send_after[frameId]; | ^~~~~~~ OERRCTRL.cpp:616:82: warning: array subscript has type 'char' [-Wchar-subscripts] 616 | return ((misc.get_time() - send_time[frameId]) * promptFactor) >= re_send_after[frameId]; | ^~~~~~~ OERRCTRL.cpp: In member function 'int ErrorControl::are_all_acked(char)': OERRCTRL.cpp:626:40: warning: array subscript has type 'char' [-Wchar-subscripts] 626 | if( dp_id[ecPlayerId-1] && !ack_flag[frameId][ecPlayerId-1] ) | ^~~~~~~ OERRCTRL.cpp: In member function 'int ErrorControl::is_waiting_receive(char, char)': OERRCTRL.cpp:645:31: warning: array subscript has type 'char' [-Wchar-subscripts] 645 | && !recv_flag[ecPlayerId-1][frameId]; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::set_recv_flag(char, char)': OERRCTRL.cpp:650:26: warning: array subscript has type 'char' [-Wchar-subscripts] 650 | recv_flag[ecPlayerId-1][frameId] = 1; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::clear_recv_flag(char, char)': OERRCTRL.cpp:656:26: warning: array subscript has type 'char' [-Wchar-subscripts] 656 | recv_flag[ecPlayerId-1][frameId] = 0; | ^~~~~~~ OERRCTRL.cpp: In member function 'void ErrorControl::re_transmit(int)': OERRCTRL.cpp:669:29: warning: array subscript has type 'char' [-Wchar-subscripts] 669 | char *ecMsg = send_queue[f].queue_buf; | ^ OERRCTRL.cpp:670:35: warning: array subscript has type 'char' [-Wchar-subscripts] 670 | uint32_t ecMsgLen = send_queue[f].length(); | ^ OERRCTRL.cpp:675:42: warning: array subscript has type 'char' [-Wchar-subscripts] 675 | if( dp_id[ecPlayerId-1] && !ack_flag[f][ecPlayerId-1] ) | ^ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OERROR.o OERROR.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OEXPMASK.o OEXPMASK.cpp In file included from ../include/OWORLDMT.h:28, from OEXPMASK.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFILE.o OFILE.cpp OFILE.cpp: In member function 'int File::file_read(void*, unsigned int)': OFILE.cpp:211:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | fread(dataBuf, 1, bytesToRead, file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'int16_t File::file_get_short()': OFILE.cpp:263:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 263 | fread(&value, 1, sizeof(int16_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'uint16_t File::file_get_unsigned_short()': OFILE.cpp:300:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | fread(&value, 1, sizeof(uint16_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFILE.cpp: In member function 'int32_t File::file_get_long()': OFILE.cpp:337:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | fread(&value, 1, sizeof(int32_t), file_handle); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFILETXT.o OFILETXT.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRM.o OFIRM.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRM2.o OFIRM2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OFIRM2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OFIRM.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual void Firm::assign_overseer(int)': OFIRM.cpp:655:7: warning: unused variable 'originalXLoc' [-Wunused-variable] 655 | int originalXLoc = unitPtr->next_x_loc(); | ^~~~~~~~~~~~ OFIRM.cpp:656:7: warning: unused variable 'originalYLoc' [-Wunused-variable] 656 | int originalYLoc = unitPtr->next_y_loc(); | ^~~~~~~~~~~~ OFIRM.cpp:614:6: warning: unused variable 'oldOverseerRecno' [-Wunused-variable] 614 | int oldOverseerRecno = overseer_recno; | ^~~~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual void Firm::assign_worker(int)': OFIRM.cpp:965:39: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Worker'; use assignment or value-initialization instead [-Wclass-memaccess] 965 | memset( workerPtr, 0, sizeof(Worker) ); | ^ In file included from OFIRM.cpp:40: ../include/OFIRM.h:94:8: note: 'struct Worker' declared here 94 | struct Worker | ^~~~~~ OFIRM.cpp: In member function 'int Firm::find_settle_town()': OFIRM.cpp:1125:11: warning: unused variable 'nationPtr' [-Wunused-variable] 1125 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OFIRM.cpp: In member function 'int Firm::year_expense()': OFIRM.cpp:1870:6: warning: unused variable 'payWorkerCount' [-Wunused-variable] 1870 | int payWorkerCount=0; | ^~~~~~~~~~~~~~ OFIRM.cpp: In member function 'virtual int Firm::pull_town_people(int, char, int, int)': OFIRM.cpp:2102:41: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Worker'; use assignment or value-initialization instead [-Wclass-memaccess] 2102 | memset( workerPtr, 0, sizeof(Worker) ); | ^ In file included from OFIRM.cpp:40: ../include/OFIRM.h:94:8: note: 'struct Worker' declared here 94 | struct Worker | ^~~~~~ OFIRM.cpp:2037:11: warning: unused variable 'popAdded' [-Wunused-variable] 2037 | int i, popAdded=0; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::update_worker()': OFIRM.cpp:2298:8: warning: unused variable 'loopCount' [-Wunused-variable] 2298 | int loopCount=0; | ^~~~~~~~~ OFIRM.cpp: In member function 'int Firm::create_worker_unit(Worker&)': OFIRM.cpp:2461:12: warning: unused variable 'unitInfo' [-Wunused-variable] 2461 | UnitInfo *unitInfo = unit_res[unitId]; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::resign_all_worker(int)': OFIRM.cpp:2637:8: warning: unused variable 'loopCount' [-Wunused-variable] 2637 | int loopCount=0, townRecno, raceId; | ^~~~~~~~~ OFIRM.cpp: In member function 'void Firm::think_worker_migrate()': OFIRM.cpp:2738:8: warning: unused variable 'firmXLoc' [-Wunused-variable] 2738 | int firmXLoc = center_x, firmYLoc = center_y; | ^~~~~~~~ OFIRM.cpp:2738:29: warning: unused variable 'firmYLoc' [-Wunused-variable] 2738 | int firmXLoc = center_x, firmYLoc = center_y; | ^~~~~~~~ OFIRM.cpp: In member function 'void Firm::setup_link()': OFIRM.cpp:3091:22: warning: array subscript has type 'char' [-Wchar-subscripts] 3091 | linked_firm_array[linked_firm_count] = firmRecno; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3092:29: warning: array subscript has type 'char' [-Wchar-subscripts] 3092 | linked_firm_enable_array[linked_firm_count] = defaultLinkStatus; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3109:40: warning: array subscript has type 'char' [-Wchar-subscripts] 3109 | firmPtr->linked_firm_array[firmPtr->linked_firm_count] = firm_recno; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OFIRM.cpp:3110:47: warning: array subscript has type 'char' [-Wchar-subscripts] 3110 | firmPtr->linked_firm_enable_array[firmPtr->linked_firm_count] = defaultLinkStatus; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OFIRM.cpp:3186:22: warning: array subscript has type 'char' [-Wchar-subscripts] 3186 | linked_town_array[linked_town_count] = townRecno; | ^~~~~~~~~~~~~~~~~ OFIRM.cpp:3187:29: warning: array subscript has type 'char' [-Wchar-subscripts] 3187 | linked_town_enable_array[linked_town_count] = defaultLinkStatus; | ^~~~~~~~~~~~~~~~~ OFIRM2.cpp: In member function 'void Firm::kill_worker(int)': OFIRM2.cpp:86:8: warning: unused variable 'unitRecno' [-Wunused-variable] 86 | int unitRecno = 0; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMA.o OFIRMA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OFIRMA.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMA.cpp: In member function 'void FirmArray::del_firm(int)': OFIRMA.cpp:310:6: warning: unused variable 'xLoc' [-Wunused-variable] 310 | int xLoc = firmPtr->center_x; | ^~~~ OFIRMA.cpp:311:6: warning: unused variable 'yLoc' [-Wunused-variable] 311 | int yLoc = firmPtr->center_y; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMAI.o OFIRMAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OF_INN.h:28, from OFIRMAI.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMDIE.o OFIRMDIE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OFIRMDIE.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMDRW.o OFIRMDRW.cpp OFIRMAI.cpp: In member function 'int Firm::think_capture()': OFIRMAI.cpp:509:30: warning: 'nationPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 509 | nationPtr->ai_attack_target( bestTarget->loc_x1, bestTarget->loc_y1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | ((FirmCamp*)bestTarget)->total_combat_level(), 0, 0, 0, 0, useAllCamp ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMIF.o OFIRMIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OFIRMDRW.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMDRW.cpp: In member function 'virtual void Firm::draw_full_size(int)': OFIRMDRW.cpp:210:7: warning: unused variable 'hitPerPixel' [-Wunused-variable] 210 | int hitPerPixel = (int) max_hit_points / bitmapWidth / bitmapHeight / 2; | ^~~~~~~~~~~ OFIRMDRW.cpp: In member function 'int Firm::draw_detect_link_line(int)': OFIRMDRW.cpp:318:12: warning: unused variable 'firmInfo' [-Wunused-variable] 318 | FirmInfo* firmInfo = firm_res[firm_id]; | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMIF2.o OFIRMIF2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OFIRMIF.cpp:34: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFIRMIF2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_basic_info(int, int)': OFIRMIF.cpp:228:6: warning: variable 'sliderX1' set but not used [-Wunused-but-set-variable] 228 | int sliderX1, sliderX2; | ^~~~~~~~ OFIRMIF.cpp:228:16: warning: variable 'sliderX2' set but not used [-Wunused-but-set-variable] 228 | int sliderX1, sliderX2; | ^~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_worker_list(int, int)': OFIRMIF.cpp:365:6: warning: variable 'overseerRaceId' set but not used [-Wunused-but-set-variable] 365 | int overseerRaceId=0; | ^~~~~~~~~~~~~~ OFIRMIF.cpp: In member function 'int Firm::detect_worker_list()': OFIRMIF.cpp:491:6: warning: unused variable 'liveInTown' [-Wunused-variable] 491 | int liveInTown = firm_res[firm_id]->live_in_town; | ^~~~~~~~~~ OFIRMIF.cpp: In member function 'void Firm::disp_worker_info(int, int)': OFIRMIF.cpp:584:41: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 584 | if( lastSelected != selected_worker_id > 0 ) | ~~~~~~~~~~~~~~~~~~~^~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMIF3.o OFIRMIF3.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFIRMRES.o OFIRMRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OFIRMRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFIRMIF3.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMIF3.cpp: In member function 'void Firm::disp_bribe_menu(int)': OFIRMIF3.cpp:110:7: warning: unused variable 'x' [-Wunused-variable] 110 | int x=INFO_X1+4, y=INFO_Y1+4, y2=y+font_san.height()-1; | ^ OFIRMIF3.cpp: In member function 'void Firm::disp_assassinate_result(int)': OFIRMIF3.cpp:539:6: warning: unused variable 'x' [-Wunused-variable] 539 | int x=INFO_X1+4, y=INFO_Y1+4, y2=y+font_san.height()-1; | ^ OFIRMIF3.cpp: In member function 'int Firm::spy_bribe_succeed_chance(int, short int, short int)': OFIRMIF3.cpp:443:51: warning: 'unitCommandPower' may be used uninitialized in this function [-Wmaybe-uninitialized] 443 | succeedChance = spyPtr->spy_skill - unitLoyalty - unitCommandPower | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ OFIRMIF3.cpp:435:2: warning: 'targetSpyRecno' may be used uninitialized in this function [-Wmaybe-uninitialized] 435 | if( targetSpyRecno ) // if the bribe target is also a spy | ^~ OFIRMIF3.cpp:452:31: warning: 'unitRaceId' may be used uninitialized in this function [-Wmaybe-uninitialized] 452 | race_res.is_same_race(spyKingRaceId, unitRaceId) * 10; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMIF3.cpp:464:33: warning: 'unitLoyalty' may be used uninitialized in this function [-Wmaybe-uninitialized] 464 | succeedChance -= (unitLoyalty-90); | ~~~~~~~~~~~~^~~~ OFIRMIF3.cpp: In member function 'void Firm::disp_bribe_unit(int)': OFIRMIF3.cpp:517:14: warning: 'unitName' may be used uninitialized in this function [-Wmaybe-uninitialized] 517 | font_san.put( x+UNIT_LARGE_ICON_WIDTH+6, y+4, unitName ); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OFIRMIF3.cpp:516:22: warning: 'rankId' may be used uninitialized in this function [-Wmaybe-uninitialized] 516 | vga_front.put_bitmap(x, y, unit_res[unitId]->get_large_icon_ptr(rankId) ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OMATRIX.h:28, from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFIRMIF3.cpp:27: ../include/OUNITRES.h:371:70: warning: 'unitId' may be used uninitialized in this function [-Wmaybe-uninitialized] 371 | UnitInfo* operator[](int unitId) { return unit_info_array+unitId-1; } | ^~~~~~ OFIRMIF3.cpp:486:28: note: 'unitId' was declared here 486 | int raceId, unitLoyalty, unitId, rankId; | ^~~~~~ OFIRMIF3.cpp:525:9: warning: 'unitLoyalty' may be used uninitialized in this function [-Wmaybe-uninitialized] 525 | str += unitLoyalty; | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFLAME.o OFLAME.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OFONT.o OFONT.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_BASE.o OF_BASE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_BASE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OFONT.cpp:33: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_BASE2.o OF_BASE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_BASE2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_CAMP.o OF_CAMP.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_CAMP.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_CAMP2.o OF_CAMP2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_CAMP2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OF_CAMP.cpp:43: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_CAMP.cpp: In member function 'void FirmCamp::train_unit()': OF_CAMP.cpp:653:12: warning: unused variable 'overseerRaceInfo' [-Wunused-variable] 653 | RaceInfo* overseerRaceInfo = race_res[overseerUnit->race_id]; | ^~~~~~~~~~~~~~~~ OF_CAMP.cpp: In member function 'void FirmCamp::patrol()': OF_CAMP.cpp:876:38: warning: array subscript has type 'char' [-Wchar-subscripts] 876 | patrol_unit_array[patrol_unit_count++] = overseerRecno; | ~~~~~~~~~~~~~~~~~^~ OF_CAMP.cpp: In member function 'int FirmCamp::patrol_all_soldier()': OF_CAMP.cpp:931:39: warning: array subscript has type 'char' [-Wchar-subscripts] 931 | patrol_unit_array[patrol_unit_count++] = unitRecno; | ~~~~~~~~~~~~~~~~~^~ OF_CAMP.cpp: In member function 'void FirmCamp::defense(short int, int)': OF_CAMP.cpp:1031:6: warning: unused variable 'numOfUnitInside' [-Wunused-variable] 1031 | int numOfUnitInside = worker_count + (overseer_recno>0); | ^~~~~~~~~~~~~~~ OF_CAMP.cpp: At global scope: OF_CAMP.cpp:58:13: warning: 'void disp_debug_info(FirmCamp*, int)' declared 'static' but never defined [-Wunused-function] 58 | static void disp_debug_info(FirmCamp* firmPtr, int refreshFlag); | ^~~~~~~~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::ai_recruit(int)': OF_CAMP2.cpp:431:6: warning: unused variable 'loopCount' [-Wunused-variable] 431 | int loopCount=0; | ^~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::ai_combat_level_needed()': OF_CAMP2.cpp:493:10: warning: unused variable 'nationPtr' [-Wunused-variable] 493 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::think_capture_target_town()': OF_CAMP2.cpp:735:8: warning: unused variable 'prefPeacefulness' [-Wunused-variable] 735 | int prefPeacefulness = nation_array[nation_recno]->pref_peacefulness; | ^~~~~~~~~~~~~~~~ OF_CAMP2.cpp: In member function 'int FirmCamp::think_capture_use_spy(Town*)': OF_CAMP2.cpp:1001:10: warning: unused variable 'ownNation' [-Wunused-variable] 1001 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_FACT.o OF_FACT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_FACT.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_FACT2.o OF_FACT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_FACT2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_HARB.o OF_HARB.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_HARB2.o OF_HARB2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_HARB.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_HARB2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OF_HARB.cpp:36: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::detect_build_menu()': OF_HARB.cpp:815:18: warning: unused variable 'x' [-Wunused-variable] 815 | int unitId, x=INFO_X1+2, y=INFO_Y1, rc, quitFlag, waitFlag; | ^ OF_HARB.cpp:816:12: warning: variable 'unitInfo' set but not used [-Wunused-but-set-variable] 816 | UnitInfo* unitInfo; | ^~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::disp_build_info(int)': OF_HARB.cpp:1010:6: warning: unused variable 'dispY1' [-Wunused-variable] 1010 | int dispY1 = INFO_Y1+26; | ^~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::update_linked_firm_info()': OF_HARB.cpp:1168:24: warning: array subscript has type 'char' [-Wchar-subscripts] 1168 | linked_mine_array[linked_mine_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~ OF_HARB.cpp:1177:27: warning: array subscript has type 'char' [-Wchar-subscripts] 1177 | linked_factory_array[linked_factory_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~~~~ OF_HARB.cpp:1186:26: warning: array subscript has type 'char' [-Wchar-subscripts] 1186 | linked_market_array[linked_market_num] = firmPtr->firm_recno; | ^~~~~~~~~~~~~~~~~ OF_HARB.cpp:1151:10: warning: variable 'nationPtr' set but not used [-Wunused-but-set-variable] 1151 | Nation *nationPtr; | ^~~~~~~~~ OF_HARB.cpp: In member function 'void FirmHarbor::add_queue(int, int)': OF_HARB.cpp:1228:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1228 | build_queue_array[build_queue_count++] = unitId; | ~~~~~~~~~~~~~~~~~^~ OF_HARB2.cpp: In member function 'int FirmHarbor::think_trade()': OF_HARB2.cpp:196:39: warning: 'firmHarbor' may be used uninitialized in this function [-Wmaybe-uninitialized] 196 | unitMarine->set_stop( 2, firmHarbor->loc_x1, firmHarbor->loc_y1, COMMAND_AI); | ~~~~~~~~~~~~^~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_INN.o OF_INN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_INN.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_INN2.o OF_INN2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_INN2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_MARK.o OF_MARK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MARK.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_MARK2.o OF_MARK2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MARK2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_MARK.cpp: In member function 'virtual void FirmMarket::detect_info()': OF_MARK.cpp:288:18: warning: unused variable 'marketGoods' [-Wunused-variable] 288 | MarketGoods* marketGoods = market_goods_array+i; | ^~~~~~~~~~~ OF_MARK.cpp: In member function 'short int FirmMarket::hire_caravan(char)': OF_MARK.cpp:345:10: warning: unused variable 'nationPtr' [-Wunused-variable] 345 | Nation *nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_MARK2.cpp: In member function 'virtual void FirmMarket::ai_update_link_status()': OF_MARK2.cpp:191:10: warning: unused variable 'nationPtr' [-Wunused-variable] 191 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OF_MARK2.cpp: In member function 'int FirmMarket::think_import_specific_product(int)': OF_MARK2.cpp:415:7: warning: unused variable 'canHireCaravan' [-Wunused-variable] 415 | int canHireCaravan = can_hire_caravan(); | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_MINE.o OF_MINE.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_MINE2.o OF_MINE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MINE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MINE2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_MONS.o OF_MONS.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_RESE.o OF_RESE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_MONS.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_RESE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OF_MONS.cpp: In member function 'virtual void FirmMonster::deinit_derived()': OF_MONS.cpp:114:6: warning: unused variable 'loopCount' [-Wunused-variable] 114 | int loopCount=0; | ^~~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::disp_monster_info(int, int)': OF_MONS.cpp:199:6: warning: unused variable 'x' [-Wunused-variable] 199 | int x=INFO_X1+4, y=dispY1+3; | ^ OF_MONS.cpp:199:19: warning: unused variable 'y' [-Wunused-variable] 199 | int x=INFO_X1+4, y=dispY1+3; | ^ OF_MONS.cpp: In member function 'virtual void FirmMonster::assign_unit(int)': OF_MONS.cpp:341:12: warning: unused variable 'unitInfo' [-Wunused-variable] 341 | UnitInfo* unitInfo = unit_res[unitPtr->unit_id]; | ^~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::add_general(int)': OF_MONS.cpp:391:12: warning: unused variable 'unitInfo' [-Wunused-variable] 391 | UnitInfo* unitInfo = unit_res[unitPtr->unit_id]; | ^~~~~~~~ OF_MONS.cpp: In member function 'void FirmMonster::add_soldier(int)': OF_MONS.cpp:460:46: warning: array subscript has type 'char' [-Wchar-subscripts] 460 | waiting_soldier_array[waiting_soldier_count++] = generalUnitRecno; // the soldier is waiting for this general. | ~~~~~~~~~~~~~~~~~~~~~^~ OF_MONS.cpp: In member function 'int FirmMonster::mobilize_general(int, int)': OF_MONS.cpp:589:40: warning: array subscript has type 'char' [-Wchar-subscripts] 589 | patrol_unit_array[patrol_unit_count++] = unitRecno; | ~~~~~~~~~~~~~~~~~^~ OF_MONS.cpp: In member function 'int FirmMonster::think_attack_neighbor()': OF_MONS.cpp:940:9: warning: unused variable 'totalCombatLevel' [-Wunused-variable] 940 | int totalCombatLevel=0; | ^~~~~~~~~~~~~~~~ OF_MONS.cpp: In member function 'int FirmMonster::think_attack_human()': OF_MONS.cpp:1102:9: warning: unused variable 'totalCombatLevel' [-Wunused-variable] 1102 | int totalCombatLevel=0; | ^~~~~~~~~~~~~~~~ OF_RESE.cpp: In member function 'void FirmResearch::research_complete()': OF_RESE.cpp:592:8: warning: unused variable 'techId' [-Wunused-variable] 592 | short techId = tech_id; // backup tech_id | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_RESE2.o OF_RESE2.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_WAR.o OF_WAR.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_RESE2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OF_WAR.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OF_WAR2.o OF_WAR2.cpp OF_WAR.cpp: In member function 'void FirmWar::detect_build_menu()': OF_WAR.cpp:295:18: warning: unused variable 'x' [-Wunused-variable] 295 | int unitId, x=INFO_X1+2, y=INFO_Y1, rc, quitFlag, waitFlag; | ^ OF_WAR.cpp:296:12: warning: variable 'unitInfo' set but not used [-Wunused-but-set-variable] 296 | UnitInfo* unitInfo; | ^~~~~~~~ OF_WAR.cpp: In member function 'void FirmWar::add_queue(int, int)': OF_WAR.cpp:607:38: warning: array subscript has type 'char' [-Wchar-subscripts] 607 | build_queue_array[build_queue_count++] = unitId; | ~~~~~~~~~~~~~~~~~^~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OF_WAR2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMCRED.o OGAMCRED.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAME.o OGAME.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMEMP.o OGAMEMP.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from ../include/OUNITALL.h:27, from OGAME.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OGAME.cpp:34: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAME.cpp: In member function 'int Game::init(int)': OGAME.cpp:117:6: warning: unused variable 'originalRandomSeed' [-Wunused-variable] 117 | int originalRandomSeed = misc.get_random_seed(); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGAMEMP.cpp:33: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMENCY.o OGAMENCY.cpp OGAMEMP.cpp: In constructor 'MpStructLoadGameNewPlayer::MpStructLoadGameNewPlayer(Nation*, uint32_t, int32_t, char*, char*)': OGAMEMP.cpp:330:10: warning: 'MpStructLoadGameNewPlayer::random_seed' will be initialized after [-Wreorder] 330 | int32_t random_seed; | ^~~~~~~~~~~ OGAMEMP.cpp:322:11: warning: 'uint32_t MpStructLoadGameNewPlayer::ver1' [-Wreorder] 322 | uint32_t ver1; | ^~~~ OGAMEMP.cpp:334:2: warning: when initialized here [-Wreorder] 334 | MpStructLoadGameNewPlayer(Nation *n, uint32_t frame, int32_t seed, char *name, char *pass) : | ^~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::input_name_pass(const char**, char*, int, char*, int)': OGAMEMP.cpp:1618:6: warning: variable 'titleWidth' set but not used [-Wunused-but-set-variable] 1618 | int titleWidth, titleHeight, fieldDesWidth, field_x_pos, boxWidth, boxHeight, buttonWidth1, ret; | ^~~~~~~~~~ OGAMEMP.cpp:1618:46: warning: variable 'field_x_pos' set but not used [-Wunused-but-set-variable] 1618 | int titleWidth, titleHeight, fieldDesWidth, field_x_pos, boxWidth, boxHeight, buttonWidth1, ret; | ^~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::mp_select_option(NewNationPara*, int*)': OGAMEMP.cpp:3589:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3589 | if( keyCode = mapIdField.detect() ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::mp_select_load_option(char*)': OGAMEMP.cpp:5554:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5554 | !nationPtr->is_own() && !nationPtr->is_remote() || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp:4279:11: warning: variable 'hostPlayerId' set but not used [-Wunused-but-set-variable] 4279 | PID_TYPE hostPlayerId = 0; | ^~~~~~~~~~~~ OGAMEMP.cpp:4294:6: warning: unused variable 'shareRace' [-Wunused-variable] 4294 | int shareRace = 1; // host only, 0= exclusive race of each player | ^~~~~~~~~ OGAMEMP.cpp: At global scope: OGAMEMP.cpp:505:13: warning: 'void ingame_disconnect_handler(uint32_t)' defined but not used [-Wunused-function] 505 | static void ingame_disconnect_handler(uint32_t playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~ OGAMEMP.cpp:484:13: warning: 'void pregame_disconnect_handler(uint32_t)' defined but not used [-Wunused-function] 484 | static void pregame_disconnect_handler(uint32_t playerId) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMENCY.cpp: In function 'int disp_picture(int, int, int)': OGAMENCY.cpp:585:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 585 | filename2[0] && misc.is_file_exist(filename2) && pictFile.file_open(filename2,0) && (palNamePtr = palname2) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMENCY.cpp: At global scope: OGAMENCY.cpp:131:12: warning: 'fryhtan_page' defined but not used [-Wunused-variable] 131 | static int fryhtan_page; | ^~~~~~~~~~~~ OGAMEMP.cpp: In member function 'int Game::mp_select_session()': OGAMEMP.cpp:2026:64: warning: 'refreshTime' may be used uninitialized in this function [-Wmaybe-uninitialized] 2026 | if( !(mouse.skey_state & SHIFT_KEY_MASK) && misc.get_time() - refreshTime > pollTime ) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMEND.o OGAMEND.cpp In file included from /usr/include/string.h:495, from ../include/OSTR.h:27, from ../include/ALL.h:30, from ../include/OSYS.h:27, from OGAMEMP.cpp:25: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'MpStructNewPlayer::MpStructNewPlayer(char*, char*)' at OGAMEMP.cpp:234:10, inlined from 'int Game::mp_select_option(NewNationPara*, int*)' at OGAMEMP.cpp:2423:3: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'MpStructAcceptNewPlayer::MpStructAcceptNewPlayer(uint32_t, char*, const ENetAddress&, char)' at OGAMEMP.cpp:246:10, inlined from 'int Game::mp_select_option(NewNationPara*, int*)' at OGAMEMP.cpp:3131:10: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'MpStructAcceptNewPlayer::MpStructAcceptNewPlayer(uint32_t, char*, const ENetAddress&, char)' at OGAMEMP.cpp:246:10, inlined from 'int Game::mp_select_option(NewNationPara*, int*)' at OGAMEMP.cpp:3141:12: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGAMEND.cpp:39: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMESET.o OGAMESET.cpp In function 'char* strncpy(char*, const char*, size_t)', inlined from 'MpStructLoadGameNewPlayer::MpStructLoadGameNewPlayer(Nation*, uint32_t, int32_t, char*, char*)' at OGAMEMP.cpp:341:10, inlined from 'int Game::mp_select_load_option(char*)' at OGAMEMP.cpp:4341:3: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'MpStructAcceptNewPlayer::MpStructAcceptNewPlayer(uint32_t, char*, const ENetAddress&, char)' at OGAMEMP.cpp:246:10, inlined from 'int Game::mp_select_load_option(char*)' at OGAMEMP.cpp:5072:10: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'MpStructAcceptNewPlayer::MpStructAcceptNewPlayer(uint32_t, char*, const ENetAddress&, char)' at OGAMEMP.cpp:246:10, inlined from 'int Game::mp_select_load_option(char*)' at OGAMEMP.cpp:5082:12: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMHALL.o OGAMHALL.cpp OGAMEMP.cpp: In member function 'int Game::mp_select_load_option(char*)': OGAMEMP.cpp:5487:4: warning: 'maxPlayer' may be used uninitialized in this function [-Wmaybe-uninitialized] 5487 | if( playerCount != maxPlayer ) | ^~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGAMHALL.cpp:36: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMMAIN.o OGAMMAIN.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMMENU.o OGAMMENU.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGAMMENU.cpp:34: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMSCE2.o OGAMSCE2.cpp OGAMMENU.cpp: In member function 'void Game::in_game_menu()': OGAMMENU.cpp:85:6: warning: unused variable 'x' [-Wunused-variable] 85 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OGAMMENU.cpp:85:25: warning: unused variable 'y' [-Wunused-variable] 85 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OGAMMENU.cpp: In function 'int detect_game_option()': OGAMMENU.cpp:187:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 187 | (menu_hot_key[i-1] && mouse.key_code == menu_hot_key[i-1] || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMMENU.cpp: At global scope: OGAMMENU.cpp:293:13: warning: 'reverse_race_table' defined but not used [-Wunused-variable] 293 | static char reverse_race_table[MAX_RACE_TABLE] = // race translation table | ^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMSCEN.o OGAMSCEN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGAMSCE2.cpp:38: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/FilePath.h:27, from ../include/OFILE.h:27, from ../include/ALL.h:31, from ../include/OSYS.h:27, from OGAMSCE2.cpp:25: OGAMSCE2.cpp: In member function 'int Game::select_scenario(int, ScenInfo*)': OGAMSCE2.cpp:279:62: warning: array subscript has type 'char' [-Wchar-subscripts] 279 | pathName = DIR_SCENARIO_PATH(scenInfoArray[browseRecno-1].dir_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:52: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ OGAMSCE2.cpp:577:15: warning: comparison of integer expressions of different signedness: 'int' and 'nsPlayerStats::PlayStatus' [-Wsign-compare] 577 | if(status > nsPlayerStats::PlayStatus::COMPLETED) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/FilePath.h:27, from ../include/OFILE.h:27, from ../include/ALL.h:31, from ../include/OSYS.h:27, from OGAMSCE2.cpp:25: OGAMSCE2.cpp:590:62: warning: array subscript has type 'char' [-Wchar-subscripts] 590 | path += DIR_SCENARIO_PATH(scenInfoArray[browseRecno - 1].dir_id);; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:52: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ In file included from OGAMSCE2.cpp:27: ../include/OMOUSE.h:270:68: warning: 'btn' may be used uninitialized in this function [-Wmaybe-uninitialized] 270 | int click_y(int buttonId=0) { return click_buffer[buttonId].y; } | ^ OGAMSCE2.cpp:554:8: note: 'btn' was declared here 554 | int btn; | ^~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGAMSING.o OGAMSING.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MONS.h:28, from OGAMSCEN.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/FilePath.h:27, from ../include/OFILE.h:27, from ../include/ALL.h:31, from ../include/OSYS.h:27, from OGAMSCEN.cpp:25: OGAMSCEN.cpp: In member function 'int Game::run_scenario(ScenInfo*)': OGAMSCEN.cpp:155:37: warning: array subscript has type 'char' [-Wchar-subscripts] 155 | str = DIR_SCENARIO_PATH(scenInfo->dir_id); | ~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:52: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ OGAMSCEN.cpp:172:41: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | str2 = DIR_SCENARIO_PATH(scenInfo->dir_id); | ~~~~~~~~~~^~~~~~ ../include/GAMEDEF.h:64:52: note: in definition of macro 'DIR_SCENARIO_PATH' 64 | #define DIR_SCENARIO_PATH(p) sys.dir_scenario_path[p] | ^ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGENHILL.o OGENHILL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OGENHILL.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OGENHILL.cpp:29: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OGAMSING.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGAMSING.cpp: At global scope: OGAMSING.cpp:51:13: warning: 'option_mode' defined but not used [-Wunused-variable] 51 | static char option_mode; | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGENMAP.o OGENMAP.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGETA.o OGETA.cpp In file included from OGENMAP.cpp:31: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OGENMAP.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGENMAP.cpp: In member function 'void World::remove_odd(Plasma&, short int, short int, short int)': OGENMAP.cpp:562:14: warning: 'diffHeight' may be used uninitialized in this function [-Wmaybe-uninitialized] 562 | plasma.plot(x,y, diffHeight); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ OGENMAP.cpp: In member function 'void World::generate_map()': OGENMAP.cpp:138:53: warning: 'maxLandCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 138 | while( ++loopCount <= 4 && (landCountmaxLandCount) ) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OGENMAP.cpp:138:26: warning: 'minLandCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 138 | while( ++loopCount <= 4 && (landCountmaxLandCount) ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGFILE.o OGFILE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OGFILE.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGFILE2.o OGFILE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OGFILE2.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGFILE3.o OGFILE3.cpp OGFILE2.cpp: In static member function 'static int GameFile::read_file(File*)': OGFILE2.cpp:196:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 196 | if( demo_format && load_file_game_version > 0 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp:191:6: warning: unused variable 'originalRandomSeed' [-Wunused-variable] 191 | int originalRandomSeed = misc.get_random_seed(); | ^~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In member function 'int TownRes::read_file(File*)': OGFILE2.cpp:914:35: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 914 | memset(town_name_used_array, 0, sizeof(town_name_used_array)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE2.cpp: In member function 'int GodRes::read_file(File*)': OGFILE2.cpp:1103:29: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1103 | memset(god_info_array, 0, sizeof(god_info_array)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OGFILE3.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OGFILE3.cpp: In function 'bool read_version_1_nation(File*, Version_1_Nation*)': OGFILE3.cpp:1709:57: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class DynArray'; use assignment instead [-Wclass-memaccess] 1709 | memset(&v1n->action_array, 0, sizeof(v1n->action_array)); | ^ In file included from ../include/ODYNARRB.h:28, from ../include/OSPRITE.h:27, from ../include/OUNIT.h:28, from OGFILE3.cpp:25: ../include/ODYNARR.h:52:7: note: 'class DynArray' declared here 52 | class DynArray | ^~~~~~~~ OGFILE3.cpp: In function 'bool read_nation(File*, Nation*)': OGFILE3.cpp:1955:57: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class DynArray'; use assignment instead [-Wclass-memaccess] 1955 | memset(&nat->action_array, 0, sizeof(nat->action_array)); | ^ In file included from ../include/ODYNARRB.h:28, from ../include/OSPRITE.h:27, from ../include/OUNIT.h:28, from OGFILE3.cpp:25: ../include/ODYNARR.h:52:7: note: 'class DynArray' declared here 52 | class DynArray | ^~~~~~~~ OGFILE3.cpp: At global scope: OGFILE3.cpp:55:14: warning: 'char* create_monster_func()' declared 'static' but never defined [-Wunused-function] 55 | static char* create_monster_func(); | ^~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGF_V1.o OGF_V1.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from ../include/OGF_V1.h:29, from OGF_V1.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGODRES.o OGODRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OGODRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OGRPSEL.o OGRPSEL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OGRPSEL.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OHELP.o OHELP.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OHILLRES.o OHILLRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OHELP.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OHELP.cpp: In member function 'void Help::load(char*)': OHELP.cpp:145:8: warning: unused variable 'loopCount' [-Wunused-variable] 145 | int loopCount=0; | ^~~~~~~~~ OHELP.cpp: In member function 'void Help::save_scr(int, int, int, int)': OHELP.cpp:232:7: warning: unused variable 'saveSize' [-Wunused-variable] 232 | long saveSize = (long)(x2-x1+1) * (y2-y1+1); | ^~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OHILLRES.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OIMGRES.o OIMGRES.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OINFO.o OINFO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OINFO.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OINGMENU.o OINGMENU.cpp OINFO.cpp: In member function 'void Info::disp_heading()': OINFO.cpp:394:6: warning: unused variable 'x' [-Wunused-variable] 394 | int x=TOP_MENU_X2-250; | ^ OINFO.cpp: At global scope: OINFO.cpp:52:20: warning: 'skill_name_array' defined but not used [-Wunused-variable] 52 | static const char* skill_name_array[] = | ^~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OLIGHTN.o OLIGHTN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from OINGMENU.cpp:35: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OINGMENU.cpp: In member function 'void InGameMenu::disp(int)': OINGMENU.cpp:133:11: warning: unused variable 'x' [-Wunused-variable] 133 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OINGMENU.cpp:133:30: warning: unused variable 'y' [-Wunused-variable] 133 | int x=GAME_MENU_X1+20, y=GAME_MENU_Y1+17; | ^ OINGMENU.cpp: In member function 'int InGameMenu::detect()': OINGMENU.cpp:177:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 177 | (menu_hot_key[i-1] && mouse.key_code == menu_hot_key[i-1] || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OLIGHTN2.o OLIGHTN2.cpp In file included from ../include/OWORLDMT.h:28, from OLIGHTN.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLIGHTN.cpp: At global scope: OLIGHTN.cpp:293:15: warning: 'double sqr(double)' defined but not used [-Wunused-function] 293 | static double sqr(double x) | ^~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OLOG.o OLOG.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OLONGLOG.o OLONGLOG.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OLZW.o OLZW.cpp OLZW.cpp: In member function 'virtual short unsigned int BitFileRead::input_bits(unsigned int)': OLZW.cpp:121:29: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 121 | if( bit_offset + stringLen > (last_offset+sizeof(residue))*8 ) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLZW.cpp:125:17: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 125 | if( byteFetch >= sizeof(residue) ) // residue >>= 32 does not change to 0 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from OLZW.cpp:27: ../include/OLZW.h: In constructor 'BitFileWrite::BitFileWrite(File*)': ../include/OLZW.h:74:16: warning: 'BitFileWrite::residue' will be initialized after [-Wreorder] 74 | unsigned long residue; // always the 4 bytes at last_offset | ^~~~~~~ ../include/OLZW.h:73:7: warning: 'long int BitFileWrite::residue_len' [-Wreorder] 73 | long residue_len; | ^~~~~~~~~~~ OLZW.cpp:150:1: warning: when initialized here [-Wreorder] 150 | BitFileWrite::BitFileWrite(File *f) : filePtr(f), residue(0), residue_len(0) | ^~~~~~~~~~~~ OLZW.cpp: In member function 'virtual void BitFileWrite::output_bits(short unsigned int, unsigned int)': OLZW.cpp:168:30: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 168 | if( residue_len + stringLen > sizeof(residue)*8 ) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ OLZW.cpp:173:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 173 | if( byteFlush >= sizeof(residue)) // if byteFlush == 4, residue >>= 32 does not set residue to 0 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ OLZW.cpp: In member function 'unsigned int Lzw::decode_string(unsigned int, short unsigned int)': OLZW.cpp:468:17: warning: unused variable 'initCode' [-Wunused-variable] 468 | unsigned short initCode = code; | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMATRIX.o OMATRIX.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMEM.o OMEM.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMISC.o OMISC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OMATRIX.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMATRIX.cpp:30: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_site(int)': OMATRIX.cpp:444:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 444 | loc_flag = loc_flag & ~LOCATE_SITE_MASK | LOCATE_HAS_SITE; OMATRIX.cpp: In member function 'void Location::set_dirt(int)': OMATRIX.cpp:506:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 506 | loc_flag = loc_flag & ~LOCATE_SITE_MASK | LOCATE_HAS_DIRT; OMATRIX.cpp: In member function 'void Location::set_town(int)': OMATRIX.cpp:563:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 563 | loc_flag = loc_flag & ~LOCATE_BLOCK_MASK | LOCATE_IS_TOWN; OMATRIX.cpp: In member function 'void Location::set_hill(int)': OMATRIX.cpp:616:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 616 | loc_flag = loc_flag & ~(LOCATE_BLOCK_MASK | LOCATE_SITE_MASK ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_wall(int, int, int)': OMATRIX.cpp:651:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 651 | loc_flag = loc_flag & ~(LOCATE_BLOCK_MASK | LOCATE_SITE_MASK ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_plant(int, int, int)': OMATRIX.cpp:785:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 785 | loc_flag = loc_flag & ~(LOCATE_BLOCK_MASK | LOCATE_SITE_MASK ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMATRIX.cpp: In member function 'void Location::set_rock(short int)': OMATRIX.cpp:817:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 817 | loc_flag = loc_flag & ~LOCATE_BLOCK_MASK | LOCATE_IS_ROCK; OMISC.cpp: In member function 'int Misc::valid_char(char)': OMISC.cpp:529:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 529 | return ( ch>='a' && ch<='z' || | ~~~~~~~~^~~~~~~~~~ OMISC.cpp:531:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 531 | ch>='0' && ch<='9' || | ~~~~~~~~^~~~~~~~~~ OMISC.cpp: In member function 'int Misc::atoi(char*, int)': OMISC.cpp:937:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 937 | if ( strLen >= sizeof( str_buf ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMONSRES.o OMONSRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OMONSRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMISC.cpp: In member function 'void Misc::cal_move_around_a_point_v2(short int, short int, short int, int&, int&)': OMISC.cpp:1454:6: warning: 'xMag' may be used uninitialized in this function [-Wmaybe-uninitialized] 1454 | int xMag; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMOUSE.o OMOUSE.cpp OMONSRES.cpp: In member function 'void MonsterRes::init_active_monster()': OMONSRES.cpp:127:6: warning: unused variable 'loopCount' [-Wunused-variable] 127 | int loopCount=0; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMOUSECR.o OMOUSECR.cpp OMOUSE.cpp: In member function 'void Mouse::add_event(MouseEventType)': OMOUSE.cpp:390:8: warning: enumeration value 'KEY_PRESS' not handled in switch [-Wswitch] 390 | switch(type) | ^ OMOUSE.cpp:390:8: warning: enumeration value 'KEY_RELEASE' not handled in switch [-Wswitch] OMOUSE.cpp:390:8: warning: enumeration value 'KEY_TYPING' not handled in switch [-Wswitch] g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMP_CRC.o OMP_CRC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from ../include/OMP_CRC.h:29, from OMP_CRC.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OMOUSECR.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OMUSIC.o OMUSIC.cpp OMUSIC.cpp: In member function 'int Music::play(int, int)': OMUSIC.cpp:160:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 160 | return play(songId, playType & ~MUSIC_CD_THEN_WAV | MUSIC_PLAY_CD) g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ONATIONA.o ONATIONA.cpp OMP_CRC.cpp: In member function 'virtual void UnitMarine::clear_ptr()': OMP_CRC.cpp:462:35: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class Sprite' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 462 | memset(&splash, 0, sizeof(splash)); | ^ In file included from ../include/OUNIT.h:28, from ../include/OF_INN.h:28, from ../include/OMP_CRC.h:31, from OMP_CRC.cpp:26: ../include/OSPRITE.h:54:7: note: 'class Sprite' declared here 54 | class Sprite | ^~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sunit_recno_array, unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sunit_recno_array, unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:513:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 513 | for( int i = 0; i < sizeof(stop_array)/sizeof(*stop_array); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void UnitCaravan::clear_ptr()': OMP_CRC.cpp:558:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 558 | for( int i = 0; i < sizeof(stop_array)/sizeof(*stop_array); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void UnitCaravan::init_crc(UnitCaravanCrc*)': OMP_CRC.cpp:582:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 582 | for( int i = 0; i < sizeof(stop_array)/sizeof(*stop_array); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void Firm::clear_ptr()': OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_firm_array, linked_firm_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_firm_enable_array, linked_firm_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_town_array, linked_town_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_town_enable_array, linked_town_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmCamp::clear_ptr()': OMP_CRC.cpp:760:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 760 | for( int i = 0; i < sizeof(defense_array)/sizeof(*defense_array); ++i ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(spatrol_unit_array, patrol_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(scoming_unit_array, coming_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmInn::clear_ptr()': OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'short int' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sinn_unit_array, inn_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:90: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct InnUnit'; use assignment or value-initialization instead [-Wclass-memaccess] 58 | #define RTRIM_ARRAY(a,s) { if(sinn_unit_array, inn_unit_count); | ^~~~~~~~~~~ In file included from ../include/OMP_CRC.h:31, from OMP_CRC.cpp:26: ../include/OF_INN.h:46:8: note: 'struct InnUnit' declared here 46 | struct InnUnit | ^~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmMarket::clear_ptr()': OMP_CRC.cpp:914:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 914 | for( i = 0; i < sizeof(market_goods_array)/sizeof(*market_goods_array); ++i ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmMarket::init_crc(FirmMarketCrc*)': OMP_CRC.cpp:934:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 934 | for( int i = 0; i < sizeof(market_goods_array)/sizeof(*market_goods_array); ++i ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmWar::clear_ptr()': OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sbuild_queue_array, build_queue_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmHarbor::clear_ptr()': OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'short int' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sship_recno_array, ship_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sbuild_queue_array, build_queue_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_mine_array, linked_mine_num); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_factory_array, linked_factory_num); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(slinked_market_array, linked_market_num); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'virtual void FirmMonster::clear_ptr()': OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'short int' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(smonster_general_array, monster_general_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(swaiting_soldier_array, waiting_soldier_count); | ^~~~~~~~~~~ OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'char' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(spatrol_unit_array, patrol_unit_count); | ^~~~~~~~~~~ OMP_CRC.cpp: In member function 'void Town::clear_ptr()': OMP_CRC.cpp:58:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 58 | #define RTRIM_ARRAY(a,s) { if(sTERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OPLASMA.o OPLASMA.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OPOWER.o OPOWER.cpp OPLASMA.cpp: In member function 'void Plasma::shuffle_level(short int, short int, short int)': OPLASMA.cpp:532:9: warning: unused variable 'loopCount' [-Wunused-variable] 532 | int loopCount = 20; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORACERES.o ORACERES.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORAIN1.o ORAIN1.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OPOWER.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_frame()': OPOWER.cpp:420:8: warning: unused variable 'mouseX' [-Wunused-variable] 420 | int mouseX = mouse.click_x(LEFT_BUTTON); | ^~~~~~ OPOWER.cpp:421:8: warning: unused variable 'mouseY' [-Wunused-variable] 421 | int mouseY = mouse.click_y(LEFT_BUTTON); | ^~~~~~ OPOWER.cpp:245:12: warning: unused variable 'selectedCount' [-Wunused-variable] 245 | int rc=0, selectedCount=0; | ^~~~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_action()': OPOWER.cpp:718:12: warning: variable 'selectedUnit' set but not used [-Wunused-but-set-variable] 718 | Unit *selectedUnit; | ^~~~~~~~~~~~ OPOWER.cpp:702:8: warning: unused variable 'assignedFlag' [-Wunused-variable] 702 | int assignedFlag=0; | ^~~~~~~~~~~~ OPOWER.cpp:554:10: warning: variable 'targetWall' set but not used [-Wunused-but-set-variable] 554 | char targetWall=0; | ^~~~~~~~~~ OPOWER.cpp:555:8: warning: unused variable 'mobileType' [-Wunused-variable] 555 | int mobileType = activeUnit->mobile_type; // mobile type of the selected units | ^~~~~~~~~~ OPOWER.cpp:557:10: warning: unused variable 'nationRecno' [-Wunused-variable] 557 | short nationRecno = activeUnit->nation_recno; | ^~~~~~~~~~~ OPOWER.cpp: In member function 'int Power::detect_select(int, int, int, int, int, int)': OPOWER.cpp:1169:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1169 | for( int mt = 0; mt < sizeof(mobileTypeList)/sizeof(char); ++mt ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp:1185:36: warning: array subscript has type 'char' [-Wchar-subscripts] 1185 | selectNationCount[unitPtr->nation_recno]++; | ~~~~~~~~~^~~~~~~~~~~~ OPOWER.cpp:1207:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1207 | for( int mt = 0; mt < sizeof(mobileTypeList)/sizeof(char); ++mt ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPOWER.cpp:1019:6: warning: unused variable 'firstXLoc' [-Wunused-variable] 1019 | int firstXLoc = selXLoc1, firstYLoc = selYLoc1; // first location to be tested | ^~~~~~~~~ OPOWER.cpp:1019:28: warning: unused variable 'firstYLoc' [-Wunused-variable] 1019 | int firstXLoc = selXLoc1, firstYLoc = selYLoc1; // first location to be tested | ^~~~~~~~~ OPOWER.cpp:1050:7: warning: unused variable 'firstTest' [-Wunused-variable] 1050 | int firstTest=0; | ^~~~~~~~~ OPOWER.cpp: In member function 'int Power::choose_cursor(int, int, ScreenObjectType, short int, ScreenObjectType, short int)': OPOWER.cpp:1832:12: warning: unused variable 'townPtr' [-Wunused-variable] 1832 | Town *townPtr = town_array[selectedObjectRecno]; | ^~~~~~~ OPOWER.cpp:1492:6: warning: variable 'pointingObjectId' set but not used [-Wunused-but-set-variable] 1492 | int pointingObjectId = 0; | ^~~~~~~~~~~~~~~~ OPOWER.cpp: In member function 'ScreenObjectType Power::find_selected_type(short int*)': OPOWER.cpp:2137:9: warning: unused variable 'sitePtr' [-Wunused-variable] 2137 | Site *sitePtr = site_array[*selectedRecno = site_array.selected_recno]; | ^~~~~~~ OPOWER.cpp: In member function 'ScreenObjectType Power::find_pointing_type(Location*, short int*)': OPOWER.cpp:2207:9: warning: unused variable 'sitePtr' [-Wunused-variable] 2207 | Site *sitePtr = site_array[*pointingRecno = locPtr->site_recno()]; | ^~~~~~~ In file included from ../include/OWORLDMT.h:28, from ORAIN1.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORAIN2.o ORAIN2.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORAIN3.o ORAIN3.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORAWRES.o ORAWRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ORAWRES.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ORAIN3.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREBEL.o OREBEL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OREBEL.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREGION.o OREGION.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OREGION.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREGIONS.o OREGIONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OREGIONS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OREBEL.cpp: In member function 'void Rebel::think_new_action()': OREBEL.cpp:627:2: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] 627 | if( rc ) | ^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREMOTE.o OREMOTE.cpp OREGIONS.cpp: In member function 'void RegionStat::init()': OREGIONS.cpp:132:28: warning: array subscript has type 'char' [-Wchar-subscripts] 132 | reachable_region_array[reachable_region_count].sea_region_id = seaRegionId; | ^~~~~~~~~~~~~~~~~~~~~~ OREGIONS.cpp:133:28: warning: array subscript has type 'char' [-Wchar-subscripts] 133 | reachable_region_array[reachable_region_count].land_region_stat_id = i; | ^~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREMOTE2.o OREMOTE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OREMOTE.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREMOTEM.o OREMOTEM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OREMOTE2.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTE2.cpp: In member function 'int Remote::poll_msg()': OREMOTE2.cpp:279:15: warning: unused variable 'loopCount' [-Wunused-variable] 279 | int loopCount=0; | ^~~~~~~~~ OREMOTE2.cpp: In member function 'void Remote::process_receive_queue()': OREMOTE2.cpp:396:6: warning: variable 'loopCount' set but not used [-Wunused-but-set-variable] 396 | int loopCount=0; | ^~~~~~~~~ OREMOTE2.cpp: In member function 'void Remote::process_specific_msg(uint32_t)': OREMOTE2.cpp:524:6: warning: unused variable 'loopCount' [-Wunused-variable] 524 | int loopCount=0; | ^~~~~~~~~ OREMOTEM.cpp:1544:6: warning: "/*" within comment [-Wcomment] 1544 | /* //**BUGHERE, no more training in game | g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OREMOTEQ.o OREMOTEQ.cpp OREMOTEQ.cpp: In member function 'int RemoteQueue::validate_queue(int)': OREMOTEQ.cpp:59:6: warning: unused variable 'loopCount' [-Wunused-variable] 59 | int loopCount = 0; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORES.o ORES.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORESDB.o ORESDB.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ORESX.o ORESX.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OROCK.o OROCK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OREMOTEM.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OROCKRES.o OROCKRES.cpp OREMOTEM.cpp: In member function 'void RemoteMsg::new_nation()': OREMOTEM.cpp:251:6: warning: unused variable 'nationRecno' [-Wunused-variable] 251 | int nationRecno = nation_array.new_nation( NATION_REMOTE, nationPtr->race_id, nationPtr->color_scheme_id, nationPtr->player_id ); | ^~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::firm_bribe()': OREMOTEM.cpp:1743:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1743 | && (shortPtr[2] == 0 && firmPtr->overseer_recno || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::firm_reward()': OREMOTEM.cpp:1839:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1839 | if( shortPtr[1] == 0 && firmPtr->overseer_recno || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::caravan_selected()': OREMOTEM.cpp:2786:9: warning: unused variable 'shortPtr' [-Wunused-variable] 2786 | short *shortPtr = (short *)data_buf; | ^~~~~~~~ OREMOTEM.cpp: In member function 'void RemoteMsg::ship_selected()': OREMOTEM.cpp:2796:9: warning: unused variable 'shortPtr' [-Wunused-variable] 2796 | short *shortPtr = (short *)data_buf; | ^~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OROCKRES.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OROCKRES.cpp:31: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OROCKRES.cpp: In member function 'void RockRes::load_block_info()': OROCKRES.cpp:275:42: warning: array subscript has type 'char' [-Wchar-subscripts] 275 | rockInfo->block_offset[rockBlockInfo->loc_y][rockBlockInfo->loc_x] = i + 1; | ~~~~~~~~~~~~~~~^~~~~ OROCKRES.cpp:275:64: warning: array subscript has type 'char' [-Wchar-subscripts] 275 | rockInfo->block_offset[rockBlockInfo->loc_y][rockBlockInfo->loc_x] = i + 1; | ~~~~~~~~~~~~~~~^~~~~ OROCKRES.cpp: In member function 'char RockRes::choose_next(short int, char, long int)': OROCKRES.cpp:436:12: warning: unused variable 'rockInfo' [-Wunused-variable] 436 | RockInfo *rockInfo = get_rock_info(rockRecno); | ^~~~~~~~ OROCKRES.cpp: In member function 'void RockRes::draw_block(short int, short int, short int, short int, short int, char)': OROCKRES.cpp:487:12: warning: unused variable 'rockInfo' [-Wunused-variable] 487 | RockInfo *rockInfo = rock_res.get_rock_info(rockRecno); | ^~~~~~~~ OROCKRES.cpp: In member function 'short int RockRes::search(const char*, short int, short int, short int, short int, int, int, char)': OROCKRES.cpp:533:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 533 | && (animatedFlag < 0 || animatedFlag == 0 && rockInfo->max_frame == 1 || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ OROCKRES.cpp:534:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 534 | animatedFlag > 0 && rockInfo->max_frame > 1) ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_AI.o OR_AI.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_ECO.o OR_ECO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OR_AI.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_AI.cpp: At global scope: OR_AI.cpp:75:33: warning: 'total_peasant' defined but not used [-Wunused-variable] 75 | static int total_population, total_peasant; | ^~~~~~~~~~~~~ OR_AI.cpp:75:15: warning: 'total_population' defined but not used [-Wunused-variable] 75 | static int total_population, total_peasant; | ^~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OR_ECO.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_MIL.o OR_MIL.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_NAT.o OR_NAT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_CAMP.h:28, from OR_MIL.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_MIL.cpp: In function 'int unit_filter(int)': OR_MIL.cpp:422:10: warning: unused variable 'nationPtr' [-Wunused-variable] 422 | Nation* nationPtr = nation_array[info.viewing_nation_recno]; | ^~~~~~~~~ OR_MIL.cpp: In function 'void put_unit_rec(int, int, int, int)': OR_MIL.cpp:458:10: warning: unused variable 'unitId' [-Wunused-variable] 458 | int unitId = unit_filter(recNo); | ^~~~~~ OR_MIL.cpp: In function 'void put_troop_rec(int, int, int, int)': OR_MIL.cpp:399:14: warning: 'statusStr' may be used uninitialized in this function [-Wmaybe-uninitialized] 399 | font_san.put( x+486, y, statusStr ); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OR_NAT.cpp:38: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NAT.cpp: In function 'void disp_debug_info()': OR_NAT.cpp:654:6: warning: unused variable 'refreshFlag' [-Wunused-variable] 654 | int refreshFlag = INFO_REPAINT; | ^~~~~~~~~~~ OR_NAT.cpp: In function 'void disp_nation_chat(int)': OR_NAT.cpp:896:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 896 | if( !(sys.debug_session || nation_array[nationRecno]->nation_type == NATION_REMOTE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 897 | info.viewing_nation_recno == nation_array.player_recno ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NAT.cpp: In function 'void detect_nation_chat()': OR_NAT.cpp:952:83: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 952 | if( sys.debug_session || nation_array[nationRecno]->nation_type == NATION_REMOTE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 953 | info.viewing_nation_recno == nation_array.player_recno ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_NEWS.o OR_NEWS.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_RANK.o OR_RANK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OR_NEWS.cpp:34: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_NEWS.cpp: In member function 'void Info::disp_news_log(int)': OR_NEWS.cpp:56:6: warning: unused variable 'x' [-Wunused-variable] 56 | int x=NEWS_BROWSE_X1+9; | ^ OR_NEWS.cpp:57:6: warning: unused variable 'y' [-Wunused-variable] 57 | int y=NEWS_BROWSE_Y1+4; | ^ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_SPY.o OR_SPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OR_RANK.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_RANK.cpp: In member function 'void Info::set_rank_data(int)': OR_RANK.cpp:435:9: warning: unused variable 'rankPos' [-Wunused-variable] 435 | int rankPos=0; | ^~~~~~~ OR_RANK.cpp: In member function 'int Info::get_rank_score(int, int)': OR_RANK.cpp:541:6: warning: 'maxValue' may be used uninitialized in this function [-Wmaybe-uninitialized] 541 | int rankScore = 100 * nation_rank_data_array[rankType-1][nationRecno-1] / maxValue; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_TECH.o OR_TECH.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OFIRMRES.h:32, from OR_SPY.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_TOWN.o OR_TOWN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from OR_TECH.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OR_TRADE.o OR_TRADE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OR_TOWN.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OR_TOWN.cpp: At global scope: OR_TOWN.cpp:64:16: warning: 'total_expense' defined but not used [-Wunused-variable] 64 | static float total_expense; | ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSaveGameArray.o OSaveGameArray.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OR_TRADE.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSaveGameInfo.o OSaveGameInfo.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OSaveGameInfo.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSaveGameArray.cpp:38: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSaveGameProvider.o OSaveGameProvider.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSCROLL.o OSCROLL.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSCROLL.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp: In member function 'int ScrollBar::detect()': OSCROLL.cpp:254:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 254 | if( type==VERTICAL && mouse.any_click( x1+2, y1+2, x2-2 , y1+13 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp:265:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 265 | if( type==VERTICAL && mouse.any_click( x1+2, y2-13, x2-2, y2-2 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp:284:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 284 | if( type==VERTICAL && mouse.any_click( x1+2 , y1+14, x2-2 , y2-14 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSCROLL.cpp:328:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 328 | if( type==VERTICAL && mouse.any_click( x1+2 , indicator_y, x2-2, indicator_y+indicator_height-1 ) || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSE.o OSE.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSERES.o OSERES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSERES.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSERES.cpp: In member function 'void SERes::build_index()': OSERES.cpp:279:4: warning: 'lastId' may be used uninitialized in this function [-Wmaybe-uninitialized] 279 | if( lastId != seInfo->subject_id) | ^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSFRMRES.o OSFRMRES.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSITE.o OSITE.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSITEDRW.o OSITEDRW.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSITE.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSITEDRW.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSITEDRW.cpp: In member function 'void Site::draw(int, int)': OSITEDRW.cpp:127:27: warning: 'bmpPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 127 | vga_back.put_bitmap_trans( x, y, bmpPtr ); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSKILL.o OSKILL.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSLIDCUS.o OSLIDCUS.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSNOW1.o OSNOW1.cpp OSLIDCUS.cpp: In member function 'int SlideBar::detect()': OSLIDCUS.cpp:164:7: warning: unused variable 'oldValue' [-Wunused-variable] 164 | int oldValue = view_recno; | ^~~~~~~~ OSLIDCUS.cpp: In member function 'int SlideVBar::detect()': OSLIDCUS.cpp:377:7: warning: unused variable 'oldValue' [-Wunused-variable] 377 | int oldValue = view_recno; | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSNOW2.o OSNOW2.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSNOWG.o OSNOWG.cpp In file included from ../include/OWORLDMT.h:28, from OSNOWG.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSNOWRES.o OSNOWRES.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPATH.o OSPATH.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSPATH.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSNOWRES.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPATH.cpp: In function 'int can_move_to(int, int)': OSPATH.cpp:218:22: warning: array subscript has type 'char' [-Wchar-subscripts] 218 | !nation_passable[powerNationRecno]) | ^~~~~~~~~~~~~~~~ OSPATH.cpp: In member function 'ResultNode* SeekPath::get_result(int&, short int&)': OSPATH.cpp:987:8: warning: unused variable 'baseNodePtr' [-Wunused-variable] 987 | Node* baseNodePtr = result_node_ptr; // the first end node for connecting the other end node for the path in that direction. | ^~~~~~~~~~~ OSPATH.cpp: In member function 'void SeekPath::get_real_result_node(int&, short int, short int, short int, short int, short int)': OSPATH.cpp:1353:6: warning: variable 'exitArrowRight' set but not used [-Wunused-but-set-variable] 1353 | int exitArrowRight = 0; | ^~~~~~~~~~~~~~ OSPATH.cpp: In member function 'ResultNode* SeekPath::get_result2(int&, short int&)': OSPATH.cpp:2921:8: warning: variable 'useClosestNode' set but not used [-Wunused-but-set-variable] 2921 | short useClosestNode = 0; // indicate whether closest node is returned instead of the actual node | ^~~~~~~~~~~~~~ OSPATH.cpp: In member function 'short int Node::generate_successors2(short int, short int)': OSPATH.cpp:3058:8: warning: unused variable 'cost' [-Wunused-variable] 3058 | short cost = 2; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPATHBT.o OSPATHBT.cpp OSPATH.cpp: At global scope: OSPATH.cpp:189:13: warning: 'void sys_yield()' defined but not used [-Wunused-function] 189 | static void sys_yield() | ^~~~~~~~~ OSPATH.cpp: In member function 'void Node::propagate_down()': OSPATH.cpp:2530:6: warning: 'childEnterDirection' may be used uninitialized in this function [-Wmaybe-uninitialized] 2530 | switch(childEnterDirection) | ^~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from OSPATHBT.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPREDBG.o OSPREDBG.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPREOFF.o OSPREOFF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPREDBG.cpp:35: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPRESMO.o OSPRESMO.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPREOFF.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPREOFF.cpp: In static member function 'static int SeekPathReuse::can_walk(int, int)': OSPREOFF.cpp:67:36: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | !reuse_nation_passable[locPtr->power_nation_recno]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ OSPREOFF.cpp: In member function 'void SeekPathReuse::use_offset_method(int, int)': OSPREOFF.cpp:589:10: warning: unused variable 'pathSeekResult' [-Wunused-variable] 589 | int pathSeekResult= seek_path.seek(preNonblockedXLoc, preNonblockedYLoc, virDestX, virDestY, cur_group_id, mobile_type, SEARCH_MODE_IN_A_GROUP); | ^~~~~~~~~~~~~~ OSPREOFF.cpp:475:6: warning: variable 'preLeaderVecX' set but not used [-Wunused-but-set-variable] 475 | int preLeaderVecX, preLeaderVecY; | ^~~~~~~~~~~~~ OSPREOFF.cpp:475:21: warning: variable 'preLeaderVecY' set but not used [-Wunused-but-set-variable] 475 | int preLeaderVecX, preLeaderVecY; | ^~~~~~~~~~~~~ OSPREOFF.cpp: In member function 'void SeekPathReuse::copy_leader_path_offset()': OSPREOFF.cpp:920:70: warning: array subscript has type 'char' [-Wchar-subscripts] 920 | if(locPtr->power_nation_recno && !reuse_nation_passable[locPtr->power_nation_recno]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPREUSE.o OSPREUSE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPRESMO.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPRITE.o OSPRITE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OSPREUSE.h:29, from OSPREUSE.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPREUSE.cpp: In member function 'void SeekPathReuse::move_outside_map(int, int, int, int)': OSPREUSE.cpp:546:6: warning: variable 'vertical' set but not used [-Wunused-but-set-variable] 546 | int vertical=0; // 1 for upper edge, 2 for lower edge | ^~~~~~~~ OSPREUSE.cpp:547:6: warning: variable 'horizontal' set but not used [-Wunused-but-set-variable] 547 | int horizontal=0; // 1 for left edge, 2 for right edge | ^~~~~~~~~~ OSPREUSE.cpp:577:26: warning: 'yStep' may be used uninitialized in this function [-Wmaybe-uninitialized] 577 | int addYLoc = preY+yStep*vecY; | ~~~~~^~~~~ OSPREUSE.cpp:576:26: warning: 'xStep' may be used uninitialized in this function [-Wmaybe-uninitialized] 576 | int addXLoc = preX+xStep*vecX; | ~~~~~^~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPRITE2.o OSPRITE2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSPRITE.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPRITEA.o OSPRITEA.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OSPRITE2.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPRITE2.cpp: In member function 'int Sprite::match_dir()': OSPRITE2.cpp:135:45: warning: array subscript has type 'char' [-Wchar-subscripts] 135 | char turnAmount = turn_amount[sprite_info->need_turning]; | ~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPRTRES.o OSPRTRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OSPRTRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPRTRES.cpp: In member function 'void SpriteRes::load_sprite_info()': OSPRTRES.cpp:83:69: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct SpriteInfo'; use assignment or value-initialization instead [-Wclass-memaccess] 83 | memset( sprite_info_array, 0, sizeof(SpriteInfo)*sprite_info_count ); | ^ In file included from OSPRTRES.cpp:28: ../include/OSPRTRES.h:130:8: note: 'struct SpriteInfo' declared here 130 | struct SpriteInfo | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPY.o OSPY.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from OSPRITEA.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPY2.o OSPY2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSPY2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OSPY.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSPYA.o OSPYA.cpp OSPY.cpp: In member function 'int Spy::get_assassinate_rating(int, int&, int&, int&)': OSPY.cpp:1416:42: warning: 'spyHitPoints' may be used uninitialized in this function [-Wmaybe-uninitialized] 1416 | attackRating = spy_skill + spyHitPoints/2; | ~~~~~~~~~~~~^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSTR.o OSTR.cpp In file included from /usr/include/string.h:495, from ../include/OSTR.h:27, from OSTR.cpp:25: In function 'char* strncat(char*, const char*, size_t)', inlined from 'String& String::operator*=(int)' at OSTR.cpp:242:13: /usr/include/bits/string_fortified.h:136:34: warning: 'char* __builtin_strncat(char*, const char*, long unsigned int)' output may be truncated copying 200 bytes from a string of length 200 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSYS.o OSYS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OSPYA.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSPYA.cpp: In member function 'int SpyArray::add_spy(int, int)': OSPYA.cpp:104:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Spy'; use assignment or value-initialization instead [-Wclass-memaccess] 104 | memset( &spy, 0, sizeof(spy) ); | ^ In file included from OSPYA.cpp:37: ../include/OSPY.h:55:7: note: 'class Spy' declared here 55 | class Spy | ^~~ OSPYA.cpp: In member function 'int SpyArray::add_spy()': OSPYA.cpp:146:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Spy'; use assignment or value-initialization instead [-Wclass-memaccess] 146 | memset( &spy, 0, sizeof(spy) ); | ^ In file included from OSPYA.cpp:37: ../include/OSPY.h:55:7: note: 'class Spy' declared here 55 | class Spy | ^~~ OSPYA.cpp: In member function 'int SpyArray::catch_spy(int, int)': OSPYA.cpp:584:2: warning: 'totalPop' may be used uninitialized in this function [-Wmaybe-uninitialized] 584 | if( enemySpyCount == totalPop ) | ^~ OSPYA.cpp:602:44: warning: 'nationRecno' may be used uninitialized in this function [-Wmaybe-uninitialized] 601 | if( spyPtr->spy_place == spyPlace && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 602 | spyPtr->spy_place_para == spyPlacePara && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 603 | spyPtr->true_nation_recno != nationRecno ) // doesn't get caught in sleep mode | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSYS2.o OSYS2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OSYS.cpp:48: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSYS.cpp:73: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS.cpp: In constructor 'Sys::Sys()': OSYS.cpp:171:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Sys'; use assignment or value-initialization instead [-Wclass-memaccess] 171 | memset(this, 0, sizeof(Sys) ); | ^ In file included from OSYS.cpp:60: ../include/OSYS.h:81:7: note: 'class Sys' declared here 81 | class Sys | ^~~ OSYS.cpp: In member function 'void Sys::main_loop(int)': OSYS.cpp:906:14: warning: unused variable 'x2' [-Wunused-variable] 906 | int x2 = font_news.put( x, y, newsStr ); | ^~ OSYS.cpp: In member function 'int Sys::chdir_to_game_dir()': OSYS.cpp:2795:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2795 | chdir(env_data_path); | ~~~~~^~~~~~~~~~~~~~~ OSYS.cpp:2804:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2804 | chdir(bundle_resources_path.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS.cpp:2811:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2811 | chdir(PACKAGE_DATA_DIR); | ~~~~~^~~~~~~~~~~~~~~~~~ OSYS.cpp: At global scope: OSYS.cpp:605:13: warning: 'void test_lzw()' defined but not used [-Wunused-function] 605 | static void test_lzw() | ^~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OSYS2.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSYS2.cpp: In member function 'void Sys::disp_zoom()': OSYS2.cpp:985:8: warning: unused variable 'backupSeed' [-Wunused-variable] 985 | long backupSeed = misc.get_random_seed(); | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OSYS3.o OSYS3.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTALKENG.o OTALKENG.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTALKFRE.o OTALKFRE.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTALKGER.o OTALKGER.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTALKMSG.o OTALKMSG.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTALKENG.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTALKMSG.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTALKMSG.cpp: In member function 'void TalkMsg::process_accepted_reply()': OTALKMSG.cpp:145:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 145 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ^ In file included from OTALKMSG.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:174:41: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 174 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ^ In file included from OTALKMSG.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:185:41: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 185 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ^ In file included from OTALKMSG.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:196:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 196 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ^ In file included from OTALKMSG.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKMSG.cpp:287:6: warning: unused variable 'loopCount' [-Wunused-variable] 287 | int loopCount=0; | ^~~~~~~~~ OTALKMSG.cpp: In member function 'int TalkMsg::is_valid_to_disp(int)': OTALKMSG.cpp:436:10: warning: unused variable 'toNation' [-Wunused-variable] 436 | Nation* toNation = nation_array[to_nation_recno]; | ^~~~~~~~ OTALKMSG.cpp:437:10: warning: unused variable 'fromNation' [-Wunused-variable] 437 | Nation* fromNation = nation_array[from_nation_recno]; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTALKRES.o OTALKRES.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTALKSPA.o OTALKSPA.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTECHRES.o OTECHRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_RESE.h:28, from OTECHRES.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTALKRES.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::init()': OTALKRES.cpp:74:60: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class TalkRes'; use assignment or value-initialization instead [-Wclass-memaccess] 74 | memset( this, 0, sizeof(TalkRes) - sizeof(talk_msg_array) ); | ^ In file included from OTALKRES.cpp:33: ../include/OTALKRES.h:137:7: note: 'class TalkRes' declared here 137 | class TalkRes | ^~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::init_conversion(int)': OTALKRES.cpp:96:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 96 | memset( &cur_talk_msg, 0, sizeof(TalkMsg) ); | ^ In file included from OTALKRES.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTALKRES.cpp: In member function 'int TalkRes::set_talk_choices()': OTALKRES.cpp:119:10: warning: unused variable 'playerNation' [-Wunused-variable] 119 | Nation* playerNation = ~nation_array; | ^~~~~~~~~~~~ OTALKRES.cpp: In member function 'void TalkRes::add_main_choices()': OTALKRES.cpp:233:6: warning: unused variable 'relationStatus' [-Wunused-variable] 233 | int relationStatus = (~nation_array)->get_relation_status(cur_talk_msg.to_nation_recno); | ^~~~~~~~~~~~~~ OTALKRES.cpp: In member function 'int TalkRes::ai_send_talk_msg(int, int, int, int, int, int)': OTALKRES.cpp:697:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct TalkMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 697 | memset(&talkMsg, 0, sizeof(TalkMsg)); | ^ In file included from OTALKRES.cpp:33: ../include/OTALKRES.h:58:8: note: 'struct TalkMsg' declared here 58 | struct TalkMsg | ^~~~~~~ OTECHRES.cpp: In member function 'void TechRes::load_tech_info()': OTECHRES.cpp:172:25: warning: 'techClass' may be used uninitialized in this function [-Wmaybe-uninitialized] 172 | techClass->tech_count++; | ~~~~~~~~~~~~~~~~~~~~~^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTERRAIN.o OTERRAIN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTERRAIN.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTERRAIN.cpp:30: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp: In static member function 'static int TerrainRes::terrain_height(int, int*)': OTERRAIN.cpp:142:47: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | if( height >= terrain_type_min_height_array[tc][0]) | ^~ OTERRAIN.cpp:146:48: warning: array subscript has type 'char' [-Wchar-subscripts] 146 | if(height >= terrain_type_min_height_array[tc][subtc]) | ^~ OTERRAIN.cpp:146:52: warning: array subscript has type 'char' [-Wchar-subscripts] 146 | if(height >= terrain_type_min_height_array[tc][subtc]) | ^~~~~ OTERRAIN.cpp: At global scope: OTERRAIN.cpp:52:12: warning: 'terrain_type_color_array' defined but not used [-Wunused-variable] 52 | static int terrain_type_color_array[TOTAL_TERRAIN_TYPE] = // the color of each terrain type on the small map | ^~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp: In member function 'void TerrainRes::load_info()': OTERRAIN.cpp:385:59: warning: 'firstId' may be used uninitialized in this function [-Wmaybe-uninitialized] 385 | terrainInfo->alternative_count_with_extra = firstId -1 -i; | ~~~~~~~~~~~^~ OTERRAIN.cpp:376:43: warning: 'firstSpFlag' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 372 | firstNeSub == terrainInfo->ne_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 373 | firstSw == terrainInfo->sw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 374 | firstSwSub == terrainInfo->sw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | firstSe == terrainInfo->se_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | firstSeSub == terrainInfo->se_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 377 | firstSpFlag == terrainInfo->special_flag ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp:375:43: warning: 'firstSeSub' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 372 | firstNeSub == terrainInfo->ne_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 373 | firstSw == terrainInfo->sw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 374 | firstSwSub == terrainInfo->sw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 375 | firstSe == terrainInfo->se_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 376 | firstSeSub == terrainInfo->se_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp:373:43: warning: 'firstSwSub' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 372 | firstNeSub == terrainInfo->ne_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 373 | firstSw == terrainInfo->sw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 374 | firstSwSub == terrainInfo->sw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp:371:43: warning: 'firstNeSub' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 372 | firstNeSub == terrainInfo->ne_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp:374:43: warning: 'firstSe' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 372 | firstNeSub == terrainInfo->ne_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 373 | firstSw == terrainInfo->sw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 374 | firstSwSub == terrainInfo->sw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 375 | firstSe == terrainInfo->se_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp:372:43: warning: 'firstSw' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 372 | firstNeSub == terrainInfo->ne_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 373 | firstSw == terrainInfo->sw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTERRAIN.cpp:370:43: warning: 'firstNe' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 | if( firstNw == terrainInfo->nw_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | firstNwSub == terrainInfo->nw_subtype && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 371 | firstNe == terrainInfo->ne_type && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTORNADO.o OTORNADO.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWN.o OTOWN.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OTORNADO.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWN.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OTOWN.cpp:41: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNA.o OTOWNA.cpp OTOWN.cpp: In member function 'void Town::set_nation(int)': OTOWN.cpp:753:11: warning: unused variable 'rebelPtr' [-Wunused-variable] 753 | Rebel* rebelPtr = rebel_array[rebel_recno]; | ^~~~~~~~ OTOWN.cpp: In member function 'void Town::population_grow()': OTOWN.cpp:1120:7: warning: unused variable 'loopCount' [-Wunused-variable] 1120 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::update_target_loyalty()': OTOWN.cpp:1246:40: warning: variable 'commanderRaceId' set but not used [-Wunused-but-set-variable] 1246 | int baseInfluence, thisInfluence, commanderRaceId; | ^~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::think_migrate()': OTOWN.cpp:2228:8: warning: unused variable 'loopCount' [-Wunused-variable] 2228 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::being_attacked(int, float)': OTOWN.cpp:2662:7: warning: unused variable 'loopCount' [-Wunused-variable] 2662 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'int Town::unjob_town_people(int, int, int)': OTOWN.cpp:3034:6: warning: unused variable 'racePop' [-Wunused-variable] 3034 | int racePop = jobless_race_pop_array[raceId-1]; | ^~~~~~~ OTOWN.cpp: In member function 'void Town::setup_link()': OTOWN.cpp:3314:40: warning: array subscript has type 'char' [-Wchar-subscripts] 3314 | firmPtr->linked_town_array[firmPtr->linked_town_count] = town_recno; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OTOWN.cpp:3315:47: warning: array subscript has type 'char' [-Wchar-subscripts] 3315 | firmPtr->linked_town_enable_array[firmPtr->linked_town_count] = defaultLinkStatus; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ OTOWN.cpp: In member function 'void Town::auto_set_layout()': OTOWN.cpp:3779:8: warning: unused variable 'loopCount' [-Wunused-variable] 3779 | int loopCount=0; | ^~~~~~~~~ OTOWN.cpp: In member function 'void Town::get_most_populated_race(int&, int&)': OTOWN.cpp:4119:24: warning: variable 'mostRacePop2' set but not used [-Wunused-but-set-variable] 4119 | int mostRacePop1=0, mostRacePop2=0; | ^~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNA.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWNA.cpp: In member function 'void TownArray::think_new_independent_town()': OTOWNA.cpp:320:6: warning: unused variable 'loopCount' [-Wunused-variable] 320 | int loopCount=0; | ^~~~~~~~~ OTOWNA.cpp: In member function 'void TownArray::draw_dot()': OTOWNA.cpp:523:14: warning: variable 'townLayout' set but not used [-Wunused-but-set-variable] 523 | TownLayout* townLayout; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNAI.o OTOWNAI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNAI.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNBLD.o OTOWNBLD.cpp OTOWNAI.cpp: In member function 'void Town::think_move_between_town()': OTOWNAI.cpp:1196:18: warning: variable 'loopCount' set but not used [-Wunused-but-set-variable] 1196 | int raceId, rc, loopCount; | ^~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTOWNBLD.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNDRW.o OTOWNDRW.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNIF.o OTOWNIF.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTOWNIF.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTOWNDRW.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWNIF.cpp: In member function 'void Town::disp_train_info(int)': OTOWNIF.cpp:663:6: warning: unused variable 'dispY1' [-Wunused-variable] 663 | int dispY1 = INFO_Y1+26; | ^~~~~~ OTOWNIF.cpp: In member function 'void Town::disp_train_menu(int)': OTOWNIF.cpp:852:7: warning: unused variable 'x' [-Wunused-variable] 852 | int x=INFO_X1, y=INFO_Y1+24; | ^ OTOWNIF.cpp: In member function 'void Town::detect_train_menu()': OTOWNIF.cpp:993:6: warning: unused variable 'x' [-Wunused-variable] 993 | int x=INFO_X1+2, y=INFO_Y1+24, rc, quitFlag, waitFlag; | ^ OTOWNIF.cpp: In member function 'void Town::disp_auto_menu(int)': OTOWNIF.cpp:1091:10: warning: unused variable 'nationPtr' [-Wunused-variable] 1091 | Nation* nationPtr = nation_array[nation_recno]; | ^~~~~~~~~ OTOWNIF.cpp: In member function 'void Town::process_queue()': OTOWNIF.cpp:1908:39: warning: array subscript has type 'char' [-Wchar-subscripts] 1908 | if(can_train(train_queue_race_array[i])) | ^ OTOWNIF.cpp:1910:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1910 | skillId = train_queue_skill_array[i]; | ^ OTOWNIF.cpp:1911:36: warning: array subscript has type 'char' [-Wchar-subscripts] 1911 | raceId = train_queue_race_array[i]; | ^ OTOWNIF.cpp: In member function 'void Town::add_queue(char, char, int)': OTOWNIF.cpp:1943:27: warning: array subscript has type 'char' [-Wchar-subscripts] 1943 | train_queue_skill_array[train_queue_count] = skillId; | ^~~~~~~~~~~~~~~~~ OTOWNIF.cpp:1944:43: warning: array subscript has type 'char' [-Wchar-subscripts] 1944 | train_queue_race_array[train_queue_count++] = raceId; | ~~~~~~~~~~~~~~~~~^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNIND.o OTOWNIND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNIND.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTOWNRES.o OTOWNRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OTOWNRES.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTOWNIND.cpp: In member function 'int Town::form_new_nation()': OTOWNIND.cpp:263:10: warning: unused variable 'loopCount' [-Wunused-variable] 263 | int loopCount=0; // no spying skill | ^~~~~~~~~ OTOWNIND.cpp: In member function 'int Town::independent_unit_join_nation(int, int)': OTOWNIND.cpp:422:9: warning: unused variable 'loopCount' [-Wunused-variable] 422 | int loopCount=0; // no spying skill | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTUTOR.o OTUTOR.cpp OTOWNIND.cpp:439:26: warning: 'skillId' may be used uninitialized in this function [-Wmaybe-uninitialized] 439 | unitPtr->skill.skill_id = skillId; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ OTOWNIND.cpp:440:29: warning: 'skillLevel' may be used uninitialized in this function [-Wmaybe-uninitialized] 440 | unitPtr->skill.skill_level = skillLevel; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ OTOWNIND.cpp:441:27: warning: 'combatLevel' may be used uninitialized in this function [-Wmaybe-uninitialized] 441 | unitPtr->set_combat_level( combatLevel ); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTUTOR2.o OTUTOR2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OTUTOR2.cpp:39: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from ../include/OF_MONS.h:28, from OTUTOR.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OTUTOR.cpp: In member function 'void Tutor::load(int)': OTUTOR.cpp:254:8: warning: unused variable 'loopCount' [-Wunused-variable] 254 | int loopCount=0; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OTownNetwork.o OTownNetwork.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNIT.o OUNIT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNIT.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNIT2.o OUNIT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNIT2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNIT.cpp: In member function 'void Unit::update_loyalty()': OUNIT.cpp:1117:9: warning: unused variable 'rc' [-Wunused-variable] 1117 | int rc=0; | ^~ OUNIT.cpp: In member function 'int Unit::think_betray()': OUNIT.cpp:1286:6: warning: unused variable 'unitRecno' [-Wunused-variable] 1286 | int unitRecno = sprite_recno; | ^~~~~~~~~ OUNIT.cpp: In member function 'int Unit::betray(int)': OUNIT.cpp:1464:12: warning: unused variable 'nationReputation' [-Wunused-variable] 1464 | int i, nationReputation = (int) nation_array[nation_recno]->reputation; | ^~~~~~~~~~~~~~~~ OUNIT.cpp:1391:6: warning: unused variable 'unitRecno' [-Wunused-variable] 1391 | int unitRecno = sprite_recno; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITA.o OUNITA.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAAC.o OUNITAAC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OUNITA.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITA.cpp: In member function 'void UnitArray::disappear_in_firm(int)': OUNITA.cpp:231:8: warning: unused variable 'unitPtr' [-Wunused-variable] 231 | Unit* unitPtr = unit_array[unitRecno]; | ^~~~~~~ OUNITA.cpp: In member function 'void UnitArray::draw_dot()': OUNITA.cpp:409:30: warning: array subscript has type 'char' [-Wchar-subscripts] 409 | nationColorArray[unitPtr->nation_recno] : | ~~~~~~~~~^~~~~~~~~~~~ OUNITA.cpp:410:31: warning: array subscript has type 'char' [-Wchar-subscripts] 410 | excitedColorArray[unitPtr->nation_recno][sys.frame_count % excitedColorCount]; | ~~~~~~~~~^~~~~~~~~~~~ OUNITA.cpp: At global scope: OUNITA.cpp:523:13: warning: 'void put_profile(int, const char*, int)' defined but not used [-Wunused-function] 523 | static void put_profile(int y, const char* dispDes, int dispValue) | ^~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAAC.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITAAC.cpp:35: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAAC.cpp: In member function 'int UnitArray::divide_attack_by_nation(short int, short int*, int)': OUNITAAC.cpp:1225:6: warning: unused variable 'loopCount' [-Wunused-variable] 1225 | int loopCount = selectedCount+2; | ^~~~~~~~~ OUNITAAC.cpp: In member function 'void UnitArray::divide_array(int, int, short int*, int, int)': OUNITAAC.cpp:88:40: warning: 'unitRecno' may be used uninitialized in this function [-Wmaybe-uninitialized] 88 | if(excludeSelectedLocUnit && curRecno==unitRecno) | ~~~~~~~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAAT.o OUNITAAT.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAC.o OUNITAC.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAC.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAAT.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITAAT.cpp:33: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAAT.cpp: In member function 'void UnitArray::check_nearby_location(int, int, char, char, int, int, char, int&)': OUNITAAT.cpp:1600:7: warning: variable 'haveValidSituation' set but not used [-Wunused-but-set-variable] 1600 | bool haveValidSituation = true; | ^~~~~~~~~~~~~~~~~~ OUNITAAT.cpp: In member function 'int UnitArray::analyse_surround_location(int, int, int, int, char)': OUNITAAT.cpp:1553:8: warning: 'yIncre' may be used uninitialized in this function [-Wmaybe-uninitialized] 1553 | yLoc += yIncre; | ~~~~~^~~~~~~~~ OUNITAAT.cpp:1552:8: warning: 'xIncre' may be used uninitialized in this function [-Wmaybe-uninitialized] 1552 | xLoc += xIncre; | ~~~~~^~~~~~~~~ OUNITAAT.cpp: In member function 'void UnitArray::check_nearby_location(int, int, char, char, int, int, char, int&)': OUNITAAT.cpp:1793:14: warning: 'rightYIncre' may be used uninitialized in this function [-Wmaybe-uninitialized] 1793 | rightYLoc += rightYIncre; | ~~~~~~~~~~^~~~~~~~~~~~~~ OUNITAAT.cpp:1792:14: warning: 'rightXIncre' may be used uninitialized in this function [-Wmaybe-uninitialized] 1792 | rightXLoc += rightXIncre; | ~~~~~~~~~~^~~~~~~~~~~~~~ OUNITAAT.cpp:1745:26: warning: 'leftIncreCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 1745 | if((++leftIncreCount)>=4) | ~~~~~~~~~~~~~~~~~~^~~ OUNITAAT.cpp:1742:13: warning: 'leftYIncre' may be used uninitialized in this function [-Wmaybe-uninitialized] 1742 | leftYLoc += leftYIncre; | ~~~~~~~~~^~~~~~~~~~~~~ OUNITAAT.cpp:1741:13: warning: 'leftXIncre' may be used uninitialized in this function [-Wmaybe-uninitialized] 1741 | leftXLoc += leftXIncre; | ~~~~~~~~~^~~~~~~~~~~~~ OUNITAAT.cpp: In member function 'void UnitArray::attack_unit(int, int, short int, short int*, int)': OUNITAAT.cpp:598:42: warning: 'unitPos' may be used uninitialized in this function [-Wmaybe-uninitialized] 598 | unitPtr = (Unit*) get_ptr(curArrayPtr[unitPos]); | ^~~~~~~ OUNITAC.cpp: In member function 'void Unit::assign(int, int, short int)': OUNITAC.cpp:537:7: warning: unused variable 'firmNeedUnit' [-Wunused-variable] 537 | int firmNeedUnit=1; | ^~~~~~~~~~~~ OUNITAC.cpp: In member function 'int Unit::set_move_to_surround(int, int, int, int, int, int, int, short int)': OUNITAC.cpp:845:6: warning: unused variable 'found' [-Wunused-variable] 845 | int found=0, foundAgain=0; | ^~~~~ OUNITAC.cpp:845:15: warning: unused variable 'foundAgain' [-Wunused-variable] 845 | int found=0, foundAgain=0; | ^~~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::process_build_firm()': OUNITAC.cpp:1216:9: warning: unused variable 'aiUnit' [-Wunused-variable] 1216 | int aiUnit = ai_unit; | ^~~~~~ OUNITAC.cpp:1217:9: warning: unused variable 'actionXLoc' [-Wunused-variable] 1217 | int actionXLoc = action_x_loc; | ^~~~~~~~~~ OUNITAC.cpp:1218:9: warning: unused variable 'actionYLoc' [-Wunused-variable] 1218 | int actionYLoc = action_y_loc; | ^~~~~~~~~~ OUNITAC.cpp:1219:11: warning: unused variable 'unitRecno' [-Wunused-variable] 1219 | short unitRecno = sprite_recno; | ^~~~~~~~~ OUNITAC.cpp: In member function 'void Unit::process_assign()': OUNITAC.cpp:1366:10: warning: unused variable 'actionXLoc' [-Wunused-variable] 1366 | int actionXLoc = action_x_loc; | ^~~~~~~~~~ OUNITAC.cpp:1367:10: warning: unused variable 'actionYLoc' [-Wunused-variable] 1367 | int actionYLoc = action_y_loc; | ^~~~~~~~~~ OUNITAC.cpp:1369:11: warning: unused variable 'aiUnit' [-Wunused-variable] 1369 | char aiUnit = ai_unit; | ^~~~~~ OUNITAAT.cpp: In member function 'void UnitArray::attack_firm(int, int, short int, short int*, int)': OUNITAAT.cpp:860:42: warning: 'unitPos' may be used uninitialized in this function [-Wmaybe-uninitialized] 860 | unitPtr = (Unit*) get_ptr(curArrayPtr[unitPos]); | ^~~~~~~ OUNITAAT.cpp: In member function 'void UnitArray::attack_town(int, int, short int, short int*, int)': OUNITAAT.cpp:1110:42: warning: 'unitPos' may be used uninitialized in this function [-Wmaybe-uninitialized] 1110 | unitPtr = (Unit*) get_ptr(curArrayPtr[unitPos]); | ^~~~~~~ OUNITAC.cpp: In member function 'int Unit::set_move_to_surround(int, int, int, int, int, int, int, short int)': OUNITAC.cpp:928:3: warning: 'searchResult' may be used uninitialized in this function [-Wmaybe-uninitialized] 928 | if(!searchResult) | ^~ OUNITAAT.cpp: In member function 'void UnitArray::attack_wall(int, int, short int*, int)': OUNITAAT.cpp:1356:42: warning: 'unitPos' may be used uninitialized in this function [-Wmaybe-uninitialized] 1356 | unitPtr = (Unit*) get_ptr(curArrayPtr[unitPos]); | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAI.o OUNITAI.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAM.o OUNITAM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITAI.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAI.cpp: In member function 'void Unit::ai_move_to_nearby_town()': OUNITAI.cpp:314:10: warning: unused variable 'ownNation' [-Wunused-variable] 314 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ OUNITAI.cpp: In member function 'int Unit::think_normal_human_action()': OUNITAI.cpp:586:7: warning: unused variable 'skillLevel' [-Wunused-variable] 586 | int skillLevel = skill.skill_level; | ^~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAM.cpp:33: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITAM.cpp:34: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAM.cpp: In member function 'void UnitArray::move_to_now(int, int, short int*, int)': OUNITAM.cpp:530:7: warning: unused variable 'autoCorrectStartX' [-Wunused-variable] 530 | int autoCorrectStartX = x; | ^~~~~~~~~~~~~~~~~ OUNITAM.cpp: In member function 'void UnitArray::construct_sorted_array(short int*, int)': OUNITAM.cpp:1013:13: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 1013 | done_flag[k] = 1; | ^ In file included from /usr/include/string.h:495, from ../include/OSTR.h:27, from ../include/ALL.h:30, from OUNITAM.cpp:28: In function 'void* memset(void*, int, size_t)', inlined from 'void UnitArray::move_to_now(int, int, short int*, int)' at OUNITAM.cpp:371:9: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' writing between 18446744069414584320 and 18446744073709551614 bytes into a region of size between 18446744069414584320 and 18446744073709551614 [-Wstringop-overflow=] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITAM.cpp:28: OUNITAM.cpp: In member function 'void UnitArray::move_to_now(int, int, short int*, int)': ../include/ALL.h:80:52: note: at offset 0 to an object with size between 18446744069414584320 and 18446744073709551614 allocated by 'malloc' here 80 | #define mem_add(memSize) ((char*)malloc(memSize)) | ~~~~~~^~~~~~~~~ OUNITAM.cpp:370:38: note: in expansion of macro 'mem_add' 370 | selectedSizeOneUnitArray = (short*)mem_add(sizeof(short)*sizeOneSelectedCount); | ^~~~~~~ OUNITAM.cpp:522:25: warning: 'selectedSizeOneUnitArray' may be used uninitialized in this function [-Wmaybe-uninitialized] 522 | construct_sorted_array(selectedSizeOneUnitArray, sizeOneSelectedCount); // distance and sorted_member should be initialized first | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITAM.cpp:28: ../include/ALL.h:80:52: warning: argument 1 range [18446744069414584320, 18446744073709551614] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 80 | #define mem_add(memSize) ((char*)malloc(memSize)) | ~~~~~~^~~~~~~~~ OUNITAM.cpp:370:38: note: in expansion of macro 'mem_add' 370 | selectedSizeOneUnitArray = (short*)mem_add(sizeof(short)*sizeOneSelectedCount); | ^~~~~~~ ../include/ALL.h:80:52: note: in a call to built-in allocation function 'void* __builtin_calloc(long unsigned int, long unsigned int)' 80 | #define mem_add(memSize) ((char*)malloc(memSize)) | ~~~~~~^~~~~~~~~ OUNITAM.cpp:370:38: note: in expansion of macro 'mem_add' 370 | selectedSizeOneUnitArray = (short*)mem_add(sizeof(short)*sizeOneSelectedCount); | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAT.o OUNITAT.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAT2.o OUNITAT2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAT2.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAT.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITAT.cpp: In member function 'void Unit::set_unreachable_location(int, int)': OUNITAT.cpp:1230:24: warning: unused variable 'bitFlag' [-Wunused-variable] 1230 | static unsigned short bitFlag[16] = {0x0001, 0x0002, 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080, | ^~~~~~~ OUNITAT.cpp: In member function 'void Unit::cycle_eqv_attack()': OUNITAT.cpp:1281:6: warning: unused variable 'trial' [-Wunused-variable] 1281 | int trial = MAX_UNIT_ATTACK_TYPE+2; | ^~~~~ OUNITAT.cpp: At global scope: OUNITAT.cpp:1230:24: warning: 'bitFlag' defined but not used [-Wunused-variable] 1230 | static unsigned short bitFlag[16] = {0x0001, 0x0002, 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080, | ^~~~~~~ OUNITAT2.cpp: In member function 'void Unit::process_attack_unit()': OUNITAT2.cpp:495:6: warning: unused variable 'spriteXLoc' [-Wunused-variable] 495 | int spriteXLoc = next_x_loc(); | ^~~~~~~~~~ OUNITAT2.cpp:496:6: warning: unused variable 'spriteYLoc' [-Wunused-variable] 496 | int spriteYLoc = next_y_loc(); | ^~~~~~~~~~ OUNITAT2.cpp:497:14: warning: unused variable 'attackInfo' [-Wunused-variable] 497 | AttackInfo* attackInfo = attack_info_array+cur_attack; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITAT3.o OUNITAT3.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITAT3.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITATB.o OUNITATB.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITATB.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITATB.cpp: In member function 'char* UnitArray::get_target_x_offset(int, int, char)': OUNITATB.cpp:350:37: warning: array subscript has type 'char' [-Wchar-subscripts] 350 | case 11: return attack_x_offset11[curDir]; | ^~~~~~ OUNITATB.cpp:351:37: warning: array subscript has type 'char' [-Wchar-subscripts] 351 | case 12: return attack_x_offset12[curDir]; | ^~~~~~ OUNITATB.cpp:352:37: warning: array subscript has type 'char' [-Wchar-subscripts] 352 | case 13: return attack_x_offset13[curDir]; | ^~~~~~ OUNITATB.cpp:353:37: warning: array subscript has type 'char' [-Wchar-subscripts] 353 | case 14: return attack_x_offset14[curDir]; | ^~~~~~ OUNITATB.cpp:354:37: warning: array subscript has type 'char' [-Wchar-subscripts] 354 | case 21: return attack_x_offset21[curDir]; | ^~~~~~ OUNITATB.cpp:355:37: warning: array subscript has type 'char' [-Wchar-subscripts] 355 | case 22: return attack_x_offset22[curDir]; | ^~~~~~ OUNITATB.cpp:356:37: warning: array subscript has type 'char' [-Wchar-subscripts] 356 | case 23: return attack_x_offset23[curDir]; | ^~~~~~ OUNITATB.cpp:357:37: warning: array subscript has type 'char' [-Wchar-subscripts] 357 | case 24: return attack_x_offset24[curDir]; | ^~~~~~ OUNITATB.cpp:358:37: warning: array subscript has type 'char' [-Wchar-subscripts] 358 | case 31: return attack_x_offset31[curDir]; | ^~~~~~ OUNITATB.cpp:359:37: warning: array subscript has type 'char' [-Wchar-subscripts] 359 | case 32: return attack_x_offset32[curDir]; | ^~~~~~ OUNITATB.cpp:360:37: warning: array subscript has type 'char' [-Wchar-subscripts] 360 | case 33: return attack_x_offset33[curDir]; | ^~~~~~ OUNITATB.cpp:361:37: warning: array subscript has type 'char' [-Wchar-subscripts] 361 | case 34: return attack_x_offset34[curDir]; | ^~~~~~ OUNITATB.cpp:362:37: warning: array subscript has type 'char' [-Wchar-subscripts] 362 | case 41: return attack_x_offset41[curDir]; | ^~~~~~ OUNITATB.cpp:363:37: warning: array subscript has type 'char' [-Wchar-subscripts] 363 | case 42: return attack_x_offset42[curDir]; | ^~~~~~ OUNITATB.cpp:364:37: warning: array subscript has type 'char' [-Wchar-subscripts] 364 | case 43: return attack_x_offset43[curDir]; | ^~~~~~ OUNITATB.cpp:365:37: warning: array subscript has type 'char' [-Wchar-subscripts] 365 | case 44: return attack_x_offset44[curDir]; | ^~~~~~ OUNITATB.cpp: In member function 'char* UnitArray::get_target_y_offset(int, int, char)': OUNITATB.cpp:387:37: warning: array subscript has type 'char' [-Wchar-subscripts] 387 | case 11: return attack_y_offset11[curDir]; | ^~~~~~ OUNITATB.cpp:388:37: warning: array subscript has type 'char' [-Wchar-subscripts] 388 | case 12: return attack_y_offset12[curDir]; | ^~~~~~ OUNITATB.cpp:389:37: warning: array subscript has type 'char' [-Wchar-subscripts] 389 | case 13: return attack_y_offset13[curDir]; | ^~~~~~ OUNITATB.cpp:390:37: warning: array subscript has type 'char' [-Wchar-subscripts] 390 | case 14: return attack_y_offset14[curDir]; | ^~~~~~ OUNITATB.cpp:391:37: warning: array subscript has type 'char' [-Wchar-subscripts] 391 | case 21: return attack_y_offset21[curDir]; | ^~~~~~ OUNITATB.cpp:392:37: warning: array subscript has type 'char' [-Wchar-subscripts] 392 | case 22: return attack_y_offset22[curDir]; | ^~~~~~ OUNITATB.cpp:393:37: warning: array subscript has type 'char' [-Wchar-subscripts] 393 | case 23: return attack_y_offset23[curDir]; | ^~~~~~ OUNITATB.cpp:394:37: warning: array subscript has type 'char' [-Wchar-subscripts] 394 | case 24: return attack_y_offset24[curDir]; | ^~~~~~ OUNITATB.cpp:395:37: warning: array subscript has type 'char' [-Wchar-subscripts] 395 | case 31: return attack_y_offset31[curDir]; | ^~~~~~ OUNITATB.cpp:396:37: warning: array subscript has type 'char' [-Wchar-subscripts] 396 | case 32: return attack_y_offset32[curDir]; | ^~~~~~ OUNITATB.cpp:397:37: warning: array subscript has type 'char' [-Wchar-subscripts] 397 | case 33: return attack_y_offset33[curDir]; | ^~~~~~ OUNITATB.cpp:398:37: warning: array subscript has type 'char' [-Wchar-subscripts] 398 | case 34: return attack_y_offset34[curDir]; | ^~~~~~ OUNITATB.cpp:399:37: warning: array subscript has type 'char' [-Wchar-subscripts] 399 | case 41: return attack_y_offset41[curDir]; | ^~~~~~ OUNITATB.cpp:400:37: warning: array subscript has type 'char' [-Wchar-subscripts] 400 | case 42: return attack_y_offset42[curDir]; | ^~~~~~ OUNITATB.cpp:401:37: warning: array subscript has type 'char' [-Wchar-subscripts] 401 | case 43: return attack_y_offset43[curDir]; | ^~~~~~ OUNITATB.cpp:402:37: warning: array subscript has type 'char' [-Wchar-subscripts] 402 | case 44: return attack_y_offset44[curDir]; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITD.o OUNITD.cpp OUNITD.cpp:1097:13: warning: "/*" within comment [-Wcomment] 1097 | stop2(); //**** BUGHERE | OUNITD.cpp:1098:19: warning: "/*" within comment [-Wcomment] 1098 | //set_mode(0); //***BUGHERE | In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITD.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITDRW.o OUNITDRW.cpp OUNITD.cpp: In member function 'void Unit::general_defend_mode_detect_target(int)': OUNITD.cpp:87:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 87 | default: if(checkDefendMode) | ^~ OUNITD.cpp:89:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 89 | break; | ^~~~~ OUNITD.cpp: In member function 'int Unit::general_defend_mode_process_attack_target()': OUNITD.cpp:207:34: warning: 'firmPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 207 | firmInfo = firm_res[firmPtr->firm_id]; | ~~~~~~~~~^~~~~~~ In file included from ../include/OUNIT.h:28, from OUNITD.cpp:26: ../include/OSPRITE.h:94:31: warning: 'unitPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 94 | short next_x_loc() { return next_x>>ZOOM_X_SHIFT_COUNT; } // >>5 = divided by 32, which is ZOOM_LOC_WIDTH & ZOOM_LOC_HEIGHT | ^~~~~~ OUNITD.cpp:104:8: note: 'unitPtr' was declared here 104 | Unit *unitPtr; | ^~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OUNITDRW.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITHB.o OUNITHB.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITI.o OUNITI.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITHB.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OUNITHB.cpp:29: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITI.cpp: In member function 'int Unit::reactivate_idle_action()': OUNITI.cpp:322:16: warning: unused variable 'canMove' [-Wunused-variable] 322 | int canMove = 1; | ^~~~~~~ OUNITI.cpp: In member function 'int Unit::idle_detect_firm_checking(short int)': OUNITI.cpp:888:13: warning: unused variable 'targetMobileType' [-Wunused-variable] 888 | char targetMobileType = mobile_type==UNIT_SEA ? UNIT_SEA : UNIT_LAND; | ^~~~~~~~~~~~~~~~ OUNITI.cpp: At global scope: OUNITI.cpp:59:14: warning: 'idle_detect_target_wall_y1' defined but not used [-Wunused-variable] 59 | static short idle_detect_target_wall_y1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITI.cpp:58:14: warning: 'idle_detect_target_wall_x1' defined but not used [-Wunused-variable] 58 | static short idle_detect_target_wall_x1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITI.cpp:57:14: warning: 'idle_detect_target_town_recno' defined but not used [-Wunused-variable] 57 | static short idle_detect_target_town_recno; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITIF.o OUNITIF.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITIND.o OUNITIND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from OUNITIND.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OUNITIF.cpp:31: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITIF.cpp: In member function 'void Unit::disp_hit_point(int)': OUNITIF.cpp:1547:6: warning: variable 'hitPoints' set but not used [-Wunused-but-set-variable] 1547 | int hitPoints; | ^~~~~~~~~ OUNITIF.cpp: At global scope: OUNITIF.cpp:128:13: warning: 'void disp_debug_info(Unit*, int, int)' declared 'static' but never defined [-Wunused-function] 128 | static void disp_debug_info(Unit* unitPtr, int dispY1, int refreshFlag); | ^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITM.o OUNITM.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OUNITM.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITRES.o OUNITRES.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OUNITRES.cpp:28: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITM.cpp: In member function 'int Unit::avail_node_enough_for_search(short int, short int, short int, short int)': OUNITM.cpp:1640:8: warning: unused variable 'minDist' [-Wunused-variable] 1640 | short minDist = abs(dispX-dispY); | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OUNITS.o OUNITS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OUNITS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_CARA.o OU_CARA.cpp In file included from OUNITS.cpp:26: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITS.cpp: In member function 'void Unit::assign_to_ship(int, int, short int, int)': OUNITS.cpp:96:7: warning: variable 'resultXYLocWritten' set but not used [-Wunused-but-set-variable] 96 | bool resultXYLocWritten = false; | ^~~~~~~~~~~~~~~~~~ OUNITS.cpp: In member function 'int Unit::ship_to_beach_path_edit(int&, int&, uint8_t)': OUNITS.cpp:377:14: warning: unused variable 'shipPtr' [-Wunused-variable] 377 | UnitMarine *shipPtr = (UnitMarine*) this; | ^~~~~~~ OUNITS.cpp: In member function 'void Unit::ship_leave_beach(int, int)': OUNITS.cpp:621:14: warning: unused variable 'shipPtr' [-Wunused-variable] 621 | UnitMarine *shipPtr = (UnitMarine*) this; | ^~~~~~~ OUNITS.cpp: In member function 'void Unit::assign_to_ship(int, int, short int, int)': OUNITS.cpp:153:9: warning: 'resultYLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] 153 | search(resultXLoc, resultYLoc, 1); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ OUNITS.cpp:153:9: warning: 'resultXLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_CARA2.o OU_CARA2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_CARA.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_CARA2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::disp_stop(int, int)': OU_CARA.cpp:128:31: warning: variable 'needRefresh' set but not used [-Wunused-but-set-variable] 128 | int i, x=INFO_X1, y=dispY1, needRefresh; | ^~~~~~~~~~~ OU_CARA.cpp: In member function 'void UnitCaravan::detect_stop()': OU_CARA.cpp:208:9: warning: unused variable 'x' [-Wunused-variable] 208 | int i, x=INFO_X1; | ^ OU_CARA.cpp: In member function 'void UnitCaravan::caravan_in_firm()': OU_CARA.cpp:1136:15: warning: unused variable 'stopPtr' [-Wunused-variable] 1136 | CaravanStop *stopPtr = stop_array + dest_stop_id - 1; | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_CARAS.o OU_CARAS.cpp OU_CARA2.cpp: In member function 'int UnitCaravan::think_del_stop()': OU_CARA2.cpp:190:35: warning: array subscript 6 is above array bounds of 'char [6]' [-Warray-bounds] 190 | if( tradeStop->pick_up_array[j] ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from OU_CARA2.cpp:27: ../include/OU_CARA.h:88:7: note: while referencing 'TradeStop::pick_up_array' 88 | char pick_up_array[MAX_PICK_UP_GOODS]; // useful for selective mode | ^~~~~~~~~~~~~ OU_CARA2.cpp:190:35: warning: array subscript 6 is above array bounds of 'char [6]' [-Warray-bounds] 190 | if( tradeStop->pick_up_array[j] ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from OU_CARA2.cpp:27: ../include/OU_CARA.h:88:7: note: while referencing 'TradeStop::pick_up_array' 88 | char pick_up_array[MAX_PICK_UP_GOODS]; // useful for selective mode | ^~~~~~~~~~~~~ OU_CARA2.cpp:190:35: warning: array subscript 6 is above array bounds of 'char [6]' [-Warray-bounds] 190 | if( tradeStop->pick_up_array[j] ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from OU_CARA2.cpp:27: ../include/OU_CARA.h:88:7: note: while referencing 'TradeStop::pick_up_array' 88 | char pick_up_array[MAX_PICK_UP_GOODS]; // useful for selective mode | ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_CARAT.o OU_CARAT.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OU_CARAT.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_CARAS.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_CARAS.cpp: In member function 'int CaravanStop::update_pick_up(char*)': OU_CARAS.cpp:127:14: warning: variable 'selectiveMode' set but not used [-Wunused-but-set-variable] 127 | int id, i, selectiveMode; | ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_CART.o OU_CART.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_CART.h:27, from OU_CART.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_CARAT.cpp: In member function 'void UnitCaravan::market_load_goods_now(MarketGoods*, float)': OU_CARAT.cpp:426:2: warning: 'qty' may be used uninitialized in this function [-Wmaybe-uninitialized] 426 | if( qty > 0 ) | ^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_GOD.o OU_GOD.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from OU_GOD.cpp:27: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_GOD2.o OU_GOD2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/OGODRES.h:28, from OU_GOD2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OU_GOD.cpp:26: ../include/OBUTT3D.h: In member function 'virtual void UnitGod::disp_info(int)': ../include/OBUTT3D.h:82:13: warning: 'buttonName' may be used uninitialized in this function [-Wmaybe-uninitialized] 82 | { create( pX1, pY1, buttonStyle, buttonName, elasticFlag, defIsPushed ); paint(); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_GOD.cpp:155:15: note: 'buttonName' was declared here 155 | const char* buttonName; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_MARI.o OU_MARI.cpp In file included from OU_MARI.cpp:25: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_GOD2.cpp: In member function 'int UnitGod::think_god_attack_target(int&, int&)': OU_GOD2.cpp:289:7: warning: unused variable 'curXLoc' [-Wunused-variable] 289 | int curXLoc=next_x_loc(), curYLoc=next_y_loc(); | ^~~~~~~ OU_GOD2.cpp:289:29: warning: unused variable 'curYLoc' [-Wunused-variable] 289 | int curXLoc=next_x_loc(), curYLoc=next_y_loc(); | ^~~~~~~ OU_GOD2.cpp: In member function 'void UnitGod::think_egyptian_god()': OU_GOD2.cpp:409:10: warning: unused variable 'ownNation' [-Wunused-variable] 409 | Nation* ownNation = nation_array[nation_recno]; | ^~~~~~~~~ OU_GOD2.cpp: In member function 'void UnitGod::think_indian_god()': OU_GOD2.cpp:497:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 497 | && (unitPtr->loyalty >= 20 && unitPtr->loyalty <= 60 || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ OU_GOD2.cpp:545:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 545 | && (unitPtr->loyalty >= 20 && unitPtr->loyalty <= 60 || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ OU_GOD2.cpp: In member function 'void UnitGod::think_egyptian_god()': OU_GOD2.cpp:451:16: warning: 'targetYLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] 451 | go_cast_power(targetXLoc, targetYLoc, 1, COMMAND_AI); // 1 - cast power type | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_GOD2.cpp:451:16: warning: 'targetXLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_MARI2.o OU_MARI2.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_MARI.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_MARI2.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_MARI.cpp: In member function 'void UnitMarine::load_unit(int)': OU_MARI.cpp:338:29: warning: array subscript has type 'char' [-Wchar-subscripts] 338 | unit_recno_array[unit_count++] = unitRecno; | ~~~~~~~~~~^~ OU_MARI.cpp: In member function 'int UnitMarine::is_on_coast()': OU_MARI.cpp:524:46: warning: unused variable 'found' [-Wunused-variable] 524 | int xShift, yShift, checkXLoc, checkYLoc, found=0; | ^~~~~ In file included from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_MARI.cpp:26: ../include/OWORLD.h: In member function 'void UnitMarine::extra_move()': ../include/OWORLD.h:112:45: warning: 'checkYLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] 112 | { return loc_matrix + MAX_WORLD_X_LOC * yLoc + xLoc; } OU_MARI.cpp:562:17: note: 'checkYLoc' was declared here 562 | int checkXLoc, checkYLoc, i, found=0; | ^~~~~~~~~ In file included from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_MARI.cpp:26: ../include/OWORLD.h:112:52: warning: 'checkXLoc' may be used uninitialized in this function [-Wmaybe-uninitialized] 112 | { return loc_matrix + MAX_WORLD_X_LOC * yLoc + xLoc; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ OU_MARI.cpp:562:6: note: 'checkXLoc' was declared here 562 | int checkXLoc, checkYLoc, i, found=0; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_MARIF.o OU_MARIF.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_MARIS.o OU_MARIS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPRITE.h:30, from ../include/OUNIT.h:28, from ../include/OU_MARI.h:28, from OU_MARIS.cpp:21: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from OU_MARIF.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_MARIF.cpp: In member function 'void UnitMarine::disp_unit_info(int, int)': OU_MARIF.cpp:489:40: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 489 | if( lastSelected != selected_unit_id > 0 ) | ~~~~~~~~~~~~~~~~~^~~ OU_MARIF.cpp: In member function 'void UnitMarine::disp_stop(int, int)': OU_MARIF.cpp:580:31: warning: variable 'needRefresh' set but not used [-Wunused-but-set-variable] 580 | int i, x=INFO_X1, y=dispY1, needRefresh; | ^~~~~~~~~~~ OU_MARIF.cpp: In member function 'void UnitMarine::detect_stop()': OU_MARIF.cpp:783:9: warning: unused variable 'x' [-Wunused-variable] 783 | int i, x=INFO_X1, y=INFO_Y1+54+25; | ^ OU_MARIF.cpp: At global scope: OU_MARIF.cpp:54:53: warning: 'stop_disp_y1' defined but not used [-Wunused-variable] 54 | static short unit_disp_y1, unit_info_disp_y1, stop_disp_y1; | ^~~~~~~~~~~~ OU_MARIS.cpp: In member function 'int ShipStop::update_pick_up(char*)': OU_MARIS.cpp:48:6: warning: unused variable 'selectiveMode' [-Wunused-variable] 48 | int selectiveMode = (pick_up_type!=AUTO_PICK_UP && pick_up_type!=NO_PICK_UP); | ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_MARIT.o OU_MARIT.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OU_MONS.o OU_MONS.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OU_MONS.cpp:24: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OSPATH.h:37, from ../include/OU_CARA.h:33, from OU_MARIT.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OU_MARIT.cpp: In member function 'void UnitMarine::ship_in_firm(int)': OU_MARIT.cpp:460:12: warning: unused variable 'stopPtr' [-Wunused-variable] 460 | ShipStop *stopPtr = stop_array + dest_stop_id - 1; | ^~~~~~~ OU_MARIT.cpp: In member function 'void UnitMarine::harbor_unload_raw()': OU_MARIT.cpp:936:68: warning: right operand of comma operator has no effect [-Wunused-value] 936 | for(j=0; jTERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OWORLD.cpp: In member function 'void World::explore(int, int, int, int)': OWORLD.cpp:569:45: warning: array subscript has type 'char' [-Wchar-subscripts] 569 | *writePtr = nationColorArray[locPtr->power_nation_recno]; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ OWORLD.cpp: In member function 'int World::locate_space(int*, int*, int, int, int, int, int, int, int)': OWORLD.cpp:833:6: warning: unused variable 'loopCount' [-Wunused-variable] 833 | int loopCount=0; | ^~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from OWORLD_M.cpp:30: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OWORLD_M.cpp:36: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp: In member function 'void MapMatrix::draw_map()': OWORLD_M.cpp:274:44: warning: array subscript has type 'char' [-Wchar-subscripts] 274 | *writePtr = nationColorArray[locPtr->power_nation_recno]; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ OWORLD_M.cpp: In member function 'virtual void MapMatrix::paint()': OWORLD_M.cpp:113:24: warning: 'iconName' may be used uninitialized in this function [-Wmaybe-uninitialized] 113 | image_button.put_back( 579, 2, iconName, 1 ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp:87:14: note: 'iconName' was declared here 87 | const char* iconName; | ^~~~~~~~ OWORLD_M.cpp: In member function 'void MapMatrix::disp_mode_button(int)': OWORLD_M.cpp:111:25: warning: 'iconName' may be used uninitialized in this function [-Wmaybe-uninitialized] 111 | image_button.put_front( 579, 2, iconName, 1 ); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp: In member function 'void MapMatrix::toggle_map_mode(int)': OWORLD_M.cpp:111:25: warning: 'iconName' may be used uninitialized in this function [-Wmaybe-uninitialized] 111 | image_button.put_front( 579, 2, iconName, 1 ); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp:87:14: note: 'iconName' was declared here 87 | const char* iconName; | ^~~~~~~~ OWORLD_M.cpp: In member function 'void MapMatrix::cycle_map_mode()': OWORLD_M.cpp:111:25: warning: 'iconName' may be used uninitialized in this function [-Wmaybe-uninitialized] 111 | image_button.put_front( 579, 2, iconName, 1 ); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp:87:14: note: 'iconName' was declared here 87 | const char* iconName; | ^~~~~~~~ OWORLD_M.cpp: In member function 'virtual int MapMatrix::detect()': OWORLD_M.cpp:111:25: warning: 'iconName' may be used uninitialized in this function [-Wmaybe-uninitialized] 111 | image_button.put_front( 579, 2, iconName, 1 ); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ OWORLD_M.cpp:87:14: note: 'iconName' was declared here 87 | const char* iconName; | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OWORLD_Z.o OWORLD_Z.cpp OWORLD.cpp: In member function 'void World::restore_power(int, int, int, int, int, int)': OWORLD.cpp:1586:4: warning: 'nationRecno' may be used uninitialized in this function [-Wmaybe-uninitialized] 1586 | if( locPtr->power_nation_recno==nationRecno ) | ^~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OW_FIRE.o OW_FIRE.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/OFIRM.h:36, from OWORLD_Z.cpp:32: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OWORLD_Z.cpp:40: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_FIRE.cpp:26: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OW_FIRE.cpp:30: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OWORLD_Z.cpp: In member function 'virtual void ZoomMatrix::draw()': OWORLD_Z.cpp:314:12: warning: unused variable 'i' [-Wunused-variable] 314 | int i=0, x, y, xLoc, yLoc, dispPower; | ^ OWORLD_Z.cpp: In member function 'void ZoomMatrix::draw_white_site()': OWORLD_Z.cpp:459:12: warning: unused variable 'i' [-Wunused-variable] 459 | int i=0, x, y, xLoc, yLoc; | ^ OWORLD_Z.cpp: In member function 'void ZoomMatrix::draw_weather_effects()': OWORLD_Z.cpp:677:8: warning: unused variable 'backupSeed' [-Wunused-variable] 677 | long backupSeed = misc.get_random_seed(); | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OW_PLANT.o OW_PLANT.cpp In file included from OW_PLANT.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OW_PLANT.cpp:30: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OW_PLANT.cpp: In member function 'void World::plant_spread(int)': OW_PLANT.cpp:247:42: warning: array subscript has type 'char' [-Wchar-subscripts] 247 | if( misc.random(5) > abs(t- opt_temp[j]) ) | ^ OW_PLANT.cpp: In member function 'void World::plant_init()': OW_PLANT.cpp:410:10: warning: unused variable 'plantBitmap' [-Wunused-variable] 410 | short plantBitmap = plant_res.scan( 0, teraType, 0); | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OW_ROCK.o OW_ROCK.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_ROCK.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OW_ROCK.cpp:28: ../include/OTERRAIN.h: In member function 'int TerrainInfo::is_coast()': ../include/OTERRAIN.h:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | int is_coast() { return average_type==TERRAIN_OCEAN && secondary_type>TERRAIN_OCEAN || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OW_SOUND.o OW_SOUND.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_SOUND.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o OW_WALL.o OW_WALL.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o PlayerStats.o PlayerStats.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from OW_WALL.cpp:25: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/OSTR.h:27, from ../include/ALL.h:30, from ../include/OGAME.h:27, from ../include/PlayerStats.h:27, from PlayerStats.cpp:24: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'bool nsPlayerStats::PlayerStats::set_scenario_play_status(const char*, nsPlayerStats::PlayStatus)' at PlayerStats.cpp:192:9: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 260 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o ReplayFile.o ReplayFile.cpp In file included from ../include/OWORLDMT.h:28, from ../include/OWORLD.h:28, from ../include/OINFO.h:31, from ../include/ONATIONB.h:28, from ../include/ONATION.h:29, from ../include/ONATIONA.h:32, from ReplayFile.cpp:29: ../include/OMATRIX.h: In member function 'int Location::can_add_hill()': ../include/OMATRIX.h:205:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | !cargo_recno && !(loc_flag & (LOCATE_BLOCK_MASK | LOCATE_SITE_MASK)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o dbglog.o dbglog.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o file_input_stream.o file_input_stream.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o file_output_stream.o file_output_stream.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o file_reader.o file_reader.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o file_util.o file_util.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o file_writer.o file_writer.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o input_stream.o input_stream.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o mem_input_stream.o mem_input_stream.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o misc_uuid.o misc_uuid.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o output_stream.o output_stream.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o session_desc.o session_desc.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o player_desc.o player_desc.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o vgautil.o vgautil.cpp g++ -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/7kaa\" -DLOCALE_DIR=\"/usr/share/locale\" -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -c -o vgautil2.o vgautil2.cpp g++ -include "../include/config.h" -fsigned-char -mfpmath=387 -ffloat-store -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o 7kaa AM.o ConfigAdv.o CmdLine.o LocaleRes.o OAI_ACT.o OAI_ACT2.o OAI_ATTK.o OAI_BUIL.o OAI_CAP2.o OAI_CAPT.o OAI_DEFE.o OAI_DIPL.o OAI_ECO.o OAI_GRAN.o OAI_INFO.o OAI_MAIN.o OAI_MAR2.o OAI_MAR3.o OAI_MARI.o OAI_MILI.o OAI_MONS.o OAI_QUER.o OAI_SEEK.o OAI_SPY.o OAI_TALK.o OAI_TOWN.o OAI_TRAD.o OAI_UNIT.o OANLINE.o OBATTLE.o OBLOB.o OBOX.o OBULLET.o OBULLETA.o OBUTT3D.o OBUTTCUS.o OBUTTON.o OB_FLAME.o OB_HOMIN.o OB_PROJ.o OCOLTBL.o OCONFIG.o OCRC_STO.o ODATE.o ODB.o ODIR.o ODYNARR.o ODYNARRB.o OEFFECT.o OERRCTRL.o OERROR.o OEXPMASK.o OFILE.o OFILETXT.o OFIRM.o OFIRM2.o OFIRMA.o OFIRMAI.o OFIRMDIE.o OFIRMDRW.o OFIRMIF.o OFIRMIF2.o OFIRMIF3.o OFIRMRES.o OFLAME.o OFONT.o OF_BASE.o OF_BASE2.o OF_CAMP.o OF_CAMP2.o OF_FACT.o OF_FACT2.o OF_HARB.o OF_HARB2.o OF_INN.o OF_INN2.o OF_MARK.o OF_MARK2.o OF_MINE.o OF_MINE2.o OF_MONS.o OF_RESE.o OF_RESE2.o OF_WAR.o OF_WAR2.o OGAMCRED.o OGAME.o OGAMEMP.o OGAMENCY.o OGAMEND.o OGAMESET.o OGAMHALL.o OGAMMAIN.o OGAMMENU.o OGAMSCE2.o OGAMSCEN.o OGAMSING.o OGENHILL.o OGENMAP.o OGETA.o OGFILE.o OGFILE2.o OGFILE3.o OGF_V1.o OGODRES.o OGRPSEL.o OHELP.o OHILLRES.o OIMGRES.o OINFO.o OINGMENU.o OLIGHTN.o OLIGHTN2.o OLOG.o OLONGLOG.o OLZW.o OMATRIX.o OMEM.o OMISC.o OMONSRES.o OMOUSE.o OMOUSECR.o OMP_CRC.o OMUSIC.o ONATIONA.o ONATIONB.o ONEWS.o ONEWS2.o ONEWSENG.o OOPTMENU.o OPLANT.o OPLASMA.o OPOWER.o ORACERES.o ORAIN1.o ORAIN2.o ORAIN3.o ORAWRES.o OREBEL.o OREGION.o OREGIONS.o OREMOTE.o OREMOTE2.o OREMOTEM.o OREMOTEQ.o ORES.o ORESDB.o ORESX.o OROCK.o OROCKRES.o OR_AI.o OR_ECO.o OR_MIL.o OR_NAT.o OR_NEWS.o OR_RANK.o OR_SPY.o OR_TECH.o OR_TOWN.o OR_TRADE.o OSaveGameArray.o OSaveGameInfo.o OSaveGameProvider.o OSCROLL.o OSE.o OSERES.o OSFRMRES.o OSITE.o OSITEDRW.o OSKILL.o OSLIDCUS.o OSNOW1.o OSNOW2.o OSNOWG.o OSNOWRES.o OSPATH.o OSPATHBT.o OSPREDBG.o OSPREOFF.o OSPRESMO.o OSPREUSE.o OSPRITE.o OSPRITE2.o OSPRITEA.o OSPRTRES.o OSPY.o OSPY2.o OSPYA.o OSTR.o OSYS.o OSYS2.o OSYS3.o OTALKENG.o OTALKFRE.o OTALKGER.o OTALKMSG.o OTALKRES.o OTALKSPA.o OTECHRES.o OTERRAIN.o OTORNADO.o OTOWN.o OTOWNA.o OTOWNAI.o OTOWNBLD.o OTOWNDRW.o OTOWNIF.o OTOWNIND.o OTOWNRES.o OTUTOR.o OTUTOR2.o OTownNetwork.o OUNIT.o OUNIT2.o OUNITA.o OUNITAAC.o OUNITAAT.o OUNITAC.o OUNITAI.o OUNITAM.o OUNITAT.o OUNITAT2.o OUNITAT3.o OUNITATB.o OUNITD.o OUNITDRW.o OUNITHB.o OUNITI.o OUNITIF.o OUNITIND.o OUNITM.o OUNITRES.o OUNITS.o OU_CARA.o OU_CARA2.o OU_CARAS.o OU_CARAT.o OU_CART.o OU_GOD.o OU_GOD2.o OU_MARI.o OU_MARI2.o OU_MARIF.o OU_MARIS.o OU_MARIT.o OU_MONS.o OU_VEHI.o OVBROWIF.o OVBROWSE.o OVGA.o OVGABUF.o OVGABUF2.o OVGALOCK.o OVIDEO.o OVOLUME.o OVQUEUE.o OWALLRES.o OWARPT.o OWEATHER.o OWORLD.o OWORLD_M.o OWORLD_Z.o OW_FIRE.o OW_PLANT.o OW_ROCK.o OW_SOUND.o OW_WALL.o PlayerStats.o ReplayFile.o dbglog.o file_input_stream.o file_output_stream.o file_reader.o file_util.o file_writer.o input_stream.o mem_input_stream.o misc_uuid.o output_stream.o session_desc.o player_desc.o vgautil.o vgautil2.o ./openal/libaudio_openal.a ./enet/libmultiplayer.a ./imgfun/generic/libimgfun_generic.a ./curl/libWebService.a -lSDL2 -lopenal -lenet -lcurl make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src' make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src' Making all in po make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/po' make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3' + convert data/IMAGE/7K_ICON.BMP 7kaa_icon.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8hiENt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 ++ dirname /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 + cd 7kaa-2.15.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 'INSTALL=/usr/bin/install -p' Making install in data make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/data' make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/RESOURCE' /usr/bin/install -p -m 644 RESOURCE/A_WAVE1.RES RESOURCE/A_WAVE2.RES RESOURCE/CURSOR.RES RESOURCE/EXPLMASK.BIN RESOURCE/EXPREMAP.BIN RESOURCE/FNT_BARD.RES RESOURCE/FNT_CASA.RES RESOURCE/FNT_CASA_88595.RES RESOURCE/FNT_HITP.RES RESOURCE/FNT_MID.RES RESOURCE/FNT_MID_88595.RES RESOURCE/FNT_NEWS.RES RESOURCE/FNT_NEWS_88595.RES RESOURCE/FNT_SAN.RES RESOURCE/FNT_SAN_88595.RES RESOURCE/FNT_SMAL.RES RESOURCE/FNT_SMAL_88595.RES RESOURCE/FNT_STD.RES RESOURCE/FNT_STD_88595.RES RESOURCE/HELP.RES RESOURCE/HILL1.RES RESOURCE/HILL2.RES RESOURCE/HILL3.RES RESOURCE/I_BUTTON.RES RESOURCE/I_CURSOR.RES RESOURCE/I_ENCYC.RES RESOURCE/I_FIRM.RES RESOURCE/I_FIRMDI.RES RESOURCE/I_HILL1.RES RESOURCE/I_HILL2.RES RESOURCE/I_HILL3.RES RESOURCE/I_ICON.RES RESOURCE/I_IF.RES RESOURCE/I_MENU.RES RESOURCE/I_MENU2.RES RESOURCE/I_PLANT1.RES RESOURCE/I_PLANT2.RES RESOURCE/I_PLANT3.RES RESOURCE/I_RACE.RES RESOURCE/I_RAW.RES '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/RESOURCE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/RESOURCE' /usr/bin/install -p -m 644 RESOURCE/I_ROCK1.RES RESOURCE/I_ROCK2.RES RESOURCE/I_ROCK3.RES RESOURCE/I_SNOW.RES RESOURCE/I_SPICT.RES RESOURCE/I_TECH.RES RESOURCE/I_TERA1.RES RESOURCE/I_TERA2.RES RESOURCE/I_TERA3.RES RESOURCE/I_TERN1.RES RESOURCE/I_TERN2.RES RESOURCE/I_TERN3.RES RESOURCE/I_TOWN.RES RESOURCE/I_TPICT1.RES RESOURCE/I_TPICT2.RES RESOURCE/I_TPICT3.RES RESOURCE/I_UNITGI.RES RESOURCE/I_UNITKI.RES RESOURCE/I_UNITLI.RES RESOURCE/I_UNITSI.RES RESOURCE/I_UNITTI.RES RESOURCE/I_UNITUI.RES RESOURCE/I_WALL.RES RESOURCE/LOCALE.RES RESOURCE/PAL_ENC.RES RESOURCE/PAL_MENU.RES RESOURCE/PAL_STD.RES RESOURCE/PAL_WIN.RES RESOURCE/PLANT1.RES RESOURCE/PLANT2.RES RESOURCE/PLANT3.RES RESOURCE/PLANTBM1.RES RESOURCE/PLANTBM2.RES RESOURCE/PLANTBM3.RES RESOURCE/ROCK1.RES RESOURCE/ROCK2.RES RESOURCE/ROCK3.RES RESOURCE/ROCKANI1.RES RESOURCE/ROCKANI2.RES RESOURCE/ROCKANI3.RES '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/RESOURCE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARI2' /usr/bin/install -p -m 644 SCENARI2/SCN_01.SCN SCENARI2/SCN_01.SCP SCENARI2/SCN_01.SCT SCENARI2/SCN_02.SCN SCENARI2/SCN_02.SCP SCENARI2/SCN_02.SCT SCENARI2/SCN_03.SCN SCENARI2/SCN_03.SCP SCENARI2/SCN_03.SCT SCENARI2/SCN_04.SCN SCENARI2/SCN_04.SCP SCENARI2/SCN_04.SCT SCENARI2/SCN_05.SCN SCENARI2/SCN_05.SCP SCENARI2/SCN_05.SCT SCENARI2/SCN_06.SCN SCENARI2/SCN_06.SCP SCENARI2/SCN_06.SCT SCENARI2/SCN_07.SCN SCENARI2/SCN_07.SCP SCENARI2/SCN_07.SCT SCENARI2/SCN_08.SCN SCENARI2/SCN_08.SCP SCENARI2/SCN_08.SCT SCENARI2/SCN_09.SCN SCENARI2/SCN_09.SCP SCENARI2/SCN_09.SCT SCENARI2/SCN_10.SCN SCENARI2/SCN_10.SCP SCENARI2/SCN_10.SCT SCENARI2/SCN_11.SCN SCENARI2/SCN_11.SCP SCENARI2/SCN_11.SCT SCENARI2/SCN_12.SCN SCENARI2/SCN_12.SCP SCENARI2/SCN_12.SCT SCENARI2/SCN_13.SCN SCENARI2/SCN_13.SCP SCENARI2/SCN_13.SCT SCENARI2/SCN_14.SCN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARI2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARIO' /usr/bin/install -p -m 644 SCENARIO/7FOR7.SCN SCENARIO/7FOR7.SCP SCENARIO/7FOR7.SCT SCENARIO/C&D.SCN SCENARIO/C&D.SCP SCENARIO/C&D.SCT SCENARIO/DESBOW.SCN SCENARIO/DESBOW.SCP SCENARIO/DESBOW.SCT SCENARIO/DESPERDO.SCN SCENARIO/DESPERDO.SCP SCENARIO/DESPERDO.SCT SCENARIO/ERADICAT.SCN SCENARIO/ERADICAT.SCP SCENARIO/ERADICAT.SCT SCENARIO/FTFRAUTN.SCN SCENARIO/FTFRAUTN.SCP SCENARIO/FTFRAUTN.SCT SCENARIO/H&M.SCN SCENARIO/H&M.SCP SCENARIO/H&M.SCT SCENARIO/INSULPOS.SCN SCENARIO/INSULPOS.SCP SCENARIO/INSULPOS.SCT SCENARIO/IRONFIST.SCN SCENARIO/IRONFIST.SCP SCENARIO/IRONFIST.SCT SCENARIO/KUKULCNS.SCN SCENARIO/KUKULCNS.SCP SCENARIO/KUKULCNS.SCT SCENARIO/MAKEBREK.SCN SCENARIO/MAKEBREK.SCP SCENARIO/MAKEBREK.SCT SCENARIO/MELTPOT.SCN SCENARIO/MELTPOT.SCP SCENARIO/MELTPOT.SCT SCENARIO/MONORWAR.SCN SCENARIO/MONORWAR.SCP SCENARIO/MONORWAR.SCT SCENARIO/NEWWORLD.SCN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARIO' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SPRITE' /usr/bin/install -p -m 644 SPRITE/BAATEZU.SPR SPRITE/BALLISTA.SPR SPRITE/CANBALL.SPR SPRITE/CANBALLA.SPR SPRITE/CANBALLS.SPR SPRITE/CANNON.SPR SPRITE/CANSMOKE.SPR SPRITE/CARAVAN.SPR SPRITE/CARAVEL.SPR SPRITE/CARAVE_S.SPR SPRITE/CATAPULT.SPR SPRITE/CATFIRE.SPR SPRITE/CATFIREA.SPR SPRITE/CATFIRES.SPR SPRITE/CATSTONA.SPR SPRITE/CATSTONE.SPR SPRITE/CATSTONS.SPR SPRITE/CHDRAGON.SPR SPRITE/CHINESE.SPR SPRITE/CH_ARROW.SPR SPRITE/DRAGON.SPR SPRITE/DR_ARROW.SPR SPRITE/EGYPTIAN.SPR SPRITE/EG_ARROW.SPR SPRITE/EG_GOD.SPR SPRITE/EG_POWAR.SPR SPRITE/EXPCART.SPR SPRITE/FB_ARRA0.SPR SPRITE/FB_ARROW.SPR SPRITE/FB_ARRS0.SPR SPRITE/FCATAPUL.SPR SPRITE/FIREKIN.SPR SPRITE/FLAMETHR.SPR SPRITE/FL_ARROW.SPR SPRITE/FPERSIAN.SPR SPRITE/F_BALLIS.SPR SPRITE/GALLEON.SPR SPRITE/GALLEO_S.SPR SPRITE/GC_ARROW.SPR SPRITE/GE_STAR.SPR '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SPRITE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SPRITE' /usr/bin/install -p -m 644 SPRITE/GIANTET.SPR SPRITE/GITH.SPR SPRITE/GI_STAR.SPR SPRITE/GJ_STAR.SPR SPRITE/GNOLL.SPR SPRITE/GOBLIN.SPR SPRITE/GP_STAR.SPR SPRITE/GREEK.SPR SPRITE/GREMJERM.SPR SPRITE/GZ_STAR.SPR SPRITE/HEADLESS.SPR SPRITE/HITSPAR2.SPR SPRITE/HITSPARK.SPR SPRITE/HOBGLOB.SPR SPRITE/INDIAN.SPR SPRITE/IN_GOD.SPR SPRITE/JAPANESE.SPR SPRITE/JA_GOD.SPR SPRITE/JA_POWER.SPR SPRITE/KUKULCAN.SPR SPRITE/LIZARD.SPR SPRITE/LYW.SPR SPRITE/MAN.SPR SPRITE/MAYA.SPR SPRITE/MOLDMAN.SPR SPRITE/NORMAN.SPR SPRITE/NO_ARROW.SPR SPRITE/PEHEALER.SPR SPRITE/PERSIAN.SPR SPRITE/PE_ARROW.SPR SPRITE/PE_POWAR.SPR SPRITE/PHEONIX.SPR SPRITE/RM_ARROW.SPR SPRITE/ROCKMAN.SPR SPRITE/SKELETON.SPR SPRITE/STEAM.SPR SPRITE/TC_ARR00.SPR SPRITE/TC_ARR01.SPR SPRITE/TC_ARR02.SPR SPRITE/TC_ARRA0.SPR '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SPRITE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARIO' /usr/bin/install -p -m 644 SCENARIO/NEWWORLD.SCP SCENARIO/NEWWORLD.SCT SCENARIO/NORMAN.SCN SCENARIO/NORMAN.SCP SCENARIO/NORMAN.SCT SCENARIO/NOTLOST.SCN SCENARIO/NOTLOST.SCP SCENARIO/NOTLOST.SCT SCENARIO/PIRATES.SCN SCENARIO/PIRATES.SCP SCENARIO/PIRATES.SCT SCENARIO/PRNCTKAO.SCN SCENARIO/PRNCTKAO.SCP SCENARIO/PRNCTKAO.SCT SCENARIO/QUESUCCN.SCN SCENARIO/QUESUCCN.SCP SCENARIO/QUESUCCN.SCT SCENARIO/RESDEP.SCN SCENARIO/RESDEP.SCP SCENARIO/RESDEP.SCT SCENARIO/TREADCAR.SCN SCENARIO/TREADCAR.SCP SCENARIO/TREADCAR.SCT SCENARIO/VIKBLITZ.SCN SCENARIO/VIKBLITZ.SCP SCENARIO/VIKBLITZ.SCT SCENARIO/WEAKENED.SCN SCENARIO/WEAKENED.SCP SCENARIO/WEAKENED.SCT SCENARIO/config.txt '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARIO' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/RESOURCE' /usr/bin/install -p -m 644 RESOURCE/ROCKBLK1.RES RESOURCE/ROCKBLK2.RES RESOURCE/ROCKBLK3.RES RESOURCE/ROCKBMP1.RES RESOURCE/ROCKBMP2.RES RESOURCE/ROCKBMP3.RES RESOURCE/STD.SET RESOURCE/TERANM1.RES RESOURCE/TERANM2.RES RESOURCE/TERANM3.RES RESOURCE/TERRAIN1.RES RESOURCE/TERRAIN2.RES RESOURCE/TERRAIN3.RES RESOURCE/TERSUB.RES RESOURCE/TUT_INTR.RES RESOURCE/TUT_LIST.RES RESOURCE/TUT_PICT.RES RESOURCE/TUT_TEXT.RES '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/RESOURCE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/MONSTER' /usr/bin/install -p -m 644 ENCYC/MONSTER/FIREKIN.COL ENCYC/MONSTER/FIREKIN.ICN ENCYC/MONSTER/GIANTET.COL ENCYC/MONSTER/GIANTET.ICN ENCYC/MONSTER/GITH.COL ENCYC/MONSTER/GITH.ICN ENCYC/MONSTER/GNOLL.COL ENCYC/MONSTER/GNOLL.ICN ENCYC/MONSTER/GOBLIN.COL ENCYC/MONSTER/GOBLIN.ICN ENCYC/MONSTER/GREMJERM.COL ENCYC/MONSTER/GREMJERM.ICN ENCYC/MONSTER/HEADLESS.COL ENCYC/MONSTER/HEADLESS.ICN ENCYC/MONSTER/HOBGLOB.COL ENCYC/MONSTER/HOBGLOB.ICN ENCYC/MONSTER/LIZARD.COL ENCYC/MONSTER/LIZARD.ICN ENCYC/MONSTER/LYW.COL ENCYC/MONSTER/LYW.ICN ENCYC/MONSTER/MAN.COL ENCYC/MONSTER/MAN.ICN ENCYC/MONSTER/ROCKMAN.COL ENCYC/MONSTER/ROCKMAN.ICN ENCYC/MONSTER/SKELETON.COL ENCYC/MONSTER/SKELETON.ICN ENCYC/MONSTER/STRUCT_1.COL ENCYC/MONSTER/STRUCT_1.ICN ENCYC/MONSTER/STRUCT_2.COL ENCYC/MONSTER/STRUCT_2.ICN ENCYC/MONSTER/STRUCT_3.COL ENCYC/MONSTER/STRUCT_3.ICN ENCYC/MONSTER/STRUCT_4.COL ENCYC/MONSTER/STRUCT_4.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/MONSTER' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SOUND' /usr/bin/install -p -m 644 SOUND/FIRE.WAV SOUND/QUAKE.WAV SOUND/RAIN.WAV SOUND/THUNDER.WAV SOUND/WIND.WAV '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SOUND' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/IMAGE' /usr/bin/install -p -m 644 IMAGE/7K_ICON.BMP IMAGE/CHINESE.COL IMAGE/CHINESE.ICN IMAGE/CREDITS1.COL IMAGE/CREDITS1.ICN IMAGE/CREDITS2.COL IMAGE/CREDITS2.ICN IMAGE/CREDITS3.COL IMAGE/CREDITS3.ICN IMAGE/CREDITS4.COL IMAGE/CREDITS4.ICN IMAGE/EGYPTIAN.COL IMAGE/EGYPTIAN.ICN IMAGE/GREEK.COL IMAGE/GREEK.ICN IMAGE/HALLFAME.COL IMAGE/HALLFAME.ICN IMAGE/INDIAN.COL IMAGE/INDIAN.ICN IMAGE/JAPANESE.COL IMAGE/JAPANESE.ICN IMAGE/LOSEGAME.COL IMAGE/LOSEGAME.ICN IMAGE/MAINMENU.COL IMAGE/MAINMENU.ICN IMAGE/MAYA.COL IMAGE/MAYA.ICN IMAGE/NORMAN.COL IMAGE/NORMAN.ICN IMAGE/PERSIAN.COL IMAGE/PERSIAN.ICN IMAGE/RESULTS.COL IMAGE/RESULTS.ICN IMAGE/VIKING.COL IMAGE/VIKING.ICN IMAGE/ZULU.COL IMAGE/ZULU.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/IMAGE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/TUTORIAL' /usr/bin/install -p -m 644 TUTORIAL/10CAPTUR.TUT TUTORIAL/1BAS_MIL.TUT TUTORIAL/2BAS_ECO.TUT TUTORIAL/2B_TRADE.TUT TUTORIAL/3RESEARC.TUT TUTORIAL/4WEAPONS.TUT TUTORIAL/5BAS_NAV.TUT TUTORIAL/6SEATRAD.TUT TUTORIAL/7MERCENA.TUT TUTORIAL/8FRYHTAN.TUT TUTORIAL/9SEATPOW.TUT TUTORIAL/LOYALTY.TUT TUTORIAL/SPYING.TUT TUTORIAL/config.txt '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/TUTORIAL' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC2/UNIT' /usr/bin/install -p -m 644 ENCYC2/UNIT/EGYPTIAN.COL ENCYC2/UNIT/EGYPTIAN.ICN ENCYC2/UNIT/F_BALLIS.COL ENCYC2/UNIT/F_BALLIS.ICN ENCYC2/UNIT/INDIAN.COL ENCYC2/UNIT/INDIAN.ICN ENCYC2/UNIT/ZULU.COL ENCYC2/UNIT/ZULU.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC2/UNIT' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/GOD' /usr/bin/install -p -m 644 ENCYC/GOD/CHINESE.COL ENCYC/GOD/CHINESE.ICN ENCYC/GOD/GREEK.COL ENCYC/GOD/GREEK.ICN ENCYC/GOD/JAPANESE.COL ENCYC/GOD/JAPANESE.ICN ENCYC/GOD/MAYA.COL ENCYC/GOD/MAYA.ICN ENCYC/GOD/NORMAN.COL ENCYC/GOD/NORMAN.ICN ENCYC/GOD/PERSIAN.COL ENCYC/GOD/PERSIAN.ICN ENCYC/GOD/VIKING.COL ENCYC/GOD/VIKING.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/GOD' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/UNIT' /usr/bin/install -p -m 644 ENCYC/UNIT/BALLISTA.COL ENCYC/UNIT/BALLISTA.ICN ENCYC/UNIT/CANNON.COL ENCYC/UNIT/CANNON.ICN ENCYC/UNIT/CARAVEL.COL ENCYC/UNIT/CARAVEL.ICN ENCYC/UNIT/CATAPULT.COL ENCYC/UNIT/CATAPULT.ICN ENCYC/UNIT/CHINESE.COL ENCYC/UNIT/CHINESE.ICN ENCYC/UNIT/EXPCART.COL ENCYC/UNIT/EXPCART.ICN ENCYC/UNIT/FLAMETHR.COL ENCYC/UNIT/FLAMETHR.ICN ENCYC/UNIT/GALLEON.COL ENCYC/UNIT/GALLEON.ICN ENCYC/UNIT/GREEK.COL ENCYC/UNIT/GREEK.ICN ENCYC/UNIT/JAPANESE.COL ENCYC/UNIT/JAPANESE.ICN ENCYC/UNIT/MAYA.COL ENCYC/UNIT/MAYA.ICN ENCYC/UNIT/NORMAN.COL ENCYC/UNIT/NORMAN.ICN ENCYC/UNIT/PERSIAN.COL ENCYC/UNIT/PERSIAN.ICN ENCYC/UNIT/TRANSPOR.COL ENCYC/UNIT/TRANSPOR.ICN ENCYC/UNIT/VESSEL.COL ENCYC/UNIT/VESSEL.ICN ENCYC/UNIT/VIKING.COL ENCYC/UNIT/VIKING.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/UNIT' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/FIRM' /usr/bin/install -p -m 644 ENCYC/FIRM/FACTORY.COL ENCYC/FIRM/FACTORY.ICN ENCYC/FIRM/FORT.COL ENCYC/FIRM/FORT.ICN ENCYC/FIRM/HARBOR.COL ENCYC/FIRM/HARBOR.ICN ENCYC/FIRM/INN.COL ENCYC/FIRM/INN.ICN ENCYC/FIRM/MARKET.COL ENCYC/FIRM/MARKET.ICN ENCYC/FIRM/MINE.COL ENCYC/FIRM/MINE.ICN ENCYC/FIRM/SCIENCE.COL ENCYC/FIRM/SCIENCE.ICN ENCYC/FIRM/WARFACT.COL ENCYC/FIRM/WARFACT.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/FIRM' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARI2' /usr/bin/install -p -m 644 SCENARI2/SCN_14.SCP SCENARI2/SCN_14.SCT SCENARI2/SCN_15.SCN SCENARI2/SCN_15.SCP SCENARI2/SCN_15.SCT SCENARI2/config.txt '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SCENARI2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SPRITE' /usr/bin/install -p -m 644 SPRITE/TC_ARRA1.SPR SPRITE/TC_ARRA2.SPR SPRITE/TC_ARRS0.SPR SPRITE/TC_ARRS1.SPR SPRITE/TC_ARRS2.SPR SPRITE/TORNADO.SPR SPRITE/TRANSPOR.SPR SPRITE/TRANSP_S.SPR SPRITE/VESSEL.SPR SPRITE/VESSEL_S.SPR SPRITE/VIKING.SPR SPRITE/VI_GOD.SPR SPRITE/V_ARROW.SPR SPRITE/V_SPLASH.SPR SPRITE/ZULU.SPR SPRITE/ZU_ARROW.SPR SPRITE/ZU_GOD.SPR '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/SPRITE' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC2/SEAT' /usr/bin/install -p -m 644 ENCYC2/SEAT/EGYPTIAN.COL ENCYC2/SEAT/EGYPTIAN.ICN ENCYC2/SEAT/INDIAN.COL ENCYC2/SEAT/INDIAN.ICN ENCYC2/SEAT/ZULU.COL ENCYC2/SEAT/ZULU.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC2/SEAT' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC2/GOD' /usr/bin/install -p -m 644 ENCYC2/GOD/EGYPTIAN.COL ENCYC2/GOD/EGYPTIAN.ICN ENCYC2/GOD/INDIAN.COL ENCYC2/GOD/INDIAN.ICN ENCYC2/GOD/ZULU.COL ENCYC2/GOD/ZULU.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC2/GOD' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/SEAT' /usr/bin/install -p -m 644 ENCYC/SEAT/CHINESE.COL ENCYC/SEAT/CHINESE.ICN ENCYC/SEAT/GREEK.COL ENCYC/SEAT/GREEK.ICN ENCYC/SEAT/JAPANESE.COL ENCYC/SEAT/JAPANESE.ICN ENCYC/SEAT/MAYA.COL ENCYC/SEAT/MAYA.ICN ENCYC/SEAT/NORMAN.COL ENCYC/SEAT/NORMAN.ICN ENCYC/SEAT/PERSIAN.COL ENCYC/SEAT/PERSIAN.ICN ENCYC/SEAT/VIKING.COL ENCYC/SEAT/VIKING.ICN '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/7kaa/ENCYC/SEAT' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/data' make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/data' Making install in include make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/include' make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/include' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/include' make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/include' Making install in src make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src' Making install in enet make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/enet' make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/enet' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/enet' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/enet' Making install in imgfun make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' Making install in generic make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun/generic' make[4]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun/generic' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun/generic' make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun/generic' make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' make[4]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/imgfun' Making install in openal make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/openal' make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/openal' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/openal' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/openal' Making install in curl make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/curl' make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src/curl' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/curl' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src/curl' make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src' make[3]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/bin' /usr/bin/install -p 7kaa '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src' make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/src' Making install in po make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3/po' installing de.gmo as /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/locale/de/LC_MESSAGES/7kaa.mo installing pt_BR.gmo as /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/locale/pt_BR/LC_MESSAGES/7kaa.mo installing ru.gmo as /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/locale/ru/LC_MESSAGES/7kaa.mo installing es.gmo as /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/locale/es/LC_MESSAGES/7kaa.mo if test "7kaa" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3/po' make[1]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3' make[2]: Entering directory '/builddir/build/BUILD/7kaa-2.15.3' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/doc/7kaa' /usr/bin/install -p -m 644 COPYING README '/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/doc/7kaa' make[2]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3' make[1]: Leaving directory '/builddir/build/BUILD/7kaa-2.15.3' + mkdir -p /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/pixmaps/7kaa.png + install -m 644 7kaa_icon.png /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/pixmaps/7kaa.png + cat + install -Dm 0644 7kaa.desktop /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/applications/7kaa.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 7kaa + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.15.3-103 --unique-debug-suffix -2.15.3-103.x86_64 --unique-debug-src-base 7kaa-2.15.3-103.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/7kaa-2.15.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/bin/7kaa extracting debug info from /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/bin/7kaa original debug info size: 19360kB, size after compression: 11356kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 11916 blocks + /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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: 7kaa-2.15.3-103.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SGDUTt + umask 022 + cd /builddir/build/BUILD + cd 7kaa-2.15.3 + DOCDIR=/builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/doc/7kaa + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/doc/7kaa + cp -pr COPYING /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/doc/7kaa + cp -pr README /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64/usr/share/doc/7kaa + RPM_EC=0 ++ jobs -p + exit 0 Provides: 7kaa = 2.15.3-103 7kaa(x86-64) = 2.15.3-103 application() application(7kaa.desktop) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL2-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcurl.so.4()(64bit) libenet.so.7()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libopenal.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) rtld(GNU_HASH) Recommends: 7kaa-music Processing files: 7kaa-debugsource-2.15.3-103.x86_64 Provides: 7kaa-debugsource = 2.15.3-103 7kaa-debugsource(x86-64) = 2.15.3-103 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: 7kaa-debuginfo-2.15.3-103.x86_64 Provides: 7kaa-debuginfo = 2.15.3-103 7kaa-debuginfo(x86-64) = 2.15.3-103 debuginfo(build-id) = 32cc57b33710fe7fa851bafeea70c1eb275e1489 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 7kaa-debugsource(x86-64) = 2.15.3-103 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 Wrote: /builddir/build/RPMS/7kaa-debugsource-2.15.3-103.x86_64.rpm Wrote: /builddir/build/RPMS/7kaa-debuginfo-2.15.3-103.x86_64.rpm Wrote: /builddir/build/RPMS/7kaa-2.15.3-103.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C3K3yv + umask 022 + cd /builddir/build/BUILD + cd 7kaa-2.15.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/7kaa-2.15.3-103.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild 7kaa-2.15.3-103.src.rpm Finish: build phase for 7kaa-2.15.3-103.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492422.374121/root/var/log/dnf.rpm.log /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492422.374121/root/var/log/dnf.librepo.log /var/lib/mock/1322994-fedora-rawhide-x86_64-1585492422.374121/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/7kaa-2.15.3-103.src.rpm) Config(child) 4 minutes 21 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 INFO: mock.py version 2.1 starting (python version = 3.7.6)... 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 Start: scrub ['cache'] INFO: scrubbing cache for child Finish: scrub ['cache'] Finish: run